CN116938835B - Bandwidth resource allocation method in industrial Internet of things scene and electronic equipment - Google Patents

Bandwidth resource allocation method in industrial Internet of things scene and electronic equipment Download PDF

Info

Publication number
CN116938835B
CN116938835B CN202311199094.5A CN202311199094A CN116938835B CN 116938835 B CN116938835 B CN 116938835B CN 202311199094 A CN202311199094 A CN 202311199094A CN 116938835 B CN116938835 B CN 116938835B
Authority
CN
China
Prior art keywords
server
communication
mobile device
determining
delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311199094.5A
Other languages
Chinese (zh)
Other versions
CN116938835A (en
Inventor
朱明皓
高勃
王奇锋
刘炸
李学汉
荆涛
仵浩
霍炎
高青鹤
张桂雨
马欣
王晓萱
张伯洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ganzhou Intelligent Industry Innovation Research Institute
Beijing Jiaotong University
Original Assignee
Ganzhou Intelligent Industry Innovation Research Institute
Beijing Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ganzhou Intelligent Industry Innovation Research Institute, Beijing Jiaotong University filed Critical Ganzhou Intelligent Industry Innovation Research Institute
Priority to CN202311199094.5A priority Critical patent/CN116938835B/en
Publication of CN116938835A publication Critical patent/CN116938835A/en
Application granted granted Critical
Publication of CN116938835B publication Critical patent/CN116938835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a bandwidth resource allocation method and electronic equipment in an industrial Internet of things scene, wherein the method comprises the steps of responding to the fact that a server and mobile equipment are in a communication connection state, and determining a plurality of communication delays of the server; in response to determining that the plurality of communication delays are all less than or equal to a preset delay threshold, determining whether the subcarrier occupancy time of the mobile device is greater than a preset time; determining whether the bandwidth resource of the server meets a preset reallocation condition or not in response to determining that the subcarrier occupation time is greater than a preset time; in response to determining that the bandwidth resources meet the preset reallocation condition, reallocating the bandwidth resources of each fixed device and the bandwidth resources of the mobile device connected with the server based on a plurality of communication delays, solving the technical problem that the server does not consider the dynamic property of the mobile device when the server allocates the bandwidth resources of the mobile device connected with the server in the prior art, and improving the bandwidth resource utilization rate of the server.

Description

Bandwidth resource allocation method in industrial Internet of things scene and electronic equipment
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a bandwidth resource allocation method and an electronic device in an industrial internet of things scenario.
Background
With the development of the industrial internet, the problem of bandwidth resource allocation becomes an important problem in the industrial internet. In an actual manufacturing plant scenario, bandwidth resources are limited, in which case optimizing bandwidth resource utilization may improve the overall performance of the industrial internet system. The production devices in the manufacturing plant are not uniformly distributed in the coverage area of the server, and in most cases, the production devices in the manufacturing plant are distributed according to the production capacity and the production flow, in addition, the production devices in the manufacturing plant are not stationary, mobile production devices exist to assist industrial production, and the mobile production devices also need to transmit data with the server at all times.
The prior researches rarely consider the geographical distribution of production equipment, the production equipment is not fixed in the industrial internet, and the mobile production equipment requires relatively more bandwidth resources when being far away from a server in communication connection with the mobile production equipment; when the mobile production equipment approaches to a server in communication connection with the mobile production equipment, the required bandwidth resources are relatively small, and if the bandwidth resources required by the mobile equipment are not dynamically adjusted, the full utilization of the bandwidth is not facilitated.
Disclosure of Invention
In view of the above, the present application aims to provide a bandwidth resource allocation method and an electronic device in the industrial internet of things scenario, so as to overcome all or part of the defects in the prior art.
Based on the above object, the present application provides a bandwidth resource allocation method in an industrial internet of things scenario, which is applied to each of a plurality of servers in a communication system, wherein the communication system further includes a plurality of fixed devices communicatively connected to each server, and a mobile device communicatively connected to each server in turn according to a predetermined track, and includes: in response to determining that the server is in communication connection with the mobile device, determining a plurality of communication delays for the server, wherein the plurality of communication delays includes a first communication delay for the mobile device and a second communication delay for each stationary device in communication connection with the server; in response to determining that the plurality of communication delays are all less than or equal to a preset delay threshold, determining whether a subcarrier occupancy time of the mobile device is greater than a preset time; responsive to determining that the subcarrier occupancy time is greater than the preset time, determining whether a bandwidth resource of the server meets a preset reallocation condition based on the subcarrier occupancy time and a distance between the mobile device and the server; and in response to determining that the bandwidth resources meet the preset reallocation condition, reallocating the bandwidth resources of each fixed device connected with the server and the bandwidth resources of the mobile device based on the plurality of communication delays.
Optionally, the determining a plurality of communication delays of the server includes: determining the first communication delay through the following formula, and combining the first communication delay meeting the following formula into a first solution set:wherein->For the first communication delay, +.>For the first solution set, +.>Transmitting first control information to a first sub-communication time delay generated by the mobile device for the server,/for the server>Transmitting an execution result corresponding to the first control information to a second sub-communication time delay generated by the server for the mobile equipment>A preset maximum communication latency associated with the mobile device; determining the second communication delay through the following formula, and combining the second communication delay meeting the following formula into a second solution set: />,/>Wherein->For the second communication delay, +.>For the second solution set, +.>Transmitting second control information to a third sub-communication time delay generated by the fixed device for the server,/for the fixed device>Transmitting an execution result corresponding to the second control information to a fourth sub-communication time delay generated by the server for the fixed equipment>Is a preset maximum communication latency associated with the fixed device.
Optionally, the determining that the plurality of communication delays are all less than or equal to a preset delay threshold includes: and in response to determining that the first solution set and the second solution set have intersections, determining that the plurality of communication delays are all less than or equal to the preset delay threshold.
Optionally, the method further comprises: the first sub-communication delay is determined by the following formula:wherein->For said first sub-communication delay, < >>For mobile device->And server->Bandwidth allocated between, ">For server->To mobile device->The data amount of the transmitted first control information,for mobile device->Signal to noise ratio at; the second sub-communication delay is determined by the following formula:wherein->For said second sub-communication delay, +.>For mobile device->Send to server->The data amount of the execution result corresponding to the first control information of +.>For server->A first signal to noise ratio at; the third sub-communication delay is determined by the following formula: />Wherein->For said third sub-communication delay, +.>Representing the server->Send to the fixture->Data amount of second control information of +.>Representing a fixation device->And server->Transmission bandwidth allocated between, expressed by number of subcarriers, i.e. +. >,/>Representation server->Maximum number of sub-carriers that can be divided, +.>Representation server->Minimum separable single subcarrier, +.>For fixing devices->Signal to noise ratio at; the fourth sub-communication delay is determined by the following formula: />Wherein->For said fourth sub-communication delay, -a fourth sub-communication delay,>representing a fixation device->Send to server->The data amount of the execution result corresponding to the second control information of (a), <>For server->A second signal to noise ratio at.
Optionally, the determining that the bandwidth resource meets the preset reallocation condition includes: determining a reallocation value of bandwidth resources of the server based on the subcarrier occupation time and the distance between the mobile equipment and the server; and in response to determining that the change value of the reallocation value is greater than a preset reallocation threshold, determining that the bandwidth resource meets the preset reallocation condition.
Optionally, the determining a reallocation value of bandwidth resources of the server based on the subcarrier occupancy time and a distance between the mobile device and the server includes: the reassignment value is determined by the following formula:wherein->Assigning a value to said reassignment->For a preset adjustment value, < > >For mobile device->Time of occupation of sub-carriers, +.>For mobile device->Time maximum of occupied subcarriers, +.>For movingDevice->Located on the abscissa of the target area,/->For mobile device->Located on the ordinate of the target area,/>For the abscissa where the server is located in the target area,/->For the ordinate of the server located in the target area,/->For the minimum distance of the mobile device to the server,/a minimum distance of the mobile device to the server>A radius of communication coverage for the server.
Optionally, the reallocating, based on the plurality of communication delays, the bandwidth resources of each fixed device connected to the server and the bandwidth resources of the mobile device includes: in case that the preset condition is satisfied, determining the reallocated bandwidth resources by the following formula:wherein->For said reallocated bandwidth resources, +.>For fixing devices->And server->Bandwidth resource with minimum communication delay is allocated among the two parts, +.>For the total number of fixed devices communicatively connected to the server, +.>For the number of all servers in the target area, +.>For said third sub-communication delay, +.>For said fourth sub-communication delay, -a fourth sub-communication delay,>for the first sub-communication delay time, For said second sub-communication delay, +.>The time required for the mobile device to move to an adjacent server.
Optionally, before determining that the server is in a communication connection state with the mobile device, the method includes: and allocating bandwidth resources to the mobile device and each fixed device connected with the server based on the preset track of the mobile device.
Optionally, the method further comprises: responsive to determining that there is a communication latency that does not meet the preset latency threshold, bandwidth resources associated with each fixed device communicatively coupled to the server are reallocated based on the second communication latency of each fixed device.
Based on the same inventive concept, the application also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, the processor implementing the method as described above when executing the computer program.
From the above, it can be seen that the method for allocating bandwidth resources in the industrial internet of things scenario and the electronic device provided by the application, the method includes determining a plurality of communication delays of the server in response to determining that the server is in a communication connection state with the mobile device, where the plurality of communication delays include a first communication delay of the mobile device and a second communication delay of each fixed device in communication connection with the server, each communication delay is associated with an allocated bandwidth resource, and whether allocation of the bandwidth resource of the server is reasonable or not can be reflected through the communication delays later. And in response to determining that the communication delays are smaller than or equal to a preset delay threshold, determining whether the subcarrier occupation time of the mobile equipment is larger than the preset time, and laying a foundation for subsequently improving the bandwidth resource utilization rate of the server. And determining whether the bandwidth resources of the server meet a preset reallocation condition based on the subcarrier occupation time and the distance between the mobile equipment and the server in response to determining that the subcarrier occupation time is greater than the preset time, so that the purpose of balancing the time delay of resource allocation by the server and the calculation burden of the server can be achieved later. And in response to determining that the bandwidth resources meet the preset reallocation conditions, reallocating the bandwidth resources of each fixed device connected with the server and the bandwidth resources of the mobile device based on the communication delays, and considering the mobility of the mobile device when the server allocates the bandwidth resources, so that the bandwidth resource utilization rate of the server is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present application or related art, the drawings that are required to be used in the description of the embodiments or related art will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort to those of ordinary skill in the art.
Fig. 1 is a flow chart of a bandwidth resource allocation method in an industrial internet of things scene according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a bandwidth resource allocation device in an industrial internet of things scenario according to an embodiment of the present application;
fig. 3 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the application.
Detailed Description
The present application will be further described in detail below with reference to specific embodiments and with reference to the accompanying drawings, in order to make the objects, technical solutions and advantages of the present application more apparent.
It should be noted that unless otherwise defined, technical or scientific terms used in the embodiments of the present application should be given the ordinary meaning as understood by one of ordinary skill in the art to which the present application belongs. The terms "first," "second," and the like, as used in embodiments of the present application, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
As described in the background section, with the development of the industrial internet, the problem of bandwidth resource allocation becomes an important issue in the industrial internet, and it is important to optimize the utilization of bandwidth resources of a server, which is also beneficial to improve the production efficiency of a manufacturing plant. In an actual manufacturing plant scenario, bandwidth resources are limited, in which case optimizing bandwidth resource utilization may improve the overall performance of the industrial internet system. The production facilities in the manufacturing plant are not evenly distributed within the coverage area of the server, and in most cases are laid out according to the production capacity and the production flow, and in addition, the production facilities in the manufacturing plant are not stationary, and there are production facilities in motion, such as automatic guided vehicles (Automatic Guided Vehicle, AGV) to assist industrial production, and the AGV also needs to transmit data with the server at all times.
The prior studies rarely consider the geographical distribution of production equipment, which is not stationary in the industrial internet, and mobile production equipment such as AGVs perform production tasks during movement. The mobile production device requires relatively much bandwidth resources when it is far from the server to which it is communicatively connected; when the mobile production equipment approaches to a server in communication connection with the mobile production equipment, the required bandwidth resources are relatively small, the change of the distance between the mobile production equipment and the server directly influences the transmission delay of a channel, and if the bandwidth resources required by the mobile equipment are not dynamically adjusted, the full utilization of the bandwidth is not facilitated.
In view of this, an embodiment of the present application proposes a bandwidth resource allocation method in an industrial internet of things scenario, referring to fig. 1, applied to each of a plurality of servers in a communication system, where the communication system further includes a plurality of fixed devices communicatively connected to each server, and a mobile device communicatively connected to each server in the plurality of servers in turn according to a predetermined track, and includes the following steps:
in response to determining that the server is in communication connection with the mobile device, determining a plurality of communication delays for the server, wherein the plurality of communication delays includes a first communication delay for the mobile device and a second communication delay for each fixed device communicatively connected to the server, step 101.
In this step, the server allocates bandwidth resources for each device to which it is communicatively connected, the devices within the manufacturing plant where the communication system is deployed are not completely fixed, and in order to ensure smooth production, it is sometimes necessary to assist production with mobile devices. The mobile device moves according to the preset track, and the production of the fixed device associated with the preset track is sequentially assisted, so that the production efficiency is improved, and the preset track is associated with the production capacity and the production flow of a manufacturing factory. It is the dynamic mobility of the mobile device that dictates that the server with which it is communicatively connected needs to dynamically adjust the bandwidth resources required by the mobile device. In response to determining that the server is communicatively coupled to the mobile device, determining a communication latency for all devices communicatively coupled to the server, wherein the communication latency is a time required for information to pass from one end to the other, the determination of the communication latency is associated with a distance between the server and the production device and information transmitted between the server and the production device, the production device including a stationary device and a mobile device. Therefore, the communication delay can embody the communication association information between the server and the production equipment, and the bandwidth resource required by the production equipment can be determined through the communication association information. For this reason, it is necessary to determine all communication delays, each of which is associated with an allocated bandwidth resource, and whether the allocation of the bandwidth resource of the server is reasonable may be reflected by the communication delays later.
Step 102, in response to determining that the plurality of communication delays are all less than or equal to a preset delay threshold, determining whether the subcarrier occupancy time of the mobile device is greater than a preset time.
In this step, the total bandwidth resources of the server are limited, and when the plurality of communication delays are smaller than or equal to the preset delay threshold, it is indicated that the bandwidth resources corresponding to each communication delay are reasonably allocated. The mobile device can communicate with the server through the allocated bandwidth resources, however, when the mobile device is in communication connection with the server, the position of the mobile device is in dynamic change, and if the server does not adjust the bandwidth resources of the mobile device all the time, the following two problems may occur: when bandwidth resources are allocated, according to the situation that the mobile equipment is far away from the server, more bandwidth resources are required to be allocated to the mobile equipment at the moment in order to guarantee the communication delay requirement, but when the mobile equipment gradually approaches the server, the mobile equipment can guarantee the communication delay requirement without more bandwidth resources, and the bandwidth utilization rate is inevitably reduced. When bandwidth resources are allocated, the situation that the mobile equipment is close to the server is considered, but when the mobile equipment is gradually far away from the server, the existing resource allocation scheme is difficult to meet the communication delay requirement when the mobile equipment is far away from the server.
Under the condition that the communication time delays are smaller than or equal to a preset time delay threshold, the explanation server can reasonably distribute bandwidth resources required by production equipment, wherein the preset time delay threshold can be determined according to historical experience. In order to ensure that the communication latency requirements of the mobile device are met, the bandwidth resource allocation scheme of the server cannot be kept unchanged, and needs to be dynamically adjusted according to the real-time position of the mobile device. If the subcarrier occupancy time of the mobile device is longer than the preset time, it indicates that the mobile device does not update the required bandwidth resources for a long time, and the bandwidth resources required by the mobile device need to be updated again, where the preset time can be determined according to historical experience. And determining whether the subcarrier occupation time of the mobile equipment is longer than the preset time or not so as to judge whether the bandwidth resources required by the mobile equipment are required to be updated again or not, and laying a foundation for subsequently improving the bandwidth resource utilization rate of the server.
Step 103, in response to determining that the subcarrier occupancy time is greater than the preset time, determining whether the bandwidth resource of the server meets a preset reallocation condition based on the subcarrier occupancy time and a distance between the mobile device and the server.
In this step, if the subcarrier occupancy time is greater than the preset time, it is indicated that the server does not reallocate the bandwidth resources required by the mobile device for a long time. The distance between the mobile device and the server is in dynamic change, but if the distance between the mobile device and the server is changed, the bandwidth resources required by the mobile device are re-matched, so that the communication time delay when the server distributes the bandwidth resources is increased, and a relatively large calculation load is caused to the server. Therefore, the bandwidth resources required by the production equipment are required to be allocated when the bandwidth resources of the server meet the preset reallocation conditions, so that the purpose of balancing the time delay of resource allocation by the server and the calculation burden of the server can be achieved later.
And step 104, in response to determining that the bandwidth resources meet the preset reallocation conditions, reallocating the bandwidth resources of each fixed device connected with the server and the bandwidth resources of the mobile device based on the plurality of communication delays.
In this step, in case that the bandwidth resources satisfy the preset reallocation condition, it is explained that the server needs to reallocate the bandwidth resources, and the bandwidth resources of each fixed device and the bandwidth resources of the mobile device may be determined by a near-end policy optimization (Proximal Policy Optimization, PPO) algorithm, for example. The change of the bandwidth resource required by the mobile device is associated with the communication delay, and the bandwidth resource required by the mobile device is changed along with the change of the communication delay, so that the communication delay required by the mobile device is redistributed based on the communication delay of the mobile device. In addition, since the bandwidth resources required by the mobile device change, the server is also likely to change the bandwidth resources that can be allocated to the fixed device connected with the mobile device in a communication manner, and the bandwidth resources that can be allocated to the fixed device also change along with the communication delay of the mobile device. In summary, bandwidth resources of each fixed device and bandwidth resources of the mobile device that are communicatively coupled to the server are reallocated based on the plurality of communication delays. When the server distributes bandwidth resources, mobility of the mobile equipment is considered, and therefore the bandwidth resource utilization rate of the server is improved.
By means of the scheme, the plurality of communication delays of the server are determined in response to the fact that the server and the mobile device are in a communication connection state, wherein the plurality of communication delays comprise the first communication delay of the mobile device and the second communication delay of each fixed device in communication connection with the server, each communication delay is associated with the allocated bandwidth resource, and whether the allocation of the bandwidth resource of the server is reasonable or not can be reflected through the communication delays later. And in response to determining that the communication delays are smaller than or equal to a preset delay threshold, determining whether the subcarrier occupation time of the mobile equipment is larger than the preset time, and laying a foundation for subsequently improving the bandwidth resource utilization rate of the server. And determining whether the bandwidth resources of the server meet a preset reallocation condition based on the subcarrier occupation time and the distance between the mobile equipment and the server in response to determining that the subcarrier occupation time is greater than the preset time, so that the purpose of balancing the time delay of resource allocation by the server and the calculation burden of the server can be achieved later. And in response to determining that the bandwidth resources meet the preset reallocation conditions, reallocating the bandwidth resources of each fixed device connected with the server and the bandwidth resources of the mobile device based on the communication delays, and considering the mobility of the mobile device when the server allocates the bandwidth resources, so that the bandwidth resource utilization rate of the server is improved.
In some embodiments, the determining the plurality of communication delays for the server includes: determining the first communication delay through the following formula, and combining the first communication delay meeting the following formula into a first solution set:wherein->For the first communication delay, +.>For the first solution set, +.>Transmitting first control information to a first sub-communication time delay generated by the mobile device for the server,/for the server>Transmitting an execution result corresponding to the first control information to the mobile equipmentSecond sub-communication delay generated by server,/->A preset maximum communication latency associated with the mobile device; determining the second communication delay through the following formula, and combining the second communication delay meeting the following formula into a second solution set: />,/>Wherein->For the second communication delay, +.>For the second solution set, +.>Transmitting second control information to a third sub-communication time delay generated by the fixed device for the server,/for the fixed device>Transmitting an execution result corresponding to the second control information to a fourth sub-communication time delay generated by the server for the fixed equipment>Is a preset maximum communication latency associated with the fixed device.
In this embodiment, the server has a certain communication range, and can establish connection with the fixed device and the mobile device in the coverage area and transmit data, and considering the delay during communication, not only the downlink communication delay of the server for respectively transmitting control information to the fixed device and the mobile device, but also the uplink communication delay of the fixed device and the mobile device for respectively transmitting the execution results corresponding to the control information associated with the fixed device and the mobile device to the server are considered, so that the delay of the whole process of the communication between the mobile device and the fixed device and the server is covered, and the determined communication delay is more accurate and comprehensive to reflect the delay used for communication. In order to ensure the production efficiency, the maximum time delays required by the mobile device and the fixed device can be preset respectively, namely the preset maximum communication time delay associated with the mobile device and the preset maximum communication time delay associated with the fixed device, and the two maximum communication time delays can be determined according to historical experience. Under the condition that the communication time delay is smaller than or equal to the maximum communication time delay, multiple possibilities exist for the communication time delay, and the possibilities are combined into a solution set, namely a first solution set corresponding to the mobile equipment and a second solution set corresponding to the fixed equipment can be obtained through the content. The communication time delay is smaller than or equal to the maximum communication time delay, and the communication efficiency is improved.
In some embodiments, the determining that the plurality of communication delays are each less than or equal to a preset delay threshold includes: and in response to determining that the first solution set and the second solution set have intersections, determining that the plurality of communication delays are all less than or equal to the preset delay threshold.
In this embodiment, the distance between the mobile device and the server may change, and there is a problem that the server cannot continue to communicate with the mobile device due to the increase in the distance between the mobile device and the server, and when the numerical embodiment may allocate bandwidth resources for the fixed device and the mobile device that are communicatively connected to the server, the communication delay of the fixed device and the mobile device cannot be simultaneously less than or equal to the maximum tolerable communication delay of the fixed device and the mobile device, that is, the first solution set and the second solution set do not have an intersection. Under the condition that the first solution set and the second solution set are intersected, determining that the communication time delays are smaller than or equal to a preset time delay threshold value, and reflecting whether the server can continue to be in communication connection with the mobile equipment or not through a specific numerical relation, so that the improvement of the utilization rate of bandwidth resources by the subsequent server is ensured.
In some embodiments, further comprising: the first sub-communication delay is determined by the following formula:which is provided withIn (I)>For said first sub-communication delay, < >>For mobile device->And server->Bandwidth allocated between, ">For server->To mobile device->The data amount of the transmitted first control information,for mobile device->Signal to noise ratio at; the second sub-communication delay is determined by the following formula:wherein->For said second sub-communication delay, +.>For mobile device->Send to server->Corresponding to the first control information of (a)Data volume of line result, +.>For server->A first signal to noise ratio at; the third sub-communication delay is determined by the following formula: />Wherein->For said third sub-communication delay, +.>Representing the server->Send to the fixture->Data amount of second control information of +.>Representing a fixation device->And server->Transmission bandwidth allocated between, expressed by number of subcarriers, i.e. +.>,/>Representation server->PartitionableMaximum number of subcarriers, < >>Representation server->Minimum separable single subcarrier, +.>For fixing devices->Signal to noise ratio at; the fourth sub-communication delay is determined by the following formula: />Wherein- >For said fourth sub-communication delay, -a fourth sub-communication delay,>representing a fixation device->Send to server->The data amount of the execution result corresponding to the second control information of (a), <>For server->A second signal to noise ratio at.
In this embodiment, (a) the specific parameters in the first sub-communication time delay are determined by the following equations, respectively:
determining a mobile device by the following formulaSignal-to-noise ratio at:
wherein,indicating the interference of other servers to the mobile device than the one in communication connection with the mobile device,/->Is Gaussian noise power, < >>Is the received power of the mobile device.
The received power of the mobile device is determined by the following equation:
wherein,for mobile device->And server->The distance between the two plates is set to be equal,for small-scale fading due to movement of the mobile device, +.>Is a server->Is provided.
Time interval by first order Gaussian Markov processThe small-scale fading channel variation in the mobile device is modeled, and the small-scale fading caused by the motion of the mobile device is determined according to the following formula>
Wherein,quantized the channel correlation in two consecutive time intervals, +.>,/>Zero order of Bessel function of the first class, +.>For Doppler shift, ++ >For the speed of movement of the mobile device, +.>Is the carrier center frequency.
(II) respectively determining specific parameters in the second sub-communication time delay through the following formulas:
the server is determined by the following formulaFirst signal-to-noise ratio at:
wherein,is a serviceAppliance->Is provided.
The server is determined by the following formulaIs set according to the received power of:
wherein,is the transmit power of the mobile device.
(III) determining specific parameters in the third sub-communication delay through the following formulas respectively:
the fixture is determined by the following formulaSignal-to-noise ratio at:
wherein,indicating the interference of other servers to the fixture than the one in communication connection with the fixture,/->Representing a fixation device->Slave Server->The received control signal power.
The interference to the fixed device by other servers than the server communicatively coupled to the fixed device is determined by the following equation:
wherein,for fixing devices->Slave Server->The received control signal power is determined by the following formula: />Wherein->Is a server->Transmit power of>Is a server->And a fixing device->Path loss between them.
The path loss is determined by the following formula:
Wherein,representing a fixation device->And server->Distance between->Is the carrier center frequency, ">Represents a reference distance->Is the speed of light, is equal to +.>m/s,/>Represents the path loss index, +.>Representing shadow fading.
(IV) determining specific parameters in the fourth sub-communication delay through the following formulas respectively:
the server is determined by the following formulaSecond signal-to-noise ratio at:
wherein,is the received power of the server.
The received power of the server is determined by the following formula:
wherein,is a fixing device->Is used for the transmission power of the wireless communication system.
It should be noted that, in this embodiment, all servers have the same communication radius, and the servers communicate with the production devices within the coverage area of the servers, and each production device can only communicate with one server at each moment without considering mutual interference between the production devices. In this embodiment, specific values generated by receiving control information by the fixed device or the mobile device need to be sent to a server in communication connection with the device to perform corresponding calculation, so that parameters required for calculating communication delay are comprehensively considered, and the determined communication delay is more accurate.
In some embodiments, the determining that the bandwidth resource meets the preset reallocation condition includes: determining a reallocation value of bandwidth resources of the server based on the subcarrier occupation time and the distance between the mobile equipment and the server; and in response to determining that the change value of the reallocation value is greater than a preset reallocation threshold, determining that the bandwidth resource meets the preset reallocation condition.
In this embodiment, the reassignment value is determined, and the preset reassignment condition is digitized, so that the relationship between the subcarrier occupation time, the distance between the mobile device and the server and the reassignment value can be measured more accurately. The subcarrier occupancy time and the distance between the mobile device and the server are at certain time intervalsThe value changes in the network, and the server needs to reallocate the bandwidth resources. Whether reassignment is needed can be embodied by the following discriminant: />When the above change value is greater than the preset reassignment threshold +.>After which bandwidth re-splitting is requiredAnd if not, the matching is not needed. The bandwidth resources of the server are determined to meet the preset reallocation conditions, the subsequent server can reallocate the bandwidth resources, calculation pressure is not brought to the server, and the utilization rate of the bandwidth resources is improved.
In some embodiments, the determining a reallocation value of bandwidth resources of the server based on the subcarrier occupancy time and a distance between the mobile device and the server includes: the reassignment value is determined by the following formula:wherein->Assigning a value to said reassignment->For a preset adjustment value, < > >For mobile device->Time of occupation of sub-carriers, +.>For mobile device->Time maximum of occupied subcarriers, +.>For mobile device->Located on the abscissa of the target area,/->For mobile device->Is positioned at the targetOrdinate of region,/>For the abscissa where the server is located in the target area,/->For the ordinate of the server located in the target area,/->For the minimum distance of the mobile device to the server,/a minimum distance of the mobile device to the server>A radius of communication coverage for the server.
In this embodiment, the mobile device moves within the coverage area of the server, but the bandwidth resources required by the mobile device are kept unchanged all the time, which results in a low effective utilization of the bandwidth resources, so that it is necessary to redetermine the bandwidth resources required by the mobile device according to the distance between the mobile device and the server. However, if the bandwidth resources required for reallocating the mobile device occur in each time slot in which the mobile device moves, a high computational pressure is applied to the server, and a corresponding performance index needs to be set. When the performance index is satisfied, the resource is reallocated. The target area is the manufacturing factory.
The present embodiment refers to the definition of the age (Age of Information, aoI) of the information, i.e. the time that the information has elapsed from the start of generation to the receipt of the destination, and also considers the subcarrier occupancy time of the mobile device in the present embodiment Is assumed to be->The time slot system allocates resources according to the analysis at the current moment +.>Subcarrier occupancy time definition for mobile devicesIs->Whether the sub-carrier occupies the time component or the distance component of the mobile device from the server is at a certain time interval +.>The larger the amount of intra-change, the more resources need to be reallocated within the communication system. Therefore, it is determined whether reassignment is required according to the following discriminant: />Wherein->And (5) presetting a reassignment threshold value. The concept of tact, which reflects the need for adjustment of production, is very important in industrial production, and it should be determined for a production task determined in a manufacturing plant. Every time a beat time passes->Because of the change in the location of the mobile device during this time, the current bandwidth resource allocation scheme may be considered to have a lack of reasonability for the entire communication system, and a reassignment value is defined by comprehensively considering the defined subcarrier occupancy time and the distance of the mobile device from the server. Wherein,,/>indicating the preference of the communication system decision for subcarrier occupancy time,/->Representing a preference of the communication system decision for the distance between the mobile device and the server. For example, when- >When increased, it indicates that the communication system is prone to rootWhether the resources need to be reallocated is judged according to the occupied time of the sub-carriers, otherwise, the communication system tends to judge whether the resources need to be reallocated according to the distance between the mobile equipment and the server. The reallocation value can accurately reflect whether the server needs to reallocate the bandwidth resources or not, and the purpose of balancing the time delay of the server for resource allocation and the calculation burden of the server is achieved.
In some embodiments, the reallocating bandwidth resources of each fixed device connected to the server and bandwidth resources of the mobile device based on the plurality of communication delays includes: in case that the preset condition is satisfied, determining the reallocated bandwidth resources by the following formula:wherein->For said reallocated bandwidth resources, +.>For fixing devices->And server->Bandwidth resource with minimum communication delay is allocated among the two parts, +.>For the total number of fixed devices communicatively connected to the server, +.>For the number of all servers in the target area, +.>For said third sub-communication delay, +.>For the fourth subCommunication delay->For the first sub-communication delay time, For said second sub-communication delay, +.>The time required for the mobile device to move to an adjacent server.
In this embodiment, in order to ensure that the whole communication system meets the delay requirement of each device under the condition of limited bandwidth resources and the average delay of the communication system is minimum, and because the communication resources allocated to the fixed device by the server have a great influence on the delay performance of the communication system during the data exchange process between the fixed device and the server, especially when the mobile device moves from one server to another server, the bandwidth resources allocable by each server and the predetermined track of the mobile device need to be comprehensively considered. And combining the analysis, determining an optimization problem, and determining the reallocated bandwidth resources by solving the optimization problem, namely solving a formula for determining the reallocated bandwidth resources. Solving the formula for determining the reallocated bandwidth resources also requires satisfying the following preconditions:
wherein the variable of the above-mentioned optimization problem is to allocate different bandwidth resources for fixed devices and mobile devices in different locations. C1 denotes that the coordinates of the mobile device satisfy a fixed trajectory. C2 and C3 represent communication latency constraints for the fixed device and the mobile device. C4 represents that if the number of devices accessing the same server is Then->The sum of all sub-carrier bandwidths allocated by the individual devices is less than + ->,/>Communication bandwidth that can be allocated for each server. C5 indicates that the server should allocate bandwidth for each device connected to it.
As the state of the communication system changes over time, the above described solving process of the optimization problem can be expressed as a markov decision process (Markov decision process, MDP). The state transition probability matrix of MDP is difficult to obtain, but model-free reinforcement learning algorithms can obtain suboptimal solutions without any prior knowledge. The model-free reinforcement learning algorithm comprises a near-end strategy optimization (Proximal Policy Optimization, PPO) algorithm, the PPO algorithm is an emerging strategy Gradient (PG) algorithm, the PPO algorithm designs a new objective function to realize small-batch updating, and the problems that the PG algorithm is sensitive to step sizes and the reasonable step sizes are difficult to determine are solved. The PPO algorithm originates from the trust domain policy optimization (Trust Region Policy Optimization, TRPO) algorithm, but is easier to solve than the TRPO algorithm. Compared with the TRPO algorithm, the PPO algorithm adopts a shearing agent target to replace a constraint function, so that the complexity of the algorithm is reduced. The key to reinforcement learning is the setting of state space, action space, and rewards, which are important to whether the algorithm can converge quickly to the correct result.
Aiming at the optimization problem in the embodiment, the position of the mobile device, the channel gain and the time delay constraint set of each device are used as the state space of reinforcement learning, and the bandwidth allocation scheme of the server is used as the action space. Since the optimization objective of this embodiment is to minimize the average delay, but reinforcement learning is generally to maximize the reward, a negative value of the average delay is taken as the reward, namely:
by solving the optimization problem, the reallocated bandwidth resources are determined, so that the reallocated bandwidth resources have higher accuracy under the precondition that a plurality of constraints are satisfied.
In some embodiments, prior to determining that the server is in communication connection with the mobile device, the method comprises: and allocating bandwidth resources to the mobile device and each fixed device connected with the server based on the preset track of the mobile device.
In this embodiment, on the premise of knowing the production requirement of the manufacturing factory, the equipment required by the production requirement can be deployed in advance, and in the case that the equipment cannot meet the productivity requirement or is used for improving the productivity requirement of the equipment, the production can be assisted by the mobile equipment so as to meet the requirement of the productivity requirement. Thus, the movement trajectory of the mobile device, i.e. the predetermined trajectory of the mobile device, may be determined in advance. The server can know at what time point the mobile device is in communication connection with which server through the preset track, in order to ensure the continuity of the operation of the mobile device, the server needs to allocate the mobile device to be accessed and bandwidth resources in communication connection with the server in advance through the preset track so as to keep the continuity of the operation of the mobile device, the production operation of the mobile device is not interrupted, and the smooth production in a manufacturing factory is ensured.
In some embodiments, further comprising: responsive to determining that there is a communication latency that does not meet the preset latency threshold, bandwidth resources associated with each fixed device communicatively coupled to the server are reallocated based on the second communication latency of each fixed device.
In this embodiment, when the server allocates bandwidth resources to the mobile device and the fixed device in the case of a communication delay that does not satisfy the preset delay threshold, the bandwidth resources of the mobile device and the fixed device cannot be allocated reasonably at the same time. A fixed device communicatively coupled to a server can only rely on the server to allocate its required bandwidth resources, but a mobile device can also allocate its required bandwidth resources through other servers. Therefore, the server is not suitable for distributing the bandwidth resources required by the mobile equipment, and can redistribute the bandwidth resources of the fixed equipment in communication connection with the server, so that the bandwidth resources corresponding to the server are utilized, the utilization rate of the bandwidth resources is improved, and the production speed of the fixed equipment is also improved.
It should be noted that, the method of the embodiment of the present application may be performed by a single device, for example, a computer or a server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the method of an embodiment of the present application, the devices interacting with each other to accomplish the method.
It should be noted that the foregoing describes some embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Based on the same inventive concept, the application also provides a bandwidth resource allocation device in the industrial Internet of things scene, which corresponds to the method in any embodiment.
Referring to fig. 2, the bandwidth resource allocation apparatus in the industrial internet of things scenario is applied to each of a plurality of servers in a communication system, where the communication system further includes a plurality of fixed devices communicatively connected to each server, and a mobile device communicatively connected to each server in turn according to a predetermined track, and includes:
a first determining module 10 configured to determine a plurality of communication delays of the server in response to determining that the server is in communication connection with the mobile device, wherein the plurality of communication delays includes a first communication delay of the mobile device and a second communication delay of each fixed device in communication connection with the server.
The second determining module 20 is configured to determine, in response to determining that the plurality of communication delays are all less than or equal to a preset delay threshold, whether a subcarrier occupancy time of the mobile device is greater than a preset time.
A third determining module 30 is configured to determine, in response to determining that the subcarrier occupancy time is greater than the preset time, whether a bandwidth resource of the server satisfies a preset reallocation condition based on the subcarrier occupancy time and a distance between the mobile device and the server.
A first allocation module 40 configured to reallocate, based on the plurality of communication delays, bandwidth resources of each fixed device connected to the server and bandwidth resources of the mobile device in response to determining that the bandwidth resources meet the preset reallocation condition.
By means of the device, in response to determining that the server and the mobile equipment are in a communication connection state, a plurality of communication delays of the server are determined, wherein the plurality of communication delays comprise a first communication delay of the mobile equipment and a second communication delay of each fixed equipment in communication connection with the server, each communication delay is associated with an allocated bandwidth resource, and whether the allocation of the bandwidth resource of the server is reasonable or not can be reflected through the communication delays later. And in response to determining that the communication delays are smaller than or equal to a preset delay threshold, determining whether the subcarrier occupation time of the mobile equipment is larger than the preset time, and laying a foundation for subsequently improving the bandwidth resource utilization rate of the server. And determining whether the bandwidth resources of the server meet a preset reallocation condition based on the subcarrier occupation time and the distance between the mobile equipment and the server in response to determining that the subcarrier occupation time is greater than the preset time, so that the purpose of balancing the time delay of resource allocation by the server and the calculation burden of the server can be achieved later. And in response to determining that the bandwidth resources meet the preset reallocation conditions, reallocating the bandwidth resources of each fixed device connected with the server and the bandwidth resources of the mobile device based on the communication delays, and considering the mobility of the mobile device when the server allocates the bandwidth resources, so that the bandwidth resource utilization rate of the server is improved.
In some embodiments, the first determining module 10 is further configured to determine the first communication latency by the following formula and combine the first communication latency satisfying the following formula into a first solution set:wherein->For the first communication delay, +.>For the first solution set, +.>Transmitting first control information to a first sub-communication time delay generated by the mobile device for the server,/for the server>Transmitting an execution result corresponding to the first control information to a second sub-communication time delay generated by the server for the mobile equipment>A preset maximum communication latency associated with the mobile device; determining the second communication delay through the following formula, and combining the second communication delay meeting the following formula into a second solution set: />,/>Wherein->For the second communication delay, +.>For the second solution set, +.>Transmitting second control information to a third sub-communication time delay generated by the fixed device for the server,/for the fixed device>Transmitting an execution result corresponding to the second control information to a fourth sub-communication time delay generated by the server for the fixed equipment>Is a preset maximum communication latency associated with the fixed device.
In some embodiments, the second determining module 20 is further configured to determine that the plurality of communication delays are each less than or equal to the preset delay threshold in response to determining that the first solution set and the second solution set are intersected.
In some embodiments, the second determining module 20 is further configured to determine the first sub-communication delay by:wherein->For said first sub-communication delay, < >>For mobile device->And server->Bandwidth allocated between, ">For server->To mobile device->Data amount of the first control information transmitted, < >>For mobile device->Signal to noise ratio at; the second sub-communication delay is determined by the following formula:wherein->For said second sub-communication delay, +.>For mobile device->Send to server->The data amount of the execution result corresponding to the first control information of +.>For server->A first signal to noise ratio at; the third sub-communication delay is determined by the following formula: />Wherein->For said third sub-communication delay, +.>Representing the server->Send to the fixture->Data amount of second control information of +.>Representing a fixation device->And server->Transmission bandwidth allocated between, expressed by number of subcarriers, i.e. +. >,/>Representation server->Maximum number of sub-carriers that can be divided, +.>Representation server->Minimum separable single subcarrier, +.>For fixing devices->Signal to noise ratio at; the fourth sub-communication delay is determined by the following formula: />Wherein->For said fourth sub-communication delay, -a fourth sub-communication delay,>representing a fixation device->Send to server->The data amount of the execution result corresponding to the second control information of (a), <>For server->A second signal to noise ratio at.
In some embodiments, the first allocation module 40 is further configured to determine a reallocation value of bandwidth resources of the server based on the subcarrier occupancy time and a distance between the mobile device and the server; and in response to determining that the change value of the reallocation value is greater than a preset reallocation threshold, determining that the bandwidth resource meets the preset reallocation condition.
In some embodiments, the first allocation module 40 is further configured to determine the reassignment value by:wherein->To reassign the described reassignmentThe value of the sum of the values,for a preset adjustment value, < >>For mobile device->Time of occupation of sub-carriers, +.>For mobile device->Time maximum of occupied subcarriers, +.>For mobile device- >Located on the abscissa of the target area,/->For mobile device->Located on the ordinate of the target area,/>For the abscissa where the server is located in the target area,/->For the ordinate of the server located in the target area,/->For the minimum distance of the mobile device to the server,/a minimum distance of the mobile device to the server>A radius of communication coverage for the server.
In some implementationsIn an embodiment, the first allocation module 40 is further configured to determine the reallocated bandwidth resources by the following formula if a preset condition is met:wherein->For said reallocated bandwidth resources, +.>For fixing devices->And server->Bandwidth resource with minimum communication delay is allocated among the two parts, +.>For the total number of fixed devices communicatively connected to the server, +.>For the number of all servers in the target area, +.>For said third sub-communication delay, +.>For said fourth sub-communication delay, -a fourth sub-communication delay,>for the first sub-communication delay time,for said second sub-communication delay, +.>The time required for the mobile device to move to an adjacent server.
In some embodiments, the system further comprises a second allocation module further configured to allocate bandwidth resources to the mobile device and each fixed device connected to the server based on a predetermined trajectory of the mobile device before determining that the server is in communication connection with the mobile device.
In some embodiments, a third allocation module is further included that is further configured to reallocate bandwidth resources associated with each fixed device communicatively connected to the server based on the second communication latency of each fixed device in response to determining that there is a communication latency that does not meet a preset latency threshold.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
The device of the above embodiment is used for implementing the bandwidth resource allocation method in the corresponding industrial internet of things scenario in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, the application also provides an electronic device corresponding to the method of any embodiment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the bandwidth resource allocation method in the industrial Internet of things scene according to any embodiment when executing the program.
Fig. 3 shows a more specific hardware architecture of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. for executing relevant programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage device, dynamic storage device, or the like. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown in the figure) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The electronic device in the foregoing embodiment is configured to implement the bandwidth resource allocation method in the corresponding industrial internet of things scenario in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, the present application also provides a non-transitory computer readable storage medium corresponding to the method of any embodiment, wherein the non-transitory computer readable storage medium stores computer instructions for causing the computer to execute the bandwidth resource allocation method in the industrial internet of things scenario according to any embodiment.
The computer readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The storage medium of the foregoing embodiment stores computer instructions for causing the computer to execute the bandwidth resource allocation method in the industrial internet of things scenario according to any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the application (including the claims) is limited to these examples; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the application, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the application as described above, which are not provided in detail for the sake of brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure the embodiments of the present application. Furthermore, the devices may be shown in block diagram form in order to avoid obscuring the embodiments of the present application, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the present application are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, and the like, which are within the spirit and principles of the embodiments of the application, are intended to be included within the scope of the application.

