Disclosure of Invention
The embodiment of the invention provides a data transmission resource reservation method and device, which are used for solving the problem of high collision probability of data transmission resources among different nodes.
The embodiment of the invention provides a data transmission resource reservation method, which comprises the following steps:
the first node determines scheduling distribution SA information used for indicating the first data transmission resource and the second data transmission resource based on the first data transmission resource selected for the current service and the second data transmission resource selected for the next service;
and the first node sends the SA information to other nodes.
Optionally, the slot positions of the first data transmission resource and the second data transmission resource are separated by one service cycle.
Optionally, the time slot positions of the first data transmission resource and the second data transmission resource are separated by one service cycle, and the frequency domain position of the second data transmission resource is offset from the frequency domain position of the first data transmission resource by a preset frequency domain offset.
Optionally, the method further comprises:
before the first data transmission resource arrives, the first node judges whether the first data transmission resource conflicts; and if the conflict exists, the first data transmission resource and the second data transmission resource are abandoned.
Optionally, the first node determines that the first data transmission resource has a collision according to the following steps:
the first node receives SA information sent by other nodes, and determines that the first data transmission resource occupied by the first node conflicts after determining that the SA information sent by other nodes indicates that the other nodes occupy the first data transmission resource or indicates that the first data transmission resource conflicts.
Optionally, after determining that the SA information sent by the other node indicates that the other node occupies the first data transmission resource, the determining that the first data transmission resource occupied by the first node has a conflict includes:
after determining that the SA information sent by other nodes indicates that the other nodes occupy the first data transmission resource and the distance between the other nodes and the first node is smaller than a set threshold value, the first node determines that the first data transmission resource occupied by the first node has conflict.
Optionally, after the first node sends the SA information to another node, the method further includes:
before determining SA information for next service, the first node judges whether the second data transmission resource has conflict; and if the conflict exists, abandoning the second data transmission resource.
Optionally, the first node determines that the second data transmission resource has a conflict according to the following steps:
the first node receives SA information sent by other nodes, and determines that the second data transmission resource occupied by the first node conflicts after determining that the SA information sent by other nodes indicates that the other nodes occupy the second data transmission resource or indicates that the second data transmission resource conflicts.
Optionally, after determining that the SA information sent by the other node indicates that the other node occupies the second data transmission resource, the determining that the second data transmission resource occupied by the first node has a conflict includes:
and after determining that the SA information sent by other nodes indicates that the other nodes occupy the second data transmission resource and the distance between the other nodes and the first node is smaller than a set threshold value, the first node determines that the second data transmission resource occupied by the first node conflicts.
Optionally, the first node determines that the distance between the other node and the first node is smaller than a set threshold according to the following steps:
the first node determines that the distance between the other nodes and the first node is smaller than a set threshold value according to the position information indicated in the SA information sent by the other nodes; or,
and the first node determines that the distance between the other nodes and the first node is less than a set threshold value according to the received power of the SA information sent by the other nodes.
Optionally, the sending, by the first node, the SA information to other nodes includes:
the first node randomly selects one SA pattern from a plurality of preset SA patterns for sending the SA information; wherein, each SA pattern comprises a plurality of SA resources.
Optionally, after sending the SA information by using the first SA resource in the selected SA pattern, before sending the SA information by using the last SA resource in the selected SA pattern, the first node further includes:
and after determining that the first data transmission resource has conflict, the first node abandons the selected unused SA resources in the SApattern.
Optionally, after sending the SA information by using the first SA resource in the selected SA pattern, before sending the SA information by using the last SA resource in the selected SA pattern, the first node further includes:
and after determining that the first data transmission resource conflicts, the first node reselects the data transmission resource for the current service and the data transmission resource for the next service, and reselects the SApattern for sending the SA information.
Optionally, the SA information includes resource information corresponding to the first data transmission resource; or the SA information includes resource information corresponding to the first data transmission resource and relationship information between the second data transmission resource and the first data transmission resource.
Optionally, the SA information includes location information of the first node.
Optionally, the first node selects the first data transmission resource and the second data transmission resource according to the following steps:
and the first node selects the first data transmission resource and the second data transmission resource according to the occupation state information of each data transmission resource meeting the requirement of sending time delay.
Optionally, the occupation state information of any data transmission resource includes the number of service cycles that the data transmission resource has been continuously and continuously indicated as occupied or has conflicts by any SA information.
Optionally, the occupation state information of any data transmission resource includes interference power corresponding to the data transmission resource measured by the first node.
Optionally, the method further comprises:
and after determining that the data transmission resources occupied by other nodes have conflicts, the first node carries information indicating that the data transmission resources occupied by other nodes have conflicts in the SA information.
Optionally, the first node determines that there is a conflict in data transmission resources occupied by other nodes according to the following steps:
the first node receives SA information sent by different nodes;
and if the data transmission resources indicated in the SA information sent by the different nodes are overlapped, determining that the overlapped data transmission resources have conflict.
Optionally, the first node determines that there is a conflict in data transmission resources occupied by other nodes according to the following steps:
the first node receives SA information sent by different nodes;
and if the first node fails to demodulate the data sent by the other nodes on the occupied data transmission resources for N times continuously, determining that the data transmission resources occupied by the other nodes have conflict, wherein N is a positive integer greater than or equal to 1.
An embodiment of the present invention provides a data transmission resource reservation apparatus, including:
the processing module is used for determining scheduling distribution SA information used for indicating the first data transmission resource and the second data transmission resource based on the first data transmission resource selected for the current service of the first node and the second data transmission resource selected for the next service;
and the transceiver module is used for sending the SA information determined by the processing module to other nodes.
By adopting the embodiment of the invention, each node in the network can not only know the data transmission resources required to be occupied by other nodes in the service of this time, but also know the data transmission resources required to be occupied by other nodes in the next service in advance, so that each node can know the optional data transmission resources more comprehensively and more timely, the condition that different nodes indicate the same data transmission resources in the sent SA information can be effectively reduced, and the probability of resource conflict is reduced.
Example two
In the first embodiment, the first node randomly selects an SA resource from the SA resource pool, and sends the SA information to other nodes. In order to increase the receiving success rate of the SA information sent by the first node by other nodes and further reduce the probability of data transmission resource collision, the SA information may be transmitted multiple times in one service cycle, that is, the data transmission resources occupied by multiple indications may be indicated multiple times. Optionally, the first node may randomly select one SA pattern from a plurality of preset SA patterns (patterns) for sending the SA information; each SA pattern comprises a plurality of SA resources, and the first node sequentially sends the SA information on each SA resource in the current service period. Here, the SA pattern is also a combination relationship of SA resources, the first node selects any SA resource in a certain pattern, that is, selects all SA resources of the pattern, the SA resources and the data transmission resources are in a dynamic indication relationship, and there is no fixed association relationship between each SA resource and the data transmission resource indicated by the SA resource.
In the following second embodiment, the SA information is transmitted multiple times in one service period as an example, and it should be noted that, of course, those skilled in the art should know that some technical features in this embodiment are also applicable to a scenario where the SA information is transmitted only once, and the use of these technical features is not limited to the scenario where the SA information is transmitted multiple times. In conclusion, any modifications to the embodiments described herein that would occur to those skilled in the art without the benefit of this disclosure are intended to be within the scope of the present invention.
As shown in fig. 3, a flowchart of a data transmission method according to a second embodiment of the present invention includes the following steps:
s301: the first node selects a first data transmission resource for the current service and a second data transmission resource for the next service.
In a specific implementation, the first node may select the first data transmission resource and the second data transmission resource according to the occupation state information of each data transmission resource that meets the requirement of sending delay.
Here, the occupation state information of any data transmission resource may include 1) the number w of service cycles in which the data transmission resource is continuously not indicated as occupied or has a conflict by any SA information, or 2) the occupation state information of any data transmission resource includes the interference power corresponding to the data transmission resource measured by the first node.
1) For the case that the occupation status information includes the number of cycles that are continuously not indicated as occupied or in conflict by any SA information:
assuming that the time when the first node arrives at the current service is T, the service period is T, and the delay requirement of the service is 100ms, at this time, a DATA transmission resource (hereinafter referred to as a DATA resource) needs to be selected, the DATA resource selectable for the current service is a DATA resource falling in a time interval of [ T, T +100], and assuming that N DATA resources are selectable in total.
For each DATA resource, if the number w of the traffic cycles in which the DATA transmission resource is currently continuously not indicated as occupied by any SA information or has a collision is 0, it means that the DATA resource is indicated as occupied or has a collision in the SA information sent by other nodes received by the first node in the time interval of [ T-T, T ]. Occupied here means: indicating to occupy the DATA resource in SA information sent by other nodes; the collision means that the other node determines that the DATA resource is occupied and occupied by at least two nodes, or the other node determines that the DATA resource is occupied by one node but cannot successfully demodulate DATA on the DATA resource for N consecutive times, which is described below.
If w is greater than 0, it means that in the time interval of [ T- (w +1) × T, T-w × T ], the SA information sent by other nodes received by the first node indicates that the DATA resource is occupied or there is a conflict, and in the time interval of [ T-w × T, T ] containing w continuous service periods, the SA information sent by other nodes received by the first node does not indicate that the DATA resource is occupied or there is a conflict.
In a specific implementation, there is no upper limit to continuously accumulate the w value, or a maximum value may be set, and the w value is not increased after the w value is accumulated to the maximum value until new SA information indicating that the DATA resource is occupied or there is a collision is received, and then the w value is returned to 0.
In a specific implementation, when selecting the first DATA transmission resource, the first node may select a DATA resource with a maximum w value, or randomly select one of the DATA resources within a range that satisfies that the w value is greater than a set threshold, and then may select the second DATA transmission resource based on a preset rule, where the preset rule is, for example: the time slot positions of the first data transmission resource and the second data transmission resource are separated by one service cycle, or the time slot positions of the first data transmission resource and the second data transmission resource are separated by one service cycle, and the frequency domain position of the second data transmission resource is offset by a preset frequency domain offset compared with the frequency domain position of the first data transmission resource.
2) Aiming at the condition that the occupation state information comprises the interference power corresponding to the data transmission resource:
here, the interference power refers to co-channel interference caused by other nodes in the system, and may be obtained by measuring a demodulation Reference Signal (DMRS).
This approach can solve the hidden node problem: if node a and node C are far apart, they cannot decode correctly, but node B can receive the signals of node a and node C, and if node a and node C select the same data transmission resource, node B cannot receive the signals of node a and node C. Under the condition of randomly selecting resources, the node a may select the data transmission resources actually occupied by the node C as idle resources because the node a cannot correctly demodulate the signal sent by the node C, which causes the problem of hiding the node.
In the embodiment provided by the invention, the node A selects the DATA resource with the minimum interference power by measuring the interference power of each DATA resource, or randomly selects one DATA resource within a range of the interference power lower than a certain threshold, so that the possibility of hidden node occurrence can be obviously reduced.
S302: the first node determines scheduling assignment, SA, information indicating the first and second data transmission resources.
For example, the first node selects SA pattern1, which contains three SA resources, SA-1, SA-2, and SA-3, on which the first node plans to transmit the first data transmission resource and the second data transmission resource.
Taking the example that the SA pattern1 selected by the first node includes three SA resources, namely SA-1, SA-2 and SA-3, which are arranged in time sequence, a time interval from the current time to the arrival of the first data transmission resource can be divided into a time interval from the current time to the arrival of SA-1, a time interval from after the arrival of SA-1 to before the arrival of SA-3, and a time interval from after the arrival of SA-3 to before the arrival of the first data transmission resource. The process proceeds to the following steps S303 to S305.
S303: a resource collision processing mode for resource collision occurring before the SA information is sent by using the first SA resource in the selected SA pattern (pattern 1):
if the first data transmission resource is determined to have conflict, abandoning the first data transmission resource and the second data transmission resource, reselecting a data transmission resource for the current service and the next service, and reselecting an SA pattern (pattern2) to indicate the reselected data transmission resource; if the first data transmission resource is determined not to be collided but the second data transmission resource is collided, reselecting the second data transmission resource for the next service, and indicating the first data transmission resource which is not collided and needs to be occupied by the service at this time and the reselected second data transmission resource on the SA resource of the SA pattern (pattern1) selected before.
For example, if node A determines that DATA resource 1 is in conflict before SA-1 is not sent, node A relinquishes DATA resource 1, reselects DATA resources 3 and 4, and reselects SA pattern2 to indicate that it is about to occupy DATA resources 3, and occupies DATA resources 4 after a period T.
In addition, node a, before SA-1 is not transmitted, if it is determined that DATA resource 1 does not collide but DATA resource 2 does, reselects DATA resource 3 and indicates that it is about to occupy DATA resource 1 in three SAs of SA pattern1, and occupies DATA resource 3 after period T.
S304: a processing method of resource collision occurring after the SA information is transmitted by using the first SA resource in the selected SA pattern (pattern1) and before the SA information is transmitted by using the last SA resource in the selected SA pattern:
if the first data transmission resource is determined to have conflict, abandoning the first data transmission resource, abandoning the unused SA resource in the selected SA pattern, reselecting data transmission resources for the current service and the next service, and reselecting the SA pattern (pattern2) to indicate the reselected data transmission resources; if the first data transmission resource is determined not to be collided but the second data transmission resource is collided, the determined collision result is saved and is not processed temporarily (namely, the abandoning processing is not performed temporarily).
For example, after node a sends SA1-1, if there are still retransmitted SAs in the selected SA pattern1 that have not yet been transmitted, e.g., SA1-2 and SA1-3 have not yet been transmitted, but node a determines that DATA resource 1 has collided, node a relinquishes DATA resource 1 and relinquishes SA1-2 and SA1-3, reselects DATA resource 3 and DATA resource 4, and reselects SA pattern2 to indicate that it is about to occupy DATA resource 3 and occupies DATA resource 4 after period T.
In addition, after the node A sends the SA1-1, if the retransmitted SAs in the selected SA pattern1 still have not been transmitted, such as SA1-2 and SA1-3, and if the DATA resource 1 is determined not to collide but the DATA resource 2 collides, the node A saves the collision result and does not perform collision processing.
S305: a resource collision processing method, which occurs before the first data transmission resource arrives after the SA information is sent by using the last SA resource in the selected SA pattern (pattern 1):
if the first data transmission resource has conflict, abandoning the first data transmission resource, reselecting data transmission resources for the current service and the next service, and reselecting an SA pattern (pattern2) to indicate the reselected data transmission resource; if it is determined that the first data transmission resource is not collided, transmitting data using the first data transmission resource after the first data transmission resource arrives; and if the first data transmission resource is not collided but the second data transmission resource is collided, saving the determined collision result and temporarily not processing the collision result.
It should be noted that, in the above step, if it is found that the first data transmission resource conflicts before the first data transmission resource arrives, two data transmission resources are reselected to transmit data for the current service and the next service. Here, if a collision is found before the first data transmission resource arrives but there is no time to select a data transmission resource for the current service at this time, after the first data transmission resource is abandoned, two data transmission resources are reselected to transmit data for the next service and the next service.
For example, after sending SA1-3, node a transmits DATA on DATA resource 1 if it is determined that DATA resource 1 does not collide before DATA resource 1 arrives; if it is determined that there is a collision of DATA resources 1, DATA resource 1 is discarded, DATA resources 3 and 4 are reselected, and SA pattern2 is reselected to indicate that it is about to occupy DATA resource 3 and DATA resource 4 after period T.
After the node a transmits the SA1-3 and before the DATA resource 1 arrives, if it is determined that the DATA resource 1 does not collide but the DATA resource 2 collides, the collision result is stored and no collision processing is performed.
S306: after sending the data on the first data transmission resource, the first node starts to select the SA resource to indicate the data transmission resource used for transmitting the data in the following two service periods.
At this time, with reference to the collision results stored in S304 and S305, if it is determined that the second data transmission resource does not collide (that is, the second data transmission resource is considered not to collide in the processes of S304, S305, and S306), the first node reserves the second data transmission resource, selects another SA pattern, and indicates that the current service needs to occupy the second data transmission resource on the SA resource corresponding to the SA pattern, and the next service needs to occupy the reselected data transmission resource. If it is determined that the second data transmission resource conflicts (i.e., it is determined that the second data transmission resource conflicts in any step of S304, S305, and S306), the first node abandons the second data transmission resource, selects two data transmission resources and an SA pattern, and indicates the reselected data transmission resource that needs to be occupied by the current service and the next service on the SA resource corresponding to the SA pattern.
For example, if node A determines that DATA resources 2 do not conflict, then selects one DATA resource 5 and SA pattern, and assuming that SA pattern3 is selected, SA3-1, SA3-2 and SA3-3 are in SA pattern3, node A will indicate that it is about to occupy DATA resources 2 in these 3 SAs and occupy DATA resources 5 after period T.
In addition, if node A determines that DATA resource 2 is conflicted, then DATA resource 6 and DATA resource 7 are reselected, SA pattern is reselected, and assuming that SA pattern4 is selected, SA4-1, SA4-2 and SA4-3 are in SA pattern4, node A will indicate that it is about to occupy DATA resource 6 in these 3 SAs, and occupy DATA resource 7 after period T.
Summarizing the above steps, namely: before the first node arrives at the first data transmission resource, judging whether the first data transmission resource has conflict or not; if so, giving up the first data transmission resource and the second data transmission resource, otherwise, transmitting data on the first data transmission resource when the first data transmission resource arrives;
in a specific implementation, the first node determines that the first data transmission resource has a collision according to the following manner:
the first node receives SA information sent by other nodes, and after determining that the SA information sent by other nodes indicates that the other nodes occupy the first data transmission resource or indicates that the first data transmission resource conflicts, determines that the first data transmission resource occupied by the first node conflicts;
optionally, for a case that the SA information indicates that other nodes occupy the first data transmission resource: after determining that the SA information sent by other nodes indicates that the other nodes occupy the first data transmission resource and the distance between the other nodes and the first node is smaller than a set threshold value, the first node determines that the first data transmission resource occupied by the first node has conflict.
Correspondingly, before determining the SA information for the next service, the first node judges whether the second data transmission resource conflicts; and if the conflict exists, abandoning the second data transmission resource.
The first node determines that the second data transmission resource has a conflict according to the following steps:
the first node receives SA information sent by other nodes, and after determining that the SA information sent by other nodes indicates that the other nodes occupy the second data transmission resource or indicates that the second data transmission resource conflicts, determines that the second data transmission resource occupied by the first node conflicts;
optionally, for a case that the SA information indicates that other nodes occupy the second data transmission resource: and after determining that the SA information sent by other nodes indicates that the other nodes occupy the second data transmission resource and the distance between the other nodes and the first node is smaller than a set threshold value, the first node determines that the second data transmission resource occupied by the first node conflicts.
In the above process, the first node may determine that the distance between the other node and the first node is smaller than a set threshold value according to the following steps:
the first node determines that the distance between the other nodes and the first node is smaller than a set threshold value according to the position information indicated in the SA information sent by the other nodes; here, the first node determines whether the distance between the other node and the first node is smaller than a set threshold value by combining the position information of the first node and the position information of the other node indicated in the SA information of the other node; or,
and the first node determines that the distance between the other nodes and the first node is less than a set threshold value according to the received power of the SA information sent by the other nodes. Here, the first node may determine that the distance between the other node and the first node is smaller than a set threshold when the received power for receiving the SA information sent by the other node is smaller than a certain power threshold.
Based on the same inventive concept, the embodiment of the present invention further provides a data transmission resource reservation apparatus corresponding to the data transmission resource reservation method, and because the principle of the apparatus for solving the problem is similar to the data transmission resource reservation method in the embodiment of the present invention, the implementation of the apparatus can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 4, a schematic structural diagram of a data transmission resource reservation apparatus provided in an embodiment of the present invention includes:
a processing module 41, configured to determine, based on a first data transmission resource selected for a current service of a first node and a second data transmission resource selected for a next service, scheduling assignment SA information for indicating the first data transmission resource and the second data transmission resource;
a transceiver module 42, configured to send the SA information determined by the processing module 41 to other nodes.
Optionally, the slot positions of the first data transmission resource and the second data transmission resource are separated by one service cycle.
Optionally, the time slot positions of the first data transmission resource and the second data transmission resource are separated by one service cycle, and the frequency domain position of the second data transmission resource is offset from the frequency domain position of the first data transmission resource by a preset frequency domain offset.
Optionally, the processing module 41 is further configured to:
before the first data transmission resource arrives, judging whether the first data transmission resource has conflict or not; and if the conflict exists, the first data transmission resource and the second data transmission resource are abandoned.
Optionally, the processing module 41 is specifically configured to determine that the first data transmission resource has a collision according to the following steps:
and receiving SA information sent by other nodes, and determining that the first data transmission resource conflicts after determining that the SA information sent by other nodes indicates that the other nodes occupy the first data transmission resource or indicates that the first data transmission resource conflicts.
Optionally, the processing module 41 is specifically configured to:
after determining that the SA information sent by other nodes indicates that the other nodes occupy the first data transmission resource and the distance between the other nodes and the first node is smaller than a set threshold value, determining that the first data transmission resource occupied by the first node has conflict.
Optionally, the processing module 41 is further configured to:
after the transceiver module 42 sends the SA information to other nodes, before determining SA information for the next service, determining whether there is a conflict in the second data transmission resource; and if the conflict exists, abandoning the second data transmission resource.
Optionally, the processing module 41 is specifically configured to determine that the second data transmission resource has a conflict according to the following steps:
and receiving SA information sent by other nodes, and after determining that the SA information sent by other nodes indicates that the other nodes occupy the second data transmission resource or indicates that the second data transmission resource conflicts, determining that the second data transmission resource occupied by the first node conflicts.
Optionally, the processing module 41 is specifically configured to:
and after determining that the SA information sent by other nodes indicates that the other nodes occupy the second data transmission resource and the distance between the other nodes and the first node is smaller than a set threshold value, determining that the second data transmission resource occupied by the first node has conflict.
Optionally, the processing module 41 is specifically configured to determine that the distance between the other node and the first node is smaller than a set threshold value according to the following steps:
determining that the distance between the other node and the first node is smaller than a set threshold value according to the position information indicated in the SA information sent by the other node; or,
and determining that the distance between the other node and the first node is smaller than a set threshold value according to the received power of the SA information sent by the other node.
Optionally, the processing module 41 is specifically configured to:
randomly selecting one SA pattern from a plurality of preset SA patterns for a transceiver module to send the SA information; wherein, each SA pattern comprises a plurality of SA resources.
Optionally, the processing module 41 is specifically configured to:
after the SA information is sent by adopting the first SA resource in the selected SA pattern, and before the SA information is sent by adopting the last SA resource in the selected SA pattern, if the first data transmission resource is determined to have conflict, the unused SA resource in the selected SA pattern is abandoned.
Optionally, the processing module 41 is specifically configured to:
after the selected first SA resource in the SA patterns is adopted to send the SA information, and before the selected last SA resource in the SA patterns is adopted to send the SA information, if the first data transmission resource is determined to have conflict, the data transmission resource is selected for the current service and the data transmission resource is selected for the next service again, and the SApattern used for sending the SA information is selected again.
Optionally, the SA information includes resource information corresponding to the first data transmission resource; or the SA information includes resource information corresponding to the first data transmission resource and relationship information between the second data transmission resource and the first data transmission resource.
Optionally, the SA information includes location information of the first node.
Optionally, the processing module 41 is specifically configured to select the first data transmission resource and the second data transmission resource according to the following steps:
and selecting the first data transmission resource and the second data transmission resource according to the occupation state information of each data transmission resource meeting the sending time delay requirement.
Optionally, the occupation state information of any data transmission resource includes the number of service cycles that the data transmission resource has been continuously and continuously indicated as occupied or has conflicts by any SA information.
Optionally, the occupation state information of any data transmission resource includes interference power corresponding to the data transmission resource measured by the first node.
Optionally, the processing module 41 is further configured to:
and after determining that the data transmission resources occupied by other nodes have conflicts, carrying information indicating that the data transmission resources occupied by other nodes have conflicts in the SA information.
Optionally, the processing module 41 is specifically configured to determine that there is a conflict in data transmission resources occupied by other nodes according to the following steps:
receiving SA information sent by different nodes through the transceiver module 42; and if the data transmission resources indicated in the SA information sent by the different nodes are overlapped, determining that the overlapped data transmission resources have conflict.
Optionally, the processing module 41 is specifically configured to determine that there is a conflict in data transmission resources occupied by other nodes according to the following steps:
receiving SA information sent by different nodes through the transceiver module 42; and if the first node fails to demodulate the data sent by the other nodes on the occupied data transmission resources for N times continuously, determining that the data transmission resources occupied by the other nodes have conflict, wherein N is a positive integer greater than or equal to 1.
As shown in fig. 5, a schematic structural diagram of a data transmission resource reservation device provided in an embodiment of the present invention includes:
a processor 504, configured to read the program in the memory 505, and execute the following processes:
determining scheduling allocation SA information used for indicating the first data transmission resource and the second data transmission resource based on a first data transmission resource selected for the current service of the first node and a second data transmission resource selected for the next service;
sending the SA information determined by the processor 504 to other nodes through the transceiver 501;
a transceiver 501 for receiving and transmitting data under the control of a processor 504.
Optionally, the slot positions of the first data transmission resource and the second data transmission resource are separated by one service cycle.
Optionally, the time slot positions of the first data transmission resource and the second data transmission resource are separated by one service cycle, and the frequency domain position of the second data transmission resource is offset from the frequency domain position of the first data transmission resource by a preset frequency domain offset.
Optionally, the processor 504 is further configured to:
before the first data transmission resource arrives, judging whether the first data transmission resource has conflict or not; and if the conflict exists, the first data transmission resource and the second data transmission resource are abandoned.
Optionally, the processor 504 is specifically configured to determine that the first data transmission resource has a collision according to the following steps:
and receiving SA information sent by other nodes, and determining that the first data transmission resource conflicts after determining that the SA information sent by other nodes indicates that the other nodes occupy the first data transmission resource or indicates that the first data transmission resource conflicts.
Optionally, the processor 504 is specifically configured to:
after determining that the SA information sent by other nodes indicates that the other nodes occupy the first data transmission resource and the distance between the other nodes and the first node is smaller than a set threshold value, determining that the first data transmission resource occupied by the first node has conflict.
Optionally, the processor 504 is further configured to:
after sending the SA information to other nodes through the transceiver 501, before determining SA information for the next service, determining whether there is a conflict in the second data transmission resource; and if the conflict exists, abandoning the second data transmission resource.
Optionally, the processor 504 is specifically configured to determine that the second data transmission resource has a conflict according to the following steps:
and receiving SA information sent by other nodes, and after determining that the SA information sent by other nodes indicates that the other nodes occupy the second data transmission resource or indicates that the second data transmission resource conflicts, determining that the second data transmission resource occupied by the first node conflicts.
Optionally, the processor 504 is specifically configured to:
and after determining that the SA information sent by other nodes indicates that the other nodes occupy the second data transmission resource and the distance between the other nodes and the first node is smaller than a set threshold value, determining that the second data transmission resource occupied by the first node has conflict.
Optionally, the processor 504 is specifically configured to determine that the distance between the other node and the first node is smaller than a set threshold value according to the following steps:
determining that the distance between the other node and the first node is smaller than a set threshold value according to the position information indicated in the SA information sent by the other node; or,
according to the receiving power of the SA information sent by the other node received by the transceiver 501, it is determined that the distance between the other node and the first node is smaller than a set threshold value.
Optionally, the processor 504 is specifically configured to:
randomly selecting one SA pattern from a plurality of preset SA patterns for sending the SA information; wherein, each SA pattern comprises a plurality of SA resources.
Optionally, the processor 504 is specifically configured to:
after the SA information is sent by adopting the first SA resource in the selected SA pattern, and before the SA information is sent by adopting the last SA resource in the selected SA pattern, if the first data transmission resource is determined to have conflict, the unused SA resource in the selected SA pattern is abandoned.
Optionally, the processor 504 is specifically configured to:
after the selected first SA resource in the SA patterns is adopted to send the SA information, and before the selected last SA resource in the SA patterns is adopted to send the SA information, if the first data transmission resource is determined to have conflict, the data transmission resource is selected for the current service and the data transmission resource is selected for the next service again, and the SApattern used for sending the SA information is selected again.
Optionally, the SA information includes resource information corresponding to the first data transmission resource; or the SA information includes resource information corresponding to the first data transmission resource and relationship information between the second data transmission resource and the first data transmission resource.
Optionally, the SA information includes location information of the first node.
Optionally, the processor 504 is specifically configured to select the first data transmission resource and the second data transmission resource according to the following steps:
and selecting the first data transmission resource and the second data transmission resource according to the occupation state information of each data transmission resource meeting the sending time delay requirement.
Optionally, the occupation state information of any data transmission resource includes the number of service cycles that the data transmission resource has been continuously and continuously indicated as occupied or has conflicts by any SA information.
Optionally, the occupation state information of any data transmission resource includes interference power corresponding to the data transmission resource measured by the first node.
Optionally, the processor 504 is further configured to:
and after determining that the data transmission resources occupied by other nodes have conflicts, carrying information indicating that the data transmission resources occupied by other nodes have conflicts in the SA information.
Optionally, the processor 504 is specifically configured to determine that there is a conflict in data transmission resources occupied by other nodes according to the following steps:
receiving SA information sent by different nodes through the transceiver 501; and if the data transmission resources indicated in the SA information sent by the different nodes are overlapped, determining that the overlapped data transmission resources have conflict.
Optionally, the processor 504 is specifically configured to determine that there is a conflict in data transmission resources occupied by other nodes according to the following steps:
receiving SA information sent by different nodes through the transceiver 501; and if the first node fails to demodulate the data sent by the other nodes on the occupied data transmission resources for N times continuously, determining that the data transmission resources occupied by the other nodes have conflict, wherein N is a positive integer greater than or equal to 1.
In FIG. 5, a bus architecture (represented by bus 500), bus 500 may include any number of interconnected buses and bridges, bus 500 linking together various circuits including one or more processors, represented by processor 504, and memory, represented by memory 505. The bus 500 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 503 provides an interface between the bus 500 and the transceiver 501. The transceiver 501 may be one element or may be multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. Data processed by processor 504 is transmitted over a wireless medium via antenna 502, and further, antenna 502 receives data and transmits data to processor 504.
The processor 504 is responsible for managing the bus 500 and general processing, and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 505 may be used to store data used by processor 504 in performing operations.
Alternatively, the processor 504 may be a CPU (central processing unit), an ASIC (application specific integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.