Disclosure of Invention
The invention aims to provide a D2D resource allocation method and a device, which are used for solving the problems of overlarge safety overhead and low system throughput when D2D communication resources are allocated in a self-organizing way; and the base station allocates the D2D communication resource, so that the resource allocation efficiency is low.
The purpose of the invention is realized by the following technical scheme:
a D2D resource allocation method, comprising:
determining that resource collision occurs on the D2D subframe in a self-organizing manner;
requesting the base station to perform D2D resource allocation control.
Preferably, the determining that the resource collision occurs on the D2D subframe in an ad hoc manner includes:
determining that resource collision occurs on a D2D sending subframe in a self-organizing manner; and/or the presence of a gas in the gas,
determining that a resource collision occurs on at least one D2D reception subframe in an ad hoc manner.
Preferably, the determining that the resource collision occurs on the D2D subframe in an ad hoc manner includes:
acquiring information of the occupation situation of each D2D subframe in a superframe in a self-organizing manner, wherein the information comprises the state of the D2D subframe, the state is an occupation state, a strong interference state, a slightly strong interference state or an idle state, and if the state is the occupation state, the information also comprises node identification information occupying the D2D subframe;
and determining that the resource collision occurs on the D2D sending subframe and/or the resource collision occurs on at least one D2D receiving subframe according to the information.
Preferably, determining that the resource collision occurs on the D2D sending subframe according to the information includes:
if the information of the occupation situation of the D2D sending subframe indicates that the D2D sending subframe of the node is occupied by other nodes, determining that resource collision occurs on the D2D sending subframe; or,
if the information of the occupation situation of the D2D sending subframe indicates that the state of the D2D sending subframe of the node is a strong interference state, determining that resource collision occurs on the D2D sending subframe; or,
and if the information of the occupation situation of the D2D sending subframe indicates that the state of the D2D sending subframe of the node is a slightly strong interference state, determining that the resource collision occurs on the D2D sending subframe.
Preferably, determining that a resource collision occurs on at least one D2D reception subframe according to the information includes:
if the information of the occupation situation of the D2D receiving subframe indicates that at least two nodes occupy the same D2D receiving subframe, determining that resource collision occurs on the D2D receiving subframe; or,
if the information of the occupation situation of the D2D receiving subframe indicates that the state of at least one D2D receiving subframe is a strong interference state, determining that resource collision occurs on the at least one D2D receiving subframe; or,
and if the information of the occupation situation of the D2D receiving sub-frame indicates that the state of at least one D2D receiving sub-frame is a slightly strong interference state, determining that the resource collision occurs on the at least one D2D receiving sub-frame.
Based on any of the above method embodiments, preferably, the requesting the base station to perform D2D resource allocation control includes:
and sending resource collision information to the base station, wherein the resource collision information is used for indicating that resource collision occurs on the D2D sending subframe of the node and/or resource collision occurs on the D2D receiving subframe of the node.
Based on any of the above method embodiments, preferably, after determining that the resource collision occurs on the D2D sending subframe in a self-organizing manner, requesting the base station to perform D2D resource allocation control includes:
selecting at least one idle D2D subframe; and sending the identification information of the selected idle D2D subframe to the base station.
Preferably, the method further comprises:
receiving D2D communication resource configuration information sent by the base station, wherein the D2D communication resource configuration information comprises information of D2D subframes allocated by the base station;
and re-determining the D2D transmission subframe of the node according to the information of the D2D subframe allocated by the base station.
Based on any of the above method embodiments, preferably, after determining that the resource collision occurs on the D2D sending subframe in a self-organizing manner, before requesting the base station to perform D2D resource allocation control, the method further includes: reselecting the D2D sending subframe in a self-organizing mode;
requesting the base station to perform D2D resource allocation control, comprising: and reporting the identification information of the reselected D2D sending subframe to the base station.
Preferably, the method further comprises:
if the information of the occupation situation of the D2D sending subframe indicates that the D2D sending subframe of the node is occupied by the node or indicates that the state of the D2D sending subframe of the node is idle, determining that the state of the D2D sending subframe is occupied;
and sending the information of the occupation situation of each D2D subframe in one superframe according to the determined occupation situation of each D2D subframe in one superframe.
Based on any of the above method embodiments, preferably, the method further comprises:
determining an electronic map area corresponding to the geographical position of the node according to the corresponding relation between the geographical position and the electronic map area, wherein the electronic map shared by the node and the base station is divided into a plurality of electronic map areas;
and sending the identification information of the electronic map area to the base station so that the base station can perform D2D resource allocation control according to the identification information of the electronic map area.
A D2D resource allocation method, comprising:
receiving a D2D resource allocation control request sent by a node, wherein the D2D resource allocation control request is sent after the node determines that resource collision occurs on a D2D subframe in a self-organizing manner;
and D2D resource allocation control is carried out according to the D2D resource allocation control request.
Preferably, the D2D resource allocation control request sent by the receiving node includes: receiving resource collision information sent by a node, wherein the resource collision information is used for indicating that resource collision occurs on a D2D sending subframe of the node and/or resource collision occurs on a D2D receiving subframe of the node;
performing D2D resource allocation control according to the D2D resource allocation control request, comprising: allocating a D2D subframe for the node if the resource collision information indicates a resource collision on a D2D transmitted subframe for the node; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information comprising information of D2D subframes allocated for the node; reallocating the D2D received subframe in which the resource collision occurred if the resource collision information indicates that the resource collision occurred on the D2D received subframe of the node.
Preferably, allocating a D2D subframe for the node comprises:
and distributing a D2D subframe for the node according to the resource collision information sent by the node and the position information of the node.
Preferably, the D2D resource allocation control request sent by the receiving node includes: receiving identification information of at least one D2D subframe sent by a node;
performing D2D resource allocation control according to the D2D resource allocation control request, comprising: allocating a D2D subframe to the node according to the identification information of the at least one D2D subframe; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information including information of D2D subframes allocated for the node.
Preferably, allocating the D2D subframe to the node according to the identification information of the at least one D2D subframe comprises:
and determining the distance between the node occupying each D2D subframe indicated by the identification information and the node sending the identification information, and selecting the D2D subframe corresponding to the maximum distance to be allocated to the node.
Preferably, the D2D resource allocation control request sent by the receiving node includes: D2D of the receiving node sends information of the subframe;
performing D2D resource allocation control according to the D2D resource allocation control request, comprising: determining the distance between the nodes occupying the D2D sending subframe according to the information of the D2D sending subframe and the position information of the nodes occupying the D2D sending subframe; reallocating the D2D subframe if the distance is less than a distance threshold.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a D2D resource allocation apparatus, including:
the self-organization mode realization module is used for determining that resource collision occurs on the D2D subframe through a self-organization mode;
and the resource allocation control request module is used for requesting the base station to perform D2D resource allocation control.
Preferably, the self-organizing manner implementing module is specifically configured to:
determining that resource collision occurs on a D2D sending subframe in a self-organizing manner; and/or the presence of a gas in the gas,
determining that a resource collision occurs on at least one D2D reception subframe in an ad hoc manner.
Preferably, the self-organizing manner implementing module is specifically configured to:
acquiring information of the occupation situation of each D2D subframe in a superframe in a self-organizing manner, wherein the information comprises the state of the D2D subframe, the state is an occupation state, a strong interference state, a slightly strong interference state or an idle state, and if the state is the occupation state, the information also comprises node identification information occupying the D2D subframe;
and determining that the resource collision occurs on the D2D sending subframe and/or the resource collision occurs on at least one D2D receiving subframe according to the information.
Preferably, when it is determined that the resource collision occurs on the D2D sending subframe according to the information, the ad hoc mode implementing module is specifically configured to:
if the information of the occupation situation of the D2D sending subframe indicates that the D2D sending subframe of the node is occupied by other nodes, determining that resource collision occurs on the D2D sending subframe; or,
if the information of the occupation situation of the D2D sending subframe indicates that the state of the D2D sending subframe of the node is a strong interference state, determining that resource collision occurs on the D2D sending subframe; or,
and if the information of the occupation situation of the D2D sending subframe indicates that the state of the D2D sending subframe of the node is a slightly strong interference state, determining that the resource collision occurs on the D2D sending subframe.
Preferably, when it is determined according to the information that a resource collision occurs on at least one D2D reception subframe, the ad hoc mode implementing module is specifically configured to:
if the information of the occupation situation of the D2D receiving subframe indicates that at least two nodes occupy the same D2D receiving subframe, determining that resource collision occurs on the D2D receiving subframe; or,
if the information of the occupation situation of the D2D receiving subframe indicates that the state of at least one D2D receiving subframe is a strong interference state, determining that resource collision occurs on the at least one D2D receiving subframe; or,
and if the information of the occupation situation of the D2D receiving sub-frame indicates that the state of at least one D2D receiving sub-frame is a slightly strong interference state, determining that the resource collision occurs on the at least one D2D receiving sub-frame.
Based on any of the apparatus embodiments described above, preferably, the resource allocation control request module is specifically configured to:
and sending resource collision information to the base station, wherein the resource collision information is used for indicating that resource collision occurs on the D2D sending subframe of the node and/or resource collision occurs on the D2D receiving subframe of the node.
Preferably, after the self-organizing manner implementing module determines that the resource collision occurs on the subframe sent by the D2D in a self-organizing manner, the resource allocation control request module is specifically configured to:
selecting at least one idle D2D subframe; and sending the identification information of the selected idle D2D subframe to the base station.
Preferably, the system further comprises a resource allocation module, configured to:
receiving D2D communication resource configuration information sent by the base station, wherein the D2D communication resource configuration information comprises information of D2D subframes allocated by the base station;
and re-determining the D2D transmission subframe of the node according to the information of the D2D subframe allocated by the base station.
Based on any of the above embodiments of the apparatus, preferably, the apparatus further includes a resource allocation module, after the self-organizing mode implementation module determines that resource collision occurs on a subframe sent by D2D in a self-organizing mode, before the resource allocation control request module requests the base station to perform D2D resource allocation control, the resource allocation module is configured to: reselecting the D2D sending subframe in a self-organizing mode;
the resource allocation control request module is specifically configured to: and reporting the identification information of the reselected D2D sending subframe to the base station.
Preferably, the resource allocation control request module is further configured to:
if the information of the occupation situation of the D2D sending subframe indicates that the D2D sending subframe of the node is occupied by the node or indicates that the state of the D2D sending subframe of the node is idle, determining that the state of the D2D sending subframe is occupied;
and sending the information of the occupation situation of each D2D subframe in one superframe according to the determined occupation situation of each D2D subframe in one superframe.
Based on any of the above embodiments of the apparatus, preferably, the apparatus further includes a location information reporting module, configured to:
determining an electronic map area corresponding to the geographical position of the node according to the corresponding relation between the geographical position and the electronic map area, wherein the electronic map shared by the node and the base station is divided into a plurality of electronic map areas;
and sending the identification information of the electronic map area to the base station so that the base station can perform D2D resource allocation control according to the identification information of the electronic map area.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a D2D terminal, including:
a processor, a memory, and a transceiver;
a processor for reading the program in the memory, performing the following processes:
determining that resource collision occurs on the D2D subframe in a self-organizing manner;
requesting, by the transceiver, the base station for D2D resource allocation control.
Preferably, the processor, configured to read the program in the memory, performs the following processes:
determining that resource collision occurs on a D2D sending subframe in a self-organizing manner; and/or the presence of a gas in the gas,
determining that a resource collision occurs on at least one D2D reception subframe in an ad hoc manner.
Preferably, the processor, configured to read the program in the memory, performs the following processes:
acquiring information of the occupation situation of each D2D subframe in a superframe in a self-organizing manner, wherein the information comprises the state of the D2D subframe, the state is an occupation state, a strong interference state, a slightly strong interference state or an idle state, and if the state is the occupation state, the information also comprises node identification information occupying the D2D subframe;
and determining that the resource collision occurs on the D2D sending subframe and/or the resource collision occurs on at least one D2D receiving subframe according to the information.
Preferably, when it is determined that the resource collision occurs on the D2D transmission subframe according to the information, the processor is configured to read a program in the memory, and execute the following processes:
if the information of the occupation situation of the D2D sending subframe indicates that the D2D sending subframe of the node is occupied by other nodes, determining that resource collision occurs on the D2D sending subframe; or,
if the information of the occupation situation of the D2D sending subframe indicates that the state of the D2D sending subframe of the node is a strong interference state, determining that resource collision occurs on the D2D sending subframe; or,
and if the information of the occupation situation of the D2D sending subframe indicates that the state of the D2D sending subframe of the node is a slightly strong interference state, determining that the resource collision occurs on the D2D sending subframe.
Preferably, when it is determined that a resource collision occurs on at least one D2D reception subframe according to the information, the processor is configured to read a program in the memory, and perform the following processes:
if the information of the occupation situation of the D2D receiving subframe indicates that at least two nodes occupy the same D2D receiving subframe, determining that resource collision occurs on the D2D receiving subframe; or,
if the information of the occupation situation of the D2D receiving subframe indicates that the state of at least one D2D receiving subframe is a strong interference state, determining that resource collision occurs on the at least one D2D receiving subframe; or,
and if the information of the occupation situation of the D2D receiving sub-frame indicates that the state of at least one D2D receiving sub-frame is a slightly strong interference state, determining that the resource collision occurs on the at least one D2D receiving sub-frame.
Based on any of the above device embodiments, preferably, the processor, configured to read the program in the memory, executes the following processes:
and sending resource collision information to the base station, wherein the resource collision information is used for indicating that resource collision occurs on the D2D sending subframe of the node and/or resource collision occurs on the D2D receiving subframe of the node.
Preferably, after the self-organizing mode implementation module determines that a resource collision occurs on the D2D sending subframe by the self-organizing mode, the processor is configured to read a program in the memory, and perform the following processes:
selecting at least one idle D2D subframe; and sending the identification information of the selected idle D2D subframe to the base station.
Preferably, the processor, configured to read the program in the memory, performs the following processes:
receiving D2D communication resource configuration information sent by the base station, wherein the D2D communication resource configuration information comprises information of D2D subframes allocated by the base station;
and re-determining the D2D transmission subframe of the node according to the information of the D2D subframe allocated by the base station.
Based on any of the above device embodiments, preferably, the processor, configured to read the program in the memory, executes the following processes: after determining that the resource collision occurs on the D2D sending subframe through a self-organizing mode, and before requesting the base station to perform D2D resource allocation control, reselecting the D2D sending subframe through the self-organizing mode; and reporting the identification information of the reselected D2D sending subframe to the base station.
Preferably, the processor, configured to read the program in the memory, performs the following processes:
if the information of the occupation situation of the D2D sending subframe indicates that the D2D sending subframe of the node is occupied by the node or indicates that the state of the D2D sending subframe of the node is idle, determining that the state of the D2D sending subframe is occupied;
and sending the information of the occupation situation of each D2D subframe in one superframe according to the determined occupation situation of each D2D subframe in one superframe.
Based on any of the above device embodiments, preferably, the processor, configured to read the program in the memory, executes the following processes:
determining an electronic map area corresponding to the geographical position of the node according to the corresponding relation between the geographical position and the electronic map area, wherein the electronic map shared by the node and the base station is divided into a plurality of electronic map areas;
and sending the identification information of the electronic map area to the base station so that the base station can perform D2D resource allocation control according to the identification information of the electronic map area.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a D2D resource allocation apparatus, including:
a resource allocation control request receiving module, configured to receive a D2D resource allocation control request sent by a node, where the D2D resource allocation control request is sent after the node determines, in a self-organizing manner, that a resource collision occurs on a D2D subframe;
and the resource allocation control module is used for carrying out D2D resource allocation control according to the D2D resource allocation control request.
Preferably, the resource allocation control request receiving module is specifically configured to: receiving resource collision information sent by a node, wherein the resource collision information is used for indicating that resource collision occurs on a D2D sending subframe of the node and/or resource collision occurs on at least one D2D receiving subframe of the node;
the resource allocation control module is specifically configured to: allocating a D2D subframe for the node if the resource collision information indicates a resource collision on a D2D transmitted subframe for the node; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information comprising information of D2D subframes allocated for the node; reallocating the D2D received subframe in which the resource collision occurred if the resource collision information indicates that the resource collision occurred on at least one D2D received subframe of the node.
Preferably, when the node is allocated with the D2D subframe, the resource allocation control module is specifically configured to:
and distributing a D2D subframe for the node according to the resource collision information sent by the node and the position information of the node.
Preferably, the resource allocation control request receiving module is specifically configured to: receiving identification information of at least one D2D subframe sent by a node;
the resource allocation control module is specifically configured to: allocating a D2D subframe to the node according to the identification information of the at least one D2D subframe; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information including information of D2D subframes allocated for the node.
Preferably, when the D2D subframe is allocated to the node according to the identification information of the at least one D2D subframe, the resource allocation control request receiving module is specifically configured to:
and determining the distance between the node occupying each D2D subframe indicated by the identification information and the node sending the identification information, and selecting the D2D subframe corresponding to the maximum distance to be allocated to the node.
Preferably, the resource allocation control request receiving module is specifically configured to: D2D of the receiving node sends information of the subframe;
the resource allocation control module is specifically configured to: determining the distance between the nodes occupying the D2D sending subframe according to the information of the D2D sending subframe and the position information of the nodes occupying the D2D sending subframe; reallocating the D2D subframe if the distance is less than a distance threshold.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a base station, including:
a processor, a memory, and a transceiver;
a processor for reading the program in the memory, performing the following processes:
receiving a D2D resource allocation control request sent by a node through a receiver, wherein the D2D resource allocation control request is sent after the node determines that resource collision occurs on a D2D subframe in a self-organizing manner;
and D2D resource allocation control is carried out on the nodes through the receiver 610 according to the D2D resource allocation control request.
Preferably, the processor reads the program in the memory and executes the following processes: receiving resource collision information sent by a node, wherein the resource collision information is used for indicating that resource collision occurs on a D2D sending subframe of the node and/or resource collision occurs on at least one D2D receiving subframe of the node; allocating a D2D subframe for the node if the resource collision information indicates a resource collision on a D2D transmitted subframe for the node; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information comprising information of D2D subframes allocated for the node; reallocating the D2D received subframe in which the resource collision occurred if the resource collision information indicates that the resource collision occurred on at least one D2D received subframe of the node.
Preferably, when the node is allocated with the D2D sub-frame, the processor reads the program in the memory and executes the following processes:
and distributing a D2D subframe for the node according to the resource collision information sent by the node and the position information of the node.
Preferably, the processor reads the program in the memory and executes the following processes: receiving identification information of at least one D2D subframe sent by a node; allocating a D2D subframe to the node according to the identification information of the at least one D2D subframe; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information including information of D2D subframes allocated for the node.
Preferably, when the node is allocated with the D2D subframe according to the identification information of the at least one D2D subframe, the processor reads a program in the memory and executes the following processes:
and determining the distance between the node occupying each D2D subframe indicated by the identification information and the node sending the identification information, and selecting the D2D subframe corresponding to the maximum distance to be allocated to the node.
Preferably, the processor reads the program in the memory and executes the following processes: D2D of the receiving node sends information of the subframe; determining the distance between the nodes occupying the D2D sending subframe according to the information of the D2D sending subframe and the position information of the nodes occupying the D2D sending subframe; reallocating the D2D subframe if the distance is less than a distance threshold.
According to the technical scheme provided by the embodiment of the invention, the D2D resource is allocated in a mode of combining a self-organizing mode and base station control. Specifically, when the D2D terminal determines that the D2D subframe is collided in a self-organizing manner, the base station is requested to perform D2D resource allocation control, and the base station participates in D2D resource allocation. Since the base station participates in the D2D resource allocation, the base station and the D2D terminal will communicate through the D2N link, thereby implementing security operations such as authentication, and the like, so that the security information transmitted on the D2D link is not needed or can be reduced, thereby reducing security overhead and providing system throughput compared with the scheme of performing D2D resource allocation only in an ad hoc manner. In addition, the resource allocation efficiency is improved by allocating the D2D resource in a manner of combining the ad hoc manner and the base station control, compared with the D2D resource allocation performed only by the base station.
Detailed Description
The technical solutions provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The implementation manner of the method provided by the embodiment of the present invention at the D2D terminal side is shown in fig. 1, and specifically includes the following operations:
step 100, determining that resource collision occurs on the D2D subframe in a self-organizing mode.
In the embodiment of the present invention, the D2D subframe occupied by the node (D2D terminal) is referred to as a D2D transmission subframe, and the other D2D subframes are referred to as D2D reception subframes.
In the embodiment of the present invention, the subframe used for D2D transmission is referred to as D2D subframe.
Step 110, requesting the base station to perform D2D resource allocation control.
The technical scheme provided by the embodiment of the invention can be but not only suitable for the scene that the D2D terminal is on the network.
According to the technical scheme provided by the embodiment of the invention, the D2D resource is allocated in a mode of combining a self-organizing mode and base station control. Specifically, when the D2D terminal determines that the D2D subframe is collided in a self-organizing manner, the base station is requested to perform D2D resource allocation control, and the base station participates in D2D resource allocation. Since the base station participates in the D2D resource allocation, the base station and the D2D terminal will communicate through the D2N link, thereby implementing security operations such as authentication, and the like, so that the security information transmitted on the D2D link is not needed or can be reduced, thereby reducing security overhead and providing system throughput compared with the scheme of performing D2D resource allocation only in an ad hoc manner. In addition, the resource allocation efficiency is improved by allocating the D2D resource in a manner of combining the ad hoc manner and the base station control, compared with the D2D resource allocation performed only by the base station.
In the embodiment of the present invention, there are various ad hoc manners for participating in the D2D resource allocation. For example, the conventional RR-ALOHA system, SU-ALOHA system, and MS-ALOHA system may be used, or other ad hoc systems may be used.
The embodiment of the invention provides a simplified self-organizing mode, which is obtained by modifying based on RR-ALOHA.
The simplified self-organizing mode provided by the embodiment of the invention is mainly different from the existing RR-ALOHA mode in that: state of D2D subframe. In the conventional RR-ALOHA scheme, the state of the D2D subframe includes: an occupied state and an idle state. In the self-organizing manner provided by the embodiment of the present invention, the state of the D2D subframe includes: occupied body, idle state, strong interference state and slightly strong interference state.
If the information of the occupation situation of each D2D subframe in a received superframe is successfully analyzed in the subframe i, but the signal strength is lower than a set threshold value, the state of the subframe i is determined to be slightly strong interference; if the information of the occupation situation of each D2D subframe in a superframe received by the subframe i cannot be correctly analyzed, determining that the state of the subframe i is strong interference; if no information is received in subframe i, the status of subframe i is determined to be idle.
The superframe in the embodiment of the present invention may adopt an existing D2D superframe structure, may also adopt a newly defined frame structure, and may also adopt a radio frame structure or a superframe structure in an existing cellular network, which is not limited in the present invention.
For the D2D receiving subframe, the occupation of the subframe is determined by the bottom layer measurement and the MAC layer. Specifically, if the bottom layer measurement result shows that the subframe i is in an idle state, the MAC layer is idle (no data can be analyzed), and thus the state of the subframe i is determined to be in an idle state; if the bottom layer measurement result shows that the subframe i is in a strong interference state, the MAC layer is idle, and the state of the subframe i is determined to be in a strong interference state; and if the bottom layer measurement result shows that the subframe is slightly interfered, the MAC layer is idle, and the state of the subframe i is determined to be a slightly interfered state.
In the embodiment of the invention, the measurement result of the bottom layer measurement is the total received power and SINR of the subframe i.
Wherein, the strong interference means that the SINR does not reach the threshold and cannot be demodulated correctly (there may be no useful signal or too much interference, and if the total received power is high, it means that there is certainly a useful signal, and only the interference is too much and cannot be solved).
In the embodiment of the invention, the measurement result of the bottom layer measurement only aims at the nodes occupied by the non-one hop.
In the embodiment of the present invention, there are various expression modes of the reception intensity. For example, a received power indication may be employed. Preferably, the ratio of the received power to the signal-to-noise ratio (SINR) is used for representation.
Specifically, the sending process in the ad hoc mode provided by the embodiment of the present invention includes: when the node transmits the sub-frame transmission data in the D2D, the node transmits the information of the occupation situation of each D2D sub-frame in one super-frame determined by the node. The information includes a status identification (i.e., information reflecting the status of the subframe). If the state of the subframe i is occupied, strong interference or slightly strong interference, the state identifier is 1, and if the state of the subframe i is idle, the state identifier is 0. If the status flag is 1, the information further includes a node flag. For the occupied state, the node identification is the identification information of the node occupying the subframe i; for the strong interference state, the node identification is not identification information of an actual node, but identification information indicating the strong interference state, and the information format of the node identification can be the same as that of the node identification information or other formats; for the slightly strong interference state, the node identifier is not the identifier information of the actual node, but the identifier information indicating the slightly strong interference state, and the information format of the identifier information may be the same as the format of the identifier information of the node, or may adopt other formats.
Specifically, the receiving process in the ad hoc mode provided by the embodiment of the present invention includes:
and receiving the information of the occupation situation of each D2D subframe in a superframe transmitted by other nodes by each D2D, and determining the occupation situation of each D2D subframe in the superframe according to the received information.
For the own D2D sending subframe, if the subframe is negative feedback, the resource collision is determined to occur, and the node needs to reselect a new D2D sending subframe; if the feedback is positive, the node continuously maintains the D2D sending subframe resource. The negative feedback includes: the received information of the occupation situation of at least one D2D transmission subframe indicates that the state of the D2D transmission subframe is a strong interference state; the received information of the occupation situation of at least one D2D transmission subframe indicates that the state of the D2D transmission subframe is a slightly strong interference state; the received information of the occupancy of the at least one D2D transmission subframe indicates that the status of the D2D transmission subframe is an occupied status, but the node identification is identification information of other nodes. The positive feedback includes: the received information of the occupation situation of the D2D transmission subframe indicates that the state of the D2D transmission subframe is an idle state; the received information of the occupation situation of the subframe sent by the D2D indicates that the state of the subframe sent by the D2D is strong interference, and the node identifiers are identification information of the node identifiers.
For the D2D receiving subframe, if the information of the occupation situation of the D2D receiving subframe indicates that at least two nodes occupy the same D2D receiving subframe, determining that a resource collision occurs on the D2D receiving subframe; or, if the information of the occupation situation of the D2D reception subframe indicates that the state of at least one D2D reception subframe is a strong interference state, determining that a resource collision occurs on the at least one D2D reception subframe; or, if the information of the occupation status of the D2D reception subframe indicates that the status of at least one D2D reception subframe is a slightly strong interference status, determining that a resource collision occurs on the at least one D2D reception subframe.
No matter RR-ALOHA, SU-ALOHA, MS-ALOHA or the self-organizing mode provided by the embodiment of the invention, the method comprises two processes: a channel occupancy procedure and a channel maintenance procedure. In the embodiment of the invention, the collision of the D2D sub-frames is determined in a self-organizing manner, and particularly determined in a channel maintenance process in the self-organizing manner.
Specifically, the information of the occupation situation of each D2D subframe in one superframe is acquired in a self-organizing manner, and the occupation situation of each D2D subframe in one superframe is determined according to the information. For the self-organizing manner provided by the embodiment of the present invention, the specific implementation manner may refer to the description of the above embodiment, and is not described herein again.
For RR-ALOHA, SU-ALOHA and MS-ALOHA, information of the occupancy of each D2D subframe is carried in the FI information. Assuming that the FI information received by the node C in the subframe i indicates that the subframe k is occupied by the node a, the FI information received by the node C in the subframe j indicates that the subframe k is occupied by the node B, and the subframe k is a subframe received by D2D of the node C, the node C determines that the resource collision occurs between the node a and the node B in the subframe k. Assuming that FI information received by node C at subframe i indicates that subframe k is occupied by node a, and subframe k is a D2D transmission subframe of node C, node C determines that a resource collision occurred on its D2D transmission subframe.
There are various ways to implement the above step 110. The embodiment of the invention provides the following three preferable implementation modes.
Implementation manner one of step 110: and sending resource collision information to the base station, wherein the resource collision information is used for indicating that the resource collision happens on the D2D sending subframe of the node and/or the resource collision happens on the D2D receiving subframe of the node.
Correspondingly, if the resource collision information indicates that the resource collision occurs on the D2D sending subframe of the node, the D2D communication resource configuration information sent by the base station is also received, and the D2D communication resource configuration information comprises the information of the D2D subframe allocated by the base station; and re-determining the D2D transmission subframe of the node according to the information of the D2D subframe allocated by the base station. Specifically, the D2D subframe allocated by the base station may be determined as the D2D transmission subframe of the node.
For the first implementation of step 110, the D2D terminal monitors the occupancy of the D2D subframe only in an ad hoc manner, and allocates D2D resources by the base station. Therefore, the D2D terminal implements the channel maintenance procedure in an ad hoc manner, and does not need to implement the channel occupation procedure.
Implementation manner two of step 110: selecting at least one idle D2D subframe; and sending the identification information of the selected idle D2D subframe to the base station.
In this embodiment of the present invention, the idle D2D subframe refers to a subframe in which the received information of the occupancy status of the D2D subframe indicates that the status of the D2D subframe is idle.
In the embodiment of the present invention, the identification information of the D2D subframe may be, but is not limited to, the number of the D2D subframe.
Correspondingly, D2D communication resource configuration information sent by the base station is also received, and the D2D communication resource configuration information includes information of D2D subframes allocated by the base station; and re-determining the D2D transmission subframe of the node according to the information of the D2D subframe allocated by the base station. Specifically, the D2D subframe allocated by the base station may be determined as the D2D transmission subframe.
Implementation manner three of step 110: and reporting the identification information of the D2D sending subframe reselected in a self-organizing way to the base station.
Correspondingly, after the resource collision on the D2D sending subframe is determined in a self-organizing way, the D2D sending subframe is reselected in the self-organizing way before the base station is requested to perform D2D resource allocation control.
For the third implementation mode, channel occupation and channel maintenance are performed in a self-organizing manner, and after resource collision occurs to the subframe sent by the D2D, the subframe sent by the D2D reselected by the node is reported to the base station.
It should be noted that the above three implementations of step 110 may be implemented cooperatively, and each of the three implementations may be combined with any of the implementations of step 100 described above.
The three implementation manners of step 110 may be implemented cooperatively, which means that different D2D terminals may be implemented differently.
The D2D terminal also reports location information to the base station. The embodiment of the invention provides a preferred mode for reporting position information. Based on any of the above method embodiments, preferably, the electronic map area corresponding to the geographical position of the node is determined according to the corresponding relationship between the geographical position and the electronic map area, and the electronic map shared by the node and the base station is divided into a plurality of electronic map areas; and transmitting identification information (i.e., location information) of the determined electronic map area to the base station. In the corresponding relationship between the geographic position and the electronic map area, the electronic map area is the electronic map area of the electronic map shared by the node and the base station. The electronic map may be obtained by the node and the base station from the same source, or downloaded from the base station when the D2D terminal accesses the base station. Wherein the identification information of the electronic map area may be a number of the electronic map area.
In the embodiment of the invention, the number of the electronic map area reported by the D2D terminal is the position information of the D2D terminal.
In the embodiment of the present invention, after determining that the resource collision occurs on the D2D sending subframe, the location information may be reported, or the location information may be reported periodically.
The implementation manner of the method provided by the embodiment of the present invention at the base station side is shown in fig. 2, and specifically includes the following operations:
step 200, receiving a D2D resource allocation control request sent by a node, where the D2D resource allocation control request is sent after the node determines that a resource collision occurs on a D2D subframe in a self-organizing manner.
In the embodiment of the invention, the node is the D2D terminal.
And step 210, performing D2D resource allocation control according to the D2D resource allocation control request.
According to the technical scheme provided by the embodiment of the invention, the D2D resource is allocated in a mode of combining a self-organizing mode and base station control. Specifically, when the D2D terminal determines that the D2D subframe is collided in a self-organizing manner, the base station is requested to perform D2D resource allocation control, and the base station participates in D2D resource allocation. Since the base station participates in the D2D resource allocation, the base station and the D2D terminal will communicate through the D2N link, thereby implementing security operations such as authentication, and the like, so that the security information transmitted on the D2D link is not needed or can be reduced, thereby reducing security overhead and providing system throughput compared with the scheme of performing D2D resource allocation only in an ad hoc manner. In addition, the resource allocation efficiency is improved by allocating the D2D resource in a manner of combining the ad hoc manner and the base station control, compared with the D2D resource allocation performed only by the base station.
The specific implementation manner of performing D2D resource allocation control is also different for different D2D resource allocation control requests. The embodiments of the present invention are illustrated in three preferred implementations.
The first implementation mode of the base station side is as follows: receiving resource collision information sent by a node, wherein the resource collision information is used for indicating that resource collision occurs on a D2D sending subframe of the node and/or resource collision occurs on a D2D receiving subframe of the node; if the resource collision information indicates that the resource collision occurs on the D2D sending subframe of the node, allocating a D2D subframe for the node; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information including information of D2D subframes allocated for the node; if the resource collision information indicates that a resource collision occurred on the D2D receiving subframe of the node, the D2D receiving subframe allocated for the resource collision is reallocated and/or the D2D subframe is reallocated for the node on the D2D subframe.
This implementation one corresponds to implementation one of the D2D terminal-side step 110.
In the embodiment of the present invention, there are various implementation manners for allocating the D2D subframe to the node. Preferably, the D2D subframe is allocated to the node according to the resource collision information sent by the node and the location information of the node.
Specifically, according to the resource collision information, a node where the resource collision occurs is determined, and optionally, a D2D subframe where the resource collision occurs is determined; and allocating an idle D2D subframe to the node, and if no idle D2D subframe exists, determining that the D2D subframe occupied by the node with the distance not less than a set threshold value from the node is allocated to the node according to the position information of the node and the position information of the node occupying each D2D subframe.
In the embodiment of the invention, resource collision information carries resource collision indication information, and if the resource collision information also carries identification information of a node, the node with resource collision is determined according to the identification information; if the node does not carry the identification information of the node but carries the identification information of the D2D subframe, the node can be determined according to the occupation situation of the D2D subframe maintained by the node; if the node carries the identification information of the node but does not carry the identification information of the D2D subframe, the node D2D may also be determined according to the occupation situation of the D2D subframe maintained by the node.
In the embodiment of the invention, the idle sub-frame and the node occupying each D2D sub-frame are determined according to the occupation situation of the D2D sub-frame maintained by the node.
In the embodiment of the invention, the position information is acquired periodically or acquired from the D2D terminal after resource collision occurs on the D2D subframe of the D2D terminal.
In the embodiment of the present invention, preferably, the location information is identification information of an electronic map area.
Implementation mode two of the base station side: receiving identification information of at least one D2D subframe sent by a node; allocating a D2D subframe for the node according to the received identification information of the D2D subframe; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information including information of D2D subframes allocated for the node.
This second implementation corresponds to the second implementation of the D2D terminal-side step 110.
In this implementation two, the node may be allocated a D2D subframe from the D2D subframe indicated by the received identification information of the D2D subframe. The allocation may be performed randomly, may be combined with the allocation of the location information, and may also be performed in other manners, which is not limited in the present invention. If location information allocation is combined, reference may be made to the first implementation described above.
In the second implementation manner, the D2D subframe may also be allocated to the node from the D2D subframe indicated by the received identification information of the D2D subframe and the D2D subframe selected by the base station according to the occupation situation of the D2D subframe maintained by the base station. The specific selection manner can refer to the first implementation manner, and the present invention is not limited to this.
The realization mode of the base station side is three: D2D of the receiving node sends the identification information of the subframe; determining the distance between the nodes occupying the D2D sending subframe according to the identification information of the D2D sending subframe and the position information of the nodes occupying the D2D sending subframe; if the distance is less than the distance threshold, the D2D subframe is reallocated.
This third implementation corresponds to the third implementation of the D2D terminal-side step 110.
In the third implementation manner, there are various implementations of reallocating the D2D subframe, for example, the D2D subframe may be reallocated in combination with the location information, the D2D subframe may be allocated to a node requesting D2D resource allocation, and the like.
Based on any of the above embodiments of the base station side method, the base station further maintains the occupation situation of the D2D subframe. Specifically, maintenance is performed according to the received arbitrary information. Correspondingly, the D2D resource allocation control request sent by the receiving node further includes: D2D of the receiving node sends the information of the occupation condition of the receiving subframe; performing D2D resource allocation control on the node according to the D2D resource allocation control request, and further comprising: and updating the occupation situation of the D2D subframe according to the information.
The technical scheme provided by the embodiment of the invention is suitable for the vehicle networking system, and the technical scheme that the D2D terminal and the base station side are cooperatively implemented is described below by taking a road safety vehicle networking system as an example.
It should be noted that, for implementation of other application scenarios, reference may be made to the following description, which is not repeated.
Under the above scenario, the D2D terminal periodically reports the location information. Specifically, when the D2D terminal enters a cell, the electronic map is downloaded through the cellular network, the electronic map is divided into a plurality of electronic map areas (Block areas), the D2D terminal periodically determines the current geographic position in the electronic map, determines the Block area corresponding to the current geographic position, and reports the number of the determined Block area. The D2D terminal does not need to report accurate position information, and in order to simplify the complexity of calculating the distance between nodes, the Block regions can be divided in advance, and the distance between different Block regions is stored in advance. Once the block numbers of the two D2D terminals are determined, the base station may determine the distance between the two D2D terminals by looking up a table, that is, the base station may determine the approximate location of the D2D terminal when receiving the block numbers reported by the D2D terminal. It should be added that 1) the location information is reported periodically without retransmission, and the base station does not feed back the information, but a trajectory prediction model is set inside the base station, and if the base station does not receive the periodic reporting of the D2D terminal, on one hand, it marks that the D2D terminal has the possibility of leaving the cell, and on the other hand, the base station can predict and update the moving trajectory of the D2D terminal to some extent according to the prediction model and the historical trajectory of the D2D terminal in combination with the electronic map information.
The base station allocates a D2D resource pool for the D2D terminal in a self-organizing manner, completes D2D resource allocation in different manners by matching with the D2D terminal, and adjusts the D2D resource according to the information reported by the D2D terminal and the occupation situation of the D2D subframe maintained by the base station.
If the D2D terminal sends a D2D resource allocation control request to the base station by using the above implementation manner, the corresponding technical solution is:
the D2D terminal maintains a D2D subframe state table in a self-organizing mode, and determines collision of D2D subframe resources through FI information interaction.
Specifically, the D2D terminal monitors whether resource collision occurs between the D2D transmission subframe and the D2D reception subframe by using the channel maintenance process of RR-ALOHA, SU-ALOHA, and MS-ALOHA or the self-organizing manner provided by the embodiment of the present invention.
The D2D terminal has the D2D subframe allocated to it by the base station as its D2D transmission subframe.
Assuming that a subframe transmitted by a D2D of a D2D terminal a is subframe 1, and the D2D terminal a receives FI transmitted by a D2D terminal B in subframe 2, indicating that subframe 1 is in an occupied state, but STI (identification information of a node) is not STI of the D2D terminal a, it is determined that resource collision occurs in the subframe transmitted by the D2D of the terminal a, and first resource collision information is transmitted to the base station. And after receiving the resource collision information sent by the D2D terminal A, the base station reallocates the subframe for the D2D terminal A.
If the D2D terminal adopts the above implementation mode to send the D2D resource allocation control request to the base station, the corresponding technical scheme is as follows:
the D2D terminal maintains a D2D subframe state table in a self-organizing mode, and determines collision of D2D subframe resources through FI information interaction.
Specifically, the D2D terminal monitors whether resource collision occurs between the D2D transmission subframe and the D2D reception subframe by using the channel maintenance process of RR-ALOHA, SU-ALOHA, and MS-ALOHA or the self-organizing manner provided by the embodiment of the present invention.
Assuming that a D2D transmission subframe of a D2D terminal a is subframe 1, and the D2D terminal a receives FI transmitted by a D2D terminal B in subframe 2, indicating that subframe 1 is in an occupied state, but STI (identification information of a node) is not STI of the D2D terminal a, it is determined that resource collision occurs in the D2D transmission subframe, at this time:
the D2D terminal A starts to send a subframe request to the base station on one hand, the subframe request is used for requesting to send a subframe of an idle subframe indication, and on the other hand, starts to monitor a channel;
after receiving the subframe request reported by the D2D terminal A, the base station allocates resources for the D2D terminal A to send an idle subframe indication according to the monitoring start time of the D2D terminal A;
after the monitoring of the D2D terminal is finished, selecting 3 idle subframes, and sending an idle subframe indication on the resource allocated by the base station for the node, wherein the idle subframe indication carries identification information of the selected 3 idle subframes;
after receiving the idle subframe indication, the base station selects appropriate D2D subframe resources for D2D terminal a.
If the D2D terminal adopts the above implementation mode to send the D2D resource allocation control request to the three-way base station, the corresponding technical scheme is as follows:
the D2D terminal maintains a D2D subframe state table in a self-organizing mode, and determines collision of D2D subframe resources through FI information interaction.
Specifically, the D2D terminal monitors whether resource collision occurs between the D2D transmission subframe and the D2D reception subframe by using the channel maintenance process of RR-ALOHA, SU-ALOHA, and MS-ALOHA or the self-organizing manner provided by the embodiment of the present invention.
Assuming that a D2D transmission subframe of a D2D terminal a is subframe 1, and the D2D terminal a receives FI transmitted by a D2D terminal B in subframe 2, indicating that subframe 1 is in an occupied state, but STI (identification information of a node) is not STI of the D2D terminal a, it is determined that resource collision occurs in the D2D transmission subframe, at this time:
D2D terminal A selects idle sub-frame 3, when the sub-frame arrives, D2D terminal reports the mark information of the sub-frame to the base station after the sub-frame sends data packet, or determines to occupy the sub-frame, to indicate the sub-frame is occupied by the node;
and after receiving the subframe occupation indication, the base station updates and maintains the subframe occupation information.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a D2D resource allocation apparatus, as shown in fig. 3, including:
a self-organizing mode implementation module 301, configured to determine that a resource collision occurs on the D2D subframe in a self-organizing mode;
a resource allocation control request module 302, configured to request the base station to perform D2D resource allocation control.
Preferably, the self-organizing manner implementing module is specifically configured to:
determining that resource collision occurs on a D2D sending subframe in a self-organizing manner; and/or the presence of a gas in the gas,
determining that a resource collision occurs on at least one D2D reception subframe in an ad hoc manner.
Preferably, the self-organizing manner implementing module is specifically configured to:
acquiring information of the occupation situation of each D2D subframe in a superframe in a self-organizing manner, wherein the information comprises the state of the D2D subframe, the state is an occupation state, a strong interference state, a slightly strong interference state or an idle state, and if the state is the occupation state, the information also comprises node identification information occupying the D2D subframe;
and determining that the resource collision occurs on the D2D sending subframe and/or the resource collision occurs on at least one D2D receiving subframe according to the information.
Preferably, when it is determined that the resource collision occurs on the D2D sending subframe according to the information, the ad hoc mode implementing module is specifically configured to:
if the information of the occupation situation of the D2D sending subframe indicates that the D2D sending subframe of the node is occupied by other nodes, determining that resource collision occurs on the D2D sending subframe; or,
if the information of the occupation situation of the D2D sending subframe indicates that the state of the D2D sending subframe of the node is a strong interference state, determining that resource collision occurs on the D2D sending subframe; or,
if the information of the occupation situation of the D2D sending subframe indicates that the state of the D2D sending subframe of the node is a slightly strong interference state, determining that resource collision occurs on the D2D sending subframe; or,
and if the information of the occupation situation of the D2D sending subframe cannot be analyzed, determining that the resource collision occurs on the D2D sending subframe.
Preferably, when it is determined according to the information that a resource collision occurs on at least one D2D reception subframe, the ad hoc mode implementing module is specifically configured to:
if the information of the occupation situation of the D2D receiving subframe indicates that at least two nodes occupy the same D2D receiving subframe, determining that resource collision occurs on the D2D receiving subframe; or,
if the information of the occupation situation of the D2D receiving subframe indicates that the state of at least one D2D receiving subframe is a strong interference state, determining that resource collision occurs on the at least one D2D receiving subframe; or,
if the information of the occupation situation of the D2D receiving subframe indicates that the state of at least one D2D receiving subframe is a slightly strong interference state, determining that resource collision occurs on the at least one D2D receiving subframe; or,
and if the information of the occupation situation of the at least one D2D receiving subframe cannot be analyzed, determining that the resource collision occurs on the at least one D2D receiving subframe.
Based on any of the apparatus embodiments described above, preferably, the resource allocation control request module is specifically configured to:
and sending resource collision information to the base station, wherein the resource collision information is used for indicating that resource collision occurs on the D2D sending subframe of the node and/or resource collision occurs on the D2D receiving subframe of the node.
Based on any of the apparatus embodiments described above, preferably, after the self-organizing manner implementing module determines that the resource collision occurs on the subframe sent by D2D in a self-organizing manner, the resource allocation control request module is specifically configured to:
selecting at least one idle D2D subframe; and sending the identification information of the selected idle D2D subframe to the base station.
Based on any of the above apparatus embodiments, preferably, the apparatus further includes a resource allocation module, configured to:
receiving D2D communication resource configuration information sent by the base station, wherein the D2D communication resource configuration information comprises information of D2D subframes allocated by the base station;
and re-determining the D2D transmission subframe of the node according to the information of the D2D subframe allocated by the base station.
Based on any of the above embodiments of the apparatus, preferably, the apparatus further includes a resource allocation module, after the self-organizing mode implementation module determines that resource collision occurs on a subframe sent by D2D in a self-organizing mode, before the resource allocation control request module requests the base station to perform D2D resource allocation control, the resource allocation module is configured to: reselecting the D2D sending subframe in a self-organizing mode;
the resource allocation control request module is specifically configured to: and reporting the identification information of the reselected D2D sending subframe to the base station.
Based on any of the apparatus embodiments described above, preferably, the resource allocation control request module is further configured to:
if the information of the occupation situation of the D2D sending subframe indicates that the D2D sending subframe of the node is occupied by the node or indicates that the state of the D2D sending subframe of the node is idle, determining that the state of the D2D sending subframe is occupied;
and sending the information of the occupation situation of each D2D subframe in one superframe according to the determined occupation situation of each D2D subframe in one superframe.
Based on any of the above embodiments of the apparatus, preferably, the apparatus further includes a location information reporting module, configured to:
determining an electronic map area corresponding to the geographical position of the node according to the corresponding relation between the geographical position and the electronic map area, wherein the electronic map shared by the node and the base station is divided into a plurality of electronic map areas;
and sending the identification information of the electronic map area to the base station.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a D2D terminal, as shown in fig. 4, including:
the processor 400, which is used to read the program in the memory 420, executes the following processes:
determining that resource collision occurs on the D2D subframe in a self-organizing manner;
requesting, by the transceiver 410, the base station for D2D resource allocation control;
a transceiver 410 for receiving and transmitting data under the control of the processor 400.
Where in fig. 4, the bus architecture may include any number of interconnected buses and bridges, with various circuits of one or more processors, represented by processor 400, and memory, represented by memory 420, being linked together. The bus architecture 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. The bus interface provides an interface. The transceiver 410 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. For different user devices, the user interface 430 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 400 is responsible for managing the bus architecture and general processing, and the memory 420 may store data used by the processor 400 in performing operations.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a D2D resource allocation apparatus, as shown in fig. 5, including:
a request receiving module 501, configured to: receiving a D2D resource allocation control request sent by a node, wherein the D2D resource allocation control request is sent after the node determines that resource collision occurs on a D2D subframe in a self-organizing manner;
a resource allocation control module 502, configured to perform D2D resource allocation control on the node according to the D2D resource allocation control request.
Preferably, the resource allocation control request receiving module is specifically configured to: receiving resource collision information sent by a node, wherein the resource collision information is used for indicating that resource collision occurs on a D2D sending subframe of the node and/or resource collision occurs on at least one D2D receiving subframe of the node;
the resource allocation control module is specifically configured to: allocating a D2D subframe for the node if the resource collision information indicates a resource collision on a D2D transmitted subframe for the node; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information comprising information of D2D subframes allocated for the node; reallocating the D2D received subframe in which the resource collision occurred if the resource collision information indicates that the resource collision occurred on at least one D2D received subframe of the node.
Preferably, when the node is allocated with the D2D subframe, the resource allocation control module is specifically configured to:
and distributing a D2D subframe for the node according to the resource collision information sent by the node and the position information of the node.
Preferably, the resource allocation control request receiving module is specifically configured to: receiving identification information of at least one D2D subframe sent by a node;
the resource allocation control module is specifically configured to: allocating a D2D subframe to the node according to the identification information of the at least one D2D subframe; transmitting D2D communication resource configuration information to the node, the D2D communication resource configuration information including information of D2D subframes allocated for the node.
Preferably, when the D2D subframe is allocated to the node according to the identification information of the at least one D2D subframe, the resource allocation control request receiving module is specifically configured to:
and determining the distance between the node occupying each D2D subframe indicated by the identification information and the node sending the identification information, and selecting the D2D subframe corresponding to the maximum distance to be allocated to the node.
Preferably, the resource allocation control request receiving module is specifically configured to: D2D of the receiving node sends information of the subframe;
the resource allocation control module is specifically configured to: determining the distance between the nodes occupying the D2D sending subframe according to the information of the D2D sending subframe and the position information of the nodes occupying the D2D sending subframe; reallocating the D2D subframe if the distance is less than a distance threshold.
Based on the same inventive concept as the method, an embodiment of the present invention further provides a base station, as shown in fig. 6, including:
the processor 600, which is used to read the program in the memory 620, executes the following processes:
receiving, by a receiver 610, a D2D resource allocation control request sent by a node, where the D2D resource allocation control request is sent by the node after determining that a resource collision occurs on a D2D subframe in an ad hoc manner;
and D2D resource allocation control is carried out on the nodes through the receiver 610 according to the D2D resource allocation control request.
A transceiver 610 for receiving and transmitting data under the control of the processor 600.
Wherein in fig. 5, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 600, and various circuits of memory, represented by memory 620, being linked together. The bus architecture 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. The bus interface provides an interface. The transceiver 610 may be a number of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
It should be noted that the technical solution provided by the embodiment of the present invention can also solve other disadvantages of D2D resource allocation only in an ad hoc manner. For example, the problem of isolated nodes is solved; for example, the base station may adjust the D2D subframe resource for some situations that may affect reliable reception to avoid in advance.
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.