Claims (10)

1. A bandwidth resource allocation method in an industrial internet of things scenario, which is applied to each of a plurality of servers in a communication system, wherein the communication system further includes a plurality of fixed devices communicatively connected to each server, and a mobile device communicatively connected to each server in turn according to a predetermined track, and the method comprises:
in response to determining that the server is in communication connection with the mobile device, determining a plurality of communication delays for the server, wherein the plurality of communication delays includes a first communication delay for the mobile device and a second communication delay for each stationary device in communication connection with the server;
In response to determining that the plurality of communication delays are all less than or equal to a preset delay threshold, determining whether a subcarrier occupancy time of the mobile device is greater than a preset time;
responsive to determining that the subcarrier occupancy time is greater than the preset time, determining whether a bandwidth resource of the server meets a preset reallocation condition based on the subcarrier occupancy time and a distance between the mobile device and the server;
and in response to determining that the bandwidth resources meet the preset reallocation condition, reallocating the bandwidth resources of each fixed device connected with the server and the bandwidth resources of the mobile device based on the plurality of communication delays.
2. The method of claim 1, wherein said determining a plurality of communication delays for the server comprises:
determining the first communication delay through the following formula, and combining the first communication delay meeting the following formula into a first solution set:
wherein,for the first communication delay, +.>For the first solution set, +.>Transmitting first control information to a first sub-communication time delay generated by the mobile device for the server,/for the server>Transmitting an execution result corresponding to the first control information to a second sub-communication time delay generated by the server for the mobile equipment >A preset maximum communication latency associated with the mobile device;
determining the second communication delay through the following formula, and combining the second communication delay meeting the following formula into a second solution set:
wherein,for the second communication delay, +.>For the second solution set, +.>Transmitting second control information to a third sub-communication time delay generated by the fixed device for the server,/for the fixed device>Transmitting an execution result corresponding to the second control information to a fourth sub-communication time delay generated by the server for the fixed equipment>Is a preset maximum communication latency associated with the fixed device.
3. The method of claim 2, wherein determining that the plurality of communication delays are each less than or equal to a preset delay threshold comprises:
and in response to determining that the first solution set and the second solution set have intersections, determining that the plurality of communication delays are all less than or equal to the preset delay threshold.
4. The method as recited in claim 2, further comprising:
the first sub-communication delay is determined by the following formula:
wherein,for said first sub-communication delay, < >>For mobile device->And server- >The bandwidth allocated between them is set to be,for dressServer->To mobile device->Data amount of the first control information transmitted, < >>For mobile device->Signal to noise ratio at;
the second sub-communication delay is determined by the following formula:
wherein,for said second sub-communication delay, +.>For mobile device->Send to server->The data amount of the execution result corresponding to the first control information of +.>For server->A first signal to noise ratio at;
the third sub-communication delay is determined by the following formula:
wherein,for said third sub-communication delay, +.>Representing the server->Send to the fixture->Data amount of second control information of +.>Representing a fixation device->And server->Transmission bandwidth allocated between, expressed by number of subcarriers, i.e. +.>,/>,/>Representation server->Maximum number of sub-carriers that can be divided, +.>Representation server->Minimum separable single subcarrier, +.>For fixing devices->Signal to noise ratio at;
the fourth sub-communication delay is determined by the following formula:
wherein,for said fourth sub-communication delay, -a fourth sub-communication delay,>representing a fixation device->Send to server->The data amount of the execution result corresponding to the second control information of (a), <>For server->A second signal to noise ratio at.
5. The method of claim 1, wherein the determining that the bandwidth resource satisfies the preset reallocation condition comprises:
determining a reallocation value of bandwidth resources of the server based on the subcarrier occupation time and the distance between the mobile equipment and the server;
and in response to determining that the change value of the reallocation value is greater than a preset reallocation threshold, determining that the bandwidth resource meets the preset reallocation condition.
6. The method of claim 5, wherein the determining a reallocation value for bandwidth resources of the server based on the subcarrier occupancy time and a distance between the mobile device and the server comprises:
the reassignment value is determined by the following formula:
wherein,assigning a value to said reassignment->For a preset adjustment value, < >>For mobile device->Time of occupation of sub-carriers, +.>For mobile device->Time maximum of occupied subcarriers, +.>For mobile device->Located on the abscissa of the target area,/->For mobile device->Located on the ordinate of the target area,/>For the abscissa where the server is located in the target area,/->For the ordinate of the server located in the target area,/- >For the minimum distance of the mobile device to the server,/a minimum distance of the mobile device to the server>A radius of communication coverage for the server.
7. The method of claim 4, wherein reallocating bandwidth resources of each fixed device connected to the server and bandwidth resources of the mobile device based on the plurality of communication delays comprises:
in case that the preset condition is satisfied, determining the reallocated bandwidth resources by the following formula:
wherein,for said reallocated bandwidth resources, +.>For fixing devices->And server->Bandwidth resource with minimum communication delay is allocated among the two parts, +.>For the total number of fixed devices communicatively connected to the server, +.>For the number of all servers in the target area, +.>For said third sub-communication delay, +.>For said fourth sub-communication delay, -a fourth sub-communication delay,>for said first sub-communication delay, < >>For said second sub-communication delay, +.>The time required for the mobile device to move to an adjacent server.
8. The method of claim 1, wherein prior to determining that the server is in communication connection with the mobile device, the method comprises:
And allocating bandwidth resources to the mobile device and each fixed device connected with the server based on the preset track of the mobile device.
9. The method as recited in claim 8, further comprising:
responsive to determining that there is a communication latency that does not meet the preset latency threshold, bandwidth resources associated with each fixed device communicatively coupled to the server are reallocated based on the second communication latency of each fixed device.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 9 when the program is executed by the processor.
CN202311199094.5A 2023-09-18 2023-09-18 Bandwidth resource allocation method in industrial Internet of things scene and electronic equipment Active CN116938835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311199094.5A CN116938835B (en) 2023-09-18 2023-09-18 Bandwidth resource allocation method in industrial Internet of things scene and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311199094.5A CN116938835B (en) 2023-09-18 2023-09-18 Bandwidth resource allocation method in industrial Internet of things scene and electronic equipment

