CN112468424B - Resource allocation method, device, equipment and storage medium - Google Patents

Resource allocation method, device, equipment and storage medium Download PDF

Info

Publication number
CN112468424B
CN112468424B CN201910843762.0A CN201910843762A CN112468424B CN 112468424 B CN112468424 B CN 112468424B CN 201910843762 A CN201910843762 A CN 201910843762A CN 112468424 B CN112468424 B CN 112468424B
Authority
CN
China
Prior art keywords
resource allocation
allocation mode
ofdm
mode
response time
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
CN201910843762.0A
Other languages
Chinese (zh)
Other versions
CN112468424A (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology Co Ltd
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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN201910843762.0A priority Critical patent/CN112468424B/en
Publication of CN112468424A publication Critical patent/CN112468424A/en
Application granted granted Critical
Publication of CN112468424B publication Critical patent/CN112468424B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • H04L27/2601Multicarrier modulation systems
    • H04L27/2602Signal structure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a resource allocation method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring a resource allocation mode alternative set matched with an OFDM transmission mode; selecting a target resource allocation mode from the resource allocation mode alternative set according to a transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system and/or a preset communication response time tolerance; and constructing resource allocation information according to the target resource allocation mode and sending the resource allocation information to each node device. According to the technical scheme provided by the embodiment of the invention, the transmission distance between the node devices and/or the preset communication response time tolerance are/is obtained, the target resource allocation mode is selected, and the resource allocation information of each node device is constructed, so that the reasonable allocation of the communication resources of the high-speed industrial control bus is realized in different application scenes according to different transmission distances, communication response times and/or real-time requirements.

Description

Resource allocation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for resource allocation.
Background
With the continuous progress of computer technology and communication technology, bus technology has been developed rapidly, and industrial buses are becoming indispensable components in industrial production.
A high-speed industrial control bus, i.e., a control bus applied in the field of industrial production, is a set of common signal lines for transmitting information between modules or devices and communicating with each other, and a signal carrier for accurately transmitting information transmitted from a transmitting device to a receiving device. The existing high-speed industrial control bus is mainly communicated in a baseband transmission mode; the transmission signal of the baseband transmission is a baseband signal which is not modulated by a carrier wave, and data transmission is performed in a mode of not shifting a spectrum of the baseband signal.
In the process of implementing the invention, the inventor finds that the prior art has the following defects: the existing high-speed industrial control bus communication mode has a single communication means, is only suitable for data transmission in a small range, has large attenuation of high-frequency components when the transmission distance is overlong, influences the quality of transmission data, and often causes distortion and even loss of the transmission data.
Disclosure of Invention
The embodiment of the invention provides a resource allocation method, a resource allocation device and a storage medium, which are used for reasonably allocating communication resources of a high-speed industrial control bus by adopting different resource allocation modes under different application requirements.
In a first aspect, an embodiment of the present invention provides a resource allocation method, including:
acquiring a resource allocation mode alternative set matched with an OFDM transmission mode, wherein the resource allocation mode alternative set comprises a plurality of resource allocation modes, and the resource allocation modes define the symbol length of one OFDM symbol and the number of OFDM symbols in one frame;
selecting a target resource allocation mode from the resource allocation mode alternative set according to a transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system and/or a preset communication response time tolerance; the high-speed industrial control bus of the OFDM system takes OFDM symbols as time distribution granularity;
and constructing resource allocation information according to the target resource allocation mode and sending the resource allocation information to each node device, wherein the resource allocation information defines OFDM symbols allocated and used by each node device in one frame.
In a second aspect, an embodiment of the present invention provides a resource allocation apparatus, including:
a resource allocation mode candidate set obtaining module, configured to obtain a resource allocation mode candidate set matched with an OFDM transmission mode, where the resource allocation mode candidate set includes multiple resource allocation modes, and the resource allocation modes define a symbol length of one OFDM symbol and a number of OFDM symbols in one frame;
the target resource allocation mode acquisition module is used for selecting a target resource allocation mode from the resource allocation mode alternative set according to the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system and/or a preset communication response time tolerance; the high-speed industrial control bus of the OFDM system takes OFDM symbols as time distribution granularity;
and a resource allocation information sending module, configured to construct resource allocation information according to the target resource allocation mode, and send the resource allocation information to each node device, where the resource allocation information defines an OFDM symbol allocated to each node device in one frame.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the resource allocation method of any embodiment of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the resource allocation method according to any embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the target resource allocation mode is selected from the resource allocation mode alternative set matched with the OFDM transmission mode by acquiring the transmission distance between the node devices and/or the preset communication response time tolerance, and the resource allocation information of each node device is constructed, so that a user can construct the resource allocation information of each node device according to different transmission distances, communication response time and/or real-time requirements, different resource allocation modes are realized under different application scenes and requirements, the communication resources of the high-speed industrial control bus are reasonably allocated, and the communication efficiency is improved.
Drawings
Fig. 1A is a flowchart of a resource allocation method according to an embodiment of the present invention;
fig. 1B is a structural diagram of a frame in a resource allocation mode according to an embodiment of the present invention;
FIG. 1C is a block diagram of a frame in different resource allocation modes according to an embodiment of the present invention;
fig. 2A is a block diagram of a resource allocation method according to a second embodiment of the present invention;
FIG. 2B is a diagram of a frame structure in a resource allocation scheme according to a second embodiment of the present invention;
fig. 3 is a block diagram of a resource allocation apparatus according to a third embodiment of the present invention;
fig. 4 is a block diagram of a device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Example one
Fig. 1A is a flowchart of a resource allocation method according to an embodiment of the present invention, where this embodiment is applicable to a case of allocating communication resources for each node device on a high-speed industrial control bus, and the method may be executed by a resource allocation apparatus according to an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware, and may be generally integrated on a control terminal of the high-speed industrial control bus, and the method specifically includes the following steps:
s110, acquiring a resource allocation mode alternative set matched with the OFDM transmission mode, wherein the resource allocation mode alternative set comprises a plurality of resource allocation modes, and the resource allocation modes define the symbol length of one OFDM symbol and the number of the OFDM symbols in one frame.
The technical scheme of the embodiment of the invention is mainly applied to the scene of the high-speed industrial control bus of the OFDM system. In this scenario, information exchange based on the OFDM transmission scheme is mainly implemented between a plurality of devices connected to the high-speed industrial control bus of the OFDM system. The above device may specifically include a control device and a node device, where the control device is mainly configured to send resource allocation information to each node device in advance, so that each node device can send respective information on the high-speed industrial control bus of the OFDM system without interfering with each other by using a corresponding OFDM symbol based on the resource allocation information. The control device may be an independent device or one of the node devices, which is not limited in this embodiment.
In industrial bus communication, the bandwidth provided by a channel is much wider than the bandwidth required by transmitting one signal, and if only one signal is transmitted by one channel, resources are wasted, so that the bandwidth of the channel can be fully utilized by adopting a frequency division multiplexing method. OFDM (Orthogonal Frequency Division Multiplexing) is a technique that divides a channel into a plurality of Orthogonal sub-channels, converts a high-speed data signal into parallel low-speed sub-data streams, modulates the parallel low-speed sub-data streams onto each sub-channel for transmission, and separates Orthogonal signals at a receiving end by using a correlation technique, thereby reducing mutual interference between sub-channels; meanwhile, the signal bandwidth on each sub-channel is far smaller than the actual bandwidth of the channel and is similar to flat fading, so that intersymbol interference can be eliminated; in addition, because the bandwidth of each sub-channel only occupies a small part of the bandwidth of the original channel, the channel equalization is easier to realize.
In a conventional OFDM communication scheme, the interval of each subcarrier in a channel is 15000Hz, and the symbol length of an OFDM symbol is the reciprocal of the subcarrier interval, i.e. 1/15000 seconds, which means that there are 15000 OFDM symbols per subcarrier per second. In the embodiment of the present invention, the resource allocation pattern defines a symbol length of one OFDM symbol, and particularly, in a plurality of resource allocation patterns included in the resource allocation pattern candidate set, the OFDM symbols of each resource allocation pattern correspond to different symbol lengths respectively; specifically, the symbol length of the OFDM symbol of each resource allocation pattern may be sequentially increased according to a preset ratio, for example, the preset ratio is a positive integer power of 2; taking the example that the resource allocation pattern candidate set includes three resource allocation patterns, the symbol length of the OFDM symbol of the second resource allocation pattern is 2 times that of the first resource allocation pattern, and the symbol length of the OFDM symbol of the third resource allocation pattern is 2 times that of the second resource allocation pattern.
The resource allocation pattern also defines the number of OFDM symbols within a frame; wherein, the frame is a unit of data transmission on the communication channel; in this embodiment of the present invention, optionally, in a plurality of resource allocation patterns included in the resource allocation pattern candidate set, the number of OFDM symbols in one frame in each resource allocation pattern is equal; and the number of OFDM symbols in one frame can be set as required. Fig. 1B is a structural diagram of a frame in the resource allocation mode, where N is the number of OFDM symbols in the frame, and N is a positive integer greater than or equal to 1.
In the embodiment of the present invention, each resource allocation mode in the resource allocation mode candidate set has the same bandwidth, and on the premise that the number of OFDM symbols in one frame in each resource allocation mode is also the same, the frame length of each resource allocation mode is determined only by the symbol length of the OFDM symbols, thereby reducing variable factors, and making full use of that the OFDM symbols with different symbol lengths have different transmission characteristics, so that each resource allocation mode can be suitable for different transmission scenarios and transmission requirements.
S120, selecting a target resource allocation mode from the resource allocation mode alternative set according to the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system and/or a preset communication response time tolerance; the high-speed industrial control bus of the OFDM system takes OFDM symbols as time distribution granularity.
When node equipment hung on an industrial bus carries out communication, delay caused by multipath effect is not obvious under a short transmission distance, but the delay effect is more obvious as the transmission distance is longer, and at the moment, the symbol length of an OFDM symbol is set to be a longer value, so that cyclic redundancy is longer, and the influence caused by delay is reduced. Meanwhile, the longer the symbol length of the OFDM symbol, the larger the data volume carried, so that when the same data volume is transmitted, the longer the symbol length of the OFDM symbol, the lower order modulation mode can be used, and the lower demodulation threshold is provided. However, the longer the symbol length of the OFDM symbol is, the longer the time occupied by the industrial bus is, and the longer the communication response time is, which affects the real-time performance of data transmission.
Optionally, selecting a target resource allocation mode from the resource allocation mode candidate set according to a transmission distance between at least two node devices hooked to a high-speed industrial control bus of an OFDM system specifically includes: respectively acquiring transmission distances between any two adjacent node devices on a high-speed industrial control bus of the OFDM system, and acquiring an average transmission distance between the devices according to the acquired transmission distances; and selecting a target resource allocation mode from the resource allocation mode candidate set according to the transmission distance application range corresponding to each resource allocation mode in the resource allocation mode candidate set and the average transmission distance between the devices. The transmission distance corresponding to each resource allocation mode in the resource allocation mode candidate set has different application ranges, for example, a preset transmission distance threshold value, the first resource allocation mode is applicable to a transmission distance smaller than or equal to the preset transmission distance threshold value, and the second resource allocation mode is applicable to a transmission distance larger than the preset transmission distance threshold value; if the average transmission distance of the adjacent node equipment on the high-speed industrial control bus of the OFDM system is smaller than or equal to the preset transmission distance threshold value, selecting a first resource allocation mode as a target resource allocation mode; and if the average transmission distance of the adjacent node equipment on the high-speed industrial control bus of the OFDM system is greater than the preset transmission distance threshold, selecting the second resource allocation mode as the target resource allocation mode.
The communication response time tolerance reflects the real-time requirement of communication among the node devices; if the communication among the node devices has higher requirements on real-time performance, presetting a lower communication response time tolerance; if the requirement of the communication between the node devices on the real-time performance is low, a high communication response time tolerance is preset.
Optionally, selecting a target resource allocation pattern from the resource allocation pattern candidate set according to a preset communication response time tolerance includes: acquiring a preset communication response time tolerance; and selecting a target resource allocation mode from the resource allocation mode candidate set according to the communication response time application range corresponding to each resource allocation mode in the resource allocation mode candidate set and the communication response time tolerance. Communication response time application ranges corresponding to the resource allocation modes in the resource allocation mode alternative set are different, for example, a preset communication response time threshold value is adopted, the tolerance of the communication response time of the first resource allocation mode is smaller than or equal to the preset communication response time threshold value, and the tolerance of the communication response time of the second resource allocation mode is larger than the preset communication response time threshold value; if the preset communication response time tolerance is less than or equal to the preset communication response time threshold, selecting a first resource allocation mode as a target resource allocation mode; and if the preset communication response time tolerance is larger than the preset communication response time threshold, selecting the second resource allocation mode as the target resource allocation mode.
Optionally, the preset communication response time tolerance is related to the type of data transmitted between the node devices, for example, if the data transmitted between the node devices is alarm information, the data has a very high requirement on real-time performance, and a lower communication response time tolerance is preset at this time; if the data transmitted between the node devices is the conventional detection information, the requirement of the data on the real-time performance is low, and a high communication response time tolerance is preset at the moment.
Optionally, the selecting a target resource allocation mode from the resource allocation mode candidate set according to a transmission distance between at least two node devices connected to a high-speed industrial control bus of an OFDM system and a preset communication response time tolerance specifically includes: determining a distance measurement factor according to the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system; determining a time measurement factor according to a preset communication response time tolerance; calculating the weight of a resource allocation mode according to the distance weighing factor and the time weighing factor; and selecting a target resource allocation mode from the resource allocation mode alternative set according to the weight application range corresponding to each resource allocation mode in the resource allocation mode alternative set and the weight of the resource allocation mode. For example, according to the preset transmission distance threshold, when the transmission distance between at least two node devices hung on the high-speed industrial control bus of the OFDM system is less than or equal to the preset transmission distance threshold, determining that the distance measurement factor is 1; when the transmission distance is greater than the preset transmission distance threshold, determining that the distance measurement factor is 2; according to the preset communication response time threshold, when the preset communication response time tolerance is less than or equal to the preset communication response time threshold, determining that the time weighing factor is 1; and when the preset communication response time tolerance is larger than the preset communication response time threshold, determining that the time weighing factor is 2. And calculating the weight of the resource allocation mode according to the product operation or summation operation of the distance weighing factor and the time weighing factor, and selecting a target resource allocation mode according to the application range of the weight corresponding to each resource allocation mode. Taking summation operation as an example, when the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system is less than or equal to a preset transmission distance threshold, and a preset communication response time tolerance is less than or equal to a preset communication response time threshold, the resource allocation pattern weight is 2; when the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system is smaller than or equal to a preset transmission distance threshold value, and a preset communication response time tolerance is larger than a preset communication response time threshold value, the weight of a resource allocation mode is 3; when the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system is larger than a preset transmission distance threshold value and the preset communication response time tolerance is smaller than or equal to a preset communication response time threshold value, the weight of a resource allocation mode is 3; when the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system is larger than a preset transmission distance threshold value, and the preset communication response time tolerance is larger than a preset communication response time threshold value, the weight of the resource allocation mode is 4. The weight application range corresponding to each corresponding resource allocation mode includes that when the weight application range corresponding to the first resource allocation mode is equal to 2, the weight application range corresponding to the second resource allocation mode is equal to 3, and the weight application range corresponding to the third resource allocation mode is equal to 4. Therefore, according to the calculated resource allocation pattern weight, the target resource allocation pattern can be selected according to the weight application range corresponding to each resource allocation pattern.
As shown in fig. 1C, the first resource allocation pattern, the second resource allocation pattern and the third resource allocation pattern in the above technical solution are all under the same bandwidth, and the number of OFDM symbols in each resource allocation pattern is equal, that is, N is the same, while the symbol length 11 of the OFDM symbol in the first resource allocation pattern is smaller than the symbol length 12 of the OFDM symbol in the second resource allocation pattern, and the symbol length 12 of the OFDM symbol in the second resource allocation pattern is smaller than the symbol length 13 of the OFDM symbol in the third resource allocation pattern.
Specifically, in the embodiment of the present invention, a plurality of transmission distance thresholds and/or a plurality of communication response time thresholds may be preset, and accordingly, the resource allocation mode candidate set is not limited to include the above three resource allocation modes.
S130, resource allocation information is constructed according to the target resource allocation mode and is sent to each node device, wherein the resource allocation information defines OFDM symbols allocated and used by each node device in one frame.
In this embodiment, the resource allocation information defines OFDM symbols allocated and used by each node device in one frame, that is, defines time-frequency domain resources allocated to each node in one frame at the same time. The time domain resource determines the sending opportunity and sending duration of each OFDM symbol by setting the symbol length of one OFDM symbol, the number of OFDM symbols in one frame and the starting and stopping sending time of each frame; the frequency domain resources are defined by defining the type of sub-carriers used by one OFDM symbol. The time-frequency domain resources in a frame are allocated to each node device by taking an OFDM symbol as a minimum allocation unit.
The target resource allocation mode defines the symbol length of the corresponding OFDM symbols and the number of the OFDM symbols in one frame, and the product of the symbol length of the OFDM symbols and the number of the OFDM symbols in one frame is the frame length of one frame; therefore, resource allocation information may be constructed according to the target resource allocation mode, and OFDM symbols allocated to be used by each node device in one frame may be defined.
Correspondingly, after receiving the resource allocation information, the node device on the high-speed industrial control bus of the OFDM system may obtain one or more OFDM symbols allocated by the local node in one frame in the resource allocation information, where the OFDM symbols define information transmission timing, transmission duration, and usable subcarriers of the local node, and the local node may further use corresponding subcarriers to construct an OFDM symbol matched with the transmission information, and further transmit the transmission OFDM symbol at the corresponding information transmission timing.
According to the technical scheme provided by the embodiment of the invention, the target resource allocation mode is selected from the resource allocation mode alternative set matched with the OFDM transmission mode by acquiring the transmission distance between the node devices and/or the preset communication response time tolerance, and the resource allocation information of each node device is constructed, so that a user can construct the resource allocation information of each node device according to different transmission distances, communication response time and/or real-time requirements, different resource allocation modes are realized under different application scenes and requirements, the communication resources of the high-speed industrial control bus of the OFDM system are reasonably allocated, and the communication efficiency is improved.
Example two
Fig. 2A is a flowchart of a resource allocation method according to a second embodiment of the present invention, which is embodied on the basis of the foregoing embodiment, in this embodiment, as shown in fig. 2B, the OFDM symbol includes a cyclic prefix, and accordingly, the method of this embodiment specifically includes the following operations:
s210, acquiring a resource allocation mode alternative set matched with the OFDM transmission mode, wherein the resource allocation mode alternative set comprises a plurality of resource allocation modes, and the resource allocation modes define the symbol length of one OFDM symbol and the number of OFDM symbols in one frame.
S220, selecting a target resource allocation mode from the resource allocation mode alternative set according to the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system and/or a preset communication response time tolerance; the high-speed industrial control bus of the OFDM system takes OFDM symbols as time distribution granularity; in a plurality of resource allocation patterns included in the resource allocation pattern candidate set, the OFDM symbols of each resource allocation pattern correspond to different cyclic prefixes, respectively.
In the OFDM symbols with the same length, the shorter the length of the cyclic prefix is, the more OFDM symbols can be transmitted in one time slot, so that the transmission real-time performance between node devices is enhanced; the longer the length of the cyclic prefix is, the more obvious the improvement effect on the interference between OFDM symbols and the interference between carrier frequencies is; therefore, optionally, in a plurality of resource allocation patterns included in the resource allocation pattern candidate set, the OFDM symbols of each resource allocation pattern respectively correspond to different cyclic prefixes. For example, the resource allocation mode candidate set includes a fourth resource allocation mode and a fifth resource allocation mode, where the communication bandwidth and the pilot structure in the two resource allocation modes are the same, the cyclic prefix of the fourth resource allocation mode is 160Ts (Ts is a sampling period), and the cyclic prefix of the fifth resource allocation mode is 512 Ts.
When the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system is long, a fourth resource allocation mode with long cyclic prefix of an OFDM symbol can be selected to ensure the real-time performance of communication; when the transmission distance between at least two node devices attached to the high-speed industrial control bus of the OFDM system is short, the fifth resource allocation mode with short cyclic prefix of the OFDM symbol can be selected, and the improvement effect on the interference between the OFDM symbols and the interference between the carrier frequencies is more obvious. Similarly, the shorter the preset communication response time tolerance is, the longer the cyclic prefix of the OFDM symbol can be selected as the fourth resource allocation mode, so as to ensure the real-time performance of communication; the longer the preset communication response time tolerance is, the longer the cyclic prefix of the OFDM symbol can be selected as the fifth resource allocation mode, and the more obvious the improvement effect on the interference between the OFDM symbols and the interference between the carrier frequencies is; and selecting the target resource allocation mode in a weighted calculation mode according to the transmission distance and the preset communication response time tolerance.
And S230, constructing resource allocation information according to the target resource allocation mode, and sending the resource allocation information to each node device, wherein the resource allocation information defines OFDM symbols allocated and used by each node device in one frame.
According to the technical scheme provided by the embodiment of the invention, the cyclic prefix lengths of OFDM symbols in different resource allocation modes are different, and the target resource allocation mode is selected from the resource allocation mode alternative set matched with the OFDM transmission mode by acquiring the transmission distance between node devices and/or the preset communication response time tolerance, and the resource allocation information of each node device is constructed, so that a user can construct the resource allocation information of each node device according to the real-time requirement, the interference between OFDM symbols and the interference between carrier frequencies, the different resource allocation modes are realized under different application scenes and requirements, the communication resources of a high-speed industrial control bus of an OFDM system are reasonably allocated, and the communication efficiency is improved.
EXAMPLE III
Fig. 3 is a block diagram of a resource allocation apparatus according to a third embodiment of the present invention, where the apparatus specifically includes: a resource allocation mode candidate set obtaining module 310, a target resource allocation mode obtaining module 320 and a resource allocation information sending module 330.
A resource allocation mode candidate set obtaining module 310, configured to obtain a resource allocation mode candidate set matched with an OFDM transmission mode, where the resource allocation mode candidate set includes multiple resource allocation modes, and the resource allocation modes define a symbol length of one OFDM symbol and a number of OFDM symbols in one frame;
a target resource allocation pattern obtaining module 320, configured to select a target resource allocation pattern from the resource allocation pattern candidate set according to a transmission distance between at least two node devices and/or a preset communication response time tolerance, where the at least two node devices are connected to a high-speed industrial control bus of an OFDM system; the high-speed industrial control bus of the OFDM system takes OFDM symbols as time distribution granularity;
a resource allocation information sending module 330, configured to construct resource allocation information according to the target resource allocation mode, and send the resource allocation information to each node device, where the resource allocation information defines an OFDM symbol allocated to each node device in one frame.
According to the technical scheme provided by the embodiment of the invention, the target resource allocation mode is selected from the resource allocation mode alternative set matched with the OFDM transmission mode by acquiring the transmission distance between the node devices and/or the preset communication response time tolerance, and the resource allocation information of each node device is constructed, so that a user can construct the resource allocation information of each node device according to different transmission distances, communication response times and/or real-time requirements, the communication resources of the high-speed industrial control bus of the OFDM system are reasonably allocated in different resource allocation modes under different application scenes and requirements, and the communication efficiency is improved.
Optionally, on the basis of the above technical solution, the OFDM symbol includes a cyclic prefix; in a plurality of resource allocation patterns included in the resource allocation pattern candidate set, the OFDM symbols of each resource allocation pattern correspond to different cyclic prefixes, respectively.
Optionally, on the basis of the foregoing technical solution, the target resource allocation pattern obtaining module 320 specifically includes:
an average transmission distance obtaining unit, configured to obtain transmission distances between any two adjacent node devices on a high-speed industrial control bus of the OFDM system, respectively, and obtain an average transmission distance between the devices according to the obtained transmission distances;
a first target resource allocation mode obtaining unit, configured to select a target resource allocation mode from the resource allocation mode candidate set according to a transmission distance application range corresponding to each resource allocation mode in the resource allocation mode candidate set and the average transmission distance between the devices.
Optionally, on the basis of the foregoing technical solution, the target resource allocation pattern obtaining module 320 specifically includes:
a preset communication response time margin acquisition unit configured to acquire a preset communication response time margin;
a second target resource allocation pattern obtaining unit, configured to select a target resource allocation pattern from the resource allocation pattern candidate set according to a communication response time application range corresponding to each resource allocation pattern in the resource allocation pattern candidate set and the communication response time tolerance.
Optionally, on the basis of the foregoing technical solution, the target resource allocation pattern obtaining module 320 specifically includes:
the device comprises a distance measurement factor acquisition unit, a distance measurement unit and a distance measurement unit, wherein the distance measurement factor acquisition unit is used for determining a distance measurement factor according to the transmission distance between at least two node devices which are hung on a high-speed industrial control bus of an OFDM system;
the time measurement factor acquisition unit is used for determining a time measurement factor according to a preset communication response time tolerance;
the resource allocation mode weight calculation unit is used for calculating the weight of the resource allocation mode according to the distance weighing factor and the time weighing factor;
a third target resource allocation pattern obtaining unit, configured to select a target resource allocation pattern from the resource allocation pattern candidate set according to a weight application range corresponding to each resource allocation pattern in the resource allocation pattern candidate set and the resource allocation pattern weight.
Optionally, on the basis of the above technical solution, in a plurality of resource allocation patterns included in the resource allocation pattern candidate set, the OFDM symbols of each resource allocation pattern respectively correspond to different symbol lengths.
Optionally, on the basis of the above technical solution, in a plurality of resource allocation patterns included in the resource allocation pattern candidate set, the number of OFDM symbols in one frame in each resource allocation pattern is equal.
Optionally, on the basis of the above technical solution, the preset communication response time tolerance is related to a type of data transmitted between node devices.
The device can execute the resource allocation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, reference may be made to the method provided in any embodiment of the present invention.
Example four
Fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the apparatus includes a processor 40, a memory 41, an input device 42, and an output device 43; the number of processors 40 in the device may be one or more, and one processor 40 is taken as an example in fig. 4; the device processor 40, the memory 41, the input means 42 and the output means 43 may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The memory 41 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as the modules (the resource allocation pattern candidate set obtaining module 310, the target resource allocation pattern obtaining module 320, and the resource allocation information sending module 330) corresponding to the resource allocation apparatus in the fourth embodiment of the present invention. The processor 40 executes various functional applications of the device and data processing by executing software programs, instructions and modules stored in the memory 41, that is, implements the resource allocation method described above.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 42 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 43 may include a display device such as a display screen.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, which when executed by a computer processor is configured to perform a resource allocation method, where the method includes:
acquiring a resource allocation mode alternative set matched with an OFDM transmission mode, wherein the resource allocation mode alternative set comprises a plurality of resource allocation modes, and the resource allocation modes define the symbol length of one OFDM symbol and the number of OFDM symbols in one frame;
selecting a target resource allocation mode from the resource allocation mode alternative set according to a transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system and/or a preset communication response time tolerance; the high-speed industrial control bus of the OFDM system takes OFDM symbols as time distribution granularity;
and constructing resource allocation information according to the target resource allocation mode, and sending the resource allocation information to each node device, wherein the resource allocation information defines the OFDM symbols allocated and used by each node device in one frame.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the resource allocation method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the resource allocation method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the resource allocation apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in some detail by the above embodiments, the invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the invention, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. A resource allocation method is applied to a control device, wherein the control device is any node device or an independent device other than the node device, and the method comprises the following steps:
acquiring a resource allocation mode alternative set matched with an OFDM transmission mode, wherein the resource allocation mode alternative set comprises a plurality of resource allocation modes, and the resource allocation modes define the symbol length of one OFDM symbol and the number of OFDM symbols in one frame;
selecting a target resource allocation mode from the resource allocation mode alternative set according to a transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system and a preset communication response time tolerance; the high-speed industrial control bus of the OFDM system takes OFDM symbols as time distribution granularity;
and constructing resource allocation information according to the target resource allocation mode and sending the resource allocation information to each node device, wherein the resource allocation information defines OFDM symbols allocated and used by each node device in one frame.
2. The method of claim 1, wherein the OFDM symbol comprises a cyclic prefix; in a plurality of resource allocation patterns included in the resource allocation pattern candidate set, the OFDM symbols of each resource allocation pattern correspond to different cyclic prefixes, respectively.
3. The method according to claim 1, wherein selecting a target resource allocation pattern from the resource allocation pattern candidate set according to a transmission distance between at least two node devices attached to a high-speed industrial control bus of an OFDM scheme and a preset communication response time tolerance comprises:
respectively acquiring transmission distances between any two adjacent node devices on a high-speed industrial control bus of the OFDM system, and acquiring an average transmission distance between the devices according to the acquired transmission distances;
and selecting a target resource allocation mode from the resource allocation mode candidate set according to the transmission distance application range corresponding to each resource allocation mode in the resource allocation mode candidate set and the average transmission distance between the devices.
4. The method according to claim 1, wherein selecting a target resource allocation pattern from the resource allocation pattern candidate set according to a transmission distance between at least two node devices attached to a high-speed industrial control bus of an OFDM scheme and a preset communication response time tolerance comprises:
acquiring a preset communication response time tolerance;
and selecting a target resource allocation mode from the resource allocation mode candidate set according to the communication response time application range corresponding to each resource allocation mode in the resource allocation mode candidate set and the communication response time tolerance.
5. The method according to claim 1, wherein selecting a target resource allocation pattern from the resource allocation pattern candidate set according to a transmission distance between at least two node devices attached to a high-speed industrial control bus of an OFDM scheme and a preset communication response time tolerance comprises:
determining a distance measurement factor according to the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system;
determining a time measurement factor according to a preset communication response time tolerance;
calculating the weight of a resource allocation mode according to the distance weighing factor and the time weighing factor;
and selecting a target resource allocation mode from the resource allocation mode candidate set according to the weight application range corresponding to each resource allocation mode in the resource allocation mode candidate set and the weight of the resource allocation mode.
6. The method of claim 1, wherein the candidate set of resource allocation patterns comprises a plurality of resource allocation patterns, and the OFDM symbols of each resource allocation pattern correspond to different symbol lengths.
7. The method of claim 1, wherein the candidate set of resource allocation patterns comprises a plurality of resource allocation patterns, and wherein the number of OFDM symbols in a frame in each resource allocation pattern is equal.
8. The method of claim 1, wherein the predetermined communication response time tolerance is related to a type of data transmitted between node devices.
9. A resource allocation apparatus is applied to a control device, where the control device is an arbitrary node device or an independent device other than the node device, and includes:
a resource allocation mode candidate set obtaining module, configured to obtain a resource allocation mode candidate set matched with an OFDM transmission mode, where the resource allocation mode candidate set includes multiple resource allocation modes, and the resource allocation modes define a symbol length of one OFDM symbol and a number of OFDM symbols in one frame;
the target resource allocation mode acquisition module is used for selecting a target resource allocation mode from the resource allocation mode alternative set according to the transmission distance between at least two node devices hung on a high-speed industrial control bus of an OFDM system and a preset communication response time tolerance; the high-speed industrial control bus of the OFDM system takes OFDM symbols as time distribution granularity;
and a resource allocation information sending module, configured to construct resource allocation information according to the target resource allocation mode, and send the resource allocation information to each node device, where the resource allocation information defines an OFDM symbol allocated to each node device in one frame.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method for resource allocation according to any one of claims 1 to 8.
CN201910843762.0A 2019-09-06 2019-09-06 Resource allocation method, device, equipment and storage medium Active CN112468424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910843762.0A CN112468424B (en) 2019-09-06 2019-09-06 Resource allocation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910843762.0A CN112468424B (en) 2019-09-06 2019-09-06 Resource allocation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112468424A CN112468424A (en) 2021-03-09
CN112468424B true CN112468424B (en) 2022-08-23

Family

ID=74807187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910843762.0A Active CN112468424B (en) 2019-09-06 2019-09-06 Resource allocation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112468424B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483916A (en) * 2008-01-07 2009-07-15 大唐移动通信设备有限公司 Method and apparatus for resource allocation
CN101924721A (en) * 2009-06-10 2010-12-22 清华大学 Method for determining downlink multi-access system transmission mode, transmitting end device and receiving end device
WO2014067149A1 (en) * 2012-11-03 2014-05-08 Broadcom Corporation Resource allocation methods for control channels
CN105099635A (en) * 2014-05-13 2015-11-25 北京三星通信技术研究有限公司 Method and device of frame configuration on the basis of OFDM
CN110166400A (en) * 2019-07-05 2019-08-23 北京神经元网络技术有限公司 Synchronous method, device, the network equipment and the storage medium of high-speed industrial communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483916A (en) * 2008-01-07 2009-07-15 大唐移动通信设备有限公司 Method and apparatus for resource allocation
CN101924721A (en) * 2009-06-10 2010-12-22 清华大学 Method for determining downlink multi-access system transmission mode, transmitting end device and receiving end device
WO2014067149A1 (en) * 2012-11-03 2014-05-08 Broadcom Corporation Resource allocation methods for control channels
CN105099635A (en) * 2014-05-13 2015-11-25 北京三星通信技术研究有限公司 Method and device of frame configuration on the basis of OFDM
CN110166400A (en) * 2019-07-05 2019-08-23 北京神经元网络技术有限公司 Synchronous method, device, the network equipment and the storage medium of high-speed industrial communication system

Also Published As

Publication number Publication date
CN112468424A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
WO2021063296A1 (en) Information determination, acquisition and transmission methods, apparatuses and devices, and storage medium
CN102017432B (en) Communication system, transmitter, receiver, and communication method
IL264474B2 (en) Information transmission method and information transmission apparatus
CN109495981B (en) OFDM-based data transmission method, device, equipment and storage medium
CN108111270A (en) Pilot signal sending, receiving method and device
US8634487B2 (en) Method and system for diversity and mask matching in channel estimation in OFDM communication networks using circular convolution
CN113692000B (en) Method, terminal and storage medium for receiving common control message
KR102116347B1 (en) A method for removing interference between resource blocks for filterbank multicarrier scheme and device using thereof
CN111585729A (en) Signal sending and receiving method, network equipment and terminal
CN104429031B (en) Channel expansion is estimated
US20180337760A1 (en) Pilot signal sending method, channel estimation method, and device
WO2018228243A1 (en) Method and device for sending demodulation reference signal, demodulation method and device
US10999108B2 (en) Wireless communication method, apparatus, and system
US20180103475A1 (en) Information transmission method, apparatus, and system
CN114884634A (en) Communication method, device and equipment
US20190305902A1 (en) Reference signal transmission method and apparatus
CN109688623B (en) Radio frame structure, configuration method and configuration device thereof and physical channel structure
Lee et al. Frequency diversity-aware Wi-Fi using OFDM-based Bloom filters
US20120008615A1 (en) Wireless communication system, base station, terminal, wireless communication method, and program
CN112468424B (en) Resource allocation method, device, equipment and storage medium
WO2020088637A1 (en) Signal sending method, and terminal
CN114142977A (en) Pilot frequency processing method and related equipment
CN103297201A (en) Self-adaptive modulation coding selection method under cell interference
CN112332888B (en) Frequency band selection method and terminal station
US20180287836A1 (en) Signal processing method, network equipment, system and computer 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