CN107950073A - Send data, the method and apparatus for receiving data - Google Patents
Send data, the method and apparatus for receiving data Download PDFInfo
- Publication number
- CN107950073A CN107950073A CN201580082671.XA CN201580082671A CN107950073A CN 107950073 A CN107950073 A CN 107950073A CN 201580082671 A CN201580082671 A CN 201580082671A CN 107950073 A CN107950073 A CN 107950073A
- Authority
- CN
- China
- Prior art keywords
- terminal
- access
- hop
- transit
- source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of method and apparatus for sending data and receiving data, belong to wireless communication technology field.Method includes:Control node receives the transmission request that source terminal is sent, and according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal, determines that the channel quality for the D2D links that source terminal is connected directly with purpose terminal is unsatisfactory for preset quality condition;And determine that source terminal meets the first D2D paths of preset quality condition to the channel quality between purpose terminal, first D2D paths include at least one transit terminal, and transit terminal is any multi-hop D2D terminals in addition to source terminal and purpose terminal in the first D2D paths;Terminal into the first D2D paths in addition to purpose terminal sends the routing information of the first D2D paths.Control node includes:First receiving module, the first determining module, the second determining module and the first sending module.The present invention can improve the communication quality that source terminal sends D2D data to purpose terminal.
Description
The present invention relates to wireless communication field, in particular to a kind of method and apparatus for sending data, receiving data.
Currently, the quantity of terminal is more and more, in order to mitigate the pressure of base station, device-to-device (Device-to-Device, D2D) communication technology is come into being;The D2D communication technology refers to that two terminals do not pass through the technology that base station is directly communicated.The data transmitted when carrying out D2D communication between two terminals are properly termed as D2D data, and D2D data can be voice, picture or video etc..
For example, two terminals are referred to as first terminal and second terminal for ease of description to describe to transmit the process of D2D data between two terminals with a specific example;When first terminal sends D2D data to second terminal, first terminal establishes the D2D link being connected directly with second terminal, sends D2D data by the 2nd D2D terminal of D2D chain road direction that source terminal to purpose terminal is connected directly.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
When the channel quality for the D2D link that first terminal and second terminal are connected directly is poor, the communication quality that first terminal sends D2D data to second terminal is poor.
Summary of the invention
In order to solve problems in the prior art, the present invention provides a kind of transmission data, the method, apparatus of reception data.Technical solution is as follows:
In a first aspect, the present invention provides a kind of methods for sending data, which comprises
Control node receives the transmission request that source terminal is sent, and the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, and the source terminal is single-hop D2D terminal;
The control node determines that the channel quality for the D2D link that the source terminal and the purpose terminal are connected directly is unsatisfactory for preset quality according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal
Condition;
The control node is according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, it include at least one transit terminal in the first D2D access, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
Terminal of the control node into the first D2D access in addition to the purpose terminal sends the routing information of the first D2D access, and the routing information sends D2D data to the purpose terminal by the first D2D access for the terminal.
With reference to first aspect, in the first possible implementation of the first aspect, the routing information includes first path information, and the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;
Terminal of the control node into the first D2D access in addition to the purpose terminal sends the routing information of the first D2D access, comprising:
The control node sends the first path information of the first D2D access to the source terminal, and the first path information sends the D2D data to the next-hop transit terminal for the source terminal.
With reference to first aspect, in the second possible implementation of the first aspect, the routing information includes the second routing information, second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the first transit terminal and next-hop terminal in the first D2D access, or, second routing information include the terminal iidentification of the purpose terminal and in the first D2D access next-hop terminal of the first transit terminal terminal iidentification, first transit terminal is any transit terminal in the first D2D access;
Terminal of the control node into the first D2D access in addition to the purpose terminal sends the routing information of the first D2D access, comprising:
The control node sends the second routing information of the first D2D access to first transit terminal, second routing information forwards the D2D data to the next-hop terminal after receiving the D2D data that the upper hop terminal is sent for first transit terminal, or, second routing information is for first transit terminal when receiving the D2D data from the source terminal, the purpose terminal mark carried according to the D2D data, Xiang Suoshu next-hop terminal forward the D2D data.
With reference to first aspect, in a third possible implementation of the first aspect, the control node is according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, determine that the channel quality for the D2D link that the source terminal and the purpose terminal are connected directly is unsatisfactory for preset quality condition, comprising:
The control node determines D2D link, cellular link and at least one the 2nd D2D access that the source terminal is connected directly to the purpose terminal according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal;
The control node obtains the channel quality composition channel quality set of the channel quality of D2D link, the channel quality of the cellular link and every the 2nd D2D access at least one the 2nd D2D access that the source terminal is connected directly to the purpose terminal;
If the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal is not the maximum channel quality in the channel quality set, the control node determines that the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal is unsatisfactory for preset quality condition.
The third possible implementation with reference to first aspect, in a fourth possible implementation of the first aspect, the control node is according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, comprising:
The control node selects a channel quality to be higher than the channel quality for the D2D link being connected directly between the source terminal and the purpose terminal from least one the 2nd D2D access and is higher than the 2nd D2D access of the channel quality of the cellular link;
Using the selected 2nd D2D access as the first D2D access.
Second aspect, the present invention provides a kind of methods for sending data, which comprises
Source terminal sends transmission request to control node, the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, the source terminal is single-hop D2D terminal, for triggering the control node when determining the source terminal and the channel quality of D2D link that the purpose terminal is connected directly is unsatisfactory for preset quality condition, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, the first D2D access includes at least one transit terminal, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
The source terminal receives the first path information for the first D2D access that the control node is sent, and the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;
Terminal iidentification of the source terminal according to the next-hop transit terminal, Xiang Suoshu next-hop transit terminal
D2D data are sent, forward the D2D data to the purpose terminal for triggering the next-hop transit terminal.
The third aspect, the present invention provides a kind of methods for sending data, which comprises
Transit terminal receives the second routing information of the first D2D access that control node is sent, the first D2D access is the D2D access that source terminal meets preset quality condition to the channel quality between the purpose terminal communicated with the source terminal, and the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
The transit terminal receives the D2D data from source terminal, and the source terminal is single-hop D2D terminal;
The transit terminal sends the D2D data from source terminal to the purpose terminal communicated with the source terminal according to second routing information, by the first D2D access.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the transit terminal receives the D2D data from source terminal, comprising:
If the upper hop terminal of the transit terminal described in the first D2D access is source terminal, the transit terminal receives the D2D data that the source terminal is sent;Alternatively,
If the upper hop terminal of the transit terminal described in the first D2D access is transit terminal, the transit terminal receive that the upper hop terminal sends from source terminal D2D data.
In conjunction with the third aspect, in the second possible implementation of the third aspect, second routing information includes the terminal iidentification of the upper hop terminal of the transit terminal described in the first D2D access and the terminal iidentification of next-hop terminal;
The transit terminal forwards the D2D data to the purpose terminal communicated with the source terminal according to second routing information, by the first D2D access, comprising:
Terminal iidentification of the transit terminal according to the next-hop terminal, the Xiang Suoshu next-hop terminal forwarding D2D data.
In conjunction with the third aspect, in the third possible implementation of the third aspect, second routing information includes the terminal iidentification of the terminal iidentification of the purpose terminal and the next-hop terminal of the transit terminal described in the first D2D access;
The transit terminal forwards the D2D data to the purpose terminal communicated with the source terminal according to second routing information, by the first D2D access, comprising:
The terminal iidentification for the purpose terminal that the transit terminal is carried according to the D2D data and described
Two routing informations identify the terminal iidentification of the next-hop terminal;
Terminal iidentification of the transit terminal according to the next-hop terminal, the Xiang Suoshu next-hop terminal forwarding D2D data.
Fourth method, the present invention provides a kind of methods for receiving data, this method comprises:
When the channel quality that control node determines source terminal to the device-to-device D2D link being connected directly between the purpose terminal communicated with the source terminal is unsatisfactory for preset quality condition, and when determining that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, the purpose terminal receives the D2D data from the source terminal that transit terminal is sent, the source terminal is single-hop D2D terminal, the transit terminal is multi-hop D2D terminal, and the transit terminal is the upper hop terminal of the purpose terminal described in the first D2D access.
5th aspect, the present invention provides a kind of control node, the control node includes:
First receiving module, for receiving the transmission request of source terminal transmission, the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, and the source terminal is single-hop D2D terminal;
First determining module, for determining that the channel quality for the D2D link that the source terminal and the purpose terminal are connected directly is unsatisfactory for preset quality condition according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal;
Second determining module, for according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, it include at least one transit terminal in the first D2D access, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
First sending module, the routing information of the first D2D access is sent for the terminal into the first D2D access in addition to the purpose terminal, and the routing information sends D2D data to the purpose terminal by the first D2D access for the terminal.
In conjunction with the 5th aspect, in the first possible implementation of the 5th aspect, the routing information includes first path information, and the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;
First sending module, specifically for sending the first of the first D2D access to the source terminal
Routing information, the first path information send the D2D data to the next-hop transit terminal for the source terminal.
In conjunction with the 5th aspect, in second of possible implementation of the 5th aspect, the routing information includes the second routing information, second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the first transit terminal and next-hop terminal in the first D2D access, or, second routing information include the terminal iidentification of the purpose terminal and in the first D2D access next-hop terminal of the first transit terminal terminal iidentification, first transit terminal is any transit terminal in the first D2D access;
First sending module, specifically for sending the second routing information of the first D2D access to first transit terminal, second routing information forwards the D2D data to the next-hop terminal after receiving the D2D data that the upper hop terminal is sent for first transit terminal, or, second routing information is for first transit terminal when receiving the D2D data from the source terminal, the purpose terminal mark carried according to the D2D data, Xiang Suoshu next-hop terminal forward the D2D data.
In conjunction with the 5th aspect, in the third possible implementation of the 5th aspect, first determining module, specifically for according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, determine the D2D link that the source terminal is connected directly to the purpose terminal, cellular link and at least one the 2nd D2D access, obtain the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal, the channel quality of the channel quality of the cellular link and every the 2nd D2D access at least one the 2nd D2D access forms channel quality set, it is not the maximum channel quality in the channel quality set in the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal, determine the D2D link that the source terminal is connected directly to the purpose terminal Channel quality be unsatisfactory for preset quality condition.
In conjunction with the 5th aspect third in possible implementation, in the 4th kind of possible implementation of the 5th aspect, second determining module, specifically for selecting a channel quality to be higher than the channel quality for the D2D link being connected directly between the source terminal and the purpose terminal and the 2nd D2D access of the channel quality higher than the cellular link from least one the 2nd D2D access, using the selected 2nd D2D access as the first D2D access.
6th aspect, the present invention provides a kind of terminal, the terminal includes:
Second sending module, for sending transmission request to control node, the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, and the source terminal is single
Jump D2D terminal, for triggering the control node when determining the source terminal and the channel quality of D2D link that the purpose terminal is connected directly is unsatisfactory for preset quality condition, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, the first D2D access includes at least one transit terminal, and the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
Second receiving module, for receiving the first path information for the first D2D access that the control node is sent, the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;
Third sending module, for the terminal iidentification according to the next-hop transit terminal, Xiang Suoshu next-hop transit terminal sends D2D data, forwards the D2D data to the purpose terminal for triggering the next-hop transit terminal.
7th aspect, the present invention provides a kind of terminal, the terminal includes:
Third receiving module, for receiving the second routing information of the first D2D access of control node transmission, the first D2D access is the D2D access that source terminal meets preset quality condition to the channel quality between the purpose terminal communicated with the source terminal, and the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
4th receiving module, for receiving the D2D data from source terminal, the source terminal is single-hop D2D terminal;
4th sending module, for sending the D2D data from source terminal to the purpose terminal communicated with the source terminal by the first D2D access according to second routing information.
In conjunction with the 7th aspect, in the first possible implementation of the 7th aspect, the 4th receiving module receives the D2D data that the source terminal is sent if the upper hop terminal specifically for the transit terminal described in the first D2D access is source terminal;Alternatively,
4th receiving module, if the upper hop terminal specifically for the transit terminal described in the first D2D access is transit terminal, receive the upper hop terminal transmission comes from source terminal D2D data.
In conjunction with the 7th aspect, in second of possible implementation of the 7th aspect, second routing information includes the terminal iidentification of the upper hop terminal of the transit terminal described in the first D2D access and the terminal iidentification of next-hop terminal;
4th sending module, specifically for the terminal iidentification according to the next-hop terminal, under described
One, which jumps terminal, forwards the D2D data.
In conjunction with the 7th aspect, in the third possible implementation of the 7th aspect, second routing information includes the terminal iidentification of the terminal iidentification of the purpose terminal and the next-hop terminal of the transit terminal described in the first D2D access;
4th sending module, terminal iidentification and second routing information specifically for the purpose terminal carried according to the D2D data, the terminal iidentification for identifying the next-hop terminal, according to the terminal iidentification of the next-hop terminal, Xiang Suoshu next-hop terminal forwards the D2D data.
Eighth method, the present invention provides a kind of terminal, the terminal includes:
5th receiving module, when channel quality for determining source terminal to the device-to-device D2D link being connected directly between the purpose terminal communicated with the source terminal in control node is unsatisfactory for preset quality condition, and when determining that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, receive the D2D data from the source terminal that transit terminal is sent, the source terminal is single-hop D2D terminal, the transit terminal is multi-hop D2D terminal, and the transit terminal is the upper hop terminal of the purpose terminal described in the first D2D access.
9th aspect, the present invention provides a kind of control nodes, which is characterized in that the control node includes: the first receiver, first processor and first transmitter;
First receiver, for receiving the transmission request of source terminal transmission, the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, and the source terminal is single-hop D2D terminal;
The first processor, for determining that the channel quality for the D2D link that the source terminal and the purpose terminal are connected directly is unsatisfactory for preset quality condition according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal;
The first processor, it is also used to the terminal iidentification of the terminal iidentification and the purpose terminal according to the source terminal, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, it include at least one transit terminal in the first D2D access, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
The first transmitter, the routing information of the first D2D access is sent for the terminal into the first D2D access in addition to the purpose terminal, and the routing information passes through described first for the terminal
D2D access sends D2D data to the purpose terminal.
In conjunction with the 9th aspect, in the first possible implementation of the 9th aspect, the routing information includes first path information, and the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;
The first transmitter, is also used to send the first path information of the first D2D access to the source terminal, and the first path information sends the D2D data to the next-hop transit terminal for the source terminal.
In conjunction with the 9th aspect, in second of possible implementation of the 9th aspect, the routing information includes the second routing information, second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the first transit terminal and next-hop terminal in the first D2D access, or, second routing information include the terminal iidentification of the purpose terminal and in the first D2D access next-hop terminal of the first transit terminal terminal iidentification, first transit terminal is any transit terminal in the first D2D access;
The first transmitter, it is also used to send the second routing information of the first D2D access to first transit terminal, second routing information forwards the D2D data to the next-hop terminal after receiving the D2D data that the upper hop terminal is sent for first transit terminal, or, second routing information is for first transit terminal when receiving the D2D data from the source terminal, the purpose terminal mark carried according to the D2D data, Xiang Suoshu next-hop terminal forward the D2D data.
In conjunction with the 9th aspect, in the third possible implementation of the 9th aspect, the first processor, it is also used to the terminal iidentification of the terminal iidentification and the purpose terminal according to the source terminal, determines D2D link, cellular link and at least one the 2nd D2D access that the source terminal is connected directly to the purpose terminal;Obtain the channel quality composition channel quality set of the channel quality of D2D link, the channel quality of the cellular link and every the 2nd D2D access at least one the 2nd D2D access that the source terminal is connected directly to the purpose terminal, it is not the maximum channel quality in the channel quality set in the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal, determines that the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal is unsatisfactory for preset quality condition.
In conjunction with the third possible implementation of the 9th aspect, in the 4th kind of possible implementation of the 9th aspect, the first processor, 2nd D2D access of the channel quality and the channel quality higher than the cellular link that are also used to that a channel quality is selected to be higher than the D2D link being connected directly between the source terminal and the purpose terminal from least one the 2nd D2D access, using the selected 2nd D2D access as the first D2D access.
Tenth aspect, the present invention provides a kind of terminals, which is characterized in that the terminal includes: second transmitter and second receiver;
The second transmitter, for sending transmission request to control node, the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, the source terminal is single-hop D2D terminal, for triggering the control node when determining the source terminal and the channel quality of D2D link that the purpose terminal is connected directly is unsatisfactory for preset quality condition, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, the first D2D access includes at least one transit terminal, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
The second receiver, for receiving the first path information for the first D2D access that the control node is sent, the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;
The second transmitter is also used to the terminal iidentification according to the next-hop transit terminal, and Xiang Suoshu next-hop transit terminal sends D2D data, forwards the D2D data to the purpose terminal for triggering the next-hop transit terminal.
Tenth on the one hand, and the present invention provides a kind of terminals, which is characterized in that the terminal includes: third receiver and third transmitter;
The third receiver, for receiving the second routing information of the first D2D access of control node transmission, the first D2D access is the D2D access that source terminal meets preset quality condition to the channel quality between the purpose terminal communicated with the source terminal, and the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;
The third receiver, is also used to receive the D2D data from source terminal, and the source terminal is single-hop D2D terminal;
The third transmitter, for sending the D2D data from source terminal to the purpose terminal communicated with the source terminal by the first D2D access according to second routing information.
On the one hand in conjunction with the tenth, in the first possible implementation of the tenth one side, the third receiver receives the D2D data that the source terminal is sent if the upper hop terminal for being also used to the transit terminal described in the first D2D access is source terminal;Alternatively,
The third receiver, if the upper hop terminal for being also used to the transit terminal described in the first D2D access is transit terminal, receive the upper hop terminal transmission comes from source terminal D2D data.
On the one hand in conjunction with the tenth, in second of possible implementation of the tenth one side, second routing information includes the terminal iidentification of the upper hop terminal of the transit terminal described in the first D2D access and the terminal iidentification of next-hop terminal;
The third transmitter, is also used to the terminal iidentification according to the next-hop terminal, and Xiang Suoshu next-hop terminal forwards the D2D data.
On the one hand in conjunction with the tenth, in second of possible implementation of the tenth one side, second routing information includes the terminal iidentification of the terminal iidentification of the purpose terminal and the next-hop terminal of the transit terminal described in the first D2D access;
The third transmitter, the terminal iidentification and second routing information of the purpose terminal for being also used to be carried according to the D2D data, identifies the terminal iidentification of the next-hop terminal;
The third transmitter, is also used to the terminal iidentification according to the next-hop terminal, and Xiang Suoshu next-hop terminal forwards the D2D data.
12nd aspect, the present invention provides a kind of terminals, which is characterized in that the terminal includes: the 4th receiver;
4th receiver, when channel quality for determining source terminal to the device-to-device D2D link being connected directly between the purpose terminal communicated with the source terminal in control node is unsatisfactory for preset quality condition, and when determining that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, receive the D2D data from the source terminal that transit terminal is sent, the source terminal is single-hop D2D terminal, the transit terminal is multi-hop D2D terminal, and the transit terminal is the upper hop terminal of the purpose terminal described in the first D2D access.
In embodiments of the present invention, when the channel quality for the D2D link being connected directly between source terminal and purpose terminal is poor, source terminal can have the transit terminal of multi-hop ability to assist to send D2D data to purpose terminal by surrounding, it establishes one and passes through transit terminal and the preferable D2D access of channel quality, D2D data are sent to purpose terminal by the D2D access, the communication quality of D2D data is sent so as to improve source terminal to purpose terminal.
Fig. 1 is a kind of method flow diagram for sending data provided in an embodiment of the present invention;
Fig. 2 is another method flow diagram for sending data provided in an embodiment of the present invention;
Fig. 3 is another method flow diagram for sending data provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow diagram for receiving data provided in an embodiment of the present invention;
Fig. 5-1 is a kind of method flow diagram for sending data provided in an embodiment of the present invention;
Fig. 5-2 is another method flow diagram for sending data provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of control node provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another terminal provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another terminal provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of control node provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of another terminal provided in an embodiment of the present invention;
Figure 13 is the structural schematic diagram of another terminal provided in an embodiment of the present invention.
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing, embodiment of the present invention is described further in detail.
The embodiment of the invention provides a kind of methods for sending data, and this method can be realized by control node, referring to Fig. 1, wherein this method comprises:
Step 101: control node receives the transmission request that source terminal is sent, and transmission request carries the terminal iidentification of source terminal and the terminal iidentification of the purpose terminal communicated with source terminal, and source terminal is single-hop D2D terminal;
Wherein, single-hop D2D terminal refers to that the D2D terminal that cannot participate in Route Selection namely single-hop D2D terminal can not forward the D2D data of other D2D terminals as transit terminal, can not also directly select the D2D data that other transit terminals forward oneself.When source terminal needs to send D2D data to purpose terminal every time, source terminal sends transmission request to control node;Control node receives the transmission request that source terminal is sent, and transmission request carries the terminal iidentification of source terminal and the terminal iidentification of purpose terminal.
Source terminal can have the terminal for sending data function to be any, for example, source terminal can be for the mobile phone or tablet computer etc. for sending data function;Purpose terminal can be any with reception data function
Terminal, for example, purpose terminal can be for the mobile phone or tablet computer etc. for receiving data function;And purpose terminal can be single-hop D2D terminal, or multi-hop D2D terminal;Multi-hop D2D terminal is the D2D terminal for referring to participate in Route Selection.Control node is at least to have Route Selection/routing systematic function equipment, such as control node can be network side equipment or cluster head;Network side equipment can be network element or functional entity, such as, network side equipment can be base station (eNodeB, eNB), mobility management entity (Mobility Management Entity, MME), gateway (Serving Gateway,) or PDN Gateway (PDN Gateway, P-GW) etc. S-GW.Cluster head refers to the terminal device with above-mentioned network side equipment with identical function (at least with Route Selection/routing systematic function).And the step of embodiment of the present invention can be implemented separately in each equipment in eNB, MME, S-GW, PDN Gateway and cluster head.
When source terminal and purpose terminal are in the region for having the network coverage, source terminal and purpose terminal can be controlled by network side equipment, then control node is network side equipment at this time;When source terminal and purpose terminal are in the region of no network coverage, source terminal and purpose terminal can be controlled by cluster head, then control node is cluster head at this time.
For the terminal controlled by cluster head, cluster head at least has Route Selection/routing systematic function.Cluster head can send broadcast message, which may include the mark of cluster head;When source terminal and purpose terminal are in the region of the not network coverage, source terminal and purpose terminal can not be controlled by network side equipment, source terminal receives the broadcast message of cluster head at this time, and according to the mark of the cluster head, first is sent to cluster head, and request is added, first is added the terminal iidentification that request may include source terminal, and cluster head receives source terminal is sent first and request is added, and source terminal is accessed cluster head;Equally, purpose terminal receives the broadcast message of cluster head, and according to the mark of the cluster head, second is sent to cluster head, and request is added, second is added the terminal iidentification that request may include purpose terminal, and cluster head receives purpose terminal is sent second and request is added, and purpose terminal is accessed cluster head.
When the source terminal in same cluster head sends data to purpose terminal, cluster head can be source terminal and purpose terminal distribution Internet resources, and source terminal can send data to purpose terminal by the Internet resources.
Step 102: control node determines that the channel quality for the D2D link that source terminal and purpose terminal are connected directly is unsatisfactory for preset quality condition according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal;
This step can be realized by following steps (1) to (3), comprising:
(1): control node determines the D2D link that source terminal is connected directly to purpose terminal, cellular link and at least one the 2nd D2D access according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal;
Cellular link refers to the link that data are forwarded by network side equipment, and cellular link include source terminal between base station the first cellular link and base station to the second cellular link between purpose terminal;At least one
It include source terminal, at least one transit terminal and purpose terminal in every the 2nd D2D access in 2nd D2D access.
Wherein, control node generates at least one the 2nd D2D access according to the routing algorithm for generating routing, the terminal iidentification of source terminal and the terminal iidentification of purpose terminal.
(2): control node obtains the channel quality composition channel quality set of the channel quality of D2D link, the channel quality of cellular link and every the 2nd D2D access at least one the 2nd D2D access that source terminal is connected directly to purpose terminal;
Wherein, the process that control node obtains the channel quality of the channel quality of D2D link, the channel quality of cellular link and every the 2nd D2D access that source terminal is connected directly to purpose terminal is the prior art, is no longer described in detail herein.
(3): if the channel quality for the D2D link that source terminal is connected directly to purpose terminal is not the maximum channel quality in channel quality set, control node determines that the channel quality for the D2D link that source terminal is connected directly to purpose terminal is unsatisfactory for preset quality condition.
Further, if the channel quality for the D2D link that source terminal is connected directly to purpose terminal is the maximum channel quality in channel quality set, then control node determines that the channel quality for the D2D link that source terminal is connected directly to purpose terminal meets preset quality condition, then terminates.
Further, when source terminal sends data to purpose terminal, control node can distribute the road warp of a maximum channel quality for source terminal, and source terminal sends data to purpose terminal by the path.Such as, when the channel quality of cellular link is the maximum channel quality in channel quality set, source terminal then passes through cellular link and sends data to purpose terminal, data are properly termed as cellular data at this time, namely source terminal sends cellular data to base station, base station receives the cellular data that source terminal is sent, and forwards the cellular data to purpose terminal.For another example, when the channel quality for the D2D link that source terminal to purpose terminal is connected directly is the maximum channel quality in channel quality set, source terminal then passes through source terminal and sends data to the D2D chain road direction purpose terminal that purpose terminal is connected directly, and data are properly termed as D2D data at this time.
Step 103: when control node determines that the channel quality of the D2D link that source terminal and purpose terminal are connected directly is unsatisfactory for preset quality condition, control node determines that channel quality meets the first D2D access of preset quality condition according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal;
It include source terminal, at least one transit terminal and purpose terminal in first D2D access, and the first D2D access sends D2D data to purpose terminal by the first D2D access for source terminal, wherein transit terminal is multi-hop D2D terminal;
If the channel quality for the D2D link being connected directly between source terminal and purpose terminal is unsatisfactory for preset quality condition, then control node can select a channel quality to be higher than the channel quality for the D2D link being connected directly between source terminal and purpose terminal from least one the 2nd D2D access and be higher than the 2nd D2D access of the channel quality of cellular link, using the 2nd D2D access selected as the first D2D access.
Further, if the channel quality of cellular link is higher than the channel quality in the channel D2D and is higher than the channel quality of every the 2nd D2D access, control node can choose cellular link, and source terminal sends cellular data to purpose terminal by cellular link.
Step 104: terminal of the control node into the first D2D access in addition to purpose terminal sends the routing information of the first D2D access.
Routing information might have different compositions according to different situations, purpose is the terminal iidentification for allowing the terminal for receiving routing information to be informed in the next-hop terminal of the terminal in the first D2D access, and D2D data are sent from source terminal to purpose terminal by the first D2D access to realize according to the routing information.Such as routing information may include first path information and the second routing information.
Control node sends first path information to source terminal, and first path information includes the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access;Each transit terminal at least one transit terminal that control node includes into the first D2D access sends the second routing information, and the second routing information of each transit terminal is different, for each transit terminal, corresponding second routing information of the transit terminal includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access;Alternatively, corresponding second routing information of the transit terminal include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transit terminal terminal iidentification.
Control node obtains the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access according to the first D2D access, and the terminal iidentification of the next-hop transit terminal of source terminal is formed first path information.Control node sends first path information to source terminal according to the terminal iidentification of source terminal.Source terminal receives the first path information that control node is sent, and the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access for including according to first path information, and down hop transit terminal sends D2D data.
For each transit terminal, if corresponding second routing information of the transit terminal includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access, then control node is according to the terminal iidentification of the transit terminal, the terminal iidentification of the upper hop terminal and the terminal iidentification of the next-hop terminal are formed the second routing information by the terminal iidentification for obtaining the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access.Control node according to the terminal iidentification of the transit terminal,
The second routing information is sent to the transit terminal.The transit terminal receives the second routing information that control node is sent, and according to the second routing information, the D2D data from source terminal of upper hop terminal transmission are received, and according to the terminal iidentification of the next-hop terminal, down hop terminal sends the D2D data from source terminal.
For each transit terminal, if corresponding second routing information of the transit terminal include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transit terminal terminal iidentification, then control node is according to the terminal iidentification of the transit terminal, the terminal iidentification of the next-hop terminal and the terminal iidentification of purpose terminal are formed the second routing information by the terminal iidentification for obtaining the terminal iidentification of the next-hop terminal of the transit terminal and purpose terminal in the first D2D access.Control node sends the second routing information to the transit terminal according to the terminal iidentification of the transit terminal.The transit terminal receives the second routing information that control node is sent.The transit terminal receives the D2D data from source terminal, according to the terminal iidentification and the second routing information of the purpose terminal that the D2D data carry, the terminal iidentification of next-hop terminal is identified from the second routing information, according to the terminal iidentification of the next-hop terminal, the D2D data from source terminal are sent to the next-hop terminal.
In embodiments of the present invention, control node receives the transmission request that source terminal is sent, when requesting the channel quality for the D2D link for determining that source terminal and purpose terminal are connected directly to be unsatisfactory for preset quality condition according to the transmission, according to the terminal iidentification of the terminal iidentification of source terminal and purpose terminal, the first D2D access of one article of transit terminal Jing Guo multi-hop D2D terminal is determined, so that control node can enable source terminal send D2D data to purpose terminal by the multi-hop D2D terminal that surrounding participates in Route Selection.Since the channel quality of the first D2D access meets preset quality condition, therefore, the channel quality that source terminal and transit terminal send D2D data to purpose terminal by the first D2D access is preferable, and the communication quality of D2D data is sent so as to improve source terminal to purpose terminal.
The embodiment of the invention provides a kind of method for sending data, this method can be realized by source terminal, referring to fig. 2, wherein this method comprises:
Step 201: source terminal sends transmission request to control node, and transmission request carries the terminal iidentification of source terminal and the terminal iidentification of the purpose terminal communicated with source terminal;
Source terminal is single-hop D2D terminal, single-hop D2D terminal refers to the D2D terminal that cannot participate in Route Selection, namely single-hop D2D terminal can not forward the D2D data of other D2D terminals as transit terminal, also the D2D data that other transit terminals forward oneself can not be directly selected, because when source terminal needs to send D2D data to purpose terminal every time, source terminal sends transmission request to control node, and transmission request can be used for triggering control node and be unsatisfactory in the channel quality for determining D2D link that source terminal is connected directly with purpose terminal
When preset quality condition, determine that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, first D2D access includes source terminal, at least one transit terminal and purpose terminal, and transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal.
Source terminal can have the terminal for sending data function to be any, for example, source terminal can be for the mobile phone or tablet computer etc. for sending data function;Purpose terminal can have the terminal for receiving data function to be any, for example, purpose terminal can be for the mobile phone or tablet computer etc. for receiving data function;And purpose terminal can be single-hop D2D terminal, or multi-hop D2D terminal;Multi-hop D2D terminal is the D2D terminal for referring to participate in Route Selection.
Further, control node obtains the first path information of the first D2D access, sends first path information to source terminal.
Step 202: source terminal receives the first path information for the first D2D access that control node is sent;
Wherein, first path information includes the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access.
Step 203: the terminal iidentification for the next-hop transit terminal that source terminal includes according to first path information sends D2D data to the next-hop transit terminal.
The next-hop transit terminal receives the D2D data that source terminal is sent, and obtain the terminal iidentification of the next-hop terminal of the next-hop transit terminal in the first channel D2D, according to the terminal iidentification of the next-hop terminal of the next-hop transit terminal, the D2D data from source terminal are sent to the next-hop terminal of the next-hop transit terminal, give the D2D data forwarding to purpose terminal.
In embodiments of the present invention, when source terminal needs to send D2D data to purpose terminal, source terminal sends transmission request to control node, to trigger control node when determining source terminal and the channel quality of D2D link that purpose terminal is connected directly is unsatisfactory for preset quality condition, determine one article of source terminal to the first D2D access between purpose terminal and Jing Guo transit terminal, source terminal sends D2D data to purpose terminal by the first D2D access, to which the multi-hop D2D terminal that source terminal can participate in Route Selection by surrounding sends D2D data to purpose terminal, and the channel quality of the first D2D access meets preset quality condition, therefore, source terminal is preferable by the channel quality that the first D2D access sends D2D data to purpose terminal, it is sent out so as to improve source terminal to purpose terminal Send the communication quality of D2D data.
The embodiment of the invention provides a kind of methods for sending data, and this method can be realized by transit terminal, referring to Fig. 3, wherein this method comprises:
Step 301: transit terminal receives the second routing information of the first D2D access that control node is sent, first D2D access is the D2D access that source terminal meets preset quality condition to the channel quality between the purpose terminal communicated with source terminal, and transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal;
Control node receives the transmission request that source terminal is sent, and determine that the channel quality for the D2D link that source terminal and purpose terminal are connected directly is unsatisfactory for preset quality condition, control node is according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal at this time, it determines that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, includes at least one transit terminal in the first D2D access.
Control node obtains the second routing information of each transit terminal at least one transit terminal, according to the terminal iidentification of each transit terminal, sends the second routing information to each transit terminal;Each transit terminal receives the second routing information that control node is sent.
Wherein, the second routing information of each transit terminal includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access;Or the second routing information of each transit terminal include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transit terminal terminal iidentification.
Step 302: transit terminal receives the D2D data from source terminal, and source terminal is single-hop D2D terminal;
If the upper hop terminal of the transit terminal is source terminal in the first D2D access, this step can be with are as follows: transit terminal receives the D2D data that source terminal is sent.
If the upper hop terminal of the transit terminal is transit terminal in the first D2D access, this step can be with are as follows: transit terminal receives the D2D data from source terminal that the upper hop terminal of the transit terminal in the first D2D access is sent.
Step 303: transit terminal sends the D2D data from source terminal to the purpose terminal communicated with source terminal according to the second routing information, by the first D2D access.
If the second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access, this step can be with are as follows:
Transit terminal receives the D2D data from source terminal of upper hop terminal transmission, and according to the terminal iidentification of the next-hop terminal, down hop terminal sends the D2D data from source terminal.
If the second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transit terminal terminal iidentification, this step can be with are as follows:
Transit terminal obtains the purpose terminal of D2D data carrying according to the D2D data from source terminal
Terminal iidentification identifies the terminal iidentification of the next-hop terminal according to the terminal iidentification of the purpose terminal and the second routing information from the second routing information, according to the terminal iidentification of the next-hop terminal, sends the D2D data from source terminal to the next-hop terminal.
Further, if the next-hop terminal is purpose terminal, which sends the D2D data from source terminal to purpose terminal;If the next-hop terminal is not purpose terminal, then the transit terminal sends the D2D data from source terminal to the next-hop terminal, the next-hop terminal sends the D2D data from source terminal to the next-hop terminal of the next-hop terminal, until the D2D data are sent to purpose terminal.
In embodiments of the present invention, transit terminal receives the second routing information of the first D2D access that control node is sent, first D2D access is the D2D access that channel quality meets preset quality condition, to which transit terminal can help source terminal to send the D2D data from source terminal to purpose terminal, since the channel quality of the first D2D access is preferable, therefore, the D2D data from source terminal are sent to purpose terminal by the D2D access, the communication quality of D2D data is sent so as to improve source terminal to purpose terminal.
The embodiment of the invention provides a kind of method for sending D2D data, this method can be realized by purpose terminal, referring to fig. 4, wherein this method comprises:
Step 401: when the channel quality that control node determines source terminal to the device-to-device D2D link being connected directly between the purpose terminal communicated with source terminal is unsatisfactory for preset quality condition, and when determining that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, purpose terminal receives the D2D data from source terminal that transit terminal is sent, source terminal is single-hop D2D terminal, transit terminal is multi-hop D2D terminal, and transit terminal is the upper hop terminal of the purpose terminal in the first D2D access.
In embodiments of the present invention, purpose terminal receives the D2D data that transit terminal is sent, transit terminal is the upper hop terminal of the purpose terminal in the first D2D access, the channel quality of first D2D access meets preset quality condition, therefore, purpose terminal receives the D2D data from source terminal of transit terminal transmission, and the communication quality for receiving the D2D data from source terminal can be improved.
The embodiment of the invention provides a kind of methods for sending data, referring to Fig. 5-1 and Fig. 5-2, wherein this method comprises:
Step 501: source terminal sends transmission request to control node, and transmission request carries the terminal iidentification of source terminal and the terminal iidentification of the purpose terminal communicated with source terminal;
Source terminal is single-hop D2D terminal, and single-hop D2D terminal refers to that the D2D that cannot participate in Route Selection is whole
End, namely single-hop D2D terminal can not forward the D2D data of other D2D terminals as transit terminal, also the D2D data that other transit terminals forward oneself can not be directly selected, when source terminal needs to send data to purpose terminal every time, source terminal sends transmission request to control node, and transmission request carries the terminal iidentification of source terminal and the terminal iidentification of purpose terminal;The data can be voice, picture or video etc..Purpose terminal can be single-hop D2D terminal, or multi-hop D2D terminal;Multi-hop D2D terminal is the D2D terminal for referring to participate in Route Selection.
Wherein, the terminal iidentification of source terminal and the terminal iidentification of purpose terminal can be at least carried in transmission request, source terminal there can be the terminal for sending data function to be any, for example, source terminal can be for the mobile phone or tablet computer etc. for sending data function;Purpose terminal can have the terminal for receiving data function to be any, for example, purpose terminal can be for the mobile phone or tablet computer etc. for receiving data function.The terminal iidentification of source terminal can be globally unique identifier (the Globally Unique Identifier of source terminal, GUID the telephone number etc. of client identification module (Subscriber Identity Module, the SIM) card) or in source terminal;The terminal iidentification of purpose terminal can be an expression code associated with purpose terminal, for example, the terminal iidentification of purpose terminal can be expression code associated with the telephone number of SIM card in the GUID of purpose terminal or purpose terminal etc..
Step 502: control node receives the transmission request that source terminal is sent, and according to the terminal iidentification of the terminal iidentification of source terminal and purpose terminal, determines that the channel quality for the D2D link that source terminal and purpose terminal are connected directly is unsatisfactory for preset quality condition;
This step and above step 102 are identical, and details are not described herein.
Step 503: control node determines that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal;
This step and 103 identical, details are not described herein.
Step 504: control node sends the first path information of the first D2D access to source terminal;
Control node is according to the first D2D access, obtain the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access, the terminal iidentification of the next-hop transit terminal is formed into first path information, according to the terminal iidentification of source terminal, sends first path information to source terminal.
For example, source terminal is first terminal, purpose terminal is second terminal, and transit terminal is third terminal;Then the first D2D access is first terminal-third terminal-second terminal;Then first path information includes the terminal iidentification of the next-hop terminal of first terminal: the terminal iidentification of third terminal, as shown in table 1:
Table 1
Receive the terminal iidentification of the terminal of first path information | The terminal iidentification of next-hop terminal |
The terminal iidentification of first terminal | The terminal iidentification of third terminal |
Step 505: source terminal receives the first path information for the first D2D access that control node is sent;
Further, control node obtains the number for the transit terminal for including in the first D2D access;If only including a transit terminal in the first D2D access, 506a is thened follow the steps;If including multiple transit terminals in the first D2D access, 506b is thened follow the steps.
Step 506a: control node sends the second routing information of the first D2D access to transit terminal;
Second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access;Alternatively, the second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transfer terminal iidentification.
If the second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access, then the terminal iidentification of source terminal and the terminal iidentification of purpose terminal are formed the second routing information by control node, according to the terminal iidentification of the transit terminal, the second routing information is sent to the transit terminal, executes step 507a.
For example, source terminal is first terminal, purpose terminal is second terminal, and transit terminal is third terminal, then the first D2D access is first terminal-third terminal-second terminal;Then the second routing information includes the terminal iidentification of the upper hop terminal of third terminal: the terminal iidentification of the next-hop terminal of the terminal iidentification and third terminal of first terminal: the terminal iidentification of second terminal, as shown in table 2;
Table 2
If the second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transfer terminal iidentification, then the terminal iidentification of purpose terminal and the terminal iidentification of purpose terminal are formed the second routing information by control node, according to the terminal iidentification of the transit terminal, the second routing information is sent to the transit terminal, executes step 507a.
For example, source terminal is first terminal, purpose terminal is second terminal, and transit terminal is third terminal, then the first D2D access is first terminal-third terminal-second terminal;Second routing information includes the terminal iidentification of purpose terminal: the terminal iidentification of second terminal, the terminal iidentification of the next-hop terminal of third terminal in mono- D2D access of He: the terminal iidentification of second terminal, as shown in table 3;
Table 3
Step 506b: each transit terminal of the control node into multiple transit terminals sends the second routing information of the first D2D access;
If the second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access, then for each transit terminal, control node is according to the terminal iidentification of the transit terminal, the terminal iidentification of the upper hop terminal of the transit terminal and the terminal iidentification of next-hop terminal are obtained from the first D2D access, the terminal iidentification of the upper hop terminal and the terminal iidentification of the next-hop terminal are formed into the second routing information, according to the terminal iidentification of the transit terminal, the second routing information is sent to the transit terminal, execute step 507b.
For example, source terminal is first terminal, purpose terminal is second terminal, and transit terminal is third terminal and the 4th terminal;Then the first D2D access is first terminal-four terminals of third terminal-the-second terminal;Second routing information of third terminal includes the terminal iidentification of the upper hop terminal of third terminal in the first D2D access: the terminal iidentification of first terminal and the terminal iidentification of next-hop terminal: the terminal iidentification of the 4th terminal, as shown in table 4;Second routing information of the 4th terminal includes the terminal iidentification of the upper hop terminal of the 4th terminal in the first D2D access: the terminal iidentification of third terminal and the terminal iidentification of next-hop terminal: the terminal iidentification of second terminal, as shown in table 5;
Table 4
Table 5
If the second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transfer terminal iidentification, then for each transit terminal, control node is according to the mark of the transit terminal, the terminal iidentification of the next-hop terminal of the transit terminal is obtained from the first D2D access, the terminal iidentification of purpose terminal and the terminal iidentification of the next-hop terminal are formed into the second routing information, according to the terminal iidentification of the transit terminal, the second routing information is sent to the transit terminal, executes step 507b.
For example, source terminal is first terminal, purpose terminal is second terminal, and transit terminal is third terminal and the 4th terminal;Then the first D2D access is first terminal-four terminals of third terminal-the-second terminal;Second routing information of third terminal includes the terminal iidentification of purpose terminal: the terminal iidentification of second terminal, the terminal iidentification of the next-hop terminal of third terminal in mono- D2D access of He: the terminal iidentification of the 4th terminal, as shown in table 6;Second routing information of the 4th terminal includes the terminal iidentification of purpose terminal: the terminal iidentification of second terminal, the terminal iidentification of the next-hop terminal of second terminal in mono- D2D access of He: the terminal iidentification of second terminal, as shown in table 7;
Table 6
Table 7
Step 507a: transit terminal receives the second routing information of the first D2D access that control node is sent;
For example, third terminal receives the second routing information that control node is sent, the second routing information includes the terminal iidentification of first terminal and the terminal iidentification of second terminal;Alternatively, the second routing information includes the terminal iidentification of second terminal and the terminal iidentification of second terminal.
Step 507b: each transit terminal receives the second routing information of the first D2D access that control node is sent;
For example, third terminal receives the second routing information that control node is sent, the second routing information includes the terminal iidentification of first terminal and the terminal iidentification of the 4th terminal;Or second routing information include the terminal iidentification of second terminal and the terminal iidentification of the 4th terminal.And the 4th terminal receive control node send the second routing information, the second routing information includes the terminal iidentification of third terminal and the terminal iidentification of second terminal;Or second routing information include the terminal iidentification of second terminal and the terminal iidentification of second terminal.
Step 508: source terminal sends D2D data to the next-hop transit terminal according to the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access;
Source terminal establishes connection with the next-hop transit terminal according to the terminal iidentification of the next-hop transit terminal, sends the D2D data to the next-hop transit terminal by the connection.
For example, the first D2D access is first terminal-third terminal-second terminal or first terminal-four terminals of third terminal-the-second terminal, then this step can be with are as follows:
First terminal establishes connection with third terminal according to the terminal iidentification of third terminal, sends D2D data to third terminal by the connection.
Step 509: transit terminal receives the D2D data from source terminal, and sends the D2D data from source terminal to purpose terminal according to the second routing information.
If the upper hop terminal of the transit terminal is source terminal in the first D2D access, which receives the D2D data that source terminal is sent;If the upper hop terminal of the transit terminal is not source terminal in the first D2D access, which receives the D2D data from source terminal of upper hop terminal transmission.
If the second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access, then the second routing information obtains the terminal iidentification of the upper hop terminal and the terminal iidentification of the next-hop terminal for the transit terminal, and when receiving the D2D data from source terminal of upper hop terminal transmission, according to the terminal iidentification of the next-hop terminal, the D2D data from source terminal are forwarded to the next-hop terminal.
If the second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transit terminal terminal iidentification, then the second routing information obtains the terminal iidentification of the purpose terminal and the terminal iidentification of the next-hop terminal for the transit terminal, and when receiving D2D data, according to the terminal iidentification for the purpose terminal that the D2D data carry, the terminal iidentification of the next-hop terminal is obtained from the second routing information, according to the terminal iidentification of the next-hop terminal, the D2D from source terminal is forwarded to the next-hop terminal
Data.
If the next-hop terminal of the transit terminal is purpose terminal in the first D2D access, this step can be with are as follows: transit terminal receives the D2D data from source terminal, sends the D2D data from source terminal to purpose terminal.
For example, third terminal, which receives the D2D data that first terminal is sent, establishes connection with second terminal according to the terminal iidentification of second terminal, which is forwarded to second terminal by the connection.
If the next-hop terminal of the transit terminal is not purpose terminal in the first D2D access, then this step can be with are as follows: transit terminal receives the D2D data from source terminal, the D2D data from source terminal are sent to the next-hop terminal, the next-hop terminal receives the D2D data in institute of transit terminal transmission, and according to the second routing information of the next-hop terminal, obtain the terminal iidentification of the next-hop terminal of the next-hop terminal, according to the terminal iidentification of the next-hop terminal of the next-hop terminal, the D2D data are forwarded to the next-hop terminal of the next-hop terminal, until giving the D2D data forwarding to purpose terminal.
For another example, the D2D data that third terminal receives that first terminal is sent establish connection with the 4th terminal according to the terminal iidentification of the 4th terminal, forward the D2D data to the 4th terminal by the connection;4th terminal receives the D2D data of third terminal forwarding by the connection, and according to the terminal iidentification of second terminal, establishes connection with second terminal, forward the D2D data to second terminal by the connection between second terminal.
In embodiments of the present invention, when the channel quality for the D2D link being connected directly between source terminal and purpose terminal is poor, source terminal can have the transit terminal of multi-hop ability to assist to send D2D data to purpose terminal by surrounding, it establishes one and passes through transit terminal and the preferable D2D access of channel quality, D2D data are sent to purpose terminal by the D2D access, the communication quality of D2D data is sent so as to improve source terminal to purpose terminal.
The embodiment of the invention provides a kind of control nodes, for executing the step of control node in above embodiments executes;Referring to Fig. 6, wherein the control node includes:
First receiving module 601, for receiving the transmission request of source terminal transmission, transmission request carries the terminal iidentification of source terminal and the terminal iidentification of the purpose terminal communicated with source terminal, and source terminal is single-hop D2D terminal;
Wherein, single-hop D2D terminal refers to the D2D terminal that cannot participate in Route Selection, and therefore, source terminal cannot participate in Route Selection, and when source terminal needs to send D2D data to purpose terminal every time, source terminal sends transmission request to the first receiving module 601;First receiving module 601 receives the transmission request that source terminal is sent, and transmission request carries the terminal iidentification of source terminal and the terminal iidentification of purpose terminal.
Purpose terminal can be single-hop D2D terminal, or multi-hop D2D terminal;Multi-hop D2D terminal is the D2D terminal for referring to participate in Route Selection.
First determining module 602, for determining that the channel quality for the D2D link that source terminal and purpose terminal are connected directly is unsatisfactory for preset quality condition according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal;
Second determining module 603, for according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal, determine that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, it include at least one transit terminal in first D2D access, transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal;
If the channel quality of source terminal to the D2D link that purpose terminal is connected directly is unsatisfactory for preset quality condition, then the second determining module 603 can select a channel quality to be higher than the channel quality for the D2D link that source terminal is connected directly to purpose terminal from least one the 2nd D2D access and be higher than the 2nd D2D access of the channel quality of cellular link, using the 2nd D2D access selected as the first D2D access.
It include source terminal, purpose terminal and at least one transit terminal in first D2D access, and the first D2D access sends D2D data to purpose terminal by the first D2D access for source terminal.
First sending module 604, the routing information of the first D2D access is sent for the terminal into the first D2D access in addition to purpose terminal, which sends D2D data to the purpose terminal by the first D2D access for the terminal.
Further, if the channel quality of cellular link is higher than the channel quality in the channel D2D and is higher than the channel quality of every the 2nd D2D access, then the first sending module 604 is also used to select cellular link, and source terminal sends cellular data to purpose terminal by cellular link.
Further, routing information includes first path information, and first path information includes the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access;
First sending module 604, specifically for sending the first path information of the first D2D access to source terminal, first path information sends D2D data for source terminal down hop transit terminal.
Further, routing information includes the second routing information, second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the first transit terminal and next-hop terminal in the first D2D access, or, second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the first transit terminal terminal iidentification, the first transit terminal is any transit terminal in the first D2D access;
First sending module 604, specifically for sending the second routing information of the first D2D access to the first transit terminal, the second routing information is for the first transit terminal after receiving the D2D data that upper hop terminal is sent
Down hop terminal forwards D2D data, alternatively, the second routing information is used for the first transit terminal when receiving the D2D data from source terminal, is identified according to the purpose terminal that D2D data carry, down hop terminal forwards D2D data.
First determining module 602, specifically for according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal, determine the D2D link that source terminal is connected directly to purpose terminal, cellular link and at least one the 2nd D2D access, obtain the channel quality for the D2D link that source terminal is connected directly to purpose terminal, the channel quality of the channel quality of cellular link and every the 2nd D2D access at least one the 2nd D2D access forms channel quality set, it is not the maximum channel quality in channel quality set in the channel quality for the D2D link that source terminal to purpose terminal is connected directly, determine that the channel quality for the D2D link that source terminal is connected directly to purpose terminal is unsatisfactory for preset quality condition.
Second determining module 603, specifically for selecting a channel quality to be higher than the channel quality for the D2D link being connected directly between source terminal and purpose terminal and the 2nd D2D access of the channel quality higher than cellular link from least one the 2nd D2D access, the 2nd D2D access for that will select is as the first D2D access.
In embodiments of the present invention, control node receives the transmission request that source terminal is sent, when requesting the channel quality for the D2D link for determining that source terminal and purpose terminal are connected directly to be unsatisfactory for preset quality condition according to the transmission, according to the terminal iidentification of the terminal iidentification of source terminal and purpose terminal, the first D2D access of one article of transit terminal Jing Guo multi-hop D2D terminal is determined, so that control node can enable source terminal send D2D data to purpose terminal by the multi-hop D2D terminal that surrounding participates in Route Selection;Control node sends the routing information in the first path D2D to source terminal and transit terminal, and source terminal and purpose terminal send the D2D data to purpose terminal by the first D2D access according to the routing information.Since the channel quality of the first D2D access meets preset quality condition, therefore, the channel quality that source terminal and transit terminal send D2D data to purpose terminal by the first D2D access is preferable, and the communication quality of D2D data is sent so as to improve source terminal to purpose terminal.
The embodiment of the invention provides a kind of terminals, for executing the step of source terminal in above embodiments executes;Referring to Fig. 7, wherein the terminal includes:
Second sending module 701, for sending transmission request to control node, transmission request carries the terminal iidentification of source terminal and the terminal iidentification of the purpose terminal communicated with source terminal, source terminal is single-hop D2D terminal, for triggering control node when determining source terminal and the channel quality of D2D link that purpose terminal is connected directly is unsatisfactory for preset quality condition, determine that source terminal meets preset quality condition to the channel quality between purpose terminal
The first D2D access, the first D2D access includes at least one transit terminal, and transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal;
Source terminal is single-hop D2D terminal, and single-hop D2D terminal refers to the D2D terminal that cannot participate in Route Selection;Therefore, source terminal cannot participate in Route Selection, when source terminal needs to send D2D data to purpose terminal every time, source terminal sends transmission request to control node by the second sending module 701, transmission request is for triggering control node when determining source terminal and the channel quality of D2D link that purpose terminal is connected directly is unsatisfactory for preset quality condition, determine that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, first D2D access includes source terminal, purpose terminal and at least one transit terminal, transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal.
Further, control node obtains the first path information of the first D2D access, sends first path information to source terminal.
Second receiving module 702, the first path information of the first D2D access for receiving control node transmission, first path information includes the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access;
Third sending module 703, for the terminal iidentification according to next-hop transit terminal, down hop transit terminal sends D2D data, forwards D2D data to purpose terminal for triggering next-hop transit terminal.
Further, the next-hop transit terminal receives the D2D data that source terminal is sent, and obtain the terminal iidentification of the next-hop terminal of the next-hop transit terminal in the first channel D2D, according to the terminal iidentification of the next-hop terminal of the next-hop transit terminal, the D2D data from source terminal are sent to the next-hop terminal of the next-hop transit terminal, give the D2D data forwarding to purpose terminal.
In embodiments of the present invention, when source terminal needs to send D2D data to purpose terminal, source terminal sends transmission request to control node, to trigger control node when determining source terminal and the channel quality of D2D link that purpose terminal is connected directly is unsatisfactory for preset quality condition, determine one article of source terminal to the first D2D access between purpose terminal and Jing Guo transit terminal, source terminal sends D2D data to purpose terminal by the first D2D access, to which the multi-hop D2D terminal that source terminal can participate in Route Selection by surrounding sends D2D data to purpose terminal, and the channel quality of the first D2D access meets preset quality condition, therefore, source terminal is preferable by the channel quality that the first D2D access sends D2D data to purpose terminal, it is sent out so as to improve source terminal to purpose terminal Send the communication quality of D2D data.
The embodiment of the invention provides a kind of terminals, for executing the step of transit terminal in above embodiments executes;Referring to Fig. 8, wherein the terminal includes:
Third receiving module 801, for receiving the second routing information of the first D2D access of control node transmission, first D2D access is the D2D access that source terminal meets preset quality condition to the channel quality between the purpose terminal communicated with source terminal, and transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal;
Control node receives the transmission request that source terminal is sent, and determine that the channel quality for the D2D link that source terminal and purpose terminal are connected directly is unsatisfactory for preset quality condition, control node is according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal at this time, it determines that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, includes at least one transit terminal in the first D2D access.
Control node obtains the second routing information of each transit terminal at least one transit terminal, and according to the terminal iidentification of each transit terminal, the third receiving module 801 for including to each transit terminal sends the second routing information;The third receiving module 801 that each transit terminal includes receives the second routing information that control node is sent.
Wherein, the second routing information of each transit terminal includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the transit terminal and next-hop terminal in the first D2D access;Or the second routing information of each transit terminal include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the transit terminal terminal iidentification.
4th receiving module 802, for receiving the D2D data from source terminal, source terminal is single-hop D2D terminal;
4th sending module 803, for sending the D2D data from source terminal to the purpose terminal communicated with source terminal by the first D2D access according to the second routing information.
Further, the 4th receiving module 802 receives the D2D data of source terminal transmission if the upper hop terminal specifically for the transit terminal in the first D2D access is source terminal;Alternatively,
4th receiving module 802, if the upper hop terminal specifically for the transit terminal in the first D2D access is transit terminal, receive the transmission of upper hop terminal comes from source terminal D2D data.
Further, the second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of transit terminal and next-hop terminal in the first D2D access;
4th sending module 803, specifically for the terminal iidentification according to next-hop terminal, down hop terminal forwards D2D data.
Further, the second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of transit terminal terminal iidentification;
4th sending module 803 identifies the terminal iidentification of next-hop terminal specifically for the terminal iidentification and the second routing information of the purpose terminal carried according to D2D data, and according to the terminal iidentification of next-hop terminal, down hop terminal forwards D2D data.
In embodiments of the present invention, transit terminal receives the second routing information of the first D2D access that control node is sent, first D2D access is the D2D access that channel quality meets preset quality condition, to which transit terminal can help source terminal to send the D2D data from source terminal to purpose terminal, since the channel quality of the first D2D access is preferable, therefore, the D2D data from source terminal are sent to purpose terminal by the D2D access, the communication quality of D2D data is sent so as to improve source terminal to purpose terminal.
The embodiment of the invention provides a kind of terminals, for executing the step of purpose terminal in above embodiments executes;Referring to Fig. 9, wherein the terminal includes:
5th receiving module 901, when channel quality for determining source terminal to the device-to-device D2D link being connected directly between the purpose terminal communicated with source terminal in control node is unsatisfactory for preset quality condition, and when determining that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, receive the D2D data from source terminal that transit terminal is sent, source terminal is single-hop D2D terminal, transit terminal is multi-hop D2D terminal, and transit terminal is the upper hop terminal of the purpose terminal in the first D2D access.
In embodiments of the present invention, purpose terminal receives the D2D data that transit terminal is sent, transit terminal is the upper hop terminal of the purpose terminal in the first D2D access, the channel quality of first D2D access meets preset quality condition, therefore, purpose terminal receives the D2D data from source terminal of transit terminal transmission, and the communication quality for receiving the D2D data from source terminal can be improved.
The embodiment of the invention provides a kind of control nodes, for executing the step of control node in above embodiments executes;Referring to Figure 10, wherein the control node includes: the first receiver 1001, first processor 1002 and first transmitter 1003;
First receiver 1001, for receiving the transmission request of source terminal transmission, transmission request carries the terminal iidentification of source terminal and the terminal iidentification of the purpose terminal communicated with source terminal, and source terminal is single-hop D2D terminal;
First processor 1002, for determining that the channel quality for the D2D link that source terminal and purpose terminal are connected directly is unsatisfactory for preset quality condition according to the terminal iidentification of source terminal and the terminal iidentification of purpose terminal;
First processor 1002 is also used to the terminal iidentification of the terminal iidentification and purpose terminal according to source terminal, determines that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, the
It include at least one transit terminal in one D2D access, transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal;
First transmitter 1003, the routing information of the first D2D access is sent for the terminal into the first D2D access in addition to purpose terminal, and the routing information sends D2D data to the purpose terminal by the first D2D access for the terminal.
Further, routing information includes first path information, and first path information includes the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access;
First transmitter 1003, is also used to send the first path information of the first D2D access to source terminal, and first path information sends D2D data for source terminal down hop transit terminal.
Further, routing information includes the second routing information, second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the first transit terminal and next-hop terminal in the first D2D access, or, second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of the first transit terminal terminal iidentification, the first transit terminal is any transit terminal in the first D2D access;
First transmitter 1003, it is also used to send the second routing information of the first D2D access to the first transit terminal, for the first transit terminal, the down hop terminal after receiving the D2D data that upper hop terminal is sent forwards D2D data to second routing information, or, second routing information is for the first transit terminal when receiving the D2D data from source terminal, the purpose terminal mark carried according to D2D data, down hop terminal forward D2D data.
First processor 1002 is also used to the terminal iidentification of the terminal iidentification and purpose terminal according to source terminal, determines D2D link, cellular link and at least one the 2nd D2D access that source terminal is connected directly to purpose terminal;Obtain the channel quality composition channel quality set of the channel quality of D2D link, the channel quality of cellular link and every the 2nd D2D access at least one the 2nd D2D access that source terminal is connected directly to purpose terminal, it is not the maximum channel quality in channel quality set in the channel quality that source terminal to purpose terminal is connected directly, determines that the channel quality for the D2D link that source terminal is connected directly to purpose terminal is unsatisfactory for preset quality condition.
First processor 1002,2nd D2D access of the channel quality and the channel quality higher than cellular link that are also used to that a channel quality is selected to be higher than the D2D link being connected directly between source terminal and purpose terminal from least one the 2nd D2D access, using the 2nd D2D access selected as the first D2D access.
In embodiments of the present invention, control node receives the transmission request that source terminal is sent, and requests the channel quality for the D2D link for determining that source terminal and purpose terminal are connected directly to be unsatisfactory for preset quality condition according to the transmission
When, according to the terminal iidentification of the terminal iidentification of source terminal and purpose terminal, the first D2D access of one article of transit terminal Jing Guo multi-hop D2D terminal is determined, so that control node can enable source terminal send D2D data to purpose terminal by the multi-hop D2D terminal that surrounding participates in Route Selection;Control node sends the routing information in the first path D2D to source terminal and transit terminal, and source terminal and purpose terminal send the D2D data to purpose terminal by the first D2D access according to the routing information.Since the channel quality of the first D2D access meets preset quality condition, therefore, the channel quality that source terminal and transit terminal send D2D data to purpose terminal by the first D2D access is preferable, and the communication quality of D2D data is sent so as to improve source terminal to purpose terminal.
The embodiment of the invention provides a kind of terminals, for executing the step of source terminal in above embodiments executes;Referring to Figure 11, wherein terminal includes: second transmitter 1101 and second receiver 1102;
Second transmitter 1101, for sending transmission request to control node, transmission request carries the terminal iidentification of source terminal and the terminal iidentification of the purpose terminal communicated with source terminal, source terminal is single-hop D2D terminal, for triggering control node when determining source terminal and the channel quality of D2D link that purpose terminal is connected directly is unsatisfactory for preset quality condition, determine that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, first D2D access includes at least one transit terminal, transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal;
Second receiver 1102, the first path information of the first D2D access for receiving control node transmission, first path information includes the terminal iidentification of the next-hop transit terminal of source terminal in the first D2D access;
Second transmitter 1101 is also used to the terminal iidentification according to next-hop transit terminal, and down hop transit terminal sends D2D data, forwards D2D data to purpose terminal for triggering next-hop transit terminal.
In embodiments of the present invention, when source terminal needs to send D2D data to purpose terminal, source terminal sends transmission request to control node, to trigger control node when determining source terminal and the channel quality of D2D link that purpose terminal is connected directly is unsatisfactory for preset quality condition, determine one article of source terminal to the first D2D access between purpose terminal and Jing Guo transit terminal, source terminal sends D2D data to purpose terminal by the first D2D access, to which the multi-hop D2D terminal that source terminal can participate in Route Selection by surrounding sends D2D data to purpose terminal, and the channel quality of the first D2D access meets preset quality condition, therefore, source terminal is preferable by the channel quality that the first D2D access sends D2D data to purpose terminal, it is sent out so as to improve source terminal to purpose terminal Send the communication quality of D2D data.
The embodiment of the invention provides a kind of terminals, for executing the step of transit terminal in above embodiments executes;Referring to Figure 12, wherein the terminal includes: third receiver 1201 and third transmitter 1202;
Third receiver 1201, for receiving the second routing information of the first D2D access of control node transmission, first D2D access is the D2D access that source terminal meets preset quality condition to the channel quality between the purpose terminal communicated with source terminal, and transit terminal is any multi-hop D2D terminal in the first D2D access in addition to source terminal and purpose terminal;
Third receiver 1201, is also used to receive the D2D data from source terminal, and source terminal is single-hop D2D terminal;
Third transmitter 1202, for sending the D2D data from source terminal to the purpose terminal communicated with source terminal by the first D2D access according to the second routing information.
Further, third receiver 1201 receives the D2D data of source terminal transmission if the upper hop terminal for being also used to the transit terminal in the first D2D access is source terminal;Alternatively,
Third receiver 1201, if the upper hop terminal for being also used to the transit terminal in the first D2D access is transit terminal, receive the transmission of upper hop terminal comes from source terminal D2D data.
Further, the second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of transit terminal and next-hop terminal in the first D2D access;
Third transmitter 1202, is also used to the terminal iidentification according to next-hop terminal, and down hop terminal forwards D2D data.
Further, the second routing information include the terminal iidentification of purpose terminal and in the first D2D access the next-hop terminal of transit terminal terminal iidentification;
Third transmitter 1202, the terminal iidentification and the second routing information of the purpose terminal for being also used to be carried according to D2D data identify the terminal iidentification of next-hop terminal;
Third transmitter 1202, is also used to the terminal iidentification according to next-hop terminal, and down hop terminal forwards D2D data.
In embodiments of the present invention, transit terminal receives the second routing information of the first D2D access that control node is sent, first D2D access is the D2D access that channel quality meets preset quality condition, to which transit terminal can help source terminal to send the D2D data from source terminal to purpose terminal, since the channel quality of the first D2D access is preferable, therefore, the D2D data from source terminal are sent to purpose terminal by the D2D access, the communication quality of D2D data is sent so as to improve source terminal to purpose terminal.
The embodiment of the invention provides a kind of terminals, for executing the step of purpose terminal in above embodiments executes;Referring to Figure 13, wherein terminal includes: the 4th receiver 1301;
4th receiver 1301, when channel quality for determining source terminal to the device-to-device D2D link being connected directly between the purpose terminal communicated with source terminal in control node is unsatisfactory for preset quality condition, and when determining that source terminal meets the first D2D access of preset quality condition to the channel quality between purpose terminal, receive the D2D data from source terminal that transit terminal is sent, source terminal is single-hop D2D terminal, transit terminal is multi-hop D2D terminal, and transit terminal is the upper hop terminal of the purpose terminal in the first D2D access.
In embodiments of the present invention, purpose terminal receives the D2D data that transit terminal is sent, transit terminal is the upper hop terminal of the purpose terminal in the first D2D access, the channel quality of first D2D access meets preset quality condition, therefore, purpose terminal receives the D2D data from source terminal of transit terminal transmission, and the communication quality for receiving the D2D data from source terminal can be improved.
It should be understood that the device provided by the above embodiment for sending and receiving data is when sending and receiving data, only the example of the division of the above functional modules, in practical application, it can according to need and be completed by different functional modules above-mentioned function distribution, the internal structure of device is divided into different functional modules, to complete all or part of the functions described above.In addition, the device provided by the above embodiment for sending and receiving data belongs to same design with the embodiment of the method for sending and receiving data, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment may be implemented by hardware, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer readable storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, and all within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (22)
- A method of sending data, which is characterized in that the described method includes:Control node receives the transmission request that source terminal is sent, and the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, and the source terminal is single-hop device-to-device D2D terminal;The control node determines that the channel quality for the D2D link that the source terminal and the purpose terminal are connected directly is unsatisfactory for preset quality condition according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal;The control node is according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, it include at least one transit terminal in the first D2D access, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;Terminal of the control node into the first D2D access in addition to the purpose terminal sends the routing information of the first D2D access, and the routing information sends D2D data to the purpose terminal by the first D2D access for the terminal.
- The method as described in claim 1, which is characterized in that the routing information includes first path information, and the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;Terminal of the control node into the first D2D access in addition to the purpose terminal sends the routing information of the first D2D access, comprising:The control node sends the first path information of the first D2D access to the source terminal, and the first path information sends the D2D data to the next-hop transit terminal for the source terminal.
- The method as described in claim 1, it is characterized in that, the routing information includes the second routing information, second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the first transit terminal and next-hop terminal in the first D2D access, or, second routing information include the terminal iidentification of the purpose terminal and in the first D2D access next-hop terminal of the first transit terminal terminal iidentification, first transit terminal is any transit terminal in the first D2D access;Terminal of the control node into the first D2D access in addition to the purpose terminal sends the routing information of the first D2D access, comprising:The control node sends the second routing information of the first D2D access to first transit terminal, second routing information forwards the D2D data to the next-hop terminal after receiving the D2D data that the upper hop terminal is sent for first transit terminal, or, second routing information is for first transit terminal when receiving the D2D data from the source terminal, the purpose terminal mark carried according to the D2D data, Xiang Suoshu next-hop terminal forward the D2D data.
- The method as described in claim 1, it is characterized in that, the control node determines that the channel quality for the D2D link that the source terminal and the purpose terminal are connected directly is unsatisfactory for preset quality condition according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, comprising:The control node determines D2D link, cellular link and at least one the 2nd D2D access that the source terminal is connected directly to the purpose terminal according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal;The control node obtains the channel quality composition channel quality set of the channel quality of D2D link, the channel quality of the cellular link and every the 2nd D2D access at least one the 2nd D2D access that the source terminal is connected directly to the purpose terminal;If the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal is not the maximum channel quality in the channel quality set, the control node determines that the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal is unsatisfactory for preset quality condition.
- Method as claimed in claim 4, it is characterized in that, the control node determines that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, comprising:The control node selects a channel quality to be higher than the channel quality for the D2D link being connected directly between the source terminal and the purpose terminal from least one the 2nd D2D access and is higher than the 2nd D2D access of the channel quality of the cellular link;Using the selected 2nd D2D access as the first D2D access.
- A method of sending data, which is characterized in that the described method includes:Source terminal sends transmission request to control node, the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, the source terminal is single-hop device-to-device D2D terminal, for triggering the control node when determining the source terminal and the channel quality of D2D link that the purpose terminal is connected directly is unsatisfactory for preset quality condition, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, the first D2D access includes at least one transit terminal, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;The source terminal receives the first path information for the first D2D access that the control node is sent, and the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;The source terminal is according to the terminal iidentification of the next-hop transit terminal, and Xiang Suoshu next-hop transit terminal sends D2D data, for triggering the next-hop transit terminal to the purpose terminal forwarding D2D data.
- A method of sending data, which is characterized in that the described method includes:Transit terminal receives the second routing information of the first device-to-device D2D access that control node is sent, the first D2D access is the D2D access that source terminal meets preset quality condition to the channel quality between the purpose terminal communicated with the source terminal, and the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;The transit terminal receives the D2D data from source terminal, and the source terminal is single-hop D2D terminal;The transit terminal sends the D2D data from source terminal to the purpose terminal communicated with the source terminal according to second routing information, by the first D2D access.
- The method of claim 7, which is characterized in that the transit terminal receives the D2D data from source terminal, comprising:If the upper hop terminal of the transit terminal described in the first D2D access is source terminal, the transit terminal receives the D2D data that the source terminal is sent;Alternatively,If the upper hop terminal of the transit terminal described in the first D2D access is transit terminal, the transit terminal receive that the upper hop terminal sends from source terminal D2D data.
- The method of claim 7, which is characterized in that second routing information includes the terminal iidentification of the upper hop terminal of the transit terminal described in the first D2D access and the terminal iidentification of next-hop terminal;The transit terminal forwards the D2D data to the purpose terminal communicated with the source terminal according to second routing information, by the first D2D access, comprising:Terminal iidentification of the transit terminal according to the next-hop terminal, the Xiang Suoshu next-hop terminal forwarding D2D data.
- The method of claim 7, which is characterized in that second routing information includes the terminal iidentification of the terminal iidentification of the purpose terminal and the next-hop terminal of the transit terminal described in the first D2D access;The transit terminal forwards the D2D data to the purpose terminal communicated with the source terminal according to second routing information, by the first D2D access, comprising:The terminal iidentification and second routing information for the purpose terminal that the transit terminal is carried according to the D2D data, identify the terminal iidentification of the next-hop terminal;Terminal iidentification of the transit terminal according to the next-hop terminal, the Xiang Suoshu next-hop terminal forwarding D2D data.
- A method of receiving data, which is characterized in that the described method includes:When the channel quality that control node determines source terminal to the device-to-device D2D link being connected directly between the purpose terminal communicated with the source terminal is unsatisfactory for preset quality condition, and when determining that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, the purpose terminal receives the D2D data from the source terminal that transit terminal is sent, the source terminal is single-hop D2D terminal, the transit terminal is multi-hop D2D terminal, and the transit terminal is the upper hop terminal of the purpose terminal described in the first D2D access.
- A kind of control node, which is characterized in that the control node includes:First receiving module, for receiving the transmission request of source terminal transmission, the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, and the source terminal is single-hop device-to-device D2D terminal;First determining module, for determining that the channel quality for the D2D link that the source terminal and the purpose terminal are connected directly is unsatisfactory for preset quality condition according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal;Second determining module, for according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, it include at least one transit terminal in the first D2D access, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;First sending module, the routing information of the first D2D access is sent for the terminal into the first D2D access in addition to the purpose terminal, and the routing information sends D2D data to the purpose terminal by the first D2D access for the terminal.
- Control node as claimed in claim 12, which is characterized in that the routing information includes first path information, and the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;First sending module, specifically for sending the first path information of the first D2D access to the source terminal, the first path information sends the D2D data to the next-hop transit terminal for the source terminal.
- Control node as claimed in claim 12, it is characterized in that, the routing information includes the second routing information, second routing information includes the terminal iidentification of the terminal iidentification of the upper hop terminal of the first transit terminal and next-hop terminal in the first D2D access, or, second routing information include the terminal iidentification of the purpose terminal and in the first D2D access next-hop terminal of the first transit terminal terminal iidentification, first transit terminal is any transit terminal in the first D2D access;First sending module, specifically for sending the second routing information of the first D2D access to first transit terminal, second routing information forwards the D2D data to the next-hop terminal after receiving the D2D data that the upper hop terminal is sent for first transit terminal, or, second routing information is for first transit terminal when receiving the D2D data from the source terminal, the purpose terminal mark carried according to the D2D data, Xiang Suoshu next-hop terminal forward the D2D data.
- Control node as claimed in claim 12, it is characterized in that, first determining module, specifically for according to the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal, determine the D2D link that the source terminal is connected directly to the purpose terminal, cellular link and at least one the 2nd D2D access, obtain the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal, the channel quality of the channel quality of the cellular link and every the 2nd D2D access at least one the 2nd D2D access forms channel quality set, it is not the maximum channel quality in the channel quality set in the channel quality for the D2D link that the source terminal is connected directly to the purpose terminal, determine the channel matter for the D2D link that the source terminal is connected directly to the purpose terminal Amount is unsatisfactory for preset quality condition.
- Control node as claimed in claim 15, it is characterized in that, second determining module, specifically for selecting a channel quality to be higher than the channel quality for the D2D link being connected directly between the source terminal and the purpose terminal and the 2nd D2D access of the channel quality higher than the cellular link from least one the 2nd D2D access, using the selected 2nd D2D access as the first D2D access.
- A kind of terminal, which is characterized in that the terminal includes:Second sending module, for sending transmission request to control node, the transmission request carries the terminal iidentification of the source terminal and the terminal iidentification of the purpose terminal communicated with the source terminal, the source terminal is single-hop device-to-device D2D terminal, for triggering the control node when determining the source terminal and the channel quality of D2D link that the purpose terminal is connected directly is unsatisfactory for preset quality condition, determine that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, the first D2D access includes at least one transit terminal, the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;Second receiving module, for receiving the first path information for the first D2D access that the control node is sent, the first path information includes the terminal iidentification of the next-hop transit terminal of the source terminal described in the first D2D access;Third sending module, for the terminal iidentification according to the next-hop transit terminal, Xiang Suoshu next-hop transit terminal sends D2D data, forwards the D2D data to the purpose terminal for triggering the next-hop transit terminal.
- A kind of terminal, which is characterized in that the terminal includes:Third receiving module, for receiving the second routing information of the first device-to-device D2D access of control node transmission, the first D2D access is the D2D access that source terminal meets preset quality condition to the channel quality between the purpose terminal communicated with the source terminal, and the transit terminal is any multi-hop D2D terminal in the first D2D access in addition to the source terminal and the purpose terminal;4th receiving module, for receiving the D2D data from source terminal, the source terminal is single-hop D2D terminal;4th sending module, for sending the D2D data from source terminal to the purpose terminal communicated with the source terminal by the first D2D access according to second routing information.
- Terminal as claimed in claim 18, which is characterized in that the 4th receiving module receives the D2D data that the source terminal is sent if the upper hop terminal specifically for the transit terminal described in the first D2D access is source terminal;Alternatively,4th receiving module, if the upper hop terminal specifically for the transit terminal described in the first D2D access is transit terminal, receive the upper hop terminal transmission comes from source terminal D2D data.
- Terminal as claimed in claim 18, which is characterized in that second routing information includes the terminal iidentification of the upper hop terminal of the transit terminal described in the first D2D access and the terminal iidentification of next-hop terminal;4th sending module, specifically for the terminal iidentification according to the next-hop terminal, Xiang Suoshu next-hop terminal forwards the D2D data.
- Terminal as claimed in claim 18, which is characterized in that second routing information includes the terminal iidentification of the terminal iidentification of the purpose terminal and the next-hop terminal of the transit terminal described in the first D2D access;4th sending module, terminal iidentification and second routing information specifically for the purpose terminal carried according to the D2D data, the terminal iidentification for identifying the next-hop terminal, according to the terminal iidentification of the next-hop terminal, Xiang Suoshu next-hop terminal forwards the D2D data.
- A kind of terminal, which is characterized in that the terminal includes:5th receiving module, for determining that source terminal is whole to the purpose communicated with the source terminal in control node When the channel quality for the device-to-device D2D link being connected directly between end is unsatisfactory for preset quality condition, and when determining that the source terminal meets the first D2D access of preset quality condition to the channel quality between the purpose terminal, receive the D2D data from the source terminal that transit terminal is sent, the source terminal is single-hop D2D terminal, the transit terminal is multi-hop D2D terminal, and the transit terminal is the upper hop terminal of the purpose terminal described in the first D2D access.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/088644 WO2017035754A1 (en) | 2015-08-31 | 2015-08-31 | Method and apparatus for sending and receiving data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107950073A true CN107950073A (en) | 2018-04-20 |
Family
ID=58186695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201580082671.XA Pending CN107950073A (en) | 2015-08-31 | 2015-08-31 | Send data, the method and apparatus for receiving data |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107950073A (en) |
WO (1) | WO2017035754A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023070629A1 (en) * | 2021-10-30 | 2023-05-04 | 华为技术有限公司 | Method and apparatus for data transmission between devices |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111277356B (en) * | 2018-12-05 | 2021-11-09 | 华为技术有限公司 | Method and communication device for measuring quality of side link |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103596241A (en) * | 2013-10-14 | 2014-02-19 | 南京邮电大学 | Single-relay communication method based on D2D communications |
CN104125620A (en) * | 2014-07-31 | 2014-10-29 | 宇龙计算机通信科技(深圳)有限公司 | Relay selection routing method and relay selection routing device based on terminal device-to-device communication |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102983944A (en) * | 2012-12-04 | 2013-03-20 | 中国联合网络通信集团有限公司 | Data transmission processing method, device and system |
US9900931B2 (en) * | 2013-05-02 | 2018-02-20 | Qualcomm Incorporated | Method and apparatus for device to device relay selection |
CN104869526B (en) * | 2015-04-10 | 2019-02-12 | 电信科学技术研究院 | A kind of communication of device-to-device and its resource allocation methods, equipment |
-
2015
- 2015-08-31 WO PCT/CN2015/088644 patent/WO2017035754A1/en active Application Filing
- 2015-08-31 CN CN201580082671.XA patent/CN107950073A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103596241A (en) * | 2013-10-14 | 2014-02-19 | 南京邮电大学 | Single-relay communication method based on D2D communications |
CN104125620A (en) * | 2014-07-31 | 2014-10-29 | 宇龙计算机通信科技(深圳)有限公司 | Relay selection routing method and relay selection routing device based on terminal device-to-device communication |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023070629A1 (en) * | 2021-10-30 | 2023-05-04 | 华为技术有限公司 | Method and apparatus for data transmission between devices |
Also Published As
Publication number | Publication date |
---|---|
WO2017035754A1 (en) | 2017-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11032753B2 (en) | Apparatus and methods for cellular network communication based on plural mobile cores | |
US9369939B2 (en) | Apparatus and method for device-to-device communication route establishment in a mobile communication system | |
JP7303833B2 (en) | Information transmission method and device | |
CN111543080B (en) | System and method for network topology management | |
US11445430B2 (en) | Data forwarding method and apparatus | |
JP5290329B2 (en) | Multi-hop relay wireless communication system, access gateway, route selection method | |
US8885504B2 (en) | Method, apparatus and system for bandwidth aggregation of mobile internet access node | |
CN110581778A (en) | Routing method, BSR generation method, device and storage medium | |
CN103563466A (en) | Base station and communication method | |
CN103974429B (en) | A kind of path establishment method and equipment of the adjacent communication of terminal room | |
CN108605378B (en) | Data transmission method, device and related equipment | |
CN115707036A (en) | Method and device for transmitting data | |
US9591550B2 (en) | Method and apparatus for enhancing voice service performance in communication system | |
CN109041078A (en) | A kind of service data transmission method and device | |
CN107950073A (en) | Send data, the method and apparatus for receiving data | |
US20220191951A1 (en) | Method and apparatus for establishing radio bearer | |
CN107294867B (en) | Method and apparatus for facilitating peer-to-peer communication | |
US11937166B2 (en) | Systems and methods for refining topology of a distributed unit mesh in a radio access network | |
KR101917831B1 (en) | Method and apparatus for supporting local breakout service at serving gateway | |
JP5651738B2 (en) | Data path selection method and gateway device | |
WO2023179778A1 (en) | Method and apparatus for allocating identifier to remote terminal, and terminal | |
WO2016041148A1 (en) | Communication method and device | |
JP6824857B2 (en) | Secondary base station selection method, base station equipment and programs | |
Biswash et al. | A Device Centric Communication System for 5G Networks | |
CN117063520A (en) | Information receiving and transmitting method, data transmitting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180420 |