Publications (2)

Publication Number Publication Date
CN116938835A CN116938835A (en) 2023-10-24
CN116938835B true CN116938835B (en) 2023-11-17

Family

ID=88381150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311199094.5A Active CN116938835B (en) 2023-09-18 2023-09-18 Bandwidth resource allocation method in industrial Internet of things scene and electronic equipment

Country Status (1)

Country Link
CN (1) CN116938835B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020207265A1 (en) * 2019-04-08 2020-10-15 阿里巴巴集团控股有限公司 Network system, management and control method and device, and storage medium
CN113573342A (en) * 2021-09-27 2021-10-29 南京邮电大学 Energy-saving computing unloading method based on industrial Internet of things
CN115802380A (en) * 2022-11-08 2023-03-14 重庆理工大学 Resource allocation method and device for cognitive industry Internet of things in dynamic uncertain scene
CN116389947A (en) * 2023-03-17 2023-07-04 国网浙江省电力有限公司信息通信分公司 Dynamic service-oriented bandwidth and key distribution method and related device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220221924A1 (en) * 2021-01-12 2022-07-14 Comcast Cable Communications, Llc Prioritized Usage of Devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020207265A1 (en) * 2019-04-08 2020-10-15 阿里巴巴集团控股有限公司 Network system, management and control method and device, and storage medium
CN113573342A (en) * 2021-09-27 2021-10-29 南京邮电大学 Energy-saving computing unloading method based on industrial Internet of things
CN115802380A (en) * 2022-11-08 2023-03-14 重庆理工大学 Resource allocation method and device for cognitive industry Internet of things in dynamic uncertain scene
CN116389947A (en) * 2023-03-17 2023-07-04 国网浙江省电力有限公司信息通信分公司 Dynamic service-oriented bandwidth and key distribution method and related device

