A kind of method and apparatus carried out data transmission
Technical field
The present invention relates to wireless communication technology field, in particular to a kind of method and apparatus carried out data transmission.
Background technique
In LTE (Long Term Evolution, long term evolution) system, what is taken is the central controlled mode of network,
That is the uplink and downlink data of UE (user equipment is referred to as terminal) are all sent and received under the control of a network.UE and
Communication between UE is forwarded and is controlled by network.Direct communication link is not present between UE and UE, UE does not also permit
Perhaps upstream data is voluntarily sent, referring to Figure 1A.
D2D (Device-to-Device, device-to-device), i.e. user equipment lead directly to technology, refer to that neighbouring user sets
It is standby not need in short range in such a way that direct connected link carries out data transmission through central node (i.e. base station)
It is forwarded, as shown in Figure 1B.
In 3GPP (3rd Generation Partnership Project, 3G (Third Generation) Moblie standardization body),
D2D includes following two major classes close to service:
D2D discovery: UE confirms another UE using E-UTRA in its vicinity.For example, the clothes can be used in D2D UE
Business comes the taxi of finding nearby, the friend of searching in its vicinity etc.;
D2D communication: UE close to each other will pass through network by directly establishing link between two UE originally in this way
The communication link of transmission is converted into local direct communication link, saves a large amount of bandwidth and network efficiency;Or two phases
Mutually close UE can use direct point-to-point data link to obtain the cheap communication service of stable high speed.It is general close to communication for service
It is to be carried out under network controls or auxiliary, eNB (evolution base station) may be the UE dynamic carried out close to communication for service
Distribution resource.
D2D communication at present is divided into two kinds of Linktypes:
D2D link: refer to the link directly communicated between equipment and equipment;
D2N link: the link communicated between equipment and network node.
D2D discovery/communication UE is participated in be divided to for two kinds of roles:
D2D sends UE: i.e. transmission D2D discovery/communication information UE;
D2D receives UE: i.e. reception D2D sends discovery/communication information UE that UE is sent.
The interface directly interacted between UE and UE, referred to as PC5 interface are introduced in 3GPP Rel-12.
On the basis of D2D discovery and the communication technology, UE can carry out data with network by way of Relay (relaying)
Transmission.
UE is known as UE-to-Network Relay in such a way that Relay (evolution) UE is communicated with network, and (terminal arrives
Network trunk), as shown in Figure 1 C.UE2 outside the network coverage with network in order to be communicated, and using UE1 as Relay node, be led to
Cross the uplink and downlink signals that UE1 forwards oneself.Wherein, the communication between UE1 and UE2 is communicated by D2D and is realized, between UE1 and network
It is realized by cellular communication.
Relay UE: the Relay UE of service is provided for other UE.
Remote (distal end) UE: the UE outside network coverage, needs to realize by Relay node and inter-net communication
UE.
UE is known as UE-to-UE Relay in such a way that Relay UE find/communicate with target UE, and (terminal is to eventually
End relaying), as shown in figure iD.UE2 in order to be communicated with the UE3 not in oneself direct communications range, can by UE1 come
The information of oneself is forwarded, wherein UE1 and UE2, is all to realize that data are transmitted by D2D communication between UE1 and UE3.
For the significance level of differentiated service and UE, Rel-13 introduces PPP (ProSe Per Packet in PC5 interface
Priority, close to business packet priority), the PPP for the business that each UE for carrying out D2D communication and its needs transmit may
It is different.PPP is generated by application layer, is mainly used for PC5 mouthfuls of resource allocations, for example resource is independently selected from resource pool for UE
Resource allocation mode, PPP can be used for resource pool selection, and for the resource distribution mode of base station scheduling, base station needs when dispatching UE
Consider PPP.
Under the scene of UE to Network Relay, need to be added PPP, but PPP is that Remote UE is determined at present
, during through Relay UE and network communication, the data packet that downlink is sent to Remote UE selects to provide in PC5 interface
When source, Relay UE does not have PPP as resource selection foundation, causes PPP that can not be applied to the field of UE to Network Relay
The case where Relay UE sends data to Remote UE under scape.
In conclusion PPP can not be applied to Relay UE under the scene of UE to Network Relay to Remote at present
UE sends the case where data.
Summary of the invention
The present invention provides a kind of method and apparatus carried out data transmission, can not to solve PPP exists in the prior art
The problem of sending data to Remote UE applied to Relay UE under the scene of UE to Network Relay.
A kind of method carried out data transmission provided in an embodiment of the present invention, this method comprises:
Evolution terminal Relay UE is after receiving network side and needing to be sent to the data of distance terminal Remote UE, root
Logical channel number LCID according to Remote UE and the corresponding relationship close to business packet priority P PP determine the data received
The corresponding PPP of LCID;
The Relay UE determines device-to-device D2D transfer resource according to determining PPP;
The data received are sent to Remote UE by determining D2D transfer resource by the Relay UE.
Optionally, the Relay UE determines the corresponding relationship of LCID and PPP according to following manner:
The Relay UE receives the corresponding relationship of the LCID and PPP of Remote UE notice;Or
The Relay UE uses the corresponding relationship of preconfigured LCID and PPP.
Optionally, the Relay UE determines the corresponding relationship of preconfigured LCID and PPP according to following manner:
The Relay UE determines the corresponding PPP of LCID according to pre-set formula;Or
The Relay UE determines that LCID is corresponding according to the corresponding relationship list between pre-set LCID and PPP
PPP。
Optionally, the Relay UE determines the data received according to the corresponding relationship of the LCID and PPP of Remote UE
The corresponding PPP of LCID, comprising:
The Relay UE is determined according to Remote UE mark, the corresponding relationship of LCID and radio bearer identification RB ID
The corresponding Remote UE mark of the RB ID of the data received and LCID, or according to Remote UE mark, LCID and IP five-tuple
Corresponding relationship, determine the corresponding Remote UE mark of the IP five-tuple of data received and LCID;
The Relay UE determines the corresponding PPP of LCID according to pre-set formula.
The Relay UE determines that LCID is corresponding according to the corresponding relationship list between pre-set LCID and PPP
PPP。
Optionally, before the corresponding PPP of LCID of the determining data received of the Relay UE, further includes:
The Relay UE establishes Remote UE mark, LCID according to the data from the Remote UE received
It is identified with the corresponding relationship or Remote UE of RB ID, the corresponding relationship of LCID and IP five-tuple.
Optionally, the Relay UE determines D2D transfer resource according to determining PPP, comprising:
The Relay UE carries out resource selection or to network side application resource according to determining PPP.
The method that another kind provided in an embodiment of the present invention carries out data transmission, this method comprises:
Remote UE is determined in the data for needing to send according to the corresponding relationship of the LCID and PPP of the Remote UE
The corresponding PPP of LCID;
The Remote UE determines D2D transfer resource according to determining PPP;
The data received are sent to Relay UE by determining D2D transfer resource by the Remote UE.
Optionally, the Remote UE determines the corresponding relationship of LCID and PPP according to following manner:
The Remote UE selects LCID from all candidate LCID, and configures corresponding PPP for the LCID of selection;Or
The Remote UE uses the corresponding relationship of preconfigured LCID and PPP.
Optionally, the Remote UE determines the corresponding relationship of preconfigured LCID and PPP according to following manner:
The Remote UE determines the corresponding LCID of LCID according to pre-set formula;Or
The Remote UE determines that PPP is corresponding according to the corresponding relationship list between pre-set LCID and PPP
LCID。
Optionally, the Remote UE selects LCID from all candidate LCID, and corresponding for the LCID of selection configuration
After PPP, further includes:
The corresponding relationship of the LCID and PPP of the Remote UE are notified the Relay UE by the Remote UE, with
Close the Relay UE after the data for receiving network side and need to be sent to Remote UE according to the corresponding of LCID and PPP
It is to determine D2D transfer resource.
A kind of evolution terminal Relay UE, the Relay UE carried out data transmission provided in an embodiment of the present invention include:
First determining module, for after receiving network side and needing to be sent to the data of Remote UE, according to Remote
The corresponding relationship of the LCID and PPP of UE determine the corresponding PPP of LCID of the data received;
Second determining module, for determining D2D transfer resource according to determining PPP;
First sending module, for the data received to be sent to Remote by determining D2D transfer resource
UE。
Optionally, first determining module is also used to, and the corresponding relationship of LCID and PPP are determined according to following manner:
Receive the corresponding relationship of the LCID and PPP of Remote UE notice;Or pair using preconfigured LCID and PPP
It should be related to.
Optionally, first determining module is also used to, and pair of preconfigured LCID and PPP are determined according to following manner
It should be related to:
According to pre-set formula, the corresponding PPP of LCID is determined;Or
According to the corresponding relationship list between pre-set LCID and PPP, the corresponding PPP of LCID is determined.
Optionally, first determining module is specifically used for:
According to Remote UE mark, the corresponding relationship of LCID and RB ID, determine that the RB ID of the data received is corresponding
Remote UE mark and LCID, or according to Remote UE mark, the corresponding relationship of LCID and IP five-tuple, determine the number received
According to IP five-tuple corresponding Remote UE mark and LCID;Determine the corresponding relationship of the LCID and PPP of the Remote UE;
According to the corresponding relationship of the LCID and PPP of the Remote UE determined, the corresponding PPP of the LCID is determined.
Optionally, first determining module is also used to:
Before determining the corresponding PPP of LCID of data received, according to the data from the Remote UE received,
Establish Remote UE mark, the corresponding relationship of LCID and RB ID or Remote UE mark, the correspondence of LCID and IP five-tuple
Relationship.
Optionally, second determining module is specifically used for:
According to determining PPP, resource selection is carried out or to network side application resource.
A kind of distance terminal Remote UE carried out data transmission provided in an embodiment of the present invention, the Remote UE packet
It includes:
Third determining module, for the corresponding relationship according to the LCID and PPP of the Remote UE, determination needs to send
Data in the corresponding PPP of LCID;
4th determining module, for determining D2D transfer resource according to determining PPP;
Second sending module, for the data received to be sent to Relay UE by determining D2D transfer resource.
Optionally, the third determining module is also used to, and the corresponding relationship of LCID and PPP are determined according to following manner:
LCID is selected from all candidate LCID, and configures corresponding PPP for the LCID of selection;Or
Use the corresponding relationship of preconfigured LCID and PPP.
Optionally, the third determining module is also used to, and pair of preconfigured LCID and PPP are determined according to following manner
It should be related to:
According to pre-set formula, the corresponding LCID of PPP is determined;Or
According to the corresponding relationship list between pre-set LCID and PPP, the corresponding LCID of PPP is determined.
Optionally, second sending module is also used to
The corresponding relationship of the LCID and PPP of the Remote UE are notified into the Relay UE, so that the Relay UE
D2D transmission money is determined according to the corresponding relationship of LCID and PPP after the data for receiving network side and need to be sent to Remote UE
Source.
Relay of embodiment of the present invention UE after receiving network side and needing to be sent to the data of Remote UE, according to
The corresponding relationship of the LCID and PPP of Remote UE determine the corresponding PPP of LCID of the data received;According to determining PPP, really
Determine D2D transfer resource;The data received are sent to Remote UE by determining D2D transfer resource.Due to Relay
UE can determine the corresponding relationship of the LCID and PPP of Remote UE, determine the corresponding PPP of LCID of the data received, thus real
Show PPP and sends data, perfect PPP to Remote UE applied to Relay UE under the scene of UE to Network Relay
In the application system of PC5 interface, system performance is further improved.
Detailed description of the invention
Figure 1A is the schematic diagram data of user equipment communication in background technique cellular network;
Figure 1B is the schematic diagram data of the direct-connected communication of background technique user equipment;
Fig. 1 C is background technique UE-to-Network Relay schematic diagram;
Fig. 1 D is background technique UE-to-UE Relay schematic diagram;
Fig. 2 is the system structure diagram that the embodiment of the present invention carries out data transmission;
Fig. 3 is the structural schematic diagram of the first Relay UE of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the first Remote UE of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of second of Relay UE of the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of second of Remote UE of the embodiment of the present invention;
Fig. 7 method flow schematic diagram that the first carries out data transmission for the embodiment of the present invention;
Fig. 8 is second of the embodiment of the present invention method flow schematic diagram carried out data transmission.
Specific embodiment
Relay of embodiment of the present invention UE after receiving network side and needing to be sent to the data of Remote UE, according to
The corresponding relationship of the LCID and PPP of Remote UE determine the corresponding PPP of LCID of the data received;According to determining PPP, really
Determine D2D transfer resource;The data received are sent to Remote UE by determining D2D transfer resource.Due to Relay
UE can determine the corresponding relationship of the LCID and PPP of Remote UE, determine the corresponding PPP of LCID of the data received, thus real
Show PPP and sends data, perfect PPP to Remote UE applied to Relay UE under the scene of UE to Network Relay
In the application system of PC5 interface, system performance is further improved.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
As shown in Fig. 2, the system that the embodiment of the present invention carries out data transmission includes: Relay UE 10 and Remote UE
20。
Relay UE 10, for after receiving network side and needing to be sent to the data of Remote UE, according to Remote
The corresponding relationship of LCID (Logical Channel ID, the logical channel number) and PPP of UE determines LCID pairs of the data received
The PPP answered;According to determining PPP, D2D transfer resource is determined;The data received are sent out by determining D2D transfer resource
Give Remote UE;
Remote UE 20, for the corresponding relationship according to the LCID and PPP of the Remote UE, determination needs to send
Data in the corresponding PPP of LCID;According to determining PPP, D2D transfer resource is determined;It will by determining D2D transfer resource
The data received are sent to Relay UE.
Wherein, the corresponding relationship of the LCID and PPP of the embodiment of the present invention can be determined by fixed form, can also be passed through
On-fixed mode determines, is illustrated separately below.
Mode one, fixed form.
This mode be Relay UE and Remote UE all adopt determine in a like fashion Remote UE LCID and
The corresponding relationship of PPP, to guarantee the corresponding relationship of the LCID and PPP of the Remote UE that Relay UE and Remote UE are determined
It is identical.
There are many kinds of specific identical modes, for example can provide the corresponding relationship of LCID and PPP in the protocol, that is,
Saying can determine according to the corresponding relationship list between pre-set LCID and PPP;It can also be according to pre-set formula
It determines.
If providing that the corresponding relationship of LCID and PPP, Relay UE directly use specified in agreement in the protocol
The corresponding relationship of the LCID and PPP of Remote UE determine the corresponding PPP of LCID;Remote UE is according to pre-set LCID
Corresponding relationship list between PPP determines the corresponding LCID of PPP;
If Relay UE determines the corresponding PPP of LCID according to pre-set formula according to pre-set formula;
Remote UE determines the corresponding LCID of PPP according to pre-set formula;There are many kinds of specific formula, such as PPP=
(LCID-1) mod N, wherein N is the number of degrees of the priority of PPP.It should be noted that above-mentioned formula is merely illustrative,
As long as can determine that the formula of the corresponding relationship of LCID and PPP is all suitable for the embodiment of the present invention.
Mode two, on-fixed mode.
This mode is to select LCID from all candidate LCID by Remote UE, and configure and correspond to for the LCID of selection
PPP, and the corresponding relationship of the LCID of foundation and PPP is notified to give Relay UE;
Correspondingly, the Relay UE receives the corresponding relationship of the LCID and PPP of Remote UE notice.
Optionally, Remote UE can notify the corresponding relationship of LCID and PPP by signaling to give Relay UE, such as
The corresponding relationship of LCID and PPP can be led to by the message that Remote UE is connected with the PC5 interface communication that Relay UE is established
Know to Relay;The data packet that IP address is distributed after can also such as establishing by connection notifies the corresponding relationship of LCID and PPP
To Relay;Also such as the corresponding relationship of LCID and PPP can be notified to give Relay UE with an individual message.
It should be noted that in addition to the signaling of the example above, other corresponding relationship of LCID and PPP can be notified to
The signaling of Relay UE is all suitable for the embodiment of the present invention.
Optionally, when Remote UE notifies the corresponding relationship of LCID and PPP to Relay UE, in order to make Relay UE
Different Remote UE can be distinguished, Remote UE can also be identified and send jointly to Relay UE.
Remote UE mark can be the information, such as L2ID (mark) etc. for capableing of unique identification Remote UE.
For Remote UE, in an implementation, Remote UE can select to send resource progress data transmission according to PPP,
And the LCID of selection is set by the domain LCID of the MAC of data (Medium Access Control, media access control) head
Value sends data using the LCID corresponding with PPP of selection.
For Relay UE, in an implementation, if using revocable corresponding relationship, Relay UE between LCID and PPP
The LCID of Remote UE transmission and the signaling of PPP corresponding relationship are received, then Relay UE stores L2ID, LCID of Remote UE
With PPP corresponding relationship, the IP five-tuple of Remote UE can also be stored and/or in information such as Uu mouthfuls of corresponding RB ID.
If Relay UE is in the number for receiving Remote UE transmission using fixed corresponding relationship between LCID and PPP
After packet, is checked whether according to SRC (source address), DST (destination address), LCID (logical channel number) and have existed and be somebody's turn to do
The connection of the corresponding LCID of Remote UE, if it is not, L2ID, LCID and PPP couple of Relay UE storage Remote UE
It should be related to, the IP five-tuple of Remote UE can also be stored and/or in information such as Uu mouthfuls of corresponding RB ID.If so, then straight
It connects and uses stored information.
Optionally, the storing process of Relay UE can also occur to establish the mistake of connection in Remote UE and Relay UE
Cheng Zhong.
Based on above content, the Relay UE can be established according to the data from the Remote UE received
The corresponding relationship of Remote UE mark, the corresponding relationship of LCID and RB ID or Remote UE mark, LCID and IP five-tuple.
In an implementation, the Relay UE can determine that the corresponding of preconfigured LCID and PPP is closed with above-mentioned corresponding relationship
System.
Specifically, the Relay UE is according to Remote UE mark, LCID and RB (Radio Bearer, radio bearer)
The corresponding relationship of ID determines the corresponding Remote UE mark of the RB ID of the data received and LCID, or is marked according to Remote UE
Know, the corresponding relationship of LCID and IP five-tuple, determine the corresponding Remote UE mark of the IP five-tuple of the data received and
LCID;
The Relay UE determines the corresponding relationship of the LCID and PPP of the Remote UE;
The Relay UE according to the corresponding relationship of the LCID and PPP of the Remote UE determined, determine described in
The corresponding PPP of LCID.
It in an implementation, can be according to receiving data after Relay UE, which receives network, is sent to the data of Remote UE
RB ID or data packet IP (Internet Protocol, Internet protocol) head in IP five-tuple in a realization Uu
The mapping of the LCID of mouthful data and PC5 interface, and being determined by LCID to PPP, according to PPP progress resource selection or to network Shen
It please resource.
Wherein, Relay UE packs the data to the data packet of PC5 interface, and wherein the domain LCID in MAC header is set as true
Surely the corresponding LCID of the PPP arrived.
Relay UE carries out resource selection according to PPP or has much to the mode of network application resource, certainly such as UE
The mode of main selection resource, can according to priority, priority it is high can select resource from more resource pools;For net
The mode of network scheduling, it is preferential it is high can be with priority scheduling.
As shown in figure 3, the first Relay UE of the embodiment of the present invention includes: that the first determining module 300, second determines mould
Block 301 and the first sending module 302.
First determining module 300, for after receiving network side and needing to be sent to the data of Remote UE, according to
The corresponding relationship of the LCID and PPP of Remote UE determine the corresponding PPP of LCID of the data received;
Second determining module 301, for determining D2D transfer resource according to determining PPP;
First sending module 302, for the data received to be sent to Remote by determining D2D transfer resource
UE。
Optionally, first determining module 300 is also used to, and the corresponding relationship of LCID and PPP are determined according to following manner:
Receive the corresponding relationship of the LCID and PPP of Remote UE notice;Or pair using preconfigured LCID and PPP
It should be related to.
Optionally, first determining module 300 is also used to, and determines preconfigured LCID and PPP according to following manner
Corresponding relationship:
According to pre-set formula, the corresponding PPP of LCID is determined;Or
According to the corresponding relationship list between pre-set LCID and PPP, the corresponding PPP of LCID is determined.
Optionally, first determining module 300 is specifically used for:
According to Remote UE mark, the corresponding relationship of LCID and RB ID, determine that the RB ID of the data received is corresponding
Remote UE mark and LCID, or according to Remote UE mark, the corresponding relationship of LCID and IP five-tuple, determine the number received
According to IP five-tuple corresponding Remote UE mark and LCID;Determine the corresponding relationship of the LCID and PPP of the Remote UE;
According to the corresponding relationship of the LCID and PPP of the Remote UE determined, the corresponding PPP of the LCID is determined.
Optionally, first determining module 300 is also used to:
Before determining the corresponding PPP of LCID of data received, according to the data from the Remote UE received,
Establish Remote UE mark, the corresponding relationship of LCID and RB ID or Remote UE mark, the correspondence of LCID and IP five-tuple
Relationship.
Optionally, second determining module 301 is specifically used for:
According to determining PPP, resource selection is carried out or to network side application resource.
As shown in figure 4, the first Remote UE of the embodiment of the present invention includes: that third determining module the 400, the 4th determines
Module 401 and the second sending module 402.
Third determining module 400, for the corresponding relationship according to the LCID and PPP of the Remote UE, determination needs to send out
The corresponding PPP of the LCID in data sent;
4th determining module 401, for determining D2D transfer resource according to determining PPP;
Second sending module 402, for the data received to be sent to Relay by determining D2D transfer resource
UE。
Optionally, the third determining module 400 is also used to, and the corresponding relationship of LCID and PPP are determined according to following manner:
LCID is selected from all candidate LCID, and configures corresponding PPP for the LCID of selection;Or
Use the corresponding relationship of preconfigured LCID and PPP.
Optionally, the third determining module 400 is also used to, and determines preconfigured LCID and PPP according to following manner
Corresponding relationship:
According to pre-set formula, the corresponding LCID of PPP is determined;Or
According to the corresponding relationship list between pre-set LCID and PPP, the corresponding LCID of PPP is determined.
Optionally, second sending module 402 is also used to
The corresponding relationship of the LCID and PPP of the Remote UE are notified into the Relay UE, so that the Relay UE
D2D transmission money is determined according to the corresponding relationship of LCID and PPP after the data for receiving network side and need to be sent to Remote UE
Source.
In an implementation, for different application scenarios, Relay UE may also be used as Remote UE;Remote UE can also
Can be used as Relay UE, so the function of Relay UE and Remote UE can close in an entity (i.e. Relay UE and
The module of Remote UE is in an entity), selection uses the function of Relay UE or the function of Remote UE as needed.
As shown in figure 5, second of Relay UE of the embodiment of the present invention includes:
Processor 501 executes following process for reading the program in memory 504:
Through transceiver 502 after receiving network side and needing to be sent to the data of Remote UE, according to Remote UE
LCID and PPP corresponding relationship, determine the corresponding PPP of LCID of data received;According to determining PPP, determine that D2D is transmitted
Resource;The data received are sent to by Remote UE by determining D2D transfer resource using transceiver 502.
Transceiver 502, for sending and receiving data under the control of processor 501.
Optionally, the processor 501 is also used to, and the corresponding relationship of LCID and PPP are determined according to following manner:
Receive the corresponding relationship of the LCID and PPP of Remote UE notice;Or pair using preconfigured LCID and PPP
It should be related to.
Optionally, the processor 501 is also used to, and the correspondence of preconfigured LCID and PPP are determined according to following manner
Relationship:
According to pre-set formula, the corresponding PPP of LCID is determined;Or
According to the corresponding relationship list between pre-set LCID and PPP, the corresponding PPP of LCID is determined.
Optionally, the processor 501 is specifically used for:
According to Remote UE mark, the corresponding relationship of LCID and RB ID, determine that the RB ID of the data received is corresponding
Remote UE mark and LCID, or according to Remote UE mark, the corresponding relationship of LCID and IP five-tuple, determine the number received
According to IP five-tuple corresponding Remote UE mark and LCID;Determine the corresponding relationship of the LCID and PPP of the Remote UE;
According to the corresponding relationship of the LCID and PPP of the Remote UE determined, the corresponding PPP of the LCID is determined.
Optionally, the processor 501 is also used to:
Before determining the corresponding PPP of LCID of data received, according to the data from the Remote UE received,
Establish Remote UE mark, the corresponding relationship of LCID and RB ID or Remote UE mark, the correspondence of LCID and IP five-tuple
Relationship.
Optionally, the processor 501 is specifically used for:
According to determining PPP, resource selection is carried out or to network side application resource.
In Fig. 5, bus architecture (is represented) with bus 500, and bus 500 may include the bus of any number of interconnection
And bridge, the storage that bus 500 will include the one or more processors represented by general processor 501 and memory 504 represents
The various circuits of device link together.Bus 500 can also will such as peripheral equipment, voltage-stablizer and management circuit or the like
Various other circuits link together, these are all it is known in the art, therefore, is no longer further retouched to it herein
It states.Bus interface 503 provides interface between bus 500 and transceiver 502.Transceiver 502 can be an element, can also be with
It is multiple element, such as multiple receivers and transmitter, the list for communicating over a transmission medium with various other devices is provided
Member.Such as: transceiver 502 receives external data from other equipment.Transceiver 502 is used for treated the data of processor 501
It is sent to other equipment.Depending on the property of computing system, user interface 505 can also be provided, for example, keypad, display,
Loudspeaker, microphone, control stick.
Processor 501 is responsible for management bus 500 and common processing, and the general-purpose operating system is run as described in aforementioned.And it deposits
Reservoir 504 can be used for the used data when executing operation of storage processor 501.
Optionally, processor 501 can be CPU (centre buries device), ASIC (Application Specific
Integrated Circuit, specific integrated circuit), (Field-Programmable Gate Array, scene can compile FPGA
Journey gate array) or CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices).
As shown in fig. 6, second of Remote UE of the embodiment of the present invention includes:
Processor 601 executes following process for reading the program in memory 604:
According to the corresponding relationship of the LCID and PPP of the Remote UE, determine that the LCID in the data for needing to send is corresponding
PPP;According to determining PPP, D2D transfer resource is determined;It will be received using transceiver 602 by determining D2D transfer resource
The data be sent to Relay UE.
Transceiver 602, for sending and receiving data under the control of processor 601.
Optionally, the processor 601 is also used to, and the corresponding relationship of LCID and PPP are determined according to following manner:
LCID is selected from all candidate LCID, and configures corresponding PPP for the LCID of selection;Or
Use the corresponding relationship of preconfigured LCID and PPP.
Optionally, the processor 601 is also used to, and the correspondence of preconfigured LCID and PPP are determined according to following manner
Relationship:
According to pre-set formula, the corresponding LCID of PPP is determined;Or
According to the corresponding relationship list between pre-set LCID and PPP, the corresponding LCID of PPP is determined.
Optionally, the processor 601 is also used to
The corresponding relationship of the LCID and PPP of the Remote UE are notified into the Relay UE, so that the Relay UE
D2D transmission money is determined according to the corresponding relationship of LCID and PPP after the data for receiving network side and need to be sent to Remote UE
Source.
In an implementation, for different application scenarios, Relay UE may also be used as Remote UE;Remote UE can also
Can be used as Relay UE, so the function of Relay UE and Remote UE can close in an entity (i.e. Relay UE and
The module of Remote UE is in an entity), selection uses the function of Relay UE or the function of Remote UE as needed.
In Fig. 6, bus architecture (is represented) with bus 600, and bus 600 may include the bus of any number of interconnection
And bridge, the storage that bus 600 will include the one or more processors represented by general processor 601 and memory 604 represents
The various circuits of device link together.Bus 600 can also will such as peripheral equipment, voltage-stablizer and management circuit or the like
Various other circuits link together, these are all it is known in the art, therefore, is no longer further retouched to it herein
It states.Bus interface 603 provides interface between bus 600 and transceiver 602.Transceiver 602 can be an element, can also be with
It is multiple element, such as multiple receivers and transmitter, the list for communicating over a transmission medium with various other devices is provided
Member.Such as: transceiver 602 receives external data from other equipment.Transceiver 602 is used for treated the data of processor 601
It is sent to other equipment.Depending on the property of computing system, user interface 605 can also be provided, for example, keypad, display,
Loudspeaker, microphone, control stick.
Processor 601 is responsible for management bus 600 and common processing, and the general-purpose operating system is run as described in aforementioned.And it deposits
Reservoir 604 can be used for the used data when executing operation of storage processor 601.
Optionally, processor 601 can be CPU, ASIC, FPGA or CPLD.
In an implementation, for different application scenarios, Relay UE may also be used as Remote UE;Remote UE can also
Can be used as Relay UE, so the function of Relay UE and Remote UE can close in an entity (i.e. Relay UE and
The module of Remote UE is in an entity), selection uses the function of Relay UE or the function of Remote UE as needed.
Based on the same inventive concept, a kind of method carried out data transmission is additionally provided in the embodiment of the present invention, due to this
The corresponding equipment of method is the Relay UE in the system that the embodiment of the present invention carries out data transmission, and this method solves the problems, such as
Principle it is similar to the equipment, therefore the implementation of this method may refer to the implementation of equipment, and overlaps will not be repeated.
As shown in fig. 7, the first method carried out data transmission of the embodiment of the present invention includes:
Step 700, Relay UE are after receiving network side and needing to be sent to the data of Remote UE, according to Remote
The logical channel number LCID of UE and corresponding relationship close to business packet priority P PP determine that the LCID of the data received is corresponding
PPP;
Step 701, the Relay UE determine device-to-device D2D transfer resource according to determining PPP;
The data received are sent to Remote by determining D2D transfer resource by step 702, the Relay UE
UE。
Optionally, the Relay UE determines the corresponding relationship of LCID and PPP according to following manner:
The Relay UE receives the corresponding relationship of the LCID and PPP of Remote UE notice;Or
The Relay UE uses the corresponding relationship of preconfigured LCID and PPP.
Optionally, the Relay UE determines the corresponding relationship of preconfigured LCID and PPP according to following manner:
The Relay UE determines the corresponding PPP of LCID according to pre-set formula;Or
The Relay UE determines that LCID is corresponding according to the corresponding relationship list between pre-set LCID and PPP
PPP。
Optionally, the Relay UE determines the data received according to the corresponding relationship of the LCID and PPP of Remote UE
The corresponding PPP of LCID, comprising:
The Relay UE is determined according to Remote UE mark, the corresponding relationship of LCID and radio bearer identification RB ID
The corresponding Remote UE mark of the RB ID of the data received and LCID, or according to Remote UE mark, LCID and IP five-tuple
Corresponding relationship, determine the corresponding Remote UE mark of the IP five-tuple of data received and LCID;
The Relay UE determines the corresponding relationship of the LCID and PPP of the Remote UE;
The Relay UE according to the corresponding relationship of the LCID and PPP of the Remote UE determined, determine described in
The corresponding PPP of LCID.
Optionally, before the corresponding PPP of LCID of the determining data received of the Relay UE, further includes:
The Relay UE establishes Remote UE mark, LCID according to the data from the Remote UE received
It is identified with the corresponding relationship or Remote UE of RB ID, the corresponding relationship of LCID and IP five-tuple.
Optionally, the Relay UE determines D2D transfer resource according to determining PPP, comprising:
The Relay UE carries out resource selection or to network side application resource according to determining PPP.
Based on the same inventive concept, a kind of method carried out data transmission is additionally provided in the embodiment of the present invention, due to this
The corresponding equipment of method is the Remote UE in the system that the embodiment of the present invention carries out data transmission, and this method solution is asked
The principle of topic is similar to the equipment, therefore the implementation of this method may refer to the implementation of equipment, and overlaps will not be repeated.
As shown in figure 8, second of the embodiment of the present invention method carried out data transmission includes:
Step 800, Remote UE are determined according to the corresponding relationship of the LCID and PPP of the Remote UE and are needed to send
Data in the corresponding PPP of LCID;
Step 801, the Remote UE determine D2D transfer resource according to determining PPP;
The data received are sent to Relay by determining D2D transfer resource by step 802, the Remote UE
UE。
Optionally, the Remote UE determines the corresponding relationship of LCID and PPP according to following manner:
The Remote UE selects LCID from all candidate LCID, and configures corresponding PPP for the LCID of selection;Or
The Remote UE uses the corresponding relationship of preconfigured LCID and PPP.
Optionally, the Remote UE determines the corresponding relationship of preconfigured LCID and PPP according to following manner:
The Remote determines the corresponding LCID of PPP according to pre-set formula;Or
The Remote determines that PPP is corresponding according to the corresponding relationship list between pre-set LCID and PPP
LCID。
Optionally, the Remote UE selects LCID from all candidate LCID, and corresponding for the LCID of selection configuration
After PPP, further includes:
The corresponding relationship of the LCID and PPP of the Remote UE are notified the Relay UE by the Remote UE, with
Close the Relay UE after the data for receiving network side and need to be sent to Remote UE according to the corresponding of LCID and PPP
It is to determine D2D transfer resource.
Several examples are set forth below the solution of the present invention is described in detail.
Embodiment 1:
PPP number of degrees is N (in embodiment by taking N=8 as an example), and LCID number is M (in embodiment by taking M=10 as an example).
Fixed corresponding relationship example such as the following table 1 between LCID and PPP:
PPP |
LCID |
000 |
00001,01001 |
001 |
00010,01010 |
010 |
00011 |
011 |
00100 |
100 |
00101 |
101 |
00110 |
110 |
00111 |
111 |
01000 |
The corresponding relationship of table 1:LCID and PPP
Relay UE (ProSe (close to business) UE ID is ProSe UE ID3) is provided simultaneously for 2 Remote UE
Relay service, wherein the PPP of Remote UE1 (ProSe UE ID is ProSe UE ID1) is 001, Remote UE2
The PPP of (ProSe UE ID is ProSe UE ID2) is 100, then the PC5 mouth data packet that Remote UE1 is sent to Relay UE
MAC header in SRC be ProSe UE ID1, DST be ProSe UE ID3 16 high, LCID 00010.Remote UE2 to
SRC is ProSe UE ID2 in the MAC header for the PC5 mouth data packet that Relay UE is sent, and DST is the high by 16 of ProSe UE ID3
Position, LCID 00101.
Relay UE is checked whether after the data packet for receiving Remote UE transmission according to SRC, DST, LCID
In the presence of the connection of LCID corresponding to the Remote UE, if it is not, the L2ID of Relay UE storage Remote UE is (i.e.
Remote UE mark), the corresponding PPP of LCID, LCID, the IP five-tuple of Remote UE and/or in Uu mouthfuls of corresponding RB ID etc.
Information.The storing process of Relay UE can also occur during Remote UE and Relay UE establish connection.Specifically deposit
The content of storage can be seen that table 2:
ProSe UE ID |
LCID |
PPP |
IP five-tuple |
RB ID |
ProSe UE ID1 |
00010 |
001 |
IP five-tuple 1 |
RB ID1 |
ProSe UE ID2 |
00101 |
100 |
IP five-tuple 2 |
RB ID2 |
Table 2
Wherein, IP five-tuple is carried in the IP layer of Remote UE data packet, and value is to be according to Relay UE
The IP address of Remote UE distribution, the information such as port numbers of data transmission determine that RB ID is that Relay UE is Remote UE
The carrying ID of the Uu mouth of foundation.Relay UE can carry out Uu mouthfuls of data packets and LCID according to any one in this 2 parameters
Mapping, therefore Relay UE can be stored in this 2 parameters and be stored for mapping that or 2 of LCID.
Relay UE can connect according to the Uu mouthfuls of data of a realization in RB ID or the IP five-tuple for receiving data with PC5
Mouthful LCID mapping, then determined by LCID to PPP, according to PPP progress resource selection or to network application resource.
After Relay UE receives data from the carrying that RB ID is RB ID1, by table 2 above according to RB ID or number
The L2ID (ProSe UE ID1) and LCID (00010) to Remote UE are determined according to the IP five-tuple in packet, it is corresponding according to LCID
To PPP=001, then use priority 001 carries out resource selection or to network application resource, and encapsulates data and connect for PC5
The data packet of mouth, wherein the domain LCID is set as 00010 and is sent to Remote UE1 in MAC header.
After Relay UE receives data from the carrying that RB ID is RB ID2, by table above according to RB ID or number
It is corresponding according to LCID with LCID (00101) according to the determining L2ID (ProSe UE ID2) to Remote UE of IP five-tuple in packet
To PPP=100, then use priority 100 carries out resource selection or to network application resource, and encapsulates data and connect for PC5
The data packet of mouth, wherein the domain LCID is set as 00101 and is sent to Remote UE2 in MAC header.
Embodiment 2:
There is fixed corresponding relationship between LCID and PPP, correspondence table is the same as the table 1 in embodiment 1.
Industry Relay UE (ProSe UE ID is ProSe UE ID3) different for 2 kinds of PPP of 1 Remote UE simultaneously
Business provides Relay service, and wherein the PPP of the business 1 of Remote UE1 (ProSe UE ID is ProSe UE ID1) is 001, industry
The PPP of business 1 is 100.
Remote UE1 has determined 00010 LCID as business 1 at PC5 mouthfuls according to PPP=001.
Remote UE1 has determined 00101 LCID as business 2 at PC5 mouthfuls according to PPP=100.
Remote UE1 SRC into the MAC header of the PC5 mouth data packet for the business 1 that Relay UE is sent is ProSe UE
ID1, DST are 16 high, the LCID 00010 of ProSe UE ID3.The business 2 that Remote UE1 is sent to Relay UE
SRC is ProSe UE ID1 in the MAC header of PC5 mouthfuls of data packets, and DST is 16 high, the LCID 00101 of ProSe UE ID3.
Relay UE is checked whether after the data packet for receiving Remote UE1 transmission according to SRC, DST, LCID
In the presence of the connection of LCID corresponding to the Remote UE, if it is not, L2ID, LCID of Relay UE storage Remote UE,
The corresponding PPP of LCID, Remote UE IP five-tuple, it is in information such as Uu mouthfuls of corresponding RB ID.The storage of Relay UE
Journey can also occur during Remote UE and Relay UE establish connection.Relay UE is to Remote UE business 1
Store information such as table 3:
ProSe UE ID |
LCID |
PPP |
IP five-tuple |
RB ID |
ProSe UE ID1 |
00010 |
001 |
IP five-tuple 1 |
RB ID1 |
Table 3
Storage information such as table 4 of the Relay UE to Remote UE business 2:
ProSe UE ID |
LCID |
PPP |
IP five-tuple |
RB ID |
ProSe UE ID1 |
00101 |
100 |
IP five-tuple 2 |
RB ID2 |
Table 4
Wherein, IP five-tuple is carried in the IP layer of Remote UE data packet, and value is to be according to Relay UE
The IP address of Remote UE distribution, the information such as port numbers of data transmission determine that RB ID is that Relay UE is Remote UE
The carrying ID of the Uu mouth of foundation.Relay UE can carry out Uu mouthfuls of data packets and LCID according to any one in this 2 parameters
Mapping, therefore Relay UE can be stored in this 2 parameters and be stored for mapping that or 2 of LCID.
Relay UE can store one in LCID or PPP, can also all store.
For fixed mapping relations, if storage one, can determine another by formula or list.
Relay UE can connect according to the Uu mouthfuls of data of a realization in RB ID or the IP five-tuple for receiving data with PC5
Mouthful LCID mapping, then determined by LCID to PPP, according to PPP progress resource selection or to network application resource.
After Relay UE receives data from the carrying that RB ID is RB ID1, by table 3 above according to RB ID or number
It is corresponding according to LCID with LCID (00010) according to the determining L2ID (ProSe UE ID1) to Remote UE of IP five-tuple in packet
To PPP=001, then use priority 001 carries out resource selection or to network application resource, and encapsulates data and connect for PC5
The data packet of mouth, wherein the domain LCID is set as 00010 and is sent to Remote UE1. in MAC header
After Relay UE receives data from the carrying that RB ID is RB ID2, by table 4 above according to RB ID or number
It is corresponding according to LCID with LCID (00101) according to the determining L2ID (ProSe UE ID1) to Remote UE of IP five-tuple in packet
To PPP=100, then use priority 100 carries out resource selection or to network application resource, and encapsulates data and connect for PC5
The data packet of mouth, wherein the domain LCID is set as 00101 and is sent to Remote UE1 in MAC header
Embodiment 3:
There is no fixed corresponding relationships between LCID and PPP:
Relay UE (ProSe UE ID is ProSe UE ID3) provides Relay service simultaneously for 2 Remote UE,
The PPP of middle Remote UE1 (ProSe UE ID is ProSe UE ID1) is that (ProSe UE ID is 001, Remote UE2
ProSe UE ID2) PPP be 100.
Remote UE1 has been selected 00001 as PC5 mouthfuls of LCID.
Remote UE2 has also been selected 00001 as PC5 mouthfuls of LCID.
Remote UE1 and Remote UE2 by signaling (can be Remote UE and Relay UE to establish PC5 interface logical
The message for believing connection is also possible to the data packet that IP address is distributed after connection is established, is also possible to an individual message) it will
The corresponding relationship of LCID and PPP is sent to Relay UE.
After Relay UE receives Remote UE1 message, under the information such as the table 5 that store Remote UE1:
ProSe UE ID |
LCID |
PPP |
IP five-tuple |
RB ID |
ProSe UE ID1 |
00001 |
001 |
IP five-tuple 1 |
RB ID1 |
Table 5
After Relay UE receives Remote UE2 message, the information such as table 6 of Remote UE2 is stored:
ProSe UE ID |
LCID |
PPP |
IP five-tuple |
RB ID |
ProSe UE ID2 |
00001 |
100 |
IP five-tuple 2 |
RB ID2 |
Table 6
Wherein, IP five-tuple is carried in the IP layer of Remote UE data packet, and value is to be according to Relay UE
What the information such as IP address, the port numbers of data transmission of Remote UE distribution determined, RB ID is that Relay UE is Remote UE
The carrying ID of the Uu mouth of foundation.Relay UE can carry out Uu mouthfuls of data packets and LCID according to any one in this 2 parameters
Mapping, therefore Relay UE can be stored in this 2 parameters and be stored for mapping that or 2 of LCID.
After Relay UE receives data from the carrying that RB ID is RB ID1, by table above according to RB ID or number
It is corresponding according to LCID with LCID (00010) according to the determining L2ID (ProSe UE ID1) to Remote UE of IP five-tuple in packet
To PPP=001, then use priority 001 carries out resource selection or to network application resource, and encapsulates data and connect for PC5
The data packet of mouth, wherein the domain LCID is set as 00010 and is sent to Remote UE1 in MAC header.
After Relay UE receives data from the carrying that RB ID is RB ID2, by table above according to RB ID or number
It is corresponding according to LCID with LCID (00101) according to the determining L2ID (ProSe UE ID2) to Remote UE of IP five-tuple in packet
To PPP=100, then use priority 100 carries out resource selection or to network application resource, and encapsulates data and connect for PC5
The data packet of mouth, wherein the domain LCID is set as 00101 and is sent to Remote UE2 in MAC header.
Embodiment 4:
There is no fixed corresponding relationships between LCID and PPP:
Industry Relay UE (ProSe UE ID is ProSe UE ID3) different for 2 kinds of PPP of 1 Remote UE simultaneously
Business provides Relay service, and wherein the PPP of the business 1 of Remote UE1 (ProSe UE ID is ProSe UE ID1) is 001, industry
The PPP of business 1 is 100.
Remote UE1 has selected 00001 LCID as business 1 at PC5 mouthfuls.
Remote UE1 has selected 00010 LCID as business 2 at PC5 mouthfuls.
By signaling, (can be that Remote UE and Relay UE establish that PC5 interface communication connect disappears Remote UE1
Breath is also possible to the data packet that IP address is distributed after connection is established, is also possible to an individual message) by LCID's and PPP
Corresponding relationship is sent to Relay UE.
After Relay UE receives Remote UE1 message, the information such as table 7 of Remote UE1 is stored:
ProSe UE ID |
LCID |
PPP |
IP five-tuple |
RB ID |
ProSe UE ID1 |
00001 |
001 |
IP five-tuple 1 |
RB ID1 |
ProSe UE ID1 |
00010 |
100 |
IP five-tuple 2 |
RB ID2 |
Table 7
Wherein, IP five-tuple is carried in the IP layer of Remote UE data packet, and value is to be according to Relay UE
The IP address of Remote UE distribution, the information such as port numbers of data transmission determine that RB ID is that Relay UE is Remote UE
The carrying ID of the Uu mouth of foundation.Relay UE can carry out Uu mouthfuls of data packets and LCID according to any one in this 2 parameters
Mapping, therefore Relay UE can be stored in this 2 parameters and be stored for mapping that or 2 of LCID.
Relay UE can store one in LCID or PPP, can also all store.
For fixed mapping relations, if storage one, can determine another by formula or list.
Relay UE can connect according to the Uu mouthfuls of data of a realization in RB ID or the IP five-tuple for receiving data with PC5
Mouthful LCID mapping, then determined by LCID to PPP, according to PPP progress resource selection or to network application resource.
After Relay UE receives data from the carrying that RB ID is RB ID1, by table above according to RB ID or number
It is corresponding according to LCID with LCID (00010) according to the determining L2ID (ProSe UE ID1) to Remote UE of IP five-tuple in packet
To PPP=001, then use priority 001 carries out resource selection or to network application resource, and encapsulates data and connect for PC5
The data packet of mouth, wherein the domain LCID is set as 00010 and is sent to Remote UE1 in MAC header.
After Relay UE receives data from the carrying that RB ID is RB ID2, by table above according to RB ID or number
It is corresponding according to LCID with LCID (00101) according to the determining L2ID (ProSe UE ID1) to Remote UE of IP five-tuple in packet
To PPP=100, then use priority 100 carries out resource selection or to network application resource, and encapsulates data and connect for PC5
The data packet of mouth, wherein the domain LCID is set as 00101 and is sent to Remote UE1 in MAC header.
It can be seen from the above: Relay of embodiment of the present invention UE needs to be sent to Remote receiving network side
After the data of UE, according to the corresponding relationship of the LCID of Remote UE and PPP, the corresponding PPP of LCID of the data received is determined;
According to determining PPP, D2D transfer resource is determined;The data received are sent to by determining D2D transfer resource
Remote UE.Since Relay UE can determine the corresponding relationship of the LCID and PPP of Remote UE, the data received are determined
The corresponding PPP of LCID, to realize PPP applied to Relay UE under the scene of UE to Network Relay to Remote
UE sends data, and perfect application system of the PPP in PC5 interface further improves system performance.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.