CN103249095B - Data sending and receiving method, user equipment, base station and gateway - Google Patents

Data sending and receiving method, user equipment, base station and gateway Download PDF

Info

Publication number
CN103249095B
CN103249095B CN201210027524.0A CN201210027524A CN103249095B CN 103249095 B CN103249095 B CN 103249095B CN 201210027524 A CN201210027524 A CN 201210027524A CN 103249095 B CN103249095 B CN 103249095B
Authority
CN
China
Prior art keywords
described
pdcp
ue
packet
sent
Prior art date
Application number
CN201210027524.0A
Other languages
Chinese (zh)
Other versions
CN103249095A (en
Inventor
常俊仁
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201210027524.0A priority Critical patent/CN103249095B/en
Publication of CN103249095A publication Critical patent/CN103249095A/en
Application granted granted Critical
Publication of CN103249095B publication Critical patent/CN103249095B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections

Abstract

The invention provides a data sending method, a data receiving method, user equipment, a base station and a gateway, wherein the data sending method comprises the following steps: sending a data packet to second UE (User Equipment) by first UE in a D2D(Dimension To Dimension) mode, sending a switchover instruction by a first UE receiving base station, and sending a first data packet unsuccessfully sent to the second UE and follow-up data packets to the base station by the first UE in a D2D mode to be transmitted to the second UE by the base station. Through the adoption of the technical scheme the switchover of the mutual communicated UE between a cell mode and the D2D mode is finished.

Description

Data is activation, method of reseptance, user equipment, base station and gateway

Technical field

The present invention relates to communication technology, more particularly, to a kind of data is activation, method of reseptance, user equipment, base station and gateway.

Background technology

Communication network gets more and more at present, such as subzone network, WLAN (Wireless Local Area Network, WLAN), bluetooth (BlueTooth, BT) etc..In subzone network, user equipment (User Equipment, UE) When being communicated with other UE, need by base station, such as in Long Term Evolution (Long Term Evolution, LTE) network Evolution base station (evolved NodeB, eNB), carries out centerized fusion, and this communication pattern is referred to as cell (cell) pattern Communication.Through base station, control is advantageous in that base station can be entered with the use of the Radio Resource of centralized Control cell for communication between UE Interference controls row well.But, in some cases, such as two UE in the case of closer, still through base station Carry out the waste that centralized Control then can bring Radio Resource.For example, transmit same data volume, two closely located UE are direct Communicated, compare the central controlled communication pattern in base station, the Radio Resource of half can be saved.

With the continuous development of intelligent terminal, need in-plant data transfer between increasing UE, for example, carry out Shared, the mutual blit piece of data, business card etc. is all typical short-range communication.Therefore how in subzone network, using fortune The straight-through transmission that the mandate frequency range of battalion business carries out data between UE is increasingly taken seriously.But, if between UE and UE away from From during more than certain scope, will have between UE and UE be communicated by base station under the centralized Control of base station.Therefore, How to make the UE being in communication with each other lead directly to (Device to Device, D2D) in equipment to be communicated between pattern and cell pattern Pattern be switching to current urgent problem.

Content of the invention

The embodiment of the present invention provides a kind of data is activation, method of reseptance, user equipment, base station and gateway, in order to complete phase Switching between cell pattern and D2D pattern for the UE of mutual communication.

Embodiment of the present invention one side provides a kind of data transmission method for uplink, including:

First user equipment UE leads directly to D2D pattern to the 2nd UE with equipment and sends packet;

What a described UE received base station transmission is the switching command of cell pattern by D2D pattern switching;

A described UE is by first unsuccessful packet being sent to described 2nd UE and follow-up number under D2D pattern It is sent to described base station according to bag.

Embodiment of the present invention one side provides a kind of user equipment, including:

First sending module, sends packet for leading directly to D2D pattern to the 2nd UE with equipment;

First receiver module, is the switching command of cell pattern for receive base station transmission by D2D pattern switching;

Second sending module, for by first unsuccessful packet being sent to described 2nd UE under D2D pattern and Follow-up packet is sent to described base station.

On the one hand the embodiment of the present invention separately provides a kind of data transmission method for uplink, including:

Base station sends to first user equipment UE and leads directly to, by equipment, the switching command that D2D pattern switching is cell pattern, with Indicate a described UE from D2D pattern to the 2nd UE send packet switch to by described base station to described 2nd UE send Packet;

A described UE under D2D pattern first that described base station receives that a described UE sends is unsuccessful to be sent to institute State the PDCP PDCP packet of the 2nd UE and follow-up PDCP packet, described follow-up PDCP packet bag Include all PDCP packets after the described first unsuccessful PDCP packet being sent to described 2nd UE, or include institute State the unsuccessful PDCP number being sent to described 2nd UE after first unsuccessful PDCP packet being sent to described 2nd UE According to bag;

Described base station by the PDCP packet that a described UE sends be sent to gateway and receive that described gateway issues mutual Networking protocol IP packet, the IP allocation of packets PDCP serial number that then issues for described gateway is to issue described gateway IP packet Reseal becomes PDCP packet;

The PDCP packet that described Reseal becomes is sent to described 2nd UE by described base station.

Embodiment of the present invention one side provides a kind of base station, including:

4th sending module, leads directly to D2D pattern switching for cell pattern for sending to first user equipment UE by equipment Switching command, with indicate a described UE from D2D pattern to the 2nd UE send packet switch to by described base station to Described 2nd UE sends packet;

3rd receiver module, does not become for receiving the described UE under D2D pattern first that a described UE sends Work(is sent to the PDCP packet of described 2nd UE and follow-up PDCP packet, and described follow-up PDCP packet includes described All PDCP packets after the PDCP packet that first unsuccessful to be sent to described 2nd UE, or include described first The unsuccessful PDCP packet being sent to described 2nd UE after the individual unsuccessful PDCP packet being sent to described 2nd UE;

First package module, the PDCP packet for sending a described UE is sent to gateway and receives described gateway The Internet protocol IP packet issuing, the IP allocation of packets PDCP serial number then issuing for described gateway is with by described net Close the IP packet Reseal issuing and become PDCP packet;

5th sending module, the PDCP packet for becoming described Reseal is sent to described 2nd UE.

Embodiment of the present invention one side provides a kind of data receiver method, including:

Gateway receives the Internet protocol IP packet being sent to the 2nd UE by first user equipment UE that base station sends, and Record receives the order of described IP packet;Wherein, described IP packet is the packet that described base station sends to a described UE Data convergence protocol PDCP packet carries out decapsulating and obtains, and described IP packet includes the mark of a described UE and described The mark of the 2nd UE;

Described gateway is processed to described IP packet, and is issued after process to described base station according to the order being recorded IP packet.

Embodiment of the present invention one side provides a kind of gateway, including:

18th receiver module, for receiving the Internet being sent to the 2nd UE by first user equipment UE of base station transmission Protocol IP data bag, and record the order receiving described IP packet;Wherein, described IP packet is described base station to described The PDCP PDCP packet that one UE sends carries out decapsulating acquisition, and described IP packet includes described first The mark of UE and the mark of described 2nd UE;

21st sending module, for processing to described IP packet, and according to the order being recorded to described Base station issues the IP packet after process.

On the other hand the embodiment of the present invention separately provides a kind of data transmission method for uplink, including:

Base station sends to a UE and leads directly to, by equipment, the switching command that D2D pattern switching is cell pattern, described to indicate First UE from D2D pattern to the 2nd UE send packet switch to by described base station to described 2nd UE send packet;

A described UE under D2D pattern first that described base station receives that a described UE sends is unsuccessful to be sent to institute State the packet of the 2nd UE and follow-up packet;

The packet that a described UE sends is directly forwarded to described 2nd UE by described base station.

Embodiment of the present invention another aspect provides a kind of base station, including:

Tenth sending module, is referred to by the switching that the straight-through D2D pattern switching of equipment is cell pattern for sending to a UE Order, to indicate that a described UE switches to by described base station to described second from sending packet with D2D pattern to the 2nd UE UE sends packet;

8th receiver module, does not become for receiving the described UE under D2D pattern first that a described UE sends Work(is sent to the packet of described 2nd UE and follow-up packet;

11st sending module, the packet for sending a described UE is directly forwarded to described 2nd UE.

The another aspect of the embodiment of the present invention provides a kind of data transmission method for uplink, including:

First user equipment UE sends PDCP PDCP packet to base station;

A described UE receives being referred to by the switching that cell pattern switches to the straight-through D2D pattern of equipment of described base station transmission Order;

A described UE by first unsuccessful PDCP packet being sent to described 2nd UE under cell pattern and after Continuous PDCP packet is sent to described 2nd UE with D2D pattern.

The another aspect of the embodiment of the present invention provides a kind of user equipment, including:

12nd sending module, for sending PDCP PDCP packet to base station;

9th receiver module, switches to equipment to lead directly to D2D pattern for receive that described base station sends by cell pattern Switching command;

13rd sending module, for by first unsuccessful PDCP number being sent to described 2nd UE under cell pattern According to bag and follow-up PDCP packet, described 2nd UE is sent to D2D pattern.

The another aspect of the embodiment of the present invention separately provides a kind of data transmission method for uplink, including:

Base station receives the PDCP PDCP packet that first user equipment UE sends, and a described UE is sent out The PDCP packet sending be sent to gateway and receive that described gateway issues according to the described base station PDCP packet sending mutual Networking protocol IP packet;

Described base station is the IP allocation of packets PDCP serial number that described gateway issues, the IP number that described gateway is issued Become PDCP packet according to bag Reseal;

The PDCP packet that described Reseal becomes is sent to described 2nd UE by described base station;

Described base station sends the switching command being switched to the straight-through D2D pattern of equipment by cell pattern to a described UE, with Indicate that a described UE unsuccessful is sent to described 2nd UE's according to described switching command by first under cell pattern PDCP packet and follow-up PDCP packet are sent to described 2nd UE with D2D pattern.

The another aspect of the embodiment of the present invention provides a kind of base station, including:

13rd receiver module, for receiving the PDCP PDCP data of first user equipment UE transmission Bag, the PDCP packet that a described UE is sent is sent to gateway and receives the PDCP that described gateway sends according to described base station Packet and the Internet protocol IP packet that issues;

Second package module, for the IP allocation of packets PDCP serial number issuing for described gateway, by described gateway The IP packet Reseal issuing becomes PDCP packet;

14th sending module, the PDCP packet for becoming described Reseal is sent to described 2nd UE;

15th sending module, switches to equipment to lead directly to D2D pattern for sending to a described UE by cell pattern Switching command, with indicate a described UE according to described switching command will under cell pattern first unsuccessful be sent to described in The PDCP packet of the 2nd UE and follow-up PDCP packet one D2D pattern are sent to described 2nd UE.

Data is activation, method of reseptance, user equipment, base station and gateway that on the one hand the embodiment of the present invention provides, a UE Directly send packet to the 2nd UE, after base station sends from the switching command that D2D pattern switching is cell pattern to a UE, First UE begins through base station from first unsuccessful packet being transferred to the 2nd UE and sends packet to the 2nd UE, and base station is first The packet that first UE is sent is sent to gateway via being then forwarded to the 2nd UE after gateway processes, thus complete a UE and 2nd UE is from D2D communication pattern to the switching of cell communication pattern.

Data transmission method for uplink and base station that on the other hand the embodiment of the present invention provides, a UE directly sends to the 2nd UE PDCP packet, after base station sends from the switching command that D2D pattern switching is cell pattern to a UE, a UE is from first The individual unsuccessful PDCP packet being transferred to the 2nd UE begins through base station and sends PDCP packet to the 2nd UE, directly will in base station The PDCP packet that first UE sends is transmitted to the 2nd UE, thus complete a UE and the 2nd UE leading to cell from D2D pattern The switching of letter pattern.

Data transmission method for uplink, user equipment and base station that the another aspect of the embodiment of the present invention provides, a UE passes through base station Send PDCP packet to the 2nd UE, after base station sends to a UE and switches to the switching command of D2D pattern from cell pattern, First UE starts to send PDCP data with D2D pattern to the 2nd UE from first unsuccessful PDCP packet being transferred to the 2nd UE Bag, thus complete a UE and the 2nd UE from cell pattern to the switching of D2D pattern.

Brief description

In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, acceptable Other accompanying drawings are obtained according to these accompanying drawings.

The flow chart of the data transmission method for uplink that Fig. 1 provides for one embodiment of the invention;

The flow chart of the data transmission method for uplink that Fig. 2 provides for another embodiment of the present invention;

The flow chart of the data receiver method that Fig. 3 provides for one embodiment of the invention;

The flow chart of the data processing method that Fig. 4 A provides for one embodiment of the invention;

Fig. 4 B is sent to the schematic diagram of the PDCP packet of the 2nd UE for the UE that one embodiment of the invention provides;

Fig. 4 C receives the schematic diagram of the PDCP packet of a UE for the 2nd UE that one embodiment of the invention provides;

The flow chart of the data processing method that Fig. 5 provides for another embodiment of the present invention;

The flow chart of the data processing method that Fig. 6 provides for further embodiment of this invention;

The flow chart of the data processing method that Fig. 7 provides for further embodiment of this invention;

The flow chart of the data processing method that Fig. 8 provides for further embodiment of this invention;

The flow chart of the data processing method that Fig. 9 provides for further embodiment of this invention;

The flow chart of the data processing method that Figure 10 provides for further embodiment of this invention;

The flow chart of the data transmission method for uplink that Figure 11 provides for further embodiment of this invention;

The flow chart of the data transmission method for uplink that Figure 12 provides for further embodiment of this invention;

The flow chart of the data transmission method for uplink that Figure 13 provides for further embodiment of this invention;

The flow chart of the data transmission method for uplink that Figure 14 provides for further embodiment of this invention;

The flow chart of the data receiver method that Figure 15 provides for further embodiment of this invention;

The flow chart of the data processing method that Figure 16 provides for further embodiment of this invention;

The structural representation of the UE that Figure 17 A provides for one embodiment of the invention;

The structural representation of the UE that Figure 17 B provides for another embodiment of the present invention;

The structural representation of the base station that Figure 18 A provides for one embodiment of the invention;

The structural representation of the base station that Figure 18 B provides for another embodiment of the present invention;

The structural representation of the UE that Figure 19 A provides for further embodiment of this invention;

The structural representation of the UE that Figure 19 B provides for further embodiment of this invention;

The structural representation of the UE that Figure 20 A provides for further embodiment of this invention;

The structural representation of the UE that Figure 20 B provides for further embodiment of this invention;

The structural representation of the base station that Figure 21 A provides for further embodiment of this invention;

The structural representation of the base station that Figure 21 B provides for further embodiment of this invention;

The structural representation of the UE that Figure 22 A provides for further embodiment of this invention;

The structural representation of the UE that Figure 22 B provides for further embodiment of this invention;

The structural representation of the base station that Figure 23 A provides for further embodiment of this invention;

The structural representation of the base station that Figure 23 B provides for further embodiment of this invention;

The structural representation of the UE that Figure 24 A provides for further embodiment of this invention;

The structural representation of the UE that Figure 24 B provides for further embodiment of this invention;

The structural representation of the gateway that Figure 25 provides for one embodiment of the invention.

Specific embodiment

Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.

The flow chart of the data transmission method for uplink that Fig. 1 provides for one embodiment of the invention.As shown in figure 1, the side of the present embodiment Method includes:

Step 101, a UE (user equipment) lead directly to D2D pattern to the 2nd UE with equipment and send packet.

This step 101 is described a UE and the 2nd UE and is communicated using D2D pattern.

Wherein, Ud can be set up between a UE and the 2nd UE carry.Ud carries and refers to that a UE and the 2nd UE is directly carried out Data transmit-receive and the carrying set up.

Ud carry set up after the completion of, a UE by communication service Internet protocol (Internet Protocol, IP) data envelope dresses up corresponding packet, then directly by Ud link, the packet being packaged into is sent to the 2nd UE.

What step 102, a UE received base station transmission is the switching command of cell pattern by D2D pattern switching.

In the present embodiment, base station is managed to the communication process between a UE and the 2nd UE.When needs are led to During the switching of letter pattern, base station can send switching command to a UE and/or the 2nd UE.In the present embodiment, described switching refers to Make for make a UE and the 2nd UE by use communication pattern by D2D pattern switching be cell pattern.

Illustrate, if a UE and the 2nd UE is mutually shifted, distance each other is more and more remote, as far as reusing D2D pattern carries out communicating when will result in serious loss of data or cannot reuse D2D pattern and communicated, and base station can be to First UE and/or the 2nd UE sends switching command.

Step 103, a UE are by first unsuccessful packet being sent to the 2nd UE and follow-up number under D2D pattern It is sent to base station according to bag.

Wherein, first unsuccessful packet being sent to the 2nd UE namely the 2nd UE first be not successfully received The packet that one UE sends, is the packet of first bust this during transmission data.

After a UE receives switching command, a UE and the 2nd UE all can set up Uu with base station and carry.Wherein, Uu holds Load is the carrying that a UE or the 2nd UE carries out data transmit-receive and sets up with base station.Wherein, how a UE and the 2nd UE distinguishes The process setting up Uu carrying with base station belongs to prior art, will not be described in detail herein.

Then, a UE, from the beginning of first unsuccessful packet being sent to the 2nd UE, is sent out to the 2nd UE by base station Send first unsuccessful packet being sent to the 2nd UE of transmission and follow-up packet.Wherein, a UE can be directly by It is sent to base station via the packet that IP data envelope is dressed up, the IP packet not being packaged is packaged, then sends out again Give base station.In this process, a UE sequentially can send packet to base station.

After base station receives the packet that a UE sends, packet is reduced to after IP packet be sent to gateway, By gateway, IP packet is processed, then receive the treated IP packet that gateway issues, and then gateway is issued IP data envelope dress up corresponding packet after be sent to the 2nd UE.Or the number that a UE can also directly be sent by base station It is transmitted to the 2nd UE according to bag, and not report gateway.

In the present embodiment, first and second UE is communicated using D2D pattern, when a UE receives base station transmission After switching command, a UE can begin through base station from first unsuccessful packet being sent to the 2nd UE and send to the 2nd UE Packet, and no longer directly send packet to the 2nd UE, complete the switching from D2D pattern to cell pattern.

Wherein, the packet that a UE is sent to the 2nd UE with D2D pattern specifically includes:First UE is to the 2nd UE with D2D Pattern sends PDCP (Packet Data Convergence Protocol, PDCP) packet.Accordingly, First unsuccessful packet being sent to the 2nd UE and follow-up packet include:First unsuccessful to be sent to the 2nd UE's PDCP packet and follow-up PDCP packet.

Wherein, (i.e. the 2nd UE first is not successfully received first unsuccessful PDCP packet being sent to the 2nd UE The PDCP packet that first UE sends) include the 2nd UE and receive but the PDCP packet that makes a mistake, also include the 2nd UE and do not have There is the PDCP packet receiving.First UE and the 2nd UE all can be known that a UE first is unsuccessful and be sent to the 2nd UE's The PDCP packet that the UE that PDCP packet or the 2nd UE first are not successfully received sends.Specifically, the 2nd UE is permissible The reception state of PDCP packet when receiving mode handover command, is fed back to a UE.

Wherein, described follow-up PDCP packet can be included in first unsuccessful PDCP data being sent to the 2nd UE All of PDCP packet after bag, that is, include success after first unsuccessful PDCP packet being sent to the 2nd UE It is sent to the PDCP packet of the 2nd UE, is transmitted across to the 2nd UE but the unsuccessful PDCP packet being sent to the 2nd UE and not yet The PDCP packet being transmitted across to the 2nd UE.Or, described follow-up PDCP packet includes first and unsuccessful is sent to The unsuccessful PDCP packet being sent to the 2nd UE after the PDCP packet of two UE, that is, include first and unsuccessful be sent to Backward 2nd UE of the PDCP packet of two UE is transmitted across but unsuccessful is sent to the PDCP packet of the 2nd UE and not yet to PDCP packet that two UE are transmitted across is (i.e. from after first unsuccessful PDCP packet being sent to the 2nd UE never The PDCP packet being transmitted across to the 2nd UE).

Sent as a example PDCP packet by a UE below, illustrate that base station receives the PDCP packet that a UE sends Handling process:After base station receives the PDCP packet that a UE sends, PDCP packet is carried out with decapsulation acquisition therein Then the IP unlocking packet is sequentially sent to gateway so that gateway is to logical between a UE and the 2nd UE by IP packet Letter carries out traffic statistics, charging etc. and processes.Then, the IP packet that reception gateway in base station issues, and again gateway is issued IP packet encapsulation is sent to the 2nd UE for after PDCP packet.

Here illustrates, base station can decapsulate to PDCP packet after receiving PDCP packet, then will decapsulate The IP packet going out is sent to gateway, thus in embodiments of the present invention everywhere described with " PDCP packet is sent by base station To gateway " similar description actually refers to that the IP packet of decapsulate from PDCP packet is sent to gateway by base station.

Wherein, the PDCP serial number of PDCP packet can ensure that the sequentially transmission of PDCP packet.Therefore base station can be net Close the IP allocation of packets PDCP serial number issuing in order to be able to sequentially send PDCP packet to the 2nd UE.

In the present embodiment, a UE is communicated using D2D pattern with the 2nd UE, sends when a UE receives base station Switching command after, a UE can begin through base station to second from first unsuccessful PDCP packet being sent to the 2nd UE UE sends PDCP packet, and no longer directly sends PDCP packet to the 2nd UE, completes from D2D pattern to cell pattern Switching.

The flow chart of the data transmission method for uplink that Fig. 2 provides for another embodiment of the present invention.As shown in Fig. 2 the present embodiment Method includes:

It is the switching command of cell pattern that step 201, base station send by D2D pattern switching to a UE, to indicate first UE from D2D pattern to the 2nd UE send packet switch to by base station to the 2nd UE send packet.

Before this, a UE directly sends PDCP packet to the 2nd UE with D2D pattern.A UE and the is detected in base station Communication process between two UE.When base station finds that a UE and the 2nd UE needs to be communicated by base station, that is, need using little During area's pattern, send switching command to a UE and/or the 2nd UE.

In the present embodiment, described switching command is used for making a UE and the 2nd UE by the communication pattern using by D2D mould Formula switches to cell pattern, even if a UE switches to by base station to the 2nd UE from directly sending PDCP packet to the 2nd UE Send PDCP packet.

Step 202, base station receive that a UE sends under D2D pattern, a UE first is unsuccessful is sent to the 2nd UE PDCP packet and follow-up PDCP packet.

Specifically, after a UE receives the switching command of base station transmission, a UE is from first unsuccessful transmission Begin through base station to the PDCP packet of the 2nd UE and send PDCP packet to the 2nd UE.Wherein, a UE first does not become Work(is sent to the PDCP data that the PDCP packet UE that namely the 2nd UE first is not successfully received of the 2nd UE sends Bag.Wherein, the PDCP packet that the UE that the 2nd UE first is not successfully received sends includes the 2nd UE and receives but occur The PDCP packet of mistake, also includes the PDCP packet that the 2nd UE is not received by.First UE and the 2nd UE all can be known The UE that the unsuccessful PDCP packet being sent to the 2nd UE of first UE first or the 2nd UE first are not successfully received sends out The PDCP packet sending.Wherein, follow-up PDCP packet includes first unsuccessful PDCP packet being sent to the 2nd UE All PDCP packets afterwards, or include unsuccessful after first unsuccessful PDCP packet being sent to the 2nd UE Give the PDCP packet of the 2nd UE.

Before a UE sends PDCP packet to base station, a UE and the 2nd UE is set up Uu respectively and carries with base station. Then by it, the Uu and base station between carries to base station transmission PDCP packet a UE.The process of setting up that Uu carries belongs to existing Technology, will not be described in detail herein.

The PDCP packet that first UE sends is sent to gateway and receives the IP data that gateway issues by step 203, base station Bag, is then re-packaged into PDCP for the IP allocation of packets PDCP serial number that gateway issues with the IP packet issuing gateway Packet.

After base station receives the PDCP packet that a UE sends, PDCP packet is carried out with decapsulation and obtains IP data Bag, then by deblocking, IP packet out is sent to gateway for gateway pair according to the order that a UE sends PDCP packet Communication between first UE and the 2nd UE carries out traffic statistics, charging etc. and processes.

Then, base station receives the IP packet that gateway issues according to the IP packet of the base station transmission receiving.Wherein, The order that the order that gateway sends IP packet to base station sends IP packet with base station to gateway device is separate.But It is that in general, gateway is sent to the IP packet of base station and to be sent to the IP packet of gateway be identical for base station.

Then, the IP data envelope that gateway issues is dressed up PDCP packet by base station.Wherein, base station encapsulates what gateway issued During IP packet is PDCP packet, base station needs for IP allocation of packets PDCP serial number.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 204, base station.

After the IP data envelope that gateway issues is dressed up PDCP packet by base station, PDCP packet that Reseal is become It is sent to the 2nd UE.Specifically, base station is carried by itself Uu and the 2nd UE between and for PDCP packet to be sent to the 2nd UE.

In the present embodiment, when base station is detected and needs to be communicated using cell pattern between a UE and the 2nd UE, Send switching command to a UE, a UE that is, passes through base station to the according to switching command from D2D pattern switching to cell pattern Two UE send PDCP data, thus completing between a UE and the 2nd UE communication pattern from D2D pattern cutting to cell pattern Change.

The flow chart of the data receiver method that Fig. 3 provides for one embodiment of the invention.As shown in figure 3, the side of the present embodiment Method includes:

Step 301, the 2nd UE receive the PDCP packet that a UE directly transmits.

This step 301 is described a UE and the 2nd UE and is communicated using D2D pattern.That is, a UE and the 2nd UE Between set up Ud and carry, a UE passes through itself Ud and the 2nd UE between and carries directly to send PDCP packet to the 2nd UE.Phase Answer, the 2nd UE receives, by itself Ud link and a UE between, the PDCP packet that a UE directly transmits.

For the 2nd UE, PDCP packet can be received according to the PDCP serial number order of PDCP packet.If counted During receiving, the 2nd UE finds have the PDCP packet of the reception that fails or RLC packet (for example to make a mistake The PDCP packet of PDCP packet or loss or RLC packet), the 2nd UE can feed back to a UE, or transmission packet loss turns again Request, and a UE can again transmit the 2nd UE according to the feedback of the 2nd UE or packet loss repeat requests and fail the PDCP of reception Packet or RLC packet.Specifically, (during namely normal D2D direct transfers), a UE before emergence pattern switching Retransmit PDCP packet to the 2nd UE or the RLC packet embodiment of the present invention is not limited.

Step 302, the 2nd UE receive the PDCP packet that base station sends.

Wherein, the PDCP packet that base station is sent to the 2nd UE is base station is little to a UE transmission by D2D pattern switching After the switching command of area's pattern, the unsuccessful PDCP packet being sent to the 2nd UE of a UE first that sends a UE and Follow-up PDCP packet be sent to gateway and by gateway according to the base station PDCP packet sending and the IP packet weight issuing New encapsulation.In the present embodiment, follow-up PDCP packet includes that a UE first is unsuccessful to be sent to the 2nd UE PDCP packet after all PDCP packets, or include the unsuccessful PDCP being sent to the 2nd UE of a UE first The unsuccessful PDCP packet being sent to the 2nd UE after packet.

This step 302 mainly describes communication pattern between a UE and the 2nd UE by D2D mould from the angle of the 2nd UE Formula switches to the communication process after cell pattern.Under cell pattern, PDCP packet is first sent to base station by a UE, through base Stand after being further processed with gateway, then the 2nd UE is sent to by base station.

Wherein, the communication pattern between a UE and the 2nd UE is mainly controlled by base station.When base station find a UE and When needing to be communicated using cell pattern between the 2nd UE, base station sends switching command to a UE and/or the 2nd UE, and first UE is switched to and is sent to the 2nd UE by base station from directly sending PDCP packet to the 2nd UE with D2D pattern according to switching command PDCP packet.Wherein, a UE is mainly by the process that base station sends PDCP packet to the 2nd UE:First UE is from first The individual unsuccessful PDCP packet being sent to the 2nd UE starts (to include that a UE first is unsuccessful to be sent to the 2nd UE's PDCP packet) send PDCP packet to base station, the PDCP packet that base station sends to a UE carries out decapsulation and obtains IP Then IP packet is sent to gateway according to the order that a UE sends PDCP packet to base station by packet;Gateway according to The IP packet that base station sends carries out traffic statistics, charging etc. and processes, then to base to the communication between a UE and the 2nd UE Station issues IP packet.Wherein, gateway issues the order of each IP packet to base station and base station sends each IP packet to gateway Order be separate.Then, base station issues for gateway IP allocation of packets PDCP serial number is to issue gateway IP packet Reseal becomes PDCP packet, finally the PDCP packet that Reseal becomes is sent to the 2nd UE.

In the present embodiment, the 2nd UE first receives the PDCP packet that a UE directly transmits, in a UE and the 2nd UE Between communication pattern by D2D pattern switching be cell pattern when, the 2nd UE receive a UE sent to the 2nd UE by base station PDCP packet, the match switching of the communication pattern being combined between a UE and the 2nd UE of a 2nd UE and UE provides article Part is so that the communication pattern of a UE and the 2nd UE can be by D2D pattern switching to cell pattern.

In above-mentioned data transmission method for uplink or data receiver method flow process, communication pattern between a UE and the 2nd UE Handoff procedure namely solves the problems, such as that PDCP packet forwards.Wherein, because the Uu between a UE and base station carries and the It is separate that Uu between two UE and base station carries, thus a UE according to certain PDCP serial number order by PDCP number It is sent to base station according to bag, and base station is carried using the Uu and the 2nd UE between and sequentially sends out to the 2nd UE according to certain PDCP serial number Sending between PDCP packet is mutual independence, and therefore, base station is sent to the order of IP packet of gateway and gateway is handed down to base The order of the IP packet stood is also independent.That is, a UE is sent to the PDCP sequence of the PDCP packet of base station Number and base station be sent to the 2nd UE the PDCP serial number of PDCP packet between there is no necessary connection, PDCP serial number identical The IP packet that two PDCP packets are comprised might not be identical.The UE transmission so receiving as the 2nd UE When the PDCP serial number of PDCP packet is identical with the PDCP serial number of the PDCP packet that the base station that receives sends it is possible to There is packet loss.Due to the needs of some business, the packet loss for packet is highstrung.Therefore, how to ensure logical Ensureing in letter mode handover procedure that packet is not lost or the packet loss of packet is reduced to alap level is one The key factor of individual impact communication pattern quality of handoff.

For the problems referred to above, following examples of the present invention provide several is realizing the communication between a UE and the 2nd UE Pattern, while D2D pattern switching is to cell pattern, is further ensured that not packet loss or the method as far as possible reducing packet loss.

The flow chart of the data processing method that Fig. 4 A provides for one embodiment of the invention.As shown in Figure 4 A, the present embodiment Method includes:

Step 401, a UE directly send PDCP packet to the 2nd UE.

This step 401 can be found in the description of step 101.

It is the switching command of cell pattern that step 402, base station send by D2D pattern switching to a UE;First UE receives The switching command that base station sends.

This step 402 can be found in the description of step 201 and step 102.

Become after the PDCP packet that be not successfully received at current first the first UE is sent by step 403, the 2nd UE The PDCP packet that work(receives is sent to a UE, and the PDCP data that the be not successfully received the first UE is sent at first The PDCP packet being successfully received after bag is deleted.

Generally, if PDCP packet is successfully sent to the 2nd UE by a UE, for example, a UE receives the 2nd UE and returns Confirmation (Ack) information, this PDCP packet can be removed from the cache by a UE, in order to improve the utilization of memory space Rate.Successfully send out after first unsuccessful PDCP packet being sent to the 2nd UE to prevent the UE from cannot obtain Give the PDCP packet of the 2nd UE, the PDCP that in the present embodiment, the be not successfully received the first UE is sent by the 2nd UE at first The PDCP packet being properly received after packet returns to a UE, this ensures that theres a UE and can successfully get Each PDCP packet after the PDCP packet that unsuccessful to be sent to the 2nd UE.

Wherein, the 2nd UE will return to the PDCP packet sending in first UE being not successfully received of a UE The PDCP packet that is properly received afterwards delete be in order to avoid packet repeat receive.

The present embodiment illustrates the unsuccessful PDCP packet being sent to the 2nd UE of a UE first by diagramatic way, with And the PDCP packet that sends of the UE that is not successfully received of the 2nd UE first and the pass between each PDCP packet afterwards System.As shown in Figure 4 B, it is the PDCP packet that a UE is sequentially sent to the 2nd UE.Wherein, PDCP packet shown in dotted line frame Refer to the unsuccessful PDCP packet being sent to the 2nd UE of a UE first, its PDCP Serial No. 3.As shown in Figure 4 C, it is The PDCP packet that 2nd UE received in-order the UE sends.Wherein, the PDCP packet shown in dotted line frame is the 2nd UE first The PDCP packet that the individual UE being not successfully received sends, its Serial No. 3, and shown in the solid box above dotted line frame The PDCP serial number of PDCP packet is respectively 4,5,6, the PDCP sequence of PDCP packet shown in the solid box below dotted line frame Number be respectively 1,2.Wherein, the PDCP packet of PDCP Serial No. 4,5,6 is the 2nd UE in the reception PDCP sequence that fails The PDCP packet of a UE being properly received after PDCP packet number for 3.

In this step, the 2nd UE needs the PDCP sequence after the PDCP serial number of PDCP Serial No. 3, receiving Row number is 4,5,6 PDCP packet returns to a UE, and deletes the PDCP packet of PDCP Serial No. 4,5,6.And the One UE needs to begin through base station to the 2nd UE transmission PDCP packet from the PDCP packet of PDCP Serial No. 3, will PDCP Serial No. 3 and thereafter all PDCP packets are sent to the 2nd UE by base station.

The PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE is sent by step 404, a UE To base station.

Here illustrates, the execution sequence of above-mentioned steps 403 and step 404 does not limit.

Step 405, a UE, from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, first are not become Work(is sent to the PDCP packet of the 2nd UE and follow-up PDCP packet is sent to base station.

In the present embodiment, follow-up PDCP packet includes the unsuccessful PDCP being sent to the 2nd UE of a UE first All of PDCP packet after packet.

Step 406, base station receive the PDCP packet that a UE sends, and the PDCP packet receiving is decapsulated Obtain IP packet.

IP packet is sent to gateway according to the order that a UE sends PDCP packet to base station by step 407, base station.

Step 408, gateway are processed to the IP packet that base station sends, and then again IP packet are handed down to base Stand.

Step 409, base station are from the PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE of a UE Start to be re-packaged into PDCP number for the IP allocation of packets PDCP serial number that gateway issues with the IP packet issuing gateway According to bag.

Assume that a UE is to the PDCP packet of base station transmission PDCP Serial No. 3,4,5,6 in step 407, and PDCP The IP Serial No. 6,7,8,9 of the IP packet that packet comprises successively, then base station can be by the IP number of IP Serial No. 6,7,8,9 Sequentially it is sent to gateway according to bag.

Accordingly, in a step 408 assume gateway successively to the IP packet that base station issues be IP Serial No. 8,9,7,6 IP packet.

Wherein, the PDCP Serial No. 3 of the unsuccessful PDCP packet being sent to the 2nd UE of a UE first.Then in step In rapid 409, base station can be followed successively by the IP allocation of packets PDCP serial number 3,4,5,6 of IP Serial No. 8,9,7,6.Wherein, Two UE are to be received according to the order that PDCP serial number carries out packet.For the 2nd UE, will receive PDCP serial number according to Secondary is 3,4,5,6, and IP serial number is followed successively by 8,9,7,6 packet.

In the present embodiment, base station is from the PDCP sequence of first unsuccessful PDCP packet being sent to the 2nd UE of a UE Row number starts the IP allocation of packets PDCP serial number issuing for gateway, is PDCP number in the IP packet encapsulation issuing gateway Outside bag, the PDCP serial number of PDCP packet of Reseal one-tenth and a UE can also be made to be successfully sent to second The PDCP serial number of the PDCP packet of UE is mutually continuous, and has not been successfully sent to the PDCP packet of the 2nd UE with a UE PDCP serial number phase conflict, thus for solve the 2nd UE because PDCP serial number conflict abandon PDCP packet and cause PDCP number Problem according to packet loss lays the foundation.

In the present embodiment, the IP packet that base station parses from the PDCP packet that a UE sends, or gateway It is handed down to the IP packet of base station, the actually the first UE is not yet successfully sent to the IP packet of the 2nd UE.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 410, base station.

The PDCP packet that step 411, the 2nd UE send according to the UE being successfully received, receives base station and sends PDCP packet.

Specifically, the 2nd UE continues to base station transmission based on the PDCP packet being successfully received a UE transmission PDCP packet.For example, the 2nd UE can store the PDCP packet and the of base station transmission using same data buffer storage queue The PDCP packet that one UE sends., the 2nd UE can be by the PDCP number of the PDCP receiving Serial No. 3,4,5,6 taking Fig. 4 C as a example It is sequentially placed in dotted line frame and three solid box above it according to bag.Then, the 2nd UE is simultaneously according to each PDCP shown in Fig. 4 C Packet carries out subsequent treatment.

In the present embodiment, after the PDCP packet that the be not properly received at first the first UE is sent by the 2nd UE just The PDCP packet really receiving returns to a UE so that a UE successfully can be not issued to the 2nd UE's from first PDCP packet begins through base station and sends PDCP packet to the 2nd UE;First UE unsuccessful is sent to the 2nd UE by first The PDCP serial number of PDCP packet be sent to base station and make base station start not yet to be sent to for a UE from this PDCP serial number The IP allocation of packets PDCP serial number of the 2nd UE is so that the 2nd UE can be properly received the PDCP packet of base station transmission, both Complete switching from D2D pattern to cell pattern for the communication pattern between a UE and the 2nd UE, again will not with successfully connect The PDCP packet that the UE receiving sends sends conflict it is ensured that there is not packet loss or most in communication pattern handoff procedure Amount reduces packet loss.

The flow chart of the data processing method that Fig. 5 provides for another embodiment of the present invention.As shown in figure 5, the present embodiment Method includes:

Step 501, a UE directly send PDCP packet to the 2nd UE.

This step 501 can be found in the description of step 101.

It is the switching command of cell pattern that step 502, base station send by D2D pattern switching to a UE, and a UE receives The switching command that base station sends.

This step 502 can be found in the description of step 201 and step 102.

Become after the PDCP packet that be not successfully received at current first the first UE is sent by step 503, the 2nd UE The PDCP packet that work(receives is sent to a UE, and the PDCP data that the be not successfully received the first UE is sent at first The PDCP packet being successfully received after bag is deleted.

This step 503 can be found in the description of step 403.

The PDCP sequence of the PDCP packet that the UE that current first is not successfully received is sent by step 504, the 2nd UE Row number is sent to base station.

In the present embodiment, the PDCP sequence of the PDCP packet that the UE that first is not successfully received is sent by the 2nd UE Row number is sent to base station, the IP allocation of packets PDCP serial number being issued based on this PDCP Serial No. gateway in order to base station.

Because the PDCP packet that first UE being not successfully received of the 2nd UE sends is not become for first with a UE The PDCP packet that work(is sent to the 2nd UE is identical, therefore both PDCP serial numbers are also identical.

Therefore, other steps of the present embodiment can be found in the description of Fig. 4 A illustrated embodiment.

Wherein, the execution sequence of step 503 and step 504 does not also limit.

Step 505, a UE, from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, first are not become Work(is sent to the PDCP packet of the 2nd UE and follow-up PDCP packet is sent to base station.

In the present embodiment, follow-up PDCP packet includes the unsuccessful PDCP being sent to the 2nd UE of a UE first All of PDCP packet after packet.

Step 506, base station receive the PDCP packet that a UE sends, and the PDCP packet receiving is decapsulated Obtain IP packet.

IP packet is sent to gateway according to the order that a UE sends PDCP packet to base station by step 507, base station.

Step 508, gateway are processed to the IP packet that base station sends, and then again IP packet are handed down to base Stand.

Step 509, base station are from the PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE of a UE Start to be re-packaged into PDCP number for the IP allocation of packets PDCP serial number that gateway issues with the IP packet issuing gateway According to bag.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 510, base station.

The PDCP packet that step 511, the 2nd UE send according to the UE being successfully received, receives base station and sends PDCP packet.

The present embodiment is similar with Fig. 4 A illustrated embodiment, has similarly technique effect, has both completed a UE and Switching from D2D pattern to cell pattern for the communication pattern between two UE, will not make base station be sent to the PDCP data of the 2nd UE again The PDCP packet transmission that bag is sent with the UE being successfully received conflicts it is ensured that in communication pattern handoff procedure There is not packet loss or reduce packet loss as far as possible.

The flow chart of the data processing method that Fig. 6 provides for further embodiment of this invention.As shown in fig. 6, the present embodiment Method includes:

Step 601, a UE directly send PDCP packet to the 2nd UE.

This step 601 can be found in the description of step 101.

It is the switching command of cell pattern that step 602, base station send by D2D pattern switching to a UE;First UE receives The switching command that base station sends.

This step 602 can be found in the description of step 201 and step 102.

Become after the PDCP packet that be not successfully received at current first the first UE is sent by step 603, the 2nd UE The PDCP packet that work(receives is sent to a UE, and the PDCP data that the be not successfully received the first UE is sent at first The PDCP packet being successfully received after bag is deleted.

This step 603 can be found in the description of step 403.

Step 604, a UE execution PDCP reset, that is, reset first unsuccessful PDCP packet being sent to the 2nd UE And follow-up PDCP packet PDCP serial number.

In the present embodiment, a UE and the 2nd UE and base station are made an appointment when carrying out pattern switching, a UE from First unsuccessful PDCP packet being sent to the 2nd UE starts, and is sent to the 2nd UE's by unsuccessful for a UE first The PDCP serial number of PDCP packet and follow-up packet is reset, and starts again to join for these PDCP packets from 0 Put PDCP serial number.

In this embodiment, the 2nd UE also executes PDCP and resets, and that is, a UE can be sent by the 2nd UE by base station PDCP packet as new PDCP packet individual reception, therefore, also will not be sent with the UE that has been received by PDCP packet clashes.

, a UE can be by the PDCP packet of former PDCP Serial No. 3,4,5,6 taking shown in Fig. 4 B and Fig. 4 C as a example PDCP serial number resets to 0,1,2,3.When the 2nd UE receives the PDCP packet of base station transmission, the 2nd UE can individual reception And the PDCP packet being received using other memory space storage, that is, the 2nd UE can be deposited using other outside Fig. 4 C Suo Shi The PDCP packet that storage space storage base station sends.Then, the 2nd UE is simultaneously based on the PDCP number in memory space shown in Fig. 4 C According to bag and Fig. 4 C shown in outside memory space in PDCP packet carry out Business Processing.

Step 605, a UE, from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, first are not become Work(is sent to the PDCP packet of the 2nd UE and follow-up PDCP packet is sent to base station.

In the present embodiment, follow-up PDCP packet includes the unsuccessful PDCP being sent to the 2nd UE of a UE first All of PDCP packet after packet.

Step 606, base station receive the PDCP packet that a UE sends, and the PDCP packet receiving is decapsulated Obtain IP packet.

IP packet is sent to gateway according to the order that a UE sends PDCP packet to base station by step 607, base station.

Step 608, gateway are processed to the IP packet that base station sends, and then again IP packet are handed down to base Stand.

This step 605- step 608 can be found in the description of step 405- step 408.

Step 609, base station start the IP allocation of packets PDCP serial number that issues for gateway with by net from PDCP serial number 0 Close the IP packet issuing and be re-packaged into PDCP packet.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 610, base station.

As new business datum, individual reception simultaneously stores base to the PDCP packet that base station is sent by step 611, the 2nd UE Stand send PDCP packet.

In the present embodiment, because a UE is weighed to the PDCP serial number of the follow-up PDCP packet needing and sending Put, therefore the 2nd UE as new business datum individual reception and can store the PDCP packet that a UE is sent by base station.

Although in reception and storage, the 2nd UE is to discriminate between treating the PDCP packet that a UE directly transmits and via base Stand the PDCP packet sending, but when carrying out Business Processing, the 2nd UE can enter according to this two parts PDCP packet simultaneously Row is processed.

In the present embodiment, a UE passes through first unsuccessful PDCP packet of the 2nd UE and follow-up of being sent to The PDCP serial number of PDCP packet is reset so that the PDCP packet that can send base station of the 2nd UE is as new industry Business Dynamic data exchange receives and stores, and has both completed the switching by D2D pattern to cell pattern for the communication pattern and a UE between, Turn avoid the PDCP packet phase sending with the UE being successfully received to conflict it is ensured that switching in communication pattern Not packet loss or packet loss is preferably minimized in journey.

The flow chart of the data processing method that Fig. 7 provides for further embodiment of this invention.As shown in fig. 7, the present embodiment Method includes:

Step 701, a UE directly send PDCP packet to the 2nd UE.

This step 701 can be found in the description of step 101.

It is the switching command of cell pattern that step 702, base station send by D2D pattern switching to a UE;First UE receives The switching command that base station sends.

This step 702 can be found in the description of step 201 and step 102.

Step 703, a UE, from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, first are not become Work(is sent to the PDCP packet of the 2nd UE and follow-up PDCP packet is sent to base station, is not issued to by first simultaneously The PDCP packet of two UE and being subsequently transmitted across to the 2nd UE but the unsuccessful PDCP packet being sent to the 2nd UE PDCP serial number sends jointly to base station.In the present embodiment, it is unsuccessful that follow-up PDCP packet includes a UE first The unsuccessful PDCP packet being sent to the 2nd UE after being sent to the PDCP packet of the 2nd UE.

Specifically, a UE, from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, first is not become Work(is sent to the PDCP packet of the 2nd UE and has subsequently been transmitted across to the 2nd UE but the unsuccessful PDCP being sent to the 2nd UE Packet and the PDCP packet being never transmitted across to the 2nd UE are sent to the 2nd UE.That is, described in the present embodiment Follow-up PDCP packet is included after the unsuccessful PDCP packet being sent to the 2nd UE of a UE first to second UE is transmitted across but the unsuccessful PDCP packet being sent to the 2nd UE and the PDCP packet never sending to the 2nd UE, and does not wrap Include the PDCP packet being successfully sent to the 2nd UE.Therefore, in the present embodiment, the 2nd UE does not need at first not The PDCP packet being successfully received after the PDCP packet that the UE being properly received sends returns to a UE, so may be used To mitigate the transmission burden of the 2nd UE.

Wherein, a UE first unsuccessful PDCP packet being sent to the 2nd UE rear be transmitted across to the second UE but The unsuccessful PDCP packet being sent to the 2nd UE refers to PDCP packet and the 2nd UE that the 2nd UE first is not successfully received Between maximum (or count (COUNT) value maximum) the PDCP packet of the PDCP serial number that is properly received, those the 2nd UE are not The PDCP packet being properly received.

In the present embodiment, a UE is by first unsuccessful PDCP packet of the 2nd UE and follow-up of being sent to While PDCP packet is sent to base station, the packet of first unsuccessful PDCP being sent to the 2nd UE and the 2nd UE are become The 2nd UE is unsuccessful connects for those between maximum (or COUNT value maximum) the PDCP packet of PDCP serial number that work(receives The PDCP packet received sends jointly to base station, mesh together with them in the PDCP serial number of Ud link or serial number and Hyper Frame Number Be make base station by the packet of first unsuccessful PDCP being sent to the 2nd UE and be subsequently transmitted across to the 2nd UE but The PDCP serial number of the unsuccessful PDCP packet being sent to the 2nd UE or serial number and Hyper Frame Number are encapsulated in a UE first The individual unsuccessful packet of PDCP being sent to the 2nd UE and follow-up be transmitted across to the 2nd UE but unsuccessful be sent to the It is sent to gateway in IP packet in the PDCP packet of two UE, and receive inclusion PDCP serial number or the sequence that gateway issues The IP packet of row number and Hyper Frame Number, in order to according to the PDCP serial number carrying in IP packet or serial number and Hyper Frame Number The IP allocation of packets PDCP serial number issuing for gateway.

Still, a UE is sent to base station in the PDCP packet by PDCP Serial No. 3 taking shown in Fig. 4 B and Fig. 4 C as a example While, can be by sent along for PDCP serial number 3 to base station.And the PDCP for follow-up PDCP Serial No. 4,5,6,7,8 etc. Packet is due to being that a UE has been successfully sent to the 2nd UE or the PDCP packet being never transmitted across to the 2nd UE, therefore is not required to Its PDCP serial number is sent to base station.

Further, which being distinguished for the ease of base station is that a UE is transmitted across to the 2nd UE but the PDCP number of unsuccessful transmission According to bag, which is the PDCP packet that a UE is never transmitted across to the 2nd UE, and a UE can be at last to the 2nd UE Be transmitted across but add configured information in the unsuccessful PDCP packet being sent to the 2nd UE, with signals base subsequently received the No longer carry PDCP serial number in the PDCP packet that one UE sends, that is, the UE telling base station subsequently received sends PDCP packet be that a UE has been successfully sent to the packet of the 2nd UE or the PDCP data being never transmitted across to the 2nd UE Bag., the PDCP packet due to only having PDCP Serial No. 3 is that a UE sends to the 2nd UE taking shown in Fig. 4 B and Fig. 4 C as a example Cross but the unsuccessful PDCP packet being sent to the 2nd UE, therefore a UE can be in the PDCP packet of PDCP Serial No. 3 Encapsulation configured information.

Step 704, base station receive the PDCP packet that a UE sends, and receive the UE first that a UE sends The unsuccessful PDCP packet being sent to the 2nd UE and be subsequently transmitted across to the 2nd UE but unsuccessful be sent to the 2nd UE The PDCP serial number of PDCP packet or serial number and Hyper Frame Number.

In the present embodiment, for first unsuccessful PDCP packet being sent to the 2nd UE of a UE with subsequently It is transmitted across to the 2nd UE but the unsuccessful PDCP packet being sent to the 2nd UE, base station not only will receive these PDCP packets also PDCP serial number or serial number and the Hyper Frame Number of these PDCP packets can be received.

Step 705, base station carry out decapsulation and obtain IP packet to the PDCP packet receiving, and a UE is sent First UE first is unsuccessful to be sent to the PDCP packet of the 2nd UE and subsequently sends but unsuccessful transmission to the 2nd UE It is encapsulated in the unsuccessful PDCP number being sent to the 2nd UE of a UE first to the PDCP serial number of the PDCP packet of the 2nd UE According to the IP packet in bag and subsequently it is transmitted across but in the unsuccessful PDCP packet being sent to the 2nd UE to the 2nd UE In IP packet, it is sent to gateway according to the order that a UE sends PDCP packet to base station.

In the present embodiment, base station pass through by unsuccessful for a UE first PDCP packet being sent to the 2nd UE and after Continuous it has been transmitted across to the 2nd UE but the unsuccessful PDCP packet being sent to the 2nd UE (i.e. the 2nd UE is not successfully received) PDCP serial number is encapsulated in the IP packet by these PDCP packet decapsulates, is then sent to gateway.For first The PDCP packet that UE is never transmitted across to the 2nd UE, base station directly by the IP packet of decapsulate according to a UE to base station The order sending PDCP packet is sent to gateway.

Step 706, gateway are processed to the IP packet that base station sends, and then again IP packet are handed down to base Stand.

Wherein, no matter whether IP packet carries PDPC serial number or serial number and Hyper Frame Number, and gateway can be according to identical Mode IP packet is processed, and be handed down to base station after process terminates.Wherein, if IP packet carries in itself PDCP serial number or serial number and Hyper Frame Number, then gateway be sent to the IP packet of base station and just carry PDCP serial number or sequence Row number and Hyper Frame Number, if IP packet itself does not carry PDCP serial number or serial number and Hyper Frame Number, gateway is sent to The IP packet of base station does not just carry PDCP serial number.

The IP packet carrying PDCP serial number or serial number and Hyper Frame Number that step 707, base station issue according to gateway Entrained PDCP serial number, is each IP allocation of packets PDCP serial number that gateway issues, the IP number that gateway is issued It is re-packaged into PDCP packet according to bag.

For example, the PDCP serial number carrying entrained by the IP packet of PDCP serial number is distributed this IP packet by base station, And the IP allocation of packets PDCP sequence that other do not carry PDCP serial number is continued as according to the order of this distribution PDCP serial number Number.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 708, base station.

The PDCP packet that step 709, the 2nd UE send according to the UE being successfully received, receives base station and sends PDCP packet.

In the present embodiment, a UE passes through first unsuccessful PDCP packet being sent to the 2nd UE and follow-up It has been transmitted across to the 2nd UE but the PDCP serial number of PDCP packet that is not successfully received of the 2nd UE is supplied to base station so that base Stand and these PDCP serial numbers are encapsulated in corresponding IP packet, and basis carries PDCP sequence after gateway issues IP packet The IP packet that the PDCP Serial No. gateway entrained by IP packet of row number issues carry out PDCP serial number distribution so that Distribution PDCP serial number is evidence-based, it is to avoid be successfully sent to the PDCP sequence of the PDCP packet of the 2nd UE with a UE Row number clashes, and has both achieved the switching of communication pattern, in turn ensure that in communication pattern handoff procedure not packet loss or will lose Bag rate is preferably minimized.

The flow chart of the data processing method that Fig. 8 provides for further embodiment of this invention.As shown in figure 8, the present embodiment Method includes:

Step 801, a UE directly send PDCP packet to the 2nd UE.

This step 801 can be found in the description of step 101.

It is the switching command of cell pattern that step 802, base station send by D2D pattern switching to a UE;First UE receives The switching command that base station sends.

This step 802 can be found in the description of step 201 and step 102.

Become after the PDCP packet that be not successfully received at current first the first UE is sent by step 803, the 2nd UE The PDCP packet that work(receives is sent to a UE, and the PDCP packet that the be not successfully received the first UE is sent at first The PDCP packet being successfully received afterwards is deleted.

This step 803 can be found in the description of step 403.

Step 804, a UE, from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, first are not become Work(is sent to the PDCP packet of the 2nd UE and follow-up PDCP packet is sent to base station.

In the present embodiment, follow-up PDCP packet includes the unsuccessful PDCP being sent to the 2nd UE of a UE first All of PDCP packet after packet.

This step 804 can be found in the description of step 405.

Step 805, base station receive the PDCP packet that a UE sends, and record first that a UE is sent to base station The PDCP serial number of PDCP packet.

Because a UE is from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, sequentially send to base station PDCP packet, therefore, a UE is sent to first PDCP packet of base station, and namely a UE first is unsuccessful It is sent to the PDCP packet of the 2nd UE.

In the present embodiment, base station is decapsulated by a UE is sent to first PDCP packet of base station, Obtain the PDCP serial number of this first PDCP packet, and be sent to base station without a UE or the 2nd UE, advantageously reduce Interaction flow.

Step 806, base station the PDCP packet receiving is carried out decapsulation obtain IP packet, by IP packet according to The order that first UE sends PDCP packet to base station is sent to gateway.

Step 807, gateway are processed to the IP packet that base station sends, and then again IP packet are handed down to base Stand.

Step 808, base station are from the PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE of a UE Start to be re-packaged into PDCP number for the IP allocation of packets PDCP serial number that gateway issues with the IP packet issuing gateway According to bag.

Wherein, the PDCP serial number of the unsuccessful PDCP packet being sent to the 2nd UE of a UE first is a UE It is sent to the PDCP serial number of first PDCP packet of base station.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 809, base station.

The PDCP packet that step 810, the 2nd UE send according to the UE being successfully received, receives base station and sends PDCP packet.

The present embodiment is similar with Fig. 4 A illustrated embodiment, and difference is, base station obtains a UE first unsuccessful The operation giving the PDCP serial number of the PDCP packet of the 2nd UE is different, and other steps can be found in retouching of Fig. 4 A illustrated embodiment State.

The present embodiment had equally both completed communication pattern cutting from D2D pattern to cell pattern between a UE and the 2nd UE Change, the PDCP data that the PDCP packet that base station is sent to the 2nd UE is sent with the UE being successfully received will not be made again Bag sends conflict it is ensured that packet loss does not occur in communication pattern handoff procedure or reduces packet loss as far as possible.

The flow chart of the data processing method that Fig. 9 provides for further embodiment of this invention.As shown in figure 9, the present embodiment Method includes:

Step 901, a UE directly send PDCP packet to the 2nd UE.

It is the switching command of cell pattern that step 902, base station send by D2D pattern switching to a UE;First UE receives The switching command that base station sends.

Step 903, a UE, from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, first are not become Work(is sent to the PDCP packet of the 2nd UE and follow-up PDCP packet is sent to base station.

In the present embodiment, described follow-up PDCP packet includes that a UE first is unsuccessful to be sent to the 2nd UE's It has been transmitted across to the 2nd UE after PDCP packet but unsuccessful be sent to the PDCP packet of the 2nd UE and never to second The PDCP packet that UE is transmitted across.

Step 904, base station receive the PDCP packet that a UE sends, and the PDCP packet receiving is decapsulated Obtain IP packet, record the UE sends simultaneously the PDCP serial number of PDCP packet and the PDCP data of UE transmission Corresponding relation between the IP serial number of the IP packet in bag.

In the present embodiment, after base station receives the PDCP packet that a UE sends, PDCP packet is solved Encapsulation obtains IP packet, records the PDCP serial number of this PDCP packet and the IP sequence of the IP packet of decapsulate simultaneously Corresponding relation between number, in order to the IP allocation of packets PDCP serial number subsequently being issued for gateway based on this corresponding relation.

Still PDCP Serial No. 3,4,5,6 is sent to base station with a UE, the IP serial number of wherein IP packet is followed successively by 6th, as a example 7,8,9, then base station can record the corresponding relation between PDCP serial number 3 and IP serial number 6, PDCP serial number 4 and IP Corresponding relation between serial number 7, the corresponding relation between PDCP serial number 5 and IP serial number 8, PDCP serial number 6 and IP sequence Corresponding relation between row number 9.

IP packet is sent to gateway according to the order that a UE sends PDCP packet to base station by step 905, base station.

Step 906, gateway are processed to the IP packet that base station sends, and then again IP packet are handed down to base Stand.

The IP allocation of packets corresponding PDCP sequence that step 907, base station issue for gateway according to the corresponding relation of record Number, the IP packet that gateway is issued is re-packaged into PDCP packet.

For example, the IP serial number of the IP packet that base station issues according to gateway record corresponding relation in find with identical IP serial number corresponding PDCP serial number, the PDCP serial number then finding for this IP allocation of packets, such base station and first UE is that the PDCP serial number of same IP allocation of packets is identical.Illustrate, base station can be the IP number of IP Serial No. 6,7,8,9 It is respectively allocated PDCP serial number 3,4,5,6 according to bag.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 908, base station.

The PDCP packet that step 909, the 2nd UE send according to the UE being successfully received, receives base station and sends PDCP packet.

In the present embodiment, base station is passed through to record the PDCP serial number of PDCP packet and each PDCP that a UE sends Corresponding relation between the IP serial number of the IP packet in packet, is then based on recorded corresponding relation and issues for gateway IP allocation of packets PDCP serial number sent out so that distributing PDCP serial number by each IP packet that gateway issues with a UE PDCP serial number when sending is consistent, thus avoiding being successfully sent to the PDCP packet of the 2nd UE with a UE before PDCP serial number clashes, and has both completed communication pattern cutting from D2D pattern to cell pattern between a UE and the 2nd UE Change, the PDCP data that the PDCP packet that base station is sent to the 2nd UE is sent with the UE being successfully received will not be made again Bag sends conflict it is ensured that packet loss does not occur in communication pattern handoff procedure or reduces packet loss as far as possible.

The flow chart of the data processing method that Figure 10 provides for further embodiment of this invention.As shown in Figure 10, the present embodiment Method include:

Step 1001, a UE directly send PDCP packet to the 2nd UE.

It is the switching command of cell pattern that step 1002, base station send by D2D pattern switching to a UE;First UE receives The switching command that base station sends.

Become after the PDCP packet that be not successfully received at current first the first UE is sent by step 1003, the 2nd UE The PDCP packet that work(receives is sent to a UE, and the PDCP packet that the be not successfully received the first UE is sent at first The PDCP packet being successfully received afterwards is deleted.

Step 1004, a UE or the 2nd UE are by the PDCP sequence of first unsuccessful PDCP packet being sent to the 2nd UE Row number is sent to base station.

Step 1005, a UE from the beginning of first unsuccessful PDCP packet being sent to the 2nd UE, by first not It is successfully sent to the PDCP packet of the 2nd UE and follow-up PDCP packet is sent to base station.

Step 1006, base station receive the PDCP packet that a UE sends, and the PDCP packet receiving is unsealed Dress obtains IP packet.

IP packet is sent to net according to the order that a UE sends PDCP packet to base station by step 1007, base station Close.

Step 1008, gateway are processed to the IP packet that base station sends, then according to receiving the IP number that base station sends IP packet is handed down to base station by order according to bag again.

In the present embodiment, gateway receives the IP packet being sent to the 2nd UE by a UE that base station sends, and records Receive the order of IP packet.Wherein, described IP packet is that the PDCP packet that base station sends to a UE decapsulates Obtain, IP packet includes the mark of a UE and the mark of the 2nd UE.Then, gateway is to the IP data receiving Bag is processed, and issues the IP packet after process to base station according to the order of record.

Wherein, gateway can know the mark of a UE and the mark of the 2nd UE in advance.Specifically, base station can in advance to Gateway sends the mark of a UE and the mark of the 2nd UE, and gateway receives the mark of the UE that base station sends and the mark of the 2nd UE Know.Based on this, gateway receives the IP packet being sent to the 2nd UE by a UE that base station sends, and records reception IP packet Order include:Gateway is according to the mark of the UE known in advance and the mark of the 2nd UE, the IP packet sending in base station In identify the IP packet being sent to the 2nd UE by a UE, and record and receive the IP number that these UE are sent to the 2nd UE Order according to bag.After process terminates, gateway issues these warps according to the order of these IP packets of reception of record to base station Cross the IP packet processing.So base station sends the order of IP packet to gateway and gateway sends the suitable of IP packet to base station Sequence is identical.

Wherein, the mark with the 2nd UE of a UE can be the IP address of a UE and the 2nd UE, but not limited to this.

Step 1009, base station receive the IP packet that gateway issues according to the order receiving the IP packet that base station sends.

Step 1010, base station are from the PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE of a UE Start to be re-packaged into PDCP number for the IP allocation of packets PDCP serial number that gateway issues with the IP packet issuing gateway According to bag.

The order of the IP packet being issued due to gateway is identical with the order of the IP packet that base station is sent to gateway, and base Stand the IP starting to issue for gateway from the PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE of a UE Allocation of packets PDCP serial number, the PDCP packet that such Reseal becomes and a UE are sent to the PDCP packet of base station Identical.The PDCP serial number of the corresponding PDCP packet of identical inclusion described here is identical, and encapsulates in corresponding PDCP packet IP packet also identical.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 1011, base station.

In the present embodiment, base station sends to the 2nd UE according to the order that a UE sends PDCP packet to the 2nd UE PDCP packet, and base station is sent to the PDCP packet of the 2nd UE and a UE is transmitted directly to the PDCP packet of the 2nd UE Identical.

The PDCP packet that step 1012, the 2nd UE send according to the UE being successfully received, receives base station and sends out The PDCP packet sending.

In the present embodiment, by gateway is carried out with Function Extension, gateway identifies the IP number between a UE and the 2nd UE According to the reception order wrapping and recording IP packet between a UE and the 2nd UE, then according to reception order issues IP number to base station According to bag so that base station starts as net from the PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE of a UE Close the result of IP allocation of packets PDCP serial number issuing identical with the PDCP packet that a UE reports so that the 2nd UE can Continue to PDCP packet with being directly sent to PDCP packet as a UE, equally both complete a UE and Switching from D2D pattern to cell pattern for the communication pattern between two UE, will not make base station be sent to the PDCP data of the 2nd UE again The PDCP packet transmission that bag is sent with the UE being successfully received conflicts it is ensured that in communication pattern handoff procedure There is not packet loss or reduce packet loss as far as possible.

The flow chart of the data transmission method for uplink that Figure 11 provides for further embodiment of this invention.As shown in figure 11, the present embodiment Method include:

Step 1101, a UE directly transmit packet to the 2nd UE.

This step 1101 is described a UE and the 2nd UE and is communicated using D2D pattern.

Wherein, Ud can be set up between a UE and the 2nd UE carry.Ud carries and refers to that a UE and the 2nd UE is directly carried out Data transmit-receive and the carrying set up.

After the completion of Ud carries and sets up, the IP packet in communication service is packaged generating packet by a UE, so Directly the packet being packaged into is sent to the 2nd UE afterwards.

What step 1102, a UE received base station transmission is the switching command of cell pattern by D2D pattern switching.

In the present embodiment, base station is managed to the communication process between a UE and the 2nd UE.When needs are led to During the switching of letter pattern, base station can send switching command to a UE.In the present embodiment, described switching command is used for making first The communication pattern of UE and the 2nd UE is cell pattern by D2D pattern switching.

Illustrate, if a UE and the 2nd UE is mutually shifted, distance each other is more and more remote, as far as reusing D2D pattern carries out communicating when will result in serious loss of data or cannot reuse D2D pattern and communicated, and base station can be to First UE sends switching command.

Step 1103, a UE are from the beginning of first unsuccessful packet being sent to the 2nd UE, unsuccessful by first It is sent to the packet of the 2nd UE and follow-up packet is sent to base station, so that the packet that a UE is directly sent by base station It is transmitted to the 2nd UE.

Wherein, first unsuccessful packet being sent to the 2nd UE namely the 2nd UE first be not successfully received The packet that one UE sends.Wherein, the packet that the UE that the 2nd UE first is not successfully received sends includes the 2nd UE and connects The packet receiving but making a mistake, also includes the packet that the 2nd UE is not received by.Wherein, a UE and the 2nd UE To know the unsuccessful packet being sent to the 2nd UE of a UE first, or first first being not successfully received of the 2nd UE The packet that UE sends.Specifically, the 2nd UE can be when receiving mode handover command, by the reception state feedback of packet To a UE.

After a UE receives switching command, a UE and the 2nd UE all can set up Uu with base station and carry.Wherein, Uu holds Load is the carrying that a UE or the 2nd UE carries out data transmit-receive and sets up with base station.Wherein, a UE and the 2nd UE respectively with base The process that Uu carrying is set up at station belongs to prior art, will not be described in detail herein.

Then, a UE, from the beginning of first unsuccessful packet being sent to the 2nd UE, is sent out to the 2nd UE by base station Send packet.Then, the packet that a UE is directly sent by base station is transmitted to the 2nd UE.

The present embodiment is, in the present embodiment, packet is no longer reported by base station with the difference of Fig. 1-embodiment illustrated in fig. 10 To gateway but be directly forwarded to the 2nd UE that is to say, that the base station of the present embodiment has the partial function of gateway simultaneously, for example Communication flows between a UE and the 2nd UE can be carried out counting and the function such as report gateway.

Because the packet receiving no longer is reported gateway by base station, therefore the packet of the present embodiment can be radio chains Road controls (Radio Link Contro, RLC) service data unit (service Data Unit, SDU) or medium access Control (Media Access Control, MAC) SDU or Medium Access Control (MAC) Protocol Data Unit (Protocol Data Unit, PDU), And it is not limited only to PDCP packet.

Further, because the packet that a UE is no longer sent by base station reports gateway it is not necessary to send to a UE Packet be decrypted, but be directly forwarded to the 2nd UE, therefore, packet that a UE sends to base station can be using the The key made an appointment between one UE and the 2nd UE is it may also be said to be using close on the Ud link between a UE and the 2nd UE Key.For example, when a UE passes through base station and sends packet to the 2nd UE, a UE can use and make an appointment with the 2nd UE The key packet that be sent to twoth UE unsuccessful to first and follow-up packet are encrypted, such UE or second UE avoids the need for consulting new key and base station between, is conducive to saving signaling to interact.

The flow chart of the data transmission method for uplink that Figure 12 provides for further embodiment of this invention.As shown in figure 12, the present embodiment Method include:

It is the switching command of cell pattern that step 1201, base station send by D2D pattern switching to a UE, to indicate first UE is to send data by base station to the 2nd UE from sending data exchange with D2D pattern to the 2nd UE.

Before this, a UE directly sends packet to the 2nd UE with D2D pattern.A UE and the 2nd UE is detected in base station Between communication process.When base station finds that a UE and the 2nd UE needs to be communicated by base station, that is, need using cell mould During formula, send switching command to a UE.

In the present embodiment, described switching command is used for making a UE to cut from sending packet with D2D pattern to the 2nd UE It is changed to and packet is sent to the 2nd UE by base station.

Step 1202, base station receive the unsuccessful packet being sent to the 2nd UE of a UE first that a UE sends and Follow-up packet.

Specifically, after a UE receives the switching command of base station transmission, a UE is from first unsuccessful transmission Begin through base station to the packet of the 2nd UE and send packet to the 2nd UE.Wherein, a UE first is unsuccessful is sent to The packet that the packet of the 2nd UE UE that namely the 2nd UE first is not successfully received sends.Wherein, the 2nd UE The packet that one UE being properly received sends includes the 2nd UE and receives but the packet that makes a mistake, also includes second The packet that UE is not received by.First UE and the 2nd UE all can be known that a UE first is unsuccessful and be sent to the 2nd UE's The packet that the UE that packet or the 2nd UE first are not successfully received sends.

Before a UE sends packet to base station, a UE and the 2nd UE is set up Uu respectively and carries with base station.Then By it, the Uu and base station between carries to base station transmission packet one UE.The process of setting up that Uu carries belongs to prior art, This no longer describes in detail.

The packet that first UE sends is directly forwarded to the 2nd UE by step 1203, base station.

The base station of the present embodiment has following expanded function:Carrying and the carrying of the 2nd UE to a UE carry out mapping simultaneously Retain the function of the carrying that a UE and the 2nd UE is associated, be exactly can be directly by between a UE and the 2nd UE in simple terms Packet retain and be directly forwarded to the function of opposite end;Flow between first UE and the 2nd UE is carried out with the function of charging, Or the function that the flow between a UE and the 2nd UE is reported.

Based on this, the base station of the present embodiment after receiving the packet that a UE sends, no longer report gateway but straight Switch through and issue the 2nd UE.Exactly because base station does not need the packet sending a UE to report gateway so that this enforcement yet The packet of example can be RLC SDU or MAC SDU or MAC PDU, and is not limited only to PDCP packet.Also exactly because The packet sending a UE is not needed to report gateway for base station, base station does not need the packet that a UE is sent to carry out Deciphering, so the packet that a UE sends can be encrypted using the key made an appointment and the 2nd UE between, improves number Safety according to bag.

Further, the packet that a UE can also be sent by base station is reduced to IP packet, and according to the IP restoring Flow between packet statistics the UE and the 2nd UE, in order to carry out charge on traffic.For example, base station can will count Flow reports gateway, carries out charging process by gateway to this flow.Again for example, base station can also extend the charging process of gateway Function, base station directly carries out charging process to the flow between a UE and the 2nd UE.

In the present embodiment, by Function Extension is carried out to base station so that base station have simultaneously gateway carry out traffic statistics, The functions such as charging so that base station can without the packet receiving report gateway is directly forwarded to the 2nd UE it is not necessary to Again it is IP allocation of packets PDCP serial number, both completed between a UE and the 2nd UE communication pattern from D2D pattern to little The switching of area's pattern, the PDCP packet that base station again will not be made to be sent to the 2nd UE and the UE being successfully received send PDCP packet send conflict it is ensured that there is not packet loss in communication pattern handoff procedure or reduce packet loss as far as possible.

How above-mentioned Fig. 1-embodiment illustrated in fig. 12 describes the communication pattern between a UE and the 2nd UE by D2D mould Formula switches to cell pattern, and how example below will be introduced the communication pattern between a UE and the 2nd UE by cell pattern Switch to D2D pattern.

The flow chart of the data transmission method for uplink that Figure 13 provides for further embodiment of this invention.As shown in figure 13, the present embodiment Method include:

Step 1301, a UE send PDCP packet to base station.

This step 1301 describes the process that a UE and the 2nd UE is communicated using cell pattern.

Specifically, pre-build between a UE and base station that Uu carries, a UE will by the Uu link between base station PDCP packet is sent to base station.

Step 1302, a UE receive the switching command being switched to D2D pattern by cell pattern that base station sends.

In the present embodiment, base station is managed to the communication process between a UE and the 2nd UE.When base station detects When can be communicated using D2D pattern between the first UE and the 2nd UE, switching can be sent to a UE and/or the 2nd UE and refer to Order.In the present embodiment, described switching command is used for making a UE to cut from sending PDCP packet with cell pattern to the 2nd UE It is changed to and PDCP packet is sent to the 2nd UE with D2D pattern.For example when base station detects the distance between a UE and the 2nd UE When meeting certain condition, or when the signal intensity between a UE and the 2nd UE meets certain condition, to a UE and/or Two UE send switching command.

Step 1303, a UE by first unsuccessful PDCP packet being sent to the 2nd UE under cell pattern and after Continuous PDCP packet is sent to the 2nd UE with D2D pattern.

After a UE receives the switching command of base station transmission, unsuccessful it is sent to the from first under cell pattern The PDCP packet of two UE starts, by first unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP packet 2nd UE is transmitted directly to D2D pattern.

In the present embodiment, carry out in communication process in a UE and the 2nd UE using cell pattern, base station is to a UE Send switching command, a UE from being switched to cell pattern to the 2nd UE transmission PDCP packet with cell pattern, that is, is passed through Base station sends PDCP packet so that the communication pattern of a UE and the 2nd UE switches to D2D mould by cell pattern to the 2nd UE Formula.

The flow chart of the data transmission method for uplink that Figure 14 provides for further embodiment of this invention.As shown in figure 14, the present embodiment Method include:

Step 1401, base station receive the PDCP packet that a UE sends, and the PDCP packet that a UE is sent sends To gateway and receive gateway according to the base station PDCP packet sending and the IP packet issuing.

The IP allocation of packets PDCP serial number that step 1402, base station issue for gateway, the IP data that gateway is issued Bag Reseal becomes PDCP packet.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 1403, base station.

Step 1404, base station send, to a UE, the switching command being switched to D2D pattern by cell pattern, to indicate first UE is according to switching command by first unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP under cell pattern Packet is sent to the 2nd UE with D2D pattern.

In the present embodiment, base station is managed to the communication process between a UE and the 2nd UE.In a UE with little Area's pattern sends in PDCP process data packet to the 2nd UE, and base station can be to the distance between UE and the 2nd UE, signal intensity Etc. being detected, to detect whether can be communicated with D2D pattern between a UE and the 2nd UE.When base station detects first When can be communicated with D2D pattern between UE and the 2nd UE, send switching command to a UE and/or the 2nd UE.

After first UE receives switching command, from first unsuccessful PDCP number being sent to the 2nd UE under cell pattern According to unwrapping the beginning, PDCP packet is sent to the 2nd UE with D2D pattern.

In the present embodiment, carry out in communication process in a UE and the 2nd UE using cell pattern, base station is to a UE Send switching command, a UE from being switched to cell pattern to the 2nd UE transmission PDCP packet with cell pattern, that is, is passed through Base station sends PDCP packet so that the communication pattern of a UE and the 2nd UE switches to D2D mould by cell pattern to the 2nd UE Formula.

The flow chart of the data receiver method that Figure 15 provides for further embodiment of this invention.As shown in figure 15, the present embodiment Method include:

Step 1501, the 2nd UE receive the PDCP packet that base station sends.

Wherein, the PDCP packet that base station sends is that base station receives the PDCP packet that a UE sends, and a UE is sent out The PDCP packet sending be sent to gateway and by gateway according to the PDCP packet that base station sends be the IP packet issuing again The PDCP packet step 1502 being packaged into, the 2nd UE receive the PDCP packet that a UE directly transmits.

Wherein, the PDCP packet that a UE is transmitted directly to the 2nd UE be a UE according to base station send by cell mould Formula switches to the switching command of D2D pattern to start transmission from first unsuccessful PDCP packet being sent to the 2nd UE.

In the present embodiment, carry out in communication process in a UE and the 2nd UE using cell pattern, base station is to a UE Send switching command, a UE from being switched to cell pattern to the 2nd UE transmission PDCP packet with cell pattern, that is, is passed through Base station sends PDCP packet so that the communication pattern of a UE and the 2nd UE switches to D2D mould by cell pattern to the 2nd UE Formula.

In the above-described embodiments, in order to ensure to be switched to after D2D pattern from cell pattern, the 2nd UE being capable of not factor data punching Prominent and cause packet loss, in cell pattern, base station records that a UE is sent to the PDCP packet of base station and base station is sent to the Corresponding relation between the serial number of IP packet that the PDCP packet of two UE and each PDCP packet are comprised.Real below Apply example to be described further to by the switching flow of cell pattern to D2D pattern.

In above-mentioned Figure 13-embodiment illustrated in fig. 15, base station can directly be made using the PDCP packet that a UE sends The PDCP serial number of the PDCP packet that PDCP serial number becomes as Reseal.That is, in cell pattern Under, when base station receives the PDCP packet that a UE sends, record PDCP serial number and this PDCP of this PDCP packet Mapping relations between the IP serial number of the IP packet in packet.Then, when base station receives identical IP sequence from gateway Number IP packet when, when for this IP allocation of packets PDCP serial number, be not autonomous distribution, but according to record The PDCP serial number of the IP serial number corresponding to this IP packet that the first UE once used.Then, with this UE once IP packet Reseal is become to be sent to the 2nd UE after PDCP packet by the PDCP serial number through using.So, in the program Under, base station recorded the first UE send the PDCP serial number of PDCP packet, the first UE send PDCP packet in The PDCP serial number of PDCP packet and the PDCP data of Reseal one-tenth that the IP serial number of IP packet, Reseal become Corresponding relation between the IP serial number of the IP packet in bag be exactly in simple terms PDCP packet PDCP serial number and Corresponding relation between the IP serial number of the IP packet in PDCP packet.

In this scenario, when the switching of generation cell pattern to D2D pattern, if base station is not transmitted into corresponding The PDCP data packet back of work(gives a UE, so that when a UE continues to be transferred to two UE with D2D pattern, for identical IP sequence The IP packet of row number, a UE uses same PDCP serial number just permissible.

In above-mentioned Figure 13-embodiment illustrated in fig. 15, the IP allocation of packets that base station can also independently issue for gateway PDCP serial number, that is, base station use which type of PDCP serial number to the 2nd UE send PDCP packet, do not used by a UE PDCP serial number restriction.That is, when base station is to the 2nd UE transmission PDCP packet, PDCP serial number is complete The PDCP serial number using independent of a UE.So, the PDCP of the PDCP packet sending in a UE of base station record The PDCP packet that the IP serial number of IP packet in the PDCP packet that serial number, a UE send, Reseal become In the corresponding relation between the IP serial number of IP packet in the PDCP packet of PDCP serial number and Reseal one-tenth, lead to Cross the PDCP serial number that corresponding for a same IP packet UE uses by the IP serial number of IP packet and base station uses PDCP serial number is mapped.

In this scenario, because for same IP packet, the PDCP serial number that a UE uses when being sent to base station With to be sent between the PDCP serial number using during two UE be separate for base station, so, cut to D2D pattern from cell pattern When changing, when a UE is continuing with D2D pattern to the 2nd UE transmission PDCP packet, need a UE or the 2nd UE to PDCP The PDCP serial number of packet makes a little changes, is properly received PDCP packet in order to the 2nd UE.

If a UE makes to PDCP serial number changed, then when being switched to D2D pattern from cell pattern, a UE can In the way of sending, to the 2nd UE, the PDCP serial number using during PDCP packet using base station before, continue with D2D pattern to 2nd UE sends PDCP packet.For example, there is no the PDCP packet to the 2nd UE for the Successful transmissions for base station, base station is returning During to a UE, can tell which type of PDCP serial number is these PDCP packets needs of a UE use, that is, base station is to the While one UE returns PDCP packet, by the PDCP serial number of these PDCP packets, (i.e. base station is these PDCP packets The PDCP serial number using) it is sent to a UE, so that the PDCP serial number that a UE is used using base station sends these PDCP Packet and follow-up PDCP packet.For a UE, a UE receives the PDCP packet that base station returns, simultaneously Receive the PDCP serial number of these PDCP packets that base station sends, and the PDCP sequence of the PDCP packet returning according to base station Number, update the PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP packet, so Afterwards the PDCP packet after updating is sent to the 2nd UE with D2D pattern.Again for example, a UE first can be told not in base station Which type of PDCP serial number is the PDCP packets need being successfully sent to the 2nd UE use, and can use base in order to a UE The PDCP serial number using of standing continues to send PDCP packet with D2D pattern to the 2nd UE.I.e. a UE is unsuccessful from first The PDCP serial number being sent to the PDCP packet of the 2nd UE starts, and is first unsuccessful PDCP data being sent to the 2nd UE Bag and follow-up PDCP allocation of packets PDCP serial number, then by first unsuccessful PDCP packet being sent to the 2nd UE With follow-up PDCP packet, the 2nd UE is sent to D2D pattern.

If the 2nd UE makes to PDCP serial number changed, then when being switched to D2D pattern from cell pattern, a UE exists During to the 2nd UE transmission PDCP packet, it is possible to use a UE sends, to base station, the PDCP sequence using during these PDCP packets Row number.Because those the PDCP packets being discontinuously properly received put in the buffering of the 2nd UE are to use according to base station before PDCP serial number receives, and can be properly received, for the ease of the 2nd UE, the PDCP data that a UE continues to send with D2D pattern Bag, base station needs to tell that the 2nd UE modifies to the PDCP serial number of the PDCP packet in caching, to be modified as a UE Sent the PDCP serial number that these PDCP packets are used originally.For example, the corresponding relation of record can be sent to by base station 2nd UE, to notify the 2nd UE to update, according to the corresponding relation that base station sends, the PDCP data that the base station being successfully received sends The PDCP serial number of bag.For the 2nd UE, receive the corresponding relation that base station sends, and be connected into according to corresponding relation renewal The PDCP serial number that uses when PDCP Serial No. the UE of the PDCP packet that the base station that work(is received sends sends, with avoid with The PDCP serial number of the PDCP packet that the first UE is sent with D2D pattern clashes.

The flow chart of the data processing method that Figure 16 provides for further embodiment of this invention.As shown in figure 16, the present embodiment Method include:

Step 1601, a UE send PDCP packet to base station.

Step 1602, base station receive the PDCP packet that a UE sends, and the PDCP packet that a UE is sent sends To gateway and receive gateway according to the base station PDCP packet sending and the IP packet issuing.

The IP allocation of packets PDCP serial number that step 1603, base station issue for gateway, the IP data that gateway is issued Bag Reseal becomes PDCP packet, and record the PDCP serial number of PDCP packet that a UE sends, a UE sends The IP serial number of the IP packet in PDCP packet, Reseal become the PDCP serial number of PDCP packet and again seal Corresponding relation between the IP serial number of the IP packet in the PDCP packet dressed up.

More preferred, the IP serial number of the IP packet that base station issues according to gateway, obtain and have this IP serial number IP packet corresponding PDCP packet, the PDCP serial number of acquired PDCP packet is distributed to the IP number that gateway issues According to bag, the IP packet Reseal that gateway is issued becomes PDCP packet.But in the present embodiment, with base station independently as net As a example closing the IP allocation of packets PDCP serial number issuing, i.e. the PDCP serial number of the IP allocation of packets that base station issues for gateway Separate with the PDCP serial number that a UE uses.

Further, the D2D ability information that base station can report previously according to a UE and the 2nd UE, judges a UE and Whether two UE support D2D pattern simultaneously.If it is judged that being yes, base station just executes the PDCP packet that record the UE sends PDCP serial number, the first UE send PDCP packet in the IP serial number of IP packet, Reseal become PDCP number According to the corresponding pass between the IP serial number of the IP packet in the PDCP packet that PDCP serial number and the Reseal of bag become The operation of system, in order to lay the first stone for switching over to D2D pattern.If a UE and the 2nd UE does not prop up at least one Hold D2D pattern, then cannot be communicated using D2D pattern between a UE and the 2nd UE, therefore, base station need not execute record The operation of corresponding relation, is conducive to saving the resource of base station, mitigates the burden of base station.

Wherein, the corresponding relation that base station is recorded is used for the IP allocation of packets PDCP sequence issuing for gateway by base station Number.

The PDCP packet that Reseal becomes is sent to the 2nd UE by step 1604, base station.

Step 1605, base station send the switching command being switched to D2D pattern by cell pattern to a UE, and a UE receives This switching command.

The PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE is sent to by step 1606, base station First UE.

In the present embodiment, the unsuccessful PDCP packet namely UE first being sent to the 2nd UE in base station first The individual unsuccessful PDCP packet being sent to the 2nd UE.In the present embodiment, correspond to because base station have recorded same IP packet A UE and base station use PDCP serial number between corresponding relation, therefore base station can according to record corresponding relation find The PDCP serial number of the unsuccessful PDCP packet being sent to the 2nd UE in base station first.

Further, base station can also return PDCP packet to a UE.Accordingly, a UE can receive base station and return PDCP packet.

Wherein, the PDCP packet that base station returns can be the PDCP packet that base station is not yet sent to gateway.Namely Say, the PDCP packet being not yet sent to gateway that a UE sends is returned to a UE by base station.

In addition, the PDCP packet that base station returns can also be that base station becomes to all or part of Reseal and not yet successful It is sent to the PDCP packet that the PDCP packet of the 2nd UE is reduced and generated.That is, base station can be according to record Corresponding relation the PDCP packet that all or part of Reseal becomes and be not yet successfully sent to the 2nd UE is reduced, main Refer to be reduced to the PDCP packet that a UE sends, then the PDCP restoring packet is returned to a UE.Described The PDCP serial number that the PDCP serial number of packet of reduction sends packet during this packet with a UE to base station is identical.

Further, if the PDCP packet that partial reduction goes out not by the PDCP restoring packet or is only returned by base station Back to a UE, then the PDCP packet that base station needs the PDCP packet Restore All or remainder restores continues It is sent to the 2nd UE, to ensure packet loss.

Further, when base station is not yet sent and needs the PDCP packet being sent to the 2nd UE all to send to the 2nd UE After finishing, send a notification message to a UE, to inform that a UE has not yet been sent and needed to be sent to the 2nd UE's PDCP packet is sent to the 2nd UE.First UE receives the notification message that base station sends, and knows base according to notification message Stand and not yet sent and need the PDCP packet being sent to the 2nd UE to be sent to the 2nd UE.Wherein, described not yet After sending and needing the PDCP packet being sent to the 2nd UE to refer to that base station sends switching command, determine and continue to send by base station To the various PDCP packets of the 2nd UE, for example, it may be base station according to the corresponding relation of record to being again packaged into and not yet It is sent to all or part of PDCP packet that the PDCP packet of the 2nd UE is restored.If base station needs all to go back Former go out PDCP packet be sent to the 2nd UE, then not yet send and need the PDCP packet being sent to the 2nd UE to be exactly whole The PDCP packet restoring.If base station needs the PDCP packet partial reduction to be sent to the 2nd UE, and will be another The PDCP data packet back that partial reduction goes out gives a UE, then not yet send and need the PDCP packet being sent to the 2nd UE be Refer to the PDCP packet that partial reduction goes out.In addition, if base station determines that needs will have been received by after sending switching command And not yet report the PDCP packet of gateway and/or become the PDCP packet that Reseal becomes to be sent to the 2nd UE, then still Do not send and need the PDCP packet being sent to the 2nd UE to can also be that base station has been received by but not yet reports gateway The PDCP packet that PDCP packet and/or Reseal become.Wherein, base station can send receiving the 2nd UE Send a notification message to the first UE after finishing receiving the state report of PDCP packet.In addition, base station can also will need back Pass to a UE PDCP packet all return to a UE after send the notification message that finishes of passback to the first UE.Further, Notification message can be dedicated signaling or special termination instruction.

Here illustrates, first unsuccessful PDCP packet being sent to the 2nd UE is according to PDCP packet by the 2nd UE PDCP serial number determine, that is, the PDCP serial number that is not successfully received minimum PDCP packet.For example, if base station returns PDCP packet be earliest PDCP packet, then the PDCP packet that base station returns be exactly base station or a UE first not It is successfully sent to the PDCP packet of the 2nd UE.Again for example, if a UE is sent to the PDCP packet of base station all by base station It is successfully transmitted and gives the 2nd UE, then the unsuccessful PDCP packet being sent to the 2nd UE of a UE first is exactly that a UE is current Not yet it is sent to the PDCP packet the most forward of base station.

Wherein, base station or the unsuccessful PDCP packet being sent to the 2nd UE of a UE first can be that a UE sends To base station, but the PDCP packet that is never transmitted across to the 2nd UE of base station or base station are transmitted across to the 2nd UE but do not become Work(is sent to the PDCP packet of the 2nd UE.

The PDCP of first unsuccessful PDCP packet being sent to the 2nd UE that step 1607, a UE return from base station Serial number starts, and is first unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP allocation of packets PDCP Serial number, is then transmitted directly to the 2nd UE.

Preferably, a UE can start first from the unsuccessful PDCP packet being sent to the 2nd UE in base station first The individual unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP packet are transmitted directly to the 2nd UE.

In the present embodiment, base station is passed through the PDCP sequence of first unsuccessful PDCP packet being sent to the 2nd UE Number be supplied to a UE so that a UE can with using with base station using PDCP serial number identical mode for being transmitted directly to the The PDCP allocation of packets PDCP serial number of two UE it is ensured that the 2nd UE receive the one of the PDCP serial number of PDCP packet Cause property, it is to avoid the packet loss occurring because of the conflict of PDCP serial number.

Step 1608, the 2nd UE receive the PDCP packet that a UE directly transmits.

Further, if base station sends to be become by all or part of Reseal and be not yet sent to the 2nd UE's to the 2nd UE The PDCP packet that PDCP packet restores, then the 2nd UE receive base station according to the corresponding relation being recorded to all or part The PDCP packet that PDCP packet that is that Reseal becomes and being not yet sent to the 2nd UE is reduced and generated.In this enforcement In example, when a UE and the 2nd UE is communicated using cell pattern, the PDCP packet of base station record the UE transmission The PDCP that the IP serial number of IP packet in the PDCP packet that PDCP serial number, a UE send, base station Reseal become Between the IP serial number of IP packet in the PDCP packet of the PDCP serial number of packet and base station Reseal one-tenth Corresponding relation, when carrying out pattern switching, corresponding relation according to record provides first unsuccessful to be sent to the to a UE The PDCP serial number that the PDCP packet of two UE uses, uses identical PDCP serial number to second in order to a UE and base station UE sends PDCP packet, for successfully carrying out pattern switching and ensureing in handoff procedure not packet loss or packet loss is minimum lays Basis, so that the communication pattern of a UE and the 2nd UE switches to D2D pattern by cell pattern, and ensures packet loss.

The structural representation of the UE that Figure 17 A provides for one embodiment of the invention.As shown in Figure 17 A, the UE bag of the present embodiment Include:First sending module 171, the first receiver module 172 and the second sending module 173.

Wherein, the first sending module 171, is connected with the 2nd UE, for sending packet to the 2nd UE with D2D pattern.The One receiver module 172, is connected with base station, is the switching command of cell pattern for receive base station transmission by D2D pattern switching. Second sending module 173, is connected with the first receiver module 172 and base station, for cutting of being received according to the first receiver module 172 Change instruction, first unsuccessful packet being sent to the 2nd UE and follow-up packet under D2D pattern be sent to base station, So that the 2nd UE is delivered a packet to by base station.

Wherein, after follow-up packet includes the unsuccessful packet being sent to the 2nd UE of the present embodiment UE first All packets, or unsuccessful after including the unsuccessful packet being sent to the 2nd UE of the present embodiment UE first be sent to The packet of the 2nd UE.

Each functional module of the present embodiment UE can be used for executing the flow process of data transmission method for uplink shown in Fig. 1, its specific works Principle repeats no more, and refers to the description of embodiment of the method.The UE of the present embodiment is equivalent to the UE in method shown in Fig. 1.

The UE of the present embodiment is communicated using D2D pattern with the 2nd UE, sends when the UE of the present embodiment receives base station Switching command after, from first unsuccessful packet being sent to the 2nd UE begin through base station to the 2nd UE send data Bag, and no longer directly send packet to the 2nd UE, complete the switching from D2D pattern to cell pattern.

The structural representation of the UE that Figure 17 B provides for another embodiment of the present invention.The present embodiment is based on to be implemented shown in Figure 17 A Example is realized, and as seen in this fig. 17b, first sending module of the present embodiment is specifically for sending PDCP number to the 2nd UE with D2D pattern According to bag.Based on this, first unsuccessful packet being sent to the 2nd UE of the present embodiment UE and follow-up packet include:First The individual unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP packet.Described follow-up PDCP packet includes All PDCP packets after the PDCP packet that unsuccessful to be sent to the 2nd UE, or include first unsuccessful The unsuccessful PDCP packet being sent to the 2nd UE after giving the PDCP packet of the 2nd UE.

As seen in this fig. 17b, the UE of the present embodiment also includes:3rd sending module 174.

3rd sending module 174, is connected with base station, for by first unsuccessful PDCP packet being sent to the 2nd UE PDCP serial number be sent to base station.So, base station can be sent to the 2nd UE's from the present embodiment UE first is unsuccessful The PDCP serial number of PDCP packet starts the IP allocation of packets PDCP serial number that issues for the gateway IP to issue gateway Packet is re-packaged into PDCP packet.

Optionally, the UE of the present embodiment also includes:Reset module 175.

Reset module 175, be connected with the second sending module 173, for will be under D2D pattern in the second sending module 173 Before first unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP packet are sent to base station, reset first The PDCP serial number of the individual unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP packet.So, base station can To start the IP allocation of packets PDCP serial number that issues for the gateway IP packet weight to issue gateway from PDCP serial number 0 Newly it is encapsulated as PDCP packet.

Further, the second sending module 173 is specifically for by first unsuccessful PDCP packet being sent to the 2nd UE Be subsequently transmitted across to the 2nd UE but the unsuccessful PDCP packet being sent to the 2nd UE and first are not issued to the The PDCP packet of two UE and be subsequently transmitted across to the 2nd UE but the unsuccessful PDCP packet being sent to the 2nd UE PDCP serial number sends jointly to base station.So, the present embodiment UE first that the present embodiment UE can be sent by base station does not become Work(is sent to the packet of PDCP of the 2nd UE and has subsequently been transmitted across to the 2nd UE but unsuccessful is sent to the 2nd UE's The PDCP serial number of PDCP packet is encapsulated in the packet of the unsuccessful PDCP being sent to the 2nd UE of the present embodiment UE first It is sent in the IP packet in the unsuccessful PDCP packet being sent to the 2nd UE with being subsequently transmitted across to the 2nd UE Gateway simultaneously receives the IP packet of the inclusion PDCP serial number that gateway issues.

Optionally, the UE of the present embodiment also includes:Second receiver module 176.

Second receiver module 176, is connected with the 2nd UE and the second sending module 173, exists for reception the 2nd UE return The present embodiment UE first is unsuccessful to be sent to other PDCP packets being successfully received after the PDCP packet of the 2nd UE, And it is supplied to the second sending module 173.

Further, the present embodiment the first sending module 171 specifically can also send PDCP with D2D pattern to the 2nd UE SDU, RLC SDU, MAC SDU or MAC PDU etc..

Further, there is gateway function it is not necessary to report, to gateway, the packet receiving in base station, and directly to second When UE forwards, the UE of the present embodiment also includes:Encrypting module 177.

Encrypting module 177, for the second sending module 173 by first unsuccessful packet being sent to the 2nd UE and Before follow-up packet is sent to the 2nd UE with D2D pattern, using the key made an appointment with the 2nd UE, first is not become Work(is sent to the packet of the 2nd UE and follow-up packet is encrypted.

Above-mentioned each functional module can be used for executing Fig. 4 A, Fig. 5, Fig. 6, Fig. 7, Fig. 8, Fig. 9 or Figure 10 or data shown in Figure 11 Corresponding flow process in processing method, its concrete operating principle repeats no more, and refers to the description of embodiment of the method.

The UE of the present embodiment is solved the 2nd UE by above-mentioned each functional module and had both received the PDCP number being sent by base station During the PDCP packet directly transmitting according to the UE that bag receives the present embodiment again, the PDCP serial number conflict using because of PDCP packet And cause the problem of packet loss it is ensured that the 2nd UE can be properly received the PDCP packet of the UE transmission of base station and the present embodiment, Ensure that packet is not lost or the packet loss of packet is reduced to alap level in communication pattern handoff procedure.

The structural representation of the base station that Figure 18 A provides for one embodiment of the invention.As shown in Figure 18 A, the base of the present embodiment Stand including:4th sending module 181, the 3rd receiver module 182, the first package module 183 and the 5th sending module 184.

Wherein, the 4th sending module 181, is connected with a UE, is cell for sending by D2D pattern switching to a UE The switching command of pattern, to indicate that a UE switches to by base station to second from sending packet with D2D pattern to the 2nd UE UE sends packet.

3rd receiver module 182, is connected with a UE, for receiving the UE under cell pattern that a UE sends One unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP packet.Wherein, follow-up PDCP packet bag Include all PDCP packets after the unsuccessful PDCP packet being sent to the 2nd UE of a UE first, or include first The unsuccessful PDCP packet being sent to the 2nd UE after the PDCP packet that UE first is unsuccessful to be sent to the 2nd UE.

First package module 183, is connected with the 3rd receiver module 182, for the 3rd receiver module 182 is received The PDCP packet that one UE sends is sent to gateway and receives the IP packet that gateway issues, the IP data then issuing for gateway Bag distribution PDCP serial number becomes PDCP packet with the IP packet Reseal issuing gateway.

5th sending module 184, is connected with the first package module 183 and the 2nd UE, for by the first package module 183 weight The PDCP packet being newly packaged into is sent to the 2nd UE.

Each functional module of the present embodiment base station can be used for executing the flow process of data transmission method for uplink shown in Fig. 3, its concrete work Repeat no more as principle, refer to the description of embodiment of the method.

The base station of the present embodiment, detect need to be communicated using cell pattern between a UE and the 2nd UE when, Send switching command to a UE, a UE that is, passes through base station to the according to switching command from D2D pattern switching to cell pattern Two UE send PDCP data, thus completing communication pattern between a UE and the 2nd UE from D2D pattern to cell pattern Switching.

The structural representation of the base station that Fig. 1 8B provides for another embodiment of the present invention.The present embodiment is based on real shown in Figure 18 Apply example to realize, as shown in figure 18b, first package module 183 of the present embodiment is particularly used in reception gateway according to reception base station The IP packet that the order of the PDCP packet sending issues.

Further, first package module 183 of the present embodiment is particularly used in and is sent to from a UE first is unsuccessful The PDCP serial number of the PDCP packet of the 2nd UE starts the IP allocation of packets PDCP serial number issuing for gateway again will The IP packet encapsulation that gateway issues is PDCP packet.

Optionally, the base station of the present embodiment also includes:4th receiver module 185.

4th receiver module 185, is connected with a UE or the 2nd UE, for receiving the UE first that a UE sends The PDCP serial number of the unsuccessful PDCP packet being sent to the 2nd UE;Or for receiving the UE first that the 2nd UE sends The PDCP serial number of the individual unsuccessful PDCP packet being sent to the 2nd UE.Wherein, for the 2nd UE, a UE first is not The PDCP packet being successfully sent to the 2nd UE is the PDCP data of the UE transmission that the 2nd UE first is not successfully received Bag.

Optionally, the base station of the present embodiment also includes:First logging modle 186.

First logging modle 186, is connected with the 3rd receiver module 182, receives for record the 3rd receiver module 182 First UE is sent to the PDCP serial number of first PDCP packet of base station.Wherein, a UE is sent to first of base station PDCP packet is the unsuccessful PDCP packet being sent to the 2nd UE of a UE first.

In the present embodiment, the UE first that the 4th receiver module 185 or the first logging modle 186 also can obtain The PDCP serial number of the unsuccessful PDCP packet being sent to the 2nd UE is supplied to the first package module 183.

Further, first package module 183 of the present embodiment can also reset first in a UE and unsuccessful be sent to During the PDCP packet of the 2nd UE the and follow-up PDCP serial number of PDCP packet, start to issue for gateway with serial number 0 IP allocation of packets PDCP serial number PDCP packet is re-packaged into the IP packet issuing gateway.

Optionally, the base station of the present embodiment also includes:Second logging modle 187.

Second logging modle 187, is connected with the 3rd receiver module 182, receives for record the 3rd receiver module 182 The IP sequence of the IP packet in the PDCP serial number of PDCP packet and the PDCP packet of UE transmission that the first UE sends Corresponding relation between row number.

Based on the second logging modle 187, first package module 183 of the present embodiment can also be according to the second logging modle The IP allocation of packets corresponding PDCP serial number that the corresponding relation of 187 records issues for gateway, the IP number that gateway is issued It is re-packaged into PDCP packet according to bag.

Wherein, the 3rd receiver module 182 is additionally operable to receive that first that a UE sends is unsuccessful is sent to the 2nd UE's PDCP packet and being subsequently transmitted across to the 2nd UE but the PDCP sequence of the unsuccessful PDCP packet being sent to the 2nd UE Number.Accordingly, the unsuccessful PDCP number being sent to the 2nd UE of a UE first that a UE is sent by the first package module 183 It has been transmitted across to the 2nd UE but the encapsulation of the PDCP serial number of the unsuccessful PDCP packet being sent to the 2nd UE with follow-up according to bag It is sent to the PDCP packet of the 2nd UE and is subsequently transmitted across but unsuccessful to the 2nd UE a UE first is unsuccessful It is sent in the IP packet in the PDCP packet of the 2nd UE and is sent to gateway, and receive the inclusion PDCP sequence that gateway issues Number IP packet, the PDCP packet that is never transmitted across to the 2nd UE of a UE that a UE is sent is sent to gateway, and Receive the IP packet not including PDCP serial number that gateway issues, the IP carrying PDCP serial number then issuing according to gateway PDCP serial number entrained by packet, is each IP allocation of packets PDCP serial number that gateway issues, gateway is issued IP packet be re-packaged into PDCP packet.

Above-mentioned each functional module can be used for executing data processing side shown in Fig. 4 A, Fig. 5, Fig. 6, Fig. 7, Fig. 8, Fig. 9 or Figure 10 Corresponding flow process in method, its concrete operating principle repeats no more, and refers to the description of embodiment of the method.

The base station of the present embodiment is solved the 2nd UE by above-mentioned each functional module and had both received the PDCP being sent by base station When packet receives the PDCP packet that the UE of the present embodiment directly transmits again, the PDCP serial number punching that uses because of PDCP packet Dash forward and cause the problem of packet loss it is ensured that the 2nd UE can be properly received the PDCP data of the UE transmission of base station and the present embodiment Bag, ensures that in communication pattern handoff procedure packet is not lost or the packet loss of packet is reduced to alap water Flat.

The structural representation of the UE that Figure 19 A provides for further embodiment of this invention.As shown in Figure 19 A, the UE of the present embodiment Including:5th receiver module 191 and the 6th receiver module 192.

Wherein, the 5th receiver module 191, is connected with a UE, for receiving the PDCP packet that a UE directly transmits.

6th receiver module 192, is connected with base station, for receiving the PDCP packet of base station transmission.Wherein, base station sends PDCP packet to the 2nd UE is that base station sends after the switching command being cell pattern by D2D pattern switching to a UE, will The PDCP packet of the unsuccessful UE being sent to the present embodiment of a UE first and follow-up PDCP data that first UE sends Bag is sent to gateway and the PDCP packet that sends gateway according to base station and the IP packet Reseal that sends.Its In, after follow-up PDCP packet includes the PDCP packet of the unsuccessful UE being sent to the present embodiment of a UE first After all PDCP packets, or the PDCP packet of the inclusion unsuccessful UE being sent to the present embodiment of the first UE first not It is successfully sent to the PDCP packet of the UE of the present embodiment.

Each functional module of the present embodiment UE can be used for executing the flow process of data receiver method shown in Fig. 3, its specific works Principle repeats no more, and refers to the description of embodiment of the method.The UE of the present embodiment is equivalent to the 2nd UE in method shown in Fig. 3.

The UE of the present embodiment first receives the PDCP packet that a UE directly transmits, the UE an of UE and the present embodiment it Between communication pattern when being cell pattern by D2D pattern switching, the UE of the present embodiment receives what a UE was sent by base station PDCP packet, the UE of a present embodiment and UE matches and is combined into the cutting of communication pattern that the UE of a UE and the present embodiment uses Change the condition of providing so that the communication pattern of the UE an of UE and the present embodiment can be by D2D pattern switching to cell pattern.

The structural representation of the UE that Figure 19 B provides for further embodiment of this invention.The present embodiment can be based on real shown in Figure 19 A Apply example to realize, as shown in Figure 19 B, the UE of the present embodiment also includes:6th sending module 193.

6th sending module 193, is connected with base station, for by first unsuccessful PDCP data being sent to UE of a UE The PDCP serial number of bag is sent to base station, so that base station is from first unsuccessful PDCP packet being sent to UE of a UE DCP serial number starts the IP allocation of packets PDCP serial number that issues for the gateway IP packet Reseal to issue gateway For PDCP packet.

6th receiver module 192, specifically for the PDCP packet being sent according to the UE being successfully received, connects Receive and store the PDCP packet of base station transmission.Wherein, the PDCP serial number of the PDCP packet that base station sends is from a UE The PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE starts.Or, the 6th receiver module 192 has Body is used for the PDCP packet sending base station as new business datum, and individual reception simultaneously stores the PDCP data that base station sends Bag.Wherein, the PDCP serial number of the PDCP packet that base station sends is not to be sent to the 2nd UE from a UE first is unsuccessful The PDCP serial number of PDCP packet start.

Optionally, the UE of the present embodiment also includes:7th sending module 194.

7th sending module 194, is connected with a UE, for being unsuccessfully received what a UE sent at first The PDCP packet being successfully received after PDCP packet is sent to a UE, and will be unsuccessfully received first at first The PDCP packet being successfully received after the PDCP packet that UE sends is deleted.

Above-mentioned each functional module can be used for executing data processing side shown in Fig. 4 A, Fig. 5, Fig. 6, Fig. 7, Fig. 8, Fig. 9 or Figure 10 Corresponding flow process in method, its concrete operating principle repeats no more, and refers to the description of embodiment of the method.

The UE of the present embodiment by matching with a UE provided in an embodiment of the present invention and base station, by above-mentioned each function Module solves UE and had not only received the PDCP packet that a UE sent by base station but also received the PDCP number that a UE directly transmits During according to bag, the PDCP serial number conflict using because of PDCP packet and cause the problem of packet loss it is ensured that the UE energy of the present embodiment Enough it is properly received the PDCP packet that base station and a UE send, ensure that packet is not lost in communication pattern handoff procedure Or the packet loss of packet is reduced to alap level.

The structural representation of the UE that Figure 20 A provides for further embodiment of this invention.As shown in figure 20, the UE bag of the present embodiment Include:8th sending module 2001, the 7th receiver module 2002 and the 9th sending module 2003.

Wherein, the 8th sending module 2001, is connected with the 2nd UE, for directly transmitting packet to the 2nd UE.

7th receiver module 2002, is connected with base station, is cell pattern for receive base station transmission by D2D pattern switching Switching command.

9th sending module 2003, is connected with the 7th receiver module 2002 and base station, for according to the 7th receiver module 2002 switching commands receiving, from the beginning of first unsuccessful packet being sent to the 2nd UE, by first unsuccessful Give the packet of the 2nd UE and follow-up packet is sent to base station, so that the number that the UE of the present embodiment is directly sent by base station It is transmitted to the 2nd UE according to bag.

Each functional module of the present embodiment UE can be used for executing the flow process of data transmission method for uplink shown in Figure 11, its specific works Principle repeats no more, and refers to the description of embodiment of the method.The UE of the present embodiment is equivalent to the UE in method shown in Figure 11.

The UE of the present embodiment is matched with base station, after receiving the switching command of base station transmission, unsuccessful from first The PDCP packet being sent to the 2nd UE begins through base station to the 2nd UE transmission PDCP packet, and no longer directly to the 2nd UE Send PDCP packet, complete the switching from D2D pattern to cell pattern.

The structural representation of the UE that Figure 20 B provides for further embodiment of this invention.The present embodiment is based on to be implemented shown in Figure 20 A Example is realized, and as shown in fig. 20b, the UE of the present embodiment also includes:Encrypting module 2004.

Encrypting module 2004, is connected with the 9th sending module 2003, in the 9th sending module 2003 from first not The packet being successfully sent to described 2nd UE starts, by first unsuccessful packet being sent to described 2nd UE and follow-up Packet be sent to described base station before, be sent to using unsuccessful to first with the key that described 2nd UE makes an appointment The packet of described 2nd UE and follow-up packet are encrypted.

Preferably, the packet of the present embodiment can be PDCP SDU, RLC SDU, MAC SDU or MAC PDU.

The UE of the present embodiment by matching with base station, because base station no longer reports, to gateway, the packet receiving, therefore The UE of the present embodiment directly can be encrypted using the data key bag appointed with the 2nd UE by encrypting module, and not Need to carry out key agreement with base station, decrease Signalling exchange flow process, be conducive to improving the efficiency of data transfer.

The structural representation of the base station that Figure 21 A provides for further embodiment of this invention.As illustrated in fig. 21, the present embodiment Base station includes:Tenth sending module 211, the 8th receiver module 212 and the 11st sending module 213.

Wherein, the tenth sending module 211, is connected with a UE, is cell for sending by D2D pattern switching to a UE The switching command of pattern, to indicate that a UE is to the 2nd UE by base station from sending data exchange with D2D pattern to the 2nd UE Send data.

8th receiver module 212, is connected with a UE, for receiving the UE under D2D pattern that a UE sends One unsuccessful packet being sent to the 2nd UE and follow-up packet.

11st sending module 213, is connected with the 8th receiver module 212 and the 2nd UE, for by the 8th receiver module 212 The packet that the UE receiving sends is directly forwarded to the 2nd UE.

Each functional module of the present embodiment base station can be used for executing the flow process of data transmission method for uplink shown in Figure 12, its concrete work Repeat no more as principle, refer to the description of embodiment of the method.

The base station of the present embodiment, by carrying out Function Extension, has gateway simultaneously and carries out the functions such as traffic statistics, charging, can With without the packet receiving report gateway being directly forwarded to the 2nd UE it is not necessary to again for IP allocation of packets PDCP Serial number, had both completed switching from D2D pattern to cell pattern for the communication pattern between a UE and the 2nd UE, will not make base again The PDCP packet that the PDCP packet that station is sent to the 2nd UE is sent with the UE being successfully received sends and conflicts, and protects Demonstrate,prove and packet loss has not occurred in communication pattern handoff procedure or reduces packet loss as far as possible.

The structural representation of the base station that Figure 21 B provides for further embodiment of this invention.The present embodiment is based on real shown in Figure 21 A Apply example to realize, as illustrated in fig. 21b, the base station of the present embodiment also includes:Reduction statistical module 214.

Reduction statistical module 214, is connected with the 8th receiver module 212, for the 8th receiver module 212 is received the The packet that one UE sends is reduced to IP packet, and according between IP packet statistics the UE restoring and the 2nd UE Flow, in order to carry out charge on traffic.

Optionally, the base station of the present embodiment also includes:Reduction reporting module 215.

Reduction reporting module 215, is connected with the 8th receiver module 212, for the 8th receiver module 212 is received the The packet that one UE sends is reduced to IP packet, and according between IP packet statistics the UE restoring and the 2nd UE Flow, and the flow information counting is reported gateway.

Above-mentioned each functional module can be used for executing the flow process of data transmission method for uplink shown in Figure 12, and its concrete operating principle is no longer Repeat, refer to the description of embodiment of the method.

The base station of the present embodiment achieves gateway and carries out traffic statistics, meter by reducing statistical module or reduction reporting module The function such as take, be that the packet that a UE is directly sent by base station is transmitted to the 2nd UE and lays the foundation.

The structural representation of the UE that Figure 22 A provides for further embodiment of this invention.As shown in fig. 22, the UE of the present embodiment Including:12nd sending module 221, the 9th receiver module 222 and the 13rd sending module 223.

Wherein, the 12nd sending module 221, is connected with base station, for sending PDCP packet to base station.

9th receiver module 222, is connected with base station, for receive base station transmission D2D pattern is switched to by cell pattern Switching command.

13rd sending module 223, is connected with the 9th receiver module 222 and the 2nd UE, for according to the 9th receiver module 222 switching commands receiving, by first unsuccessful PDCP packet being sent to the 2nd UE under cell pattern and follow-up PDCP packet the 2nd UE is sent to D2D pattern.

Each functional module of the UE of the present embodiment can be used for executing the flow process of data transmission method for uplink shown in Figure 13, its concrete work Repeat no more as principle, refer to the description of embodiment of the method.The UE of the present embodiment is equivalent in embodiment illustrated in fig. 13 first UE.

When the UE of the present embodiment and the 2nd UE is communicated using cell pattern, base station sends switching to the present embodiment UE and refers to Order, the present embodiment UE starts directly to second from first unsuccessful PDCP packet being sent to the 2nd UE according to switching command UE sends, so that the communication pattern of the present embodiment UE and the 2nd UE switches to D2D pattern by cell pattern.

The structural representation of the UE that Figure 22 B provides for further embodiment of this invention.The present embodiment can be based on real shown in Figure 22 A Apply example to realize, as shown in Figure 22 B, the UE of the present embodiment also includes:Tenth receiver module 224.

Tenth receiver module 224, is connected with base station and the 13rd sending module 223, for receiving the PDCP of base station return Packet, and it is supplied to the 13rd sending module 223.Wherein, the PDCP packet that base station returns is that base station is not yet sent to net The PDCP packet closing;Or, the PDCP packet that base station returns is base station according to the corresponding relation of record to all or part Reseal becomes and is not yet sent to the PDCP packet that the PDCP packet of the 2nd UE is reduced and generated.

Optionally, the UE of the present embodiment also includes:11st receiver module 225.

11st receiver module 225, is connected with base station, for receiving the notification message of base station transmission, and is disappeared according to notice Breath knows that base station has not yet been sent and needed the PDCP packet being sent to the 2nd UE to be sent to the 2nd UE.Enter one Step, the 11st receiver module 225 is additionally operable to reception base station and is returning the PDCP packet needing to return to a UE to a UE Pass the notification message that the passback sending after finishing finishes.Wherein, not yet send and need to be sent to the PDCP packet of the 2nd UE Refer to that base station, after sending switching command, determines the various PDCP packets needing to be sent to the 2nd UE, for example, can be Received to but not yet report the PDCP that the PDCP packet of gateway and/or the IP packet Reseal being issued by gateway become Packet, can also be all or part of PDCP packet that base station restores according to the corresponding relation of record.

Optionally, the UE of the present embodiment also includes:12nd receiver module 226.

12nd receiver module 226, is connected with base station and the 13rd sending module 223, for receiving the of base station notice The PDCP serial number of the unsuccessful PDCP packet being sent to the 2nd UE of one UE first, and by the receive the first UE first The PDCP serial number of the unsuccessful PDCP packet being sent to the 2nd UE is supplied to the 13rd sending module 223.

Further, the tenth receiver module 224 of the present embodiment is additionally operable to, when receiving the PDCP packet that base station returns, connect Receive the PDCP serial number of the PDCP packet that base station returns, and the PDCP receiving serial number is supplied to the 13rd sending module 223.

Further, the 13rd sending module 223 of the present embodiment is specifically for the PDCP packet that returned according to base station PDCP serial number, updates the PDCP of first unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP packet Then PDCP packet after updating is transmitted directly to the 2nd UE by serial number.

Above-mentioned each functional module can be used for executing and ensures in above-mentioned Figure 13-embodiment illustrated in fig. 15 that the 2nd UE is properly received this The method flow of the PDCP packet that embodiment UE is sent with D2D pattern, its concrete operating principle repeats no more.

The UE of the present embodiment enables the 2nd UE to be properly received the present embodiment UE with D2D mould by above-mentioned each functional module The PDCP packet that formula sends, it is to avoid conflicting between the PDCP serial number of the PDCP packet sending with base station it is ensured that Not packet loss or packet loss is preferably minimized in mode handover procedure.

The structural representation of the base station that Figure 23 A provides for further embodiment of this invention.As shown in fig. 23 a, the present embodiment Base station includes:13rd receiver module 231, the second package module 232, the 14th sending module 234 and the 15th sending module 235.

Wherein, the 13rd receiver module 231, is connected with a UE, for receiving the PDCP packet that a UE sends, will The PDCP packet that first UE sends is sent to gateway the IP receiving the PDCP packet that gateway sends according to base station and issuing Packet.

Second package module 232, is connected with the 13rd receiver module 231, for receiving for the 13rd receiver module 231 The IP allocation of packets PDCP serial number that issues of gateway, the IP packet Reseal that gateway is issued becomes PDCP data Bag.

14th sending module 234, is connected with the second package module 232 and the 2nd UE, for by the second package module 232 The PDCP packet that Reseal becomes is sent to the 2nd UE.

15th sending module 235, is connected with a UE, switches to D2D mould for sending to a UE by cell pattern The switching command of formula, to indicate a UE according to switching command will a UE first be unsuccessful under cell pattern is sent to The PDCP packet of two UE and follow-up PDCP packet are sent to the 2nd UE with D2D pattern.

Each functional module of the present embodiment base station can be used for executing the flow process of data transmission method for uplink shown in Figure 14, its concrete work Repeat no more as principle, refer to the description of embodiment of the method.

The base station of the present embodiment, is carried out in communication process using cell pattern in a UE and the 2nd UE, sends out to a UE Send switching command so that a UE starts directly to send out to the 2nd UE from first unsuccessful PDCP packet being sent to the 2nd UE Send PDCP packet so that the communication pattern of a UE and the 2nd UE switches to D2D pattern by cell pattern.

The structural representation of the base station that Figure 23 B provides for further embodiment of this invention.The present embodiment is based on real shown in Figure 23 A Apply example to realize, as shown in fig. 23b, second package module 232 of the present embodiment is specifically for the IP packet being issued according to gateway IP serial number, obtain have the IP packet corresponding PDCP packet that the gateway of described IP serial number issues, will be acquired The PDCP serial number of PDCP packet distribute to the IP packet that gateway issues, the IP packet that gateway is issued seals again Dress up PDCP packet.

Further, the base station of the present embodiment also includes:Judge module 236 and the 3rd logging modle 233.

Judge module 236, is connected with the 3rd logging modle 233, for the D2D ability being reported according to a UE and the 2nd UE Information, judges whether a UE and the 2nd UE supports D2D pattern simultaneously.

3rd logging modle 233, is connected with the 13rd receiver module 23 1 and the second package module 232, for judging When the judged result of module 236 is to be, the PDCP serial number of PDCP packet that record the UE sends, a UE send The IP serial number of the IP packet in PDCP packet, Reseal become the PDCP serial number of PDCP packet and again seal Corresponding relation between the IP serial number of the IP packet in the PDCP packet dressed up.Described corresponding relation is by the second Encapsulation Moulds Block 232 is used for the IP allocation of packets PDCP serial number issuing for gateway.

Optionally, the base station of the present embodiment also includes:16th sending module 237.

16th sending module 237, is connected with a UE, for the PDCP being not yet sent to gateway sending a UE Packet returns to a UE.

Optionally, the base station of the present embodiment also includes:17th sending module 238.

17th sending module 238, is connected with the 3rd logging modle 233 and the 2nd UE, for completely or partially again The PDCP packet being packaged into and being not yet sent to the 2nd UE is reduced, and the PDCP restoring packet is sent to second UE or return to a UE.

Optionally, the base station of the present embodiment also includes:18th sending module 239.

18th sending module 239, is connected with the 17th sending module 238 and a UE, logical for sending to a UE Know message, to inform that a UE has not yet been sent and needed the PDCP packet being sent to the 2nd UE to send to the 2nd UE Finish.Wherein, not yet send and need the PDCP packet being sent to the 2nd UE to refer to that base station, after sending switching command, determines Need to be sent to the various PDCP packets of the 2nd UE, for example, can be to have been received by but not yet report the PDCP number of gateway The PDCP packet that the IP packet Reseal issued according to bag and/or by gateway becomes, can also be that base station is right according to record The all or part of PDCP packet restoring should be related to.

Optionally, the base station of the present embodiment also includes:19th sending module 240.

19th sending module 240, is connected with a UE, for notifying first unsuccessful transmission of a UE to a UE PDCP serial number to the PDCP packet of the 2nd UE.

Further, the 16th sending module 237 of the present embodiment is additionally operable to returning the same of PDCP packet to a UE When, the PDCP serial number of the PDCP being returned packet is sent to a UE.

Optionally, the base station of the present embodiment also includes:20th sending module 241.

20th sending module 241, is connected with the 3rd logging modle 233 and the 2nd UE, for sending the 3rd to the 2nd UE The corresponding relation of logging modle 233 record, so that the 2nd UE updates what the base station being successfully received sent according to corresponding relation The PDCP serial number of PDCP packet.

Above-mentioned each functional module can be used for executing the corresponding flow process in embodiment of the method shown in Figure 13-Figure 16, its concrete work Repeat no more as principle, refer to the description of embodiment of the method.

The base station of the present embodiment, by when a UE and the 2nd UE is communicated using cell pattern, recording a UE The IP serial number of IP packet in the PDCP packet that the PDCP serial number of PDCP packet of transmission, a UE send, base IP data in the PDCP packet of the PDCP serial number of PDCP packet of Reseal of standing one-tenth and base station Reseal one-tenth Corresponding relation between the IP serial number of bag, for successfully carrying out pattern switching and ensureing not packet loss or packet loss in handoff procedure Minimum lay the foundation so that the communication pattern of a UE and the 2nd UE switches to D2D pattern by cell pattern, and ensure Packet loss.

The structural representation of the UE that Figure 24 A provides for further embodiment of this invention.As shown in fig. 24 a, the UE of the present embodiment Including:14th receiver module 251 and the 15th receiver module 252.

Wherein, the 14th receiver module 251, is connected with base station, for receiving the PDCP packet of base station transmission.Wherein, The PDCP packet that base station sends is that base station receives the PDCP packet that a UE sends, the PDCP packet that a UE is sent It is sent to gateway and PDCP packet that gateway is sent according to base station and PDCP number that the IP packet Reseal that issues becomes According to bag.Wherein, in the PDCP packet that the PDCP serial number of PDCP packet of base station record the UE transmission, a UE send The IP serial number of IP packet, Reseal become the PDCP serial number of PDCP packet and Reseal become PDCP number According to the corresponding relation between the serial number of the IP packet in bag.

15th receiver module 252, is connected with a UE, for receiving the PDCP packet that a UE directly transmits.Its In, the PDCP packet that a UE is transmitted directly to the present embodiment UE is that a UE is switched by cell pattern according to what base station sent Switching command for D2D pattern starts transmission from first unsuccessful PDCP packet being sent to the present embodiment UE.

Each functional module of the present embodiment UE can be used for executing the flow process of data receiver method shown in Figure 15, its specific works Principle repeats no more, and refers to the description of embodiment of the method.The UE of the present embodiment is equivalent to the 2nd UE in embodiment illustrated in fig. 15.

, by matching with a UE and base station, the communication pattern between a UE is by cell mould for the UE of the present embodiment When formula switches to D2D pattern, the PDCP sequence of the PDCP packet being sent based on the UE that base station records in cell pattern Number, the PDCP packet that becomes of the IP serial number of IP packet in the PDCP packet that sends of a UE, base station Reseal The corresponding relation between the IP serial number of IP packet in the PDCP packet of PDCP serial number and base station Reseal one-tenth, The PDCP packet that a UE sends with D2D pattern can be properly received it is achieved that communication pattern is cut by cell pattern between UE It is changed to D2D pattern.

The structural representation of the UE that Figure 24 B provides for further embodiment of this invention.The present embodiment is based on to be implemented shown in Figure 24 A Example is realized, and as shown in fig. 24b, the UE of the present embodiment also includes:16th receiver module 253.

16th receiver module 253, is connected with base station, for receiving base station according to the corresponding relation being recorded to again sealing The PDCP packet that PDCP packet that is dressing up and being not yet sent to the 2nd UE is reduced and generated.

Optionally, the UE of the present embodiment also includes:17th receiver module 254.

17th receiver module 254, is connected with base station, for receiving the corresponding relation of base station transmission, and is closed according to corresponding System updates the PDCP serial number of the PDCP packet that the base station being successfully received sends.

Above-mentioned each functional module can be used for executing the corresponding flow process in embodiment of the method shown in Figure 13-Figure 16, its concrete work Repeat no more as principle.

The UE of the present embodiment by above-mentioned each functional module solve by cell pattern in D2D mode handover procedure, Collision problem between the PDCP serial number of PDCP packet of the PDCP packet of base station transmission and UE transmission, it is to avoid Because PDCP serial number conflict cause data-bag lost problem it is ensured that in communication pattern handoff procedure not packet loss or by packet loss Rate is preferably minimized.

The structural representation of the gateway that Figure 25 provides for one embodiment of the invention.As shown in figure 25, the gateway of the present embodiment Including:18th receiver module 261 and the 21st sending module 262.

Wherein, the 18th receiver module 261, is connected with base station, is sent to for receive base station transmission by a UE The IP packet of two UE, and record the order receiving IP packet.Wherein, the IP packet that base station sends is base station to a UE The PDCP packet sending carries out decapsulating acquisition, and IP packet includes the mark of a UE and the mark of the 2nd UE.

21st sending module 262, is connected with the 18th receiver module 261 and base station, for the 18th reception mould What block 261 received IP packet is processed, and is issued to base station according to the order that the 18th receiver module 261 is recorded IP packet after process.So, base station can be after the IP packet Reseal that gateway is issued becomes PDCP packet, root According to the order that a UE sends PDCP packet, the PDCP packet that Reseal becomes is sent to the 2nd UE.

Further, the gateway of the present embodiment also includes:19th receiver module 263.

19th receiver module 263, is connected with base station and the 18th receiver module 261, for receiving the of base station transmission The mark of one UE and the mark of the 2nd UE, and the mark of the mark of the receive the first UE and the 2nd UE is supplied to the 18th and connects Receive module 261.

The mark and of a UE specifically for being provided according to the 19th receiver module 263 for the 18th receiver module 261 The mark of two UE, identifies, in the IP packet that base station sends, the IP packet being sent to the 2nd UE by a UE, and records Receive the order of the IP packet being sent to the 2nd UE by a UE.

Each functional module of the present embodiment gateway can be used for executing the processing stream of gateway in data transmission method for uplink shown in Figure 12 Journey, its concrete operating principle repeats no more, and refers to the description of embodiment of the method.

The gateway of the present embodiment passes through to know the mark of a UE and the 2nd UE in advance, and identifies accordingly and record the first UE It is sent to the reception order of the IP packet of the 2nd UE, then according to reception order issues the IP packet after process to base station, Make base station receive the first UE send the order of PDCP packet and base station be sent to the 2nd UE PDCP packet suitable Sequence is identical, and then base station is opened from the PDCP serial number of first unsuccessful PDCP packet being sent to the 2nd UE of a UE Begin the PDCP serial number of IP allocation of packets that issues for gateway and a UE is transmitted directly to the PDCP sequence that the 2nd UE uses Number identical, thus avoid the PDCP packet that a UE sends and that base station sends that the 2nd UE receives PDCP serial number it Between conflict so that the 2nd UE can be properly received base station forwarding PDCP packet and there is not packet loss, be in communication pattern Ensure not packet loss or packet loss is minimum lays the foundation in handoff procedure.

One of ordinary skill in the art will appreciate that:The all or part of step realizing above-mentioned each method embodiment can be led to Cross the related hardware of programmed instruction to complete.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, executes the step including above-mentioned each method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.

Finally it should be noted that:Various embodiments above only in order to technical scheme to be described, is not intended to limit;To the greatest extent Pipe has been described in detail to the present invention with reference to foregoing embodiments, it will be understood by those within the art that:Its according to So the technical scheme described in foregoing embodiments can be modified, or wherein some or all of technical characteristic is entered Row equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (68)

1. a kind of data transmission method for uplink is it is characterised in that include:
First user equipment UE leads directly to D2D pattern to the 2nd UE with equipment and sends packet;
What a described UE received base station transmission is the switching command of cell pattern by D2D pattern switching;
A described UE is by first unsuccessful packet being sent to described 2nd UE and follow-up packet under D2D pattern It is sent to described base station;
First unsuccessful packet being sent to described 2nd UE and follow-up packet are sent to described by a described UE Include before base station:
A described UE is sent to described second using unsuccessful to described first with the key that described 2nd UE makes an appointment The packet of UE and follow-up packet are encrypted.
2. data transmission method for uplink according to claim 1 it is characterised in that described first user equipment UE to the 2nd UE with Equipment leads directly to D2D pattern transmission packet and includes:
A described UE sends PDCP PDCP packet to described 2nd UE with D2D pattern;
The described first unsuccessful packet being sent to described 2nd UE and follow-up packet include:First unsuccessful Give the PDCP packet of described 2nd UE and follow-up PDCP packet;
After described follow-up PDCP packet includes the described first unsuccessful PDCP packet being sent to described 2nd UE All PDCP packets or described first unsuccessful PDCP packet being sent to described 2nd UE after unsuccessful Give the PDCP packet of described 2nd UE.
3. data transmission method for uplink according to claim 2 is it is characterised in that also include:
The PDCP serial number of the described first unsuccessful PDCP packet being sent to described 2nd UE is sent by a described UE To described base station.
4. data transmission method for uplink according to claim 2 is it is characterised in that a described UE is by first unsuccessful transmission PDCP packet to described 2nd UE and follow-up PDCP packet are sent to inclusion before described base station:
A described UE resets the described first unsuccessful PDCP packet being sent to described 2nd UE and follow-up PDCP The PDCP serial number of packet.
5. data transmission method for uplink according to claim 2 is it is characterised in that a described UE is by first unsuccessful transmission PDCP packet to described 2nd UE and follow-up PDCP packet are sent to described base station and include:
A described UE by the described first unsuccessful PDCP packet being sent to described 2nd UE and follow-up to described 2nd UE is transmitted across but the unsuccessful PDCP packet being sent to described 2nd UE and described first unsuccessful are sent to institute State the PDCP packet of the 2nd UE and be subsequently transmitted across to described 2nd UE but unsuccessful be sent to described 2nd UE's The PDCP serial number of PDCP packet sends jointly to described base station.
6. the data transmission method for uplink according to Claims 2 or 3 or 4 is not it is characterised in that first is become by a described UE Work(is sent to the PDCP packet of described 2nd UE and follow-up PDCP packet is sent to inclusion before described base station:
A described UE receives described 2nd UE that described 2nd UE returns and unsuccessful is sent to described second at described first Other PDCP packets being successfully received after the PDCP packet of UE.
7. data transmission method for uplink according to claim 6 is it is characterised in that described packet is PDCP service data unit SDU, wireless spread-spectrum technology RLC SDU, media access control MAC SDU or Medium Access Control (MAC) Protocol Data Unit PDU.
8. a kind of data transmission method for uplink is it is characterised in that include:
Base station sends to first user equipment UE and leads directly to, by equipment, the switching command that D2D pattern switching is cell pattern, to indicate A described UE from D2D pattern to the 2nd UE send packet switch to by described base station to described 2nd UE send data Bag;
A described UE under D2D pattern first that described base station receives that a described UE sends is unsuccessful to be sent to described the The PDCP PDCP packet of two UE and follow-up PDCP packet, described follow-up PDCP packet includes institute State all PDCP packets after first unsuccessful PDCP packet being sent to described 2nd UE, or include described the The unsuccessful PDCP packet being sent to described 2nd UE after the PDCP packet that unsuccessful to be sent to described 2nd UE;
The PDCP packet that a described UE sends is sent to gateway and receives the Internet that described gateway issues by described base station Protocol IP data bag, the IP number to issue described gateway for the IP allocation of packets PDCP serial number then issuing for described gateway Become PDCP packet according to bag Reseal;
The PDCP packet that described Reseal becomes is sent to described 2nd UE by described base station;
Methods described also includes:
Described base station records the PDCP that the PDCP serial number of PDCP packet of a described UE transmission is sent with a described UE Corresponding relation between the IP serial number of the IP packet in packet;
Described base station is the IP packet to issue described gateway for the IP allocation of packets PDCP serial number that issues of described gateway It is re-packaged into PDCP packet to include:
Described base station, will according to the IP allocation of packets corresponding PDCP serial number that described corresponding relation is that described gateway issues The IP packet that described gateway issues is re-packaged into PDCP packet.
9. data transmission method for uplink according to claim 8 it is characterised in that described base station receive described gateway issue mutual Networking protocol IP packet includes:
Described base station receives the IP packet that described gateway issues according to the order receiving the PDCP packet that described base station sends.
10. data transmission method for uplink according to claim 8 or claim 9 is it is characterised in that the described gateway in described base station issues IP allocation of packets PDCP serial number is re-packaged into PDCP packet with the IP packet issuing described gateway and includes:
Described base station from the PDCP serial number of the described first unsuccessful PDCP packet being sent to described 2nd UE start for The IP allocation of packets PDCP serial number that described gateway issues is with the IP packet encapsulation that again issues described gateway as PDCP Packet.
11. data transmission method for uplink according to claim 10 are it is characterised in that also include:
Described base station receives the described first unsuccessful PDCP packet being sent to described 2nd UE that a described UE sends PDCP serial number;Or
Described base station receives the described first unsuccessful PDCP packet being sent to described 2nd UE that described 2nd UE sends PDCP serial number.
12. data transmission method for uplink according to claim 8 are it is characterised in that described base station is the IP that described gateway issues Allocation of packets PDCP serial number is re-packaged into PDCP packet with the IP packet issuing described gateway and includes:
When the described UE described first unsuccessful PDCP packet being sent to described 2nd UE of replacement and follow-up During the PDCP serial number of PDCP packet, described base station starts, with serial number 0, the IP allocation of packets that issues for described gateway PDCP serial number is re-packaged into PDCP packet with the IP packet issuing described gateway.
A kind of 13. data transmission method for uplink are it is characterised in that include:
Base station sends to first user equipment UE and leads directly to, by equipment, the switching command that D2D pattern switching is cell pattern, to indicate A described UE from D2D pattern to the 2nd UE send packet switch to by described base station to described 2nd UE send data Bag;
A described UE under D2D pattern first that described base station receives that a described UE sends is unsuccessful to be sent to described the The PDCP PDCP packet of two UE and follow-up PDCP packet, described follow-up PDCP packet includes institute State all PDCP packets after first unsuccessful PDCP packet being sent to described 2nd UE, or include described the The unsuccessful PDCP packet being sent to described 2nd UE after the PDCP packet that unsuccessful to be sent to described 2nd UE;
The PDCP packet that a described UE sends is sent to gateway and receives the Internet that described gateway issues by described base station Protocol IP data bag, the IP number to issue described gateway for the IP allocation of packets PDCP serial number then issuing for described gateway Become PDCP packet according to bag Reseal;
The PDCP packet that described Reseal becomes is sent to described 2nd UE by described base station;
Methods described also includes:
Described base station receives the described first unsuccessful PDCP packet being sent to described 2nd UE that a described UE sends Be subsequently transmitted across to described 2nd UE but the PDCP serial number of the unsuccessful PDCP packet being sent to described 2nd UE;
The PDCP packet that a described UE sends is sent to gateway and receives the IP data that described gateway issues by described base station Bag, is then sealed with the IP packet issuing described gateway again for the IP allocation of packets PDCP serial number that described gateway issues Fill and include for PDCP packet:
The described first unsuccessful PDCP packet being sent to described 2nd UE that a described UE is sent by described base station Be subsequently transmitted across to described 2nd UE but the PDCP serial number of the unsuccessful PDCP packet being sent to described 2nd UE It is encapsulated in the described first unsuccessful PDCP packet being sent to described 2nd UE to send to described 2nd UE with follow-up Cross but be sent to described gateway in the IP packet in the unsuccessful PDCP packet being sent to described 2nd UE, and receive described The IP packet of the inclusion PDCP serial number that gateway issues;
PDCP serial number according to entrained by the IP packet that described gateway issues for the described base station, be described gateway issue each IP allocation of packets PDCP serial number, the IP packet that described gateway is issued is re-packaged into PDCP packet.
14. data transmission method for uplink according to claim 13 are it is characterised in that described base station receives what described gateway issued Internet protocol IP packet includes:
Described base station receives the IP packet that described gateway issues according to the order receiving the PDCP packet that described base station sends.
15. data transmission method for uplink according to claim 13 or 14 are it is characterised in that described base station issues for described gateway IP allocation of packets PDCP serial number PDCP packet be re-packaged into the IP packet issuing described gateway include:
Described base station from the PDCP serial number of the described first unsuccessful PDCP packet being sent to described 2nd UE start for The IP allocation of packets PDCP serial number that described gateway issues is with the IP packet encapsulation that again issues described gateway as PDCP Packet.
16. data transmission method for uplink according to claim 15 are it is characterised in that also include:
Described base station receives the described first unsuccessful PDCP packet being sent to described 2nd UE that a described UE sends PDCP serial number;Or
Described base station receives the described first unsuccessful PDCP packet being sent to described 2nd UE that described 2nd UE sends PDCP serial number.
17. data transmission method for uplink according to claim 13 are it is characterised in that described base station is the IP that described gateway issues Allocation of packets PDCP serial number is re-packaged into PDCP packet with the IP packet issuing described gateway and includes:
When the described UE described first unsuccessful PDCP packet being sent to described 2nd UE of replacement and follow-up During the PDCP serial number of PDCP packet, described base station starts, with serial number 0, the IP allocation of packets that issues for described gateway PDCP serial number is re-packaged into PDCP packet with the IP packet issuing described gateway.
A kind of 18. data transmission method for uplink are it is characterised in that include:
First user equipment UE sends PDCP PDCP packet to base station;
A described UE receives the switching command being switched to the straight-through D2D pattern of equipment by cell pattern that described base station sends;
A described UE is by first unsuccessful PDCP packet being sent to the 2nd UE and follow-up PDCP under cell pattern Packet is sent to described 2nd UE with D2D pattern;
Methods described also includes:
A described UE receives the PDCP packet that described base station returns;
Wherein, the PDCP packet that described base station returns is the PDCP packet that described base station is not yet sent to gateway;Or, institute Stating the PDCP packet of base station return, to be described base station according to the corresponding relation of record become to all or part of Reseal and still It is not issued to the PDCP packet that the PDCP packet of described 2nd UE is reduced and generated.
19. data transmission method for uplink according to claim 18 are it is characterised in that also include:
A described UE receives the described first unsuccessful PDCP packet being sent to described 2nd UE that described base station notifies PDCP serial number.
20. data transmission method for uplink according to claim 18 are it is characterised in that also include:
A described UE, when receiving the PDCP packet that described base station returns, receives the PDCP packet that described base station returns PDCP serial number.
21. data transmission method for uplink according to claim 20 are it is characterised in that a described UE will be under cell pattern One unsuccessful PDCP packet being sent to described 2nd UE and follow-up PDCP packet are sent to described with D2D pattern Two UE include:
The PDCP serial number of the PDCP packet that a described UE returns according to described base station, updates described first unsuccessful Give the PDCP serial number of PDCP packet the and follow-up PDCP packet of described 2nd UE, then by the PDCP after updating Packet is sent to described 2nd UE with D2D pattern.
A kind of 22. data transmission method for uplink are it is characterised in that include:
Base station receives the PDCP PDCP packet that first user equipment UE sends, and a described UE is sent PDCP packet be sent to gateway and receive described gateway according to the described base station PDCP packet sending and the Internet issuing Protocol IP data bag;
Described base station is the IP allocation of packets PDCP serial number that described gateway issues, the IP packet that described gateway is issued Reseal becomes PDCP packet;
The PDCP packet that described Reseal becomes is sent to the 2nd UE by described base station;
Described base station sends, to a described UE, the switching command being switched to the straight-through D2D pattern of equipment by cell pattern, to indicate A described UE is according to described switching command by first unsuccessful PDCP number being sent to described 2nd UE under cell pattern According to bag and follow-up PDCP packet, described 2nd UE is sent to D2D pattern;
Described base station is the IP allocation of packets PDCP serial number that described gateway issues, the IP packet that described gateway is issued Reseal becomes PDCP packet to include:
The IP serial number of the IP packet that described base station issues according to described gateway, obtains the described net having described IP serial number Close the IP packet corresponding PDCP packet issuing, the PDCP serial number of acquired PDCP packet is distributed to described net Close the IP packet issuing, the IP packet Reseal that described gateway is issued becomes PDCP packet.
23. data transmission method for uplink according to claim 22 are it is characterised in that described base station is the IP that described gateway issues Allocation of packets PDCP serial number, the IP packet Reseal that described gateway is issued includes before becoming PDCP packet:
The D2D ability information that described base station reports according to a described UE and described 2nd UE, judges a described UE and described Whether the 2nd UE supports D2D pattern simultaneously;
If it is judged that being yes, described base station records the PDCP serial number of PDCP packet, described that a described UE sends The PDCP of the PDCP packet that the IP serial number of IP packet in the PDCP packet that the first UE sends, described Reseal become The corresponding relation between the IP serial number of IP packet in the PDCP packet of serial number and described Reseal one-tenth;
Described corresponding relation is used for the IP allocation of packets PDCP serial number issuing for described gateway by described base station.
24. data transmission method for uplink according to claim 22 are it is characterised in that also include:
The PDCP packet being not yet sent to described gateway that a described UE sends is returned to a described UE by described base station.
25. data transmission method for uplink according to claim 22 are it is characterised in that also include:
The PDCP packet that described base station becomes and be not yet sent to described 2nd UE to all or part of described Reseal is carried out Reduction, and the PDCP restoring packet is sent to described 2nd UE or returns to a described UE.
26. data transmission method for uplink according to claim 22 are it is characterised in that also include:
Described base station notifies the described first unsuccessful PDCP packet being sent to described 2nd UE to a described UE PDCP serial number.
27. data transmission method for uplink according to claim 24 are it is characterised in that described base station returns to a described UE While PDCP packet, the PDCP serial number of the PDCP being returned packet is sent to a described UE.
28. data transmission method for uplink according to claim 23 are it is characterised in that also include:
Described base station sends described corresponding relation to described 2nd UE, to notify described 2nd UE to be updated according to described corresponding relation The PDCP serial number of the PDCP packet that the described base station being successfully received sends.
A kind of 29. data transmission method for uplink are it is characterised in that include:
Base station receives the PDCP PDCP packet that first user equipment UE sends, and a described UE is sent PDCP packet be sent to gateway and receive described gateway according to the described base station PDCP packet sending and the Internet issuing Protocol IP data bag;
Described base station is the IP allocation of packets PDCP serial number that described gateway issues, the IP packet that described gateway is issued Reseal becomes PDCP packet;
The PDCP packet that described Reseal becomes is sent to the 2nd UE by described base station;
Described base station sends, to a described UE, the switching command being switched to the straight-through D2D pattern of equipment by cell pattern, to indicate A described UE is according to described switching command by first unsuccessful PDCP number being sent to described 2nd UE under cell pattern According to bag and follow-up PDCP packet, described 2nd UE is sent to D2D pattern;
Described base station is the IP allocation of packets PDCP serial number that described gateway issues, the IP packet that described gateway is issued Reseal includes before becoming PDCP packet:
The D2D ability information that described base station reports according to a described UE and described 2nd UE, judges a described UE and described Whether the 2nd UE supports D2D pattern simultaneously;
If it is judged that being yes, described base station records the PDCP serial number of PDCP packet, described that a described UE sends The PDCP of the PDCP packet that the IP serial number of IP packet in the PDCP packet that the first UE sends, described Reseal become The corresponding relation between the IP serial number of IP packet in the PDCP packet of serial number and described Reseal one-tenth;
Described corresponding relation is used for the IP allocation of packets PDCP serial number issuing for described gateway by described base station.
30. data transmission method for uplink according to claim 29 are it is characterised in that also include:
The PDCP packet being not yet sent to described gateway that a described UE sends is returned to a described UE by described base station.
31. data transmission method for uplink according to claim 29 are it is characterised in that also include:
The PDCP packet that described base station becomes and be not yet sent to described 2nd UE to all or part of described Reseal is carried out Reduction, and the PDCP restoring packet is sent to described 2nd UE or returns to a described UE.
32. data transmission method for uplink according to claim 29 are it is characterised in that also include:
Described base station notifies the described first unsuccessful PDCP packet being sent to described 2nd UE to a described UE PDCP serial number.
33. data transmission method for uplink according to claim 30 are it is characterised in that described base station returns to a described UE While PDCP packet, the PDCP serial number of the PDCP being returned packet is sent to a described UE.
34. data transmission method for uplink according to claim 29 are it is characterised in that also include:
Described base station sends described corresponding relation to described 2nd UE, to notify described 2nd UE to be updated according to described corresponding relation The PDCP serial number of the PDCP packet that the described base station being successfully received sends.
A kind of 35. user equipment (UE)s are it is characterised in that include:
First sending module, sends packet for leading directly to D2D pattern to the 2nd UE with equipment;
First receiver module, is the switching command of cell pattern for receive base station transmission by D2D pattern switching;
Second sending module, for by first unsuccessful packet being sent to described 2nd UE under D2D pattern and follow-up Packet be sent to described base station;
Encrypting module, for being sent to described the using unsuccessful to described first with the key that described 2nd UE makes an appointment The packet of two UE and follow-up packet are encrypted.
36. UE according to claim 35 it is characterised in that described first sending module be used for described 2nd UE with D2D pattern sends PDCP PDCP packet;
The described first unsuccessful packet being sent to described 2nd UE and follow-up packet include:First unsuccessful Give the PDCP packet of described 2nd UE and follow-up PDCP packet;
After described follow-up PDCP packet includes the described first unsuccessful PDCP packet being sent to described 2nd UE All PDCP packets or described first unsuccessful PDCP packet being sent to described 2nd UE after unsuccessful Give the PDCP packet of described 2nd UE.
37. UE according to claim 36 are it is characterised in that also include:
3rd sending module, for by the PDCP sequence of the described first unsuccessful PDCP packet being sent to described 2nd UE Number it is sent to described base station.
38. UE according to claim 36 are it is characterised in that also include:
Reset module, for resetting the described first unsuccessful PDCP packet being sent to described 2nd UE and follow-up The PDCP serial number of PDCP packet.
39. UE according to claim 36 are it is characterised in that described second sending module is used for not becoming described first Work(be sent to the PDCP packet of described 2nd UE and be subsequently transmitted across to described 2nd UE but unsuccessful be sent to described The PDCP packet of the 2nd UE and described first be not issued to the PDCP packet of described 2nd UE and follow-up to Described 2nd UE is transmitted across but the PDCP serial number of the unsuccessful PDCP packet being sent to described 2nd UE sends jointly to institute State base station.
40. UE according to claim 36 or 37 or 38 are it is characterised in that also include:
Second receiver module, unsuccessful is sent to institute for receiving described 2nd UE that described 2nd UE returns at described first Other PDCP packets being successfully received after the PDCP packet stating the 2nd UE.
41. UE according to claim 40 it is characterised in that described packet be PDCP service data unit SDU, wireless Link controls RLC SDU, media access control MAC SDU or Medium Access Control (MAC) Protocol Data Unit PDU.
A kind of 42. base stations are it is characterised in that include:
4th sending module, leads directly to D2D pattern switching cutting for cell pattern for sending to first user equipment UE by equipment Change instruction, to indicate that a described UE switches to by described base station to described from sending packet with D2D pattern to the 2nd UE 2nd UE sends packet;
3rd receiver module, for receiving the described UE under D2D pattern first unsuccessful that a described UE sends Give the PDCP packet of described 2nd UE and follow-up PDCP packet, described follow-up PDCP packet includes described first All PDCP packets after the individual unsuccessful PDCP packet being sent to described 2nd UE, or include described first not The unsuccessful PDCP packet being sent to described 2nd UE after being successfully sent to the PDCP packet of described 2nd UE;
First package module, the PDCP packet for sending a described UE is sent to gateway and receives described gateway and issue Internet protocol IP packet, the IP allocation of packets PDCP serial number then issuing for described gateway is with by under described gateway The IP packet Reseal sent out becomes PDCP packet;
5th sending module, the PDCP packet for becoming described Reseal is sent to described 2nd UE;
Second logging modle, the PDCP serial number for recording the PDCP packet that a described UE sends is sent out with a described UE Corresponding relation between the IP serial number of the IP packet in the PDCP packet sending;
It is that the IP allocation of packets that described gateway issues is corresponding that described first package module is used for according to described corresponding relation PDCP serial number, the IP packet that described gateway is issued is re-packaged into PDCP packet.
43. base stations according to claim 42 are it is characterised in that described first package module is used for receiving described gateway and presses The IP packet issuing according to the order receiving the PDCP packet that described base station sends.
44. base stations according to claim 42 or 43 are it is characterised in that described first package module is used for from described first The PDCP serial number of the individual unsuccessful PDCP packet being sent to described 2nd UE starts the IP packet issuing for described gateway The IP packet encapsulation distributing PDCP serial number again to issue described gateway is for PDCP packet.
45. base stations according to claim 44 are it is characterised in that also include:
4th receiver module, described first for receiving a described UE transmission is unsuccessful to be sent to described 2nd UE's The PDCP serial number of PDCP packet;Or for receive described first that described 2nd UE sends unsuccessful be sent to described The PDCP serial number of the PDCP packet of the 2nd UE.
46. base stations according to claim 42 are it is characterised in that described first package module is used in a described UE weight Put the PDCP sequence of the described first unsuccessful PDCP packet being sent to described 2nd UE and follow-up PDCP packet Number when, the IP allocation of packets PDCP serial number that issues for the described gateway IP to issue described gateway is started with serial number 0 Packet is re-packaged into PDCP packet.
A kind of 47. base stations are it is characterised in that include:
4th sending module, leads directly to D2D pattern switching cutting for cell pattern for sending to first user equipment UE by equipment Change instruction, to indicate that a described UE switches to by described base station to described from sending packet with D2D pattern to the 2nd UE 2nd UE sends packet;
3rd receiver module, for receiving the described UE under D2D pattern first unsuccessful that a described UE sends Give the PDCP packet of described 2nd UE and follow-up PDCP packet, described follow-up PDCP packet includes described first All PDCP packets after the individual unsuccessful PDCP packet being sent to described 2nd UE, or include described first not The unsuccessful PDCP packet being sent to described 2nd UE after being successfully sent to the PDCP packet of described 2nd UE;
First package module, the PDCP packet for sending a described UE is sent to gateway and receives described gateway and issue Internet protocol IP packet, the IP allocation of packets PDCP serial number then issuing for described gateway is with by under described gateway The IP packet Reseal sent out becomes PDCP packet;
5th sending module, the PDCP packet for becoming described Reseal is sent to described 2nd UE;
Described 3rd receiver module is additionally operable to receive that described first that a described UE sends is unsuccessful is sent to described second The PDCP packet of UE and being subsequently transmitted across to described 2nd UE but the unsuccessful PDCP data being sent to described 2nd UE The PDCP serial number of bag;Described first package module be used for sending a described UE described first unsuccessful is sent to institute State the PDCP packet of the 2nd UE and be subsequently transmitted across to described 2nd UE but unsuccessful be sent to described 2nd UE's The PDCP serial number of PDCP packet be encapsulated in the described first unsuccessful PDCP packet being sent to described 2nd UE and after Continuous it has been transmitted across to described 2nd UE but has sent out in the IP packet in the unsuccessful PDCP packet being sent to described 2nd UE Give described gateway, and receive the IP packet of the inclusion PDCP serial number that described gateway issues, then according under described gateway The PDCP serial number entrained by IP packet carrying PDCP serial number sent out, is that each IP packet that described gateway issues divides Join PDCP serial number, the IP packet that described gateway is issued is re-packaged into PDCP packet.
48. base stations according to claim 47 are it is characterised in that described first package module is used for receiving described gateway and presses The IP packet issuing according to the order receiving the PDCP packet that described base station sends.
49. base stations according to claim 47 or 48 are it is characterised in that described first package module is used for from described first The PDCP serial number of the individual unsuccessful PDCP packet being sent to described 2nd UE starts the IP packet issuing for described gateway The IP packet encapsulation distributing PDCP serial number again to issue described gateway is for PDCP packet.
50. base stations according to claim 49 are it is characterised in that also include:
4th receiver module, described first for receiving a described UE transmission is unsuccessful to be sent to described 2nd UE's The PDCP serial number of PDCP packet;Or for receive described first that described 2nd UE sends unsuccessful be sent to described The PDCP serial number of the PDCP packet of the 2nd UE.
51. base stations according to claim 47 are it is characterised in that described first package module is used in a described UE weight Put the PDCP sequence of the described first unsuccessful PDCP packet being sent to described 2nd UE and follow-up PDCP packet Number when, the IP allocation of packets PDCP serial number that issues for the described gateway IP to issue described gateway is started with serial number 0 Packet is re-packaged into PDCP packet.
A kind of 52. user equipment (UE)s are it is characterised in that include:
12nd sending module, for sending PDCP PDCP packet to base station;
9th receiver module, for receiving the switching being switched to the straight-through D2D pattern of equipment by cell pattern that described base station sends Instruction;
13rd sending module, for by first unsuccessful PDCP packet being sent to the 2nd UE under cell pattern and after Continuous PDCP packet is sent to described 2nd UE with D2D pattern;
Tenth receiver module, for receiving the PDCP packet that described base station returns;Wherein, the PDCP data that described base station returns Bag is the PDCP packet that described base station is not yet sent to gateway;Or, the PDCP packet that described base station returns is described base Stand and all or part of Reseal is become and is not yet sent to the PDCP packet of described 2nd UE according to the corresponding relation of record The PDCP packet being reduced and being generated.
53. UE according to claim 52 are it is characterised in that also include:
12nd receiver module, described first for receiving described base station notice is unsuccessful to be sent to described 2nd UE's The PDCP serial number of PDCP packet.
54. UE according to claim 52 are it is characterised in that described tenth receiver module is additionally operable to receiving described base station During the PDCP packet returning, receive the PDCP serial number of the PDCP packet that described base station returns.
55. UE according to claim 54 are it is characterised in that described 13rd sending module is used for being returned according to described base station The PDCP serial number of the PDCP packet returning, updates the described first unsuccessful PDCP packet being sent to described 2nd UE With the PDCP serial number of follow-up PDCP packet, then the PDCP packet after updating is sent to described the with D2D pattern Two UE.
A kind of 56. base stations are it is characterised in that include:
13rd receiver module, for receiving the PDCP PDCP packet of first user equipment UE transmission, will The PDCP packet that a described UE sends is sent to gateway and receives the PDCP data that described gateway sends according to described base station The Internet protocol IP packet wrapping and issuing;
Second package module, for the IP allocation of packets PDCP serial number issuing for described gateway, described gateway is issued IP packet Reseal become PDCP packet;
14th sending module, the PDCP packet for becoming described Reseal is sent to the 2nd UE;
15th sending module, for sending the switching being switched to the straight-through D2D pattern of equipment by cell pattern to a described UE Instruction, with indicate a described UE according to described switching command will under cell pattern first unsuccessful be sent to described second The PDCP packet of UE and follow-up PDCP packet one D2D pattern are sent to described 2nd UE;
The IP serial number of the IP packet for being issued according to described gateway for described second package module, obtains and has described IP sequence The IP packet corresponding PDCP packet that the described gateway of row number issues, by the PDCP serial number of acquired PDCP packet Distribute to the IP packet that described gateway issues, the IP packet Reseal that described gateway is issued becomes PDCP packet.
57. base stations according to claim 56 are it is characterised in that also include:
Judge module, for the D2D ability information being reported according to a described UE and described 2nd UE, judge a described UE and Whether described 2nd UE supports D2D pattern simultaneously;
3rd logging modle, for when the judged result of described judge module is for being, recording the PDCP that a described UE sends The PDCP serial number of packet, described first UE send PDCP packet in the IP serial number of IP packet, described again The IP of the IP packet in the PDCP packet of the PDCP serial number of the PDCP packet being packaged into and described Reseal one-tenth Corresponding relation between serial number;
Described corresponding relation is used for the IP allocation of packets PDCP serial number issuing for described gateway by described second package module.
58. base stations according to claim 56 are it is characterised in that also include:
16th sending module, the PDCP packet being not yet sent to described gateway for sending a described UE returns to A described UE.
59. base stations according to claim 56 are it is characterised in that also include:
17th sending module, for becoming to all or part of described Reseal and being not yet sent to the PDCP of described 2nd UE Packet is reduced, and the PDCP restoring packet is sent to described 2nd UE or returns to a described UE.
60. base stations according to claim 56 are it is characterised in that also include:
19th sending module, for notifying the described first unsuccessful PDCP being sent to described 2nd UE to a described UE The PDCP serial number of packet.
61. base stations according to claim 58 are it is characterised in that described 16th sending module is additionally operable to described While one UE returns PDCP packet, the PDCP serial number of the PDCP being returned packet is sent to a described UE.
62. base stations according to claim 57 are it is characterised in that also include:
20th sending module, for sending described corresponding relation to described 2nd UE, to notify described 2nd UE according to described Corresponding relation updates the PDCP serial number of the PDCP packet that the described base station being successfully received sends.
A kind of 63. base stations are it is characterised in that include:
13rd receiver module, for receiving the PDCP PDCP packet of first user equipment UE transmission, will The PDCP packet that a described UE sends is sent to gateway and receives the PDCP data that described gateway sends according to described base station The Internet protocol IP packet wrapping and issuing;
Second package module, for the IP allocation of packets PDCP serial number issuing for described gateway, described gateway is issued IP packet Reseal become PDCP packet;
14th sending module, the PDCP packet for becoming described Reseal is sent to the 2nd UE;
15th sending module, for sending the switching being switched to the straight-through D2D pattern of equipment by cell pattern to a described UE Instruction, with indicate a described UE according to described switching command will under cell pattern first unsuccessful be sent to described second The PDCP packet of UE and follow-up PDCP packet one D2D pattern are sent to described 2nd UE;
Judge module, for the D2D ability information being reported according to a described UE and described 2nd UE, judge a described UE and Whether described 2nd UE supports D2D pattern simultaneously;
3rd logging modle, for when the judged result of described judge module is for being, recording the PDCP that a described UE sends The PDCP serial number of packet, described first UE send PDCP packet in the IP serial number of IP packet, described again The IP of the IP packet in the PDCP packet of the PDCP serial number of the PDCP packet being packaged into and described Reseal one-tenth Corresponding relation between serial number;
Described corresponding relation is used for the IP allocation of packets PDCP serial number issuing for described gateway by described second package module.
64. base stations according to claim 63 are it is characterised in that also include:
16th sending module, the PDCP packet being not yet sent to described gateway for sending a described UE returns to A described UE.
65. base stations according to claim 63 are it is characterised in that also include:
17th sending module, for becoming to all or part of described Reseal and being not yet sent to the PDCP of described 2nd UE Packet is reduced, and the PDCP restoring packet is sent to described 2nd UE or returns to a described UE.
66. base stations according to claim 63 are it is characterised in that also include:
19th sending module, for notifying the described first unsuccessful PDCP being sent to described 2nd UE to a described UE The PDCP serial number of packet.
67. base stations according to claim 64 are it is characterised in that described 16th sending module is additionally operable to described While one UE returns PDCP packet, the PDCP serial number of the PDCP being returned packet is sent to a described UE.
68. base stations according to claim 63 are it is characterised in that also include:
20th sending module, for sending described corresponding relation to described 2nd UE, to notify described 2nd UE according to described Corresponding relation updates the PDCP serial number of the PDCP packet that the described base station being successfully received sends.
CN201210027524.0A 2012-02-08 2012-02-08 Data sending and receiving method, user equipment, base station and gateway CN103249095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210027524.0A CN103249095B (en) 2012-02-08 2012-02-08 Data sending and receiving method, user equipment, base station and gateway

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210027524.0A CN103249095B (en) 2012-02-08 2012-02-08 Data sending and receiving method, user equipment, base station and gateway
PCT/CN2013/070821 WO2013117128A1 (en) 2012-02-08 2013-01-22 Method for data transmission and reception, user equipment, base station and gateway

Publications (2)

Publication Number Publication Date
CN103249095A CN103249095A (en) 2013-08-14
CN103249095B true CN103249095B (en) 2017-02-08

Family

ID=48928259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210027524.0A CN103249095B (en) 2012-02-08 2012-02-08 Data sending and receiving method, user equipment, base station and gateway

Country Status (2)

Country Link
CN (1) CN103249095B (en)
WO (1) WO2013117128A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9357580B2 (en) * 2013-02-07 2016-05-31 Industrial Technology Research Institute Method for switching communication connection mode, communication system, base station, transmitter and receiver
WO2014169438A1 (en) * 2013-04-16 2014-10-23 富士通株式会社 Communications mode switching method, apparatus and system
CN104936226A (en) * 2014-03-20 2015-09-23 中兴通讯股份有限公司 Data transmission method and system of equipment direct-communication system
CN105101327B (en) * 2014-05-09 2018-10-26 宇龙计算机通信科技(深圳)有限公司 Switching method and switching device
CN105101309B (en) * 2014-05-09 2019-01-11 宇龙计算机通信科技(深圳)有限公司 switching method and switching device
CN105874755B (en) * 2014-05-19 2020-01-10 华为技术有限公司 Data packet forwarding processing method and device
WO2016004979A1 (en) * 2014-07-08 2016-01-14 Nokia Solutions And Networks Oy Asymmetric communications
CN105450358A (en) * 2014-09-25 2016-03-30 中兴通讯股份有限公司 Indication method and indication device of the quantity of MAC (Medium Access Control) PDU (Protocol Data Unit)
EP3585128A1 (en) * 2014-11-10 2019-12-25 Lg Electronics Inc. Device for indicating a ciphering indication
US9699153B2 (en) * 2015-01-19 2017-07-04 Intel IP Corporation Systems, methods and devices for direct communication
CN107431919A (en) * 2015-04-07 2017-12-01 华为技术有限公司 Method and apparatus for multithread convergence
CN106162598B (en) * 2015-04-10 2019-09-17 电信科学技术研究院 A kind of user equipment is to the communication means and device under network relay scene
EP3270649B1 (en) * 2015-05-11 2020-01-01 Huawei Technologies Co., Ltd. Signal transmission methods, base station and user equipment
US20190166584A1 (en) * 2016-08-03 2019-05-30 Lenovo Innovations Limited (Hong Kong) Device-to-device transmission
CN106357728B (en) * 2016-08-25 2019-11-08 广州朗国电子科技有限公司 Information processing method, system and terminal
CN110999441A (en) * 2017-08-11 2020-04-10 华为技术有限公司 Data transmission method and related equipment
CN108810177A (en) * 2018-08-27 2018-11-13 优视科技新加坡有限公司 Data transmission method and its device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047967A (en) * 2006-03-30 2007-10-03 华为技术有限公司 Method and device for processing data at switchover procedure
WO2011109027A1 (en) * 2010-03-05 2011-09-09 Nokia Corporation Handover of direct peer to peer communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4475328B2 (en) * 2007-12-26 2010-06-09 ソニー株式会社 Wireless communication system, wireless communication apparatus, wireless communication method, and program
US8213360B2 (en) * 2009-04-29 2012-07-03 Nokia Corporation Apparatus and method for flexible switching between device-to-device communication mode and cellular communication mode

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047967A (en) * 2006-03-30 2007-10-03 华为技术有限公司 Method and device for processing data at switchover procedure
WO2011109027A1 (en) * 2010-03-05 2011-09-09 Nokia Corporation Handover of direct peer to peer communication

Also Published As

Publication number Publication date
WO2013117128A1 (en) 2013-08-15
CN103249095A (en) 2013-08-14

Similar Documents

Publication Publication Date Title
CN106162730B (en) A kind of method of communication, equipment and system
ES2620110T3 (en) Node apparatus and method to establish auxiliary carriers
WO2018053852A1 (en) Radio bearer configuration method, device and system
EP3641188A1 (en) Configuration for duplication transmission and duplication transmission method and device
US10432291B2 (en) Method and apparatus for managing user plane operation in wireless communication system
US10512009B2 (en) Method for user equipment to switch base station, base station and user equipment
CN103139911B (en) Realize the method for carrier aggregation, base station and subscriber equipment
ES2218389T3 (en) Numeration of data packages in a data transmission by switching packages.
US20160192245A1 (en) Handover Method, Master Base Station and Slave Base Station
CN101180828B (en) Device and method for encrypting and transmitting data in combined network
EP1576744B1 (en) Multi-processor platform for wireless communication terminal having partitioned protocol stack
JP2017513371A (en) Data packet processing method and apparatus
CN103533586B (en) The method and apparatus that Signalling exchange in handoff procedure and layer are rebuild
CN103947249B (en) The method that internet service is simultaneously transmitted by multiple wireless networks
JP4440300B2 (en) Separation-type medium access control protocol structure of wireless communication system, data transmission / reception method using the same, handover method and system thereof
EP1886530B1 (en) A method for seamless session transfer of a mobile station
CN104813725B (en) Data transmission device and method
US8929295B2 (en) Radio equipment and radio base station
JP3113671B2 (en) Communications system
CN105594251A (en) Efficient status reporting for ues in dual connectivity during mobility
EP1230821B1 (en) Method for a handover between different nodes in a mobile communication system
CN107079015A (en) System and method for the addressing based on stream under mobile environment
JP4713499B2 (en) Mobile communication system and handover method for packet data service in a mobile communication network in which asynchronous and synchronous networks coexist
EP1610474B1 (en) Synchronization of frames transmitted over multiple parallel transmission paths in a cellular communications network according to a common connection-specific timing reference
EP1723819B1 (en) A method of packet switched handover

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model