Also Published As

Publication number Publication date
CN116938835A (en) 2023-10-24

Similar Documents

Publication Publication Date Title
US11132608B2 (en) Learning-based service migration in mobile edge computing
CN112148492B (en) Service deployment and resource allocation method considering multi-user mobility
CN106959894B (en) Resource allocation method and device
CN109002357B (en) Resource allocation method and device and Internet of things system
KR20140117905A (en) Virtual machine allcoation of cloud service for fuzzy logic driven virtual machine resource evaluation apparatus and method
Jeong et al. PerDNN: Offloading deep neural network computations to pervasive edge servers
CN112181664A (en) Load balancing method and device, computer readable storage medium and electronic equipment
CN113419853A (en) Task execution strategy determining method and device, electronic equipment and storage medium
CN114625500A (en) Method and application for scheduling micro-service application based on topology perception in cloud environment
CN110493317B (en) Method for processing cloud platform resource fragments and related equipment
CN109327340B (en) Mobile wireless network virtual network mapping method based on dynamic migration
CN116938835B (en) Bandwidth resource allocation method in industrial Internet of things scene and electronic equipment
CN113141634B (en) VR content caching method based on mobile edge computing network
WO2023221266A1 (en) Multi-branch network collaborative reasoning method and system for internet of things
CN116339748A (en) Self-adaptive application program deployment method in edge computing network based on mobility prediction
CN108933834A (en) A kind of dispatching method and dispatching device
CN116418808A (en) Combined computing unloading and resource allocation method and device for MEC
JP7239861B2 (en) Resource allocation device, resource allocation method, and resource allocation program
JP2021141514A (en) Frequency mapping device, frequency mapping method and computer program
CN116980423B (en) Model scheduling method, device, computing system, equipment and readable storage medium
CN115190021B (en) Deterministic time delay service oriented slice deployment method and related equipment
CN117995255B (en) Memory self-test dynamic grouping method and device
US20200326994A1 (en) Methods, apparatus, and systems to dynamically schedule workloads among compute resources based on temperature
CN116156566B (en) Multi-access edge computing non-independent task unloading method
CN116680091B (en) Server deployment method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant