WO2019028893A1 - 数据传输的方法及相关设备 - Google Patents

数据传输的方法及相关设备 Download PDF

Info

Publication number
WO2019028893A1
WO2019028893A1 PCT/CN2017/097240 CN2017097240W WO2019028893A1 WO 2019028893 A1 WO2019028893 A1 WO 2019028893A1 CN 2017097240 W CN2017097240 W CN 2017097240W WO 2019028893 A1 WO2019028893 A1 WO 2019028893A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
terminal device
pdcp
pdcp data
network device
Prior art date
Application number
PCT/CN2017/097240
Other languages
English (en)
French (fr)
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 EP17920715.4A priority Critical patent/EP3644665A4/en
Priority to US16/634,930 priority patent/US11147002B2/en
Priority to PCT/CN2017/097240 priority patent/WO2019028893A1/zh
Priority to CN201780093833.9A priority patent/CN110999441B/zh
Publication of WO2019028893A1 publication Critical patent/WO2019028893A1/zh
Priority to US17/471,566 priority patent/US20220070748A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/03Reselecting a link using a direct mode connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1835Buffer management
    • H04L1/1841Resequencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/552Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0205Traffic management, e.g. flow control or congestion control at the air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/03Reselecting a link using a direct mode connection
    • H04W36/033Reselecting a link using a direct mode connection in pre-organised networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/23Manipulation of direct-mode connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L2001/0092Error control systems characterised by the topology of the transmission link
    • H04L2001/0097Relays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Definitions

  • the present application relates to the field of data transmission, and in particular, to a method and related device for data transmission.
  • the device-to-device (D2D) communication mode refers to the communication mode in which the transmitting end sends data directly to the receiving end without transiting through the base station or the cellular network.
  • a special way of the D2D communication mode is that one terminal device is connected to the network device through another terminal device having a relay function.
  • the former is referred to as a remote device (remote UE)
  • the latter is referred to as a relay device (relay UE).
  • the remote UE moves.
  • the remote UE can be switched by a path switch. Connect to a network device to communicate with a network device.
  • the remote UE performs a path switch
  • the following situation may occur: some data packets have been successfully sent to the relay UE, but are not successfully forwarded to the remote UE.
  • the network device can only obtain the received information fed back by the relay UE, but cannot know the actual receiving situation of the remote UE. At this time, the downlink transmission may be lost.
  • the embodiment of the present application provides a data transmission method and related equipment, and solves the packet loss problem caused by performing path transfer in a downlink transmission process.
  • the embodiment of the present application provides a data transmission method, which is applied to a remote device, and includes:
  • the first terminal device switches from the second terminal device to the network device; the first terminal device receives the first packet data convergence protocol PDCP data packet sent by the network device; if the first PDCP data packet is the target PDCP data packet And the first terminal device submits the second PDCP data packet, where the target PDCP data packet is a PDCP data packet that is sent by the network device according to the transmission status report, and the transmission status report is the first terminal device Or a status report sent by the second terminal device to the network device, configured to feed back, by the second terminal device, the first device, before the first terminal device switches to the network device a receiving condition of data sent by the terminal device, where the second PDCP data packet is a PDCP data packet starting with a count value of the first PDCP data packet and a count value consecutive to a count value of the first PDCP data packet .
  • the first terminal device after receiving the path switch and switching to the network device, the first terminal device submits the PDCP data when determining that the PDCP data packet is the target PDCP data packet when receiving the PDCP data packet sent by the network device.
  • the count value of the packet is a PDCP packet whose start value is continuous with the count value of the PDCP data packet, wherein the target PDCP data packet is data transmitted by the network device according to the transmission status report, and the transmission status report is used for feedback first
  • the receiving condition of the data sent by the network device to the first terminal device by the second terminal device before the switching to the network device that is, the PDCP data packet sent by the target PDCP data packet after determining the actual receiving condition of the first terminal device by the network device
  • the first terminal device submits the PDCP data packet after determining that the target PDCP data packet is received, Avoid packet loss or out of order.
  • the method further includes: the first terminal device sending the transmission status report to the network device.
  • the first PDCP data packet is the next PDCP data packet of the last delivered PDCP data packet
  • the first PDCP data packet is a target PDCP data packet; wherein the last delivery packet
  • the PDCP data packet is the PDCP data packet with the latest delivery time in the PDCP data packet submitted by the first terminal device.
  • the method further includes: if the first PDCP data packet is a target PDCP data packet, the first terminal device sets a PDCP reordering indication as a first indication.
  • the method further includes: if the first PDCP data packet is a target PDCP data packet, and the sequence number of the first PDCP data packet is equal to the first loss indicated by the transmission status report The sequence number of the PDCP data packet, the first terminal device sets the PDCP reordering indication as the first indication.
  • the method further includes: if the first sequence value indicated in the transmission mapping indication is greater than a sequence value of the first lost PDCP packet indicated by the transmission status report, The first PDCP data packet is a target PDCP data packet and the sequence value of the last delivered PDCP data packet is greater than or equal to the first sequence value, or the first PDCP data packet is a target PDCP data packet and the last delivery is performed.
  • the sequence value of the PDCP data packet is smaller than the sequence value of the first lost PDCP data packet, the first terminal device sets the PDCP reordering indication as a first indication; or the first sequence value is less than In the case of the sequence value of the first lost PDCP data packet, if the first PDCP data packet is a target PDCP data packet, and the sequence value of the last delivered PDCP data packet is greater than or equal to the first sequence value And the sequence value of the last submitted PDCP data packet is smaller than the sequence value of the first lost PDCP data packet, and the first terminal device sets the PDCP reordering indication as a first indication; the first The sequence value is a sequence value corresponding to the PDCP packet indicated by the transmission status report.
  • the method further includes: if the PDCP reordering indication is a first indication, the first terminal device submits PDCP data whose counter value is smaller than a count value of the first PDCP data packet. a packet; the first terminal device submits the second PDCP data packet.
  • the method further includes: the first terminal device submitting a PDCP data packet whose count value is smaller than a count value of the first PDCP data packet.
  • the method further includes: the first terminal device releasing the transmission status report.
  • the embodiment of the present application provides another method for data transmission, which is applied to a network device side, and includes:
  • the network device Receiving, by the network device, a transmission status report sent by the first terminal device or the second terminal device, where the transmission status report is used to feedback that the network device passes the second terminal before the first terminal device switches to the network device a receiving condition of data sent by the device to the first terminal device; after the first terminal device switches from the second terminal device to the network device, the network device reports to the The first terminal device transmits the target PDCP data packet.
  • the network device when the first terminal device switches to the network device, the network device sends the PDCP data packet to the first terminal device after receiving the transmission status report sent by the first terminal device or the second terminal device, and transmits the data.
  • the status report is used to feed back the data received by the network device to the first terminal device by using the second terminal device before the first terminal device switches to the network device, that is, after the network device learns the actual receiving condition of the first terminal device, Sending a PDCP packet to the first terminal device can avoid packet loss after path switching.
  • the embodiment of the present application provides another method for data transmission, which is applied to a relay device, including:
  • the second terminal device sends a transmission status report to the network device, and informs the network device of the reception of the data sent by the network device to the first terminal device by using the second terminal device before the handover is connected to the network device.
  • the network device In order to enable the network device to learn the actual receiving situation of the first terminal device according to the transmission status report, and timely send the first terminal device unacknowledged data to the first terminal device to avoid packet loss.
  • the embodiment of the present application provides a terminal device, where the terminal device has the function of implementing the behavior method of the first terminal device according to the first aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the second PDCP data packet is a count of the first PDCP data packet
  • the value is a PDCP packet whose start is and whose count value is continuous with the count value of the first PDCP packet.
  • the terminal device includes a processor, a memory and a transceiver, the processor, the memory and the transceiver being connected to each other, wherein the memory is for storing program code, and the processor is configured to invoke the The program code is configured to: switch from the second terminal device to the network device; receive, by the transceiver, a first packet data convergence protocol PDCP data packet sent by the network device; if the first PDCP data packet is a target PDCP And transmitting, by the data packet, the second PDCP data packet, where the target PDCP data packet is a PDCP data packet sent by the network device according to a transmission status report, where the transmission status report is the terminal device or the second terminal a status report sent by the device to the network device, used to feed back data received by the network device to the terminal device by using the second terminal device before the terminal device switches to the network device, where The second PDCP data packet is started with a count value of the first PDCP data packet and the count value is related to the first
  • the principle and the beneficial effects of the terminal device can be found in the method and the beneficial effects of the first aspect.
  • the implementation of the terminal device refer to the first terminal device side method according to the first aspect.
  • the embodiment of the present application provides a network device, where the network device has the network implemented in the second aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the network device includes a sending unit and a receiving unit, where the receiving unit is configured to receive a transmission status report sent by the first terminal device or the second terminal device, where the transmission status report is used for feedback a receiving situation of data sent by the network device to the first terminal device by the second terminal device before the first terminal device switches to the network device; and the first terminal device switching connection to the network After the device, the sending unit is configured to send a target PDCP data packet to the first terminal device according to the transmission status report.
  • the network device includes a processor, a memory and a transceiver, the processor, the memory and the transceiver being interconnected, wherein the memory is for storing program code, and the processor is configured to invoke the a program code, configured to receive, by the transceiver, a transmission status report sent by the first terminal device or the second terminal device, where the transmission status report is used for feedback before the first terminal device switches to the network device.
  • the principle and the beneficial effects of the network device for solving the problem can be referred to the method and the beneficial effects of the second aspect.
  • the network device refer to the implementation of the network device side method according to the second aspect. , the repetition will not be repeated.
  • the embodiment of the present application provides a terminal device, where the terminal device has the function of implementing the behavior of the second terminal device in the method in the third aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the terminal device comprises a transmitting unit, wherein the transmitting unit is configured to send a transmission status report to the network device, the transmission status report being used for feedback before the first terminal device switches to the network device Receiving, by the network device, the data received by the terminal device to the first terminal device, where the transmission status report is used by the network device to send a target to the first terminal device according to the transmission status report PDCP packet.
  • the terminal device includes a processor, a memory and a transceiver, the processor, the memory and the transceiver being connected to each other, wherein the memory is for storing program code, and the processor is configured to invoke the a program code, configured to: send, by the transceiver, a transmission status report to a network device, where the transmission status report is used to feed back, by the terminal device, the network device before the first terminal device switches to the network device a receiving condition of the data sent by the first terminal device, where the transmission status report is used by the network device to send a target PDCP data packet to the first terminal device according to the transmission status report.
  • the principle and the beneficial effects of the terminal device can be found in the method and the beneficial effects of the third aspect.
  • the implementation of the terminal device refer to the second terminal device side method according to the third aspect.
  • the implementation, repetitions will not be repeated.
  • the embodiment of the present application provides a computer storage medium for storing computer program instructions used by the first terminal device, which includes a program for performing the foregoing first aspect.
  • an embodiment of the present application provides a computer storage medium for storing computer program instructions for use in a network device, comprising: a program for performing the second aspect described above.
  • an embodiment of the present application provides a computer storage medium for storing computer program instructions for use by a second terminal device, comprising a program for performing the third aspect described above.
  • the first terminal device when the first terminal device sends a path switch and switches to the network device, the first terminal device or the second terminal device sends a transmission status report to the network device, to notify the first terminal device that the device is switched to the network device.
  • the previous actual receiving situation so that the network device can send the target PDCP data packet to the first terminal device according to the transmission status report, and after receiving the transmission status report, the network device sends the PDCP data packet to the first terminal device to avoid appearing.
  • the first terminal device submits the PDCP data packet after receiving the target PDCP data packet sent by the network device according to the transmission status report, thereby further preventing the packet loss phenomenon.
  • FIG. 1 is a schematic structural diagram of a system provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram showing a sequence change of a PDCP SDU and an RLC SDU;
  • FIG. 3 is a schematic diagram of a terminal device submitting data provided by the implementation of the present application.
  • FIG. 4 is a schematic diagram of a communication protocol used by a terminal device and a core network device for data transmission and handover;
  • FIG. 5 is another communication protocol architecture used by the terminal device and the network device for data transmission and handover;
  • FIG. 6 is a schematic diagram of a terminal device receiving data according to the implementation of the present application.
  • FIG. 7 is a schematic flowchart of a method for data transmission provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a terminal device submitting a PDCP SDU according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another terminal device submitting a PDCP SDU according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a system composed of a first terminal device, a network device, and a second terminal device provided by an embodiment of the present application;
  • FIG. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of a network device provided by the present application.
  • FIG. 13 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure.
  • the embodiment of the present application can be applied to a wireless communication system in which a terminal device communicates with a network device through a terminal device having a relay function.
  • the system architecture of the wireless communication system can be as shown in FIG. 1 , and FIG. 1 is an embodiment of the present application.
  • a system architecture diagram is provided, in which the terminal device 101 is connected to the network device 103 through a terminal device 102 having a relay function, and the terminal device 101 transmits uplink data or receives the network data to the network device 103 through the terminal device 102 having the relay function.
  • the downlink data transmitted by the network device 103, the terminal device 101 can also be directly connected to the network device 103 to communicate with the network device 103.
  • Terminal device 101 may also be referred to as a remote device, which in turn may be referred to as a relay device.
  • the network device can be a base station.
  • the wireless communication system mentioned in the embodiments of the present application includes, but is not limited to, a narrow band-internet of things (NB-IoT), a global system for mobile (global system for mobile) Communications, GSM), enhanced data rate for GSM evolution (EDGE), wideband code division multiple access (WCDMA), code division multiple access 2000 (code division multiple access) , CDMA2000), time division-synchronization code division multiple access (TD-SCDMA), LTE system, 5G system, and future mobile communication system.
  • NB-IoT narrow band-internet of things
  • GSM global system for mobile Communications
  • EDGE enhanced data rate for GSM evolution
  • WCDMA wideband code division multiple access
  • code division multiple access 2000 code division multiple access 2000
  • CDMA2000 code division multiple access 2000
  • TD-SCDMA time division-synchronization code division multiple access
  • the base station involved in the embodiment of the present application is a device deployed in a radio access network to provide a wireless communication function for a terminal device.
  • the base station may include various forms of macro base stations, micro base stations (also referred to as small stations), relay stations, access points, transmission access point (TRP), and the like.
  • the names of devices with base station functions may vary, for example, in a 5G system, called a generation Node B (gNB), in an alternative.
  • gNB generation Node B
  • evolved NodeB evolved NodeB
  • NB Node B
  • 3G third-generation
  • the terminal device involved in the embodiment of the present application may be a device that provides voice and/or data connectivity to a user, a handheld device with a wireless connection function, or other processing device connected to a wireless modem.
  • the terminal device can communicate with one or more core networks via a Radio Access Network (RAN), and the terminal device can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal.
  • RAN Radio Access Network
  • the terminal device can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal.
  • RAN Radio Access Network
  • it may be a portable, pocket, handheld, computer built-in or in-vehicle mobile device that exchanges language and/or data with a wireless access network.
  • the terminal device may also be referred to as a system, a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, a Remote Station, an Access Point, Remote Terminal, Access Terminal, User Terminal, User Agent, User Device, or User Equipment.
  • PCS Personal Communication Service
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • the terminal device needs to switch from the terminal device with the relay function to the network device for direct communication with the network device.
  • the process of the terminal device switching from the terminal device having the relay function to the network device may refer to a handover process of the terminal device, that is, the terminal device switches the connection from the first network device to the second network device.
  • the switching process of the terminal device includes the following stages:
  • the first network device sends a handover request to the second network device, informing the terminal device that the connection needs to be switched to the second network device, and the second network device sends the confirmation that the configuration information is carried to the first device according to the resource situation of the second device.
  • the first network device sends the received configuration information to the terminal device by using a radio resource control (RRC) connection reconfiguration message.
  • RRC radio resource control
  • the terminal device disconnects from the first network device and accesses the second network device, and at the same time, the first network device transmits the transmitted packet data convergence protocol (PDCP) service data unit ( The sequence number (SN) of the service data unit (SDU) is sent to the second network device, so that the network device determines the reception status of the data transmitted by the first network device to the terminal device.
  • PDCP packet data convergence protocol
  • SDU service data unit
  • the terminal device After receiving the RRC connection reconfiguration message, the terminal device starts to increase according to the configuration information.
  • the reconstruction of the PDCP layer, the reconstruction of the radio link control (RLC) layer, and the reset of the multimedia access control (MAC) layer are completed.
  • the terminal device performs the RLC reordering function before the underlying reconstruction (referring to the reconstruction of the RLC layer) and after the underlying reconstruction; in the process of the underlying reconstruction, the terminal device performs the PDCP reordering function, and after the underlying reconstruction, the terminal device stops the PDCP.
  • the reordering function in addition, as shown in FIG.
  • the sequence value of the PDCP SDU remains unchanged, using the number order of the PDCP SDU before the underlay reconstruction, and the sequence value of the RLC SDU uses the new sequence value, ie, the RLC.
  • the SDU is renumbered starting from the smallest sequence value.
  • the operations performed by the terminal device are as follows:
  • the terminal device submits a count value (COUNT) smaller than the PDCP SDU of the currently received PDCP SDU;
  • the terminal device submits a PDCP SDU in the currently stored PDCP SDU starting with the count value of the currently received PDCP SDU and the count value is consecutive with the count value of the currently received PDCP SDU;
  • the terminal device sets the sequence value (Last_Submitted_PDCP_RX_SN) of the PDCP SDU finally delivered by the PDCP to the sequence value of the last delivered PDCP SDU.
  • the terminal device submits a PDCP SDU in the currently stored PDCP SDU starting with the count value of the currently received PDCP SDU and the count value is consecutive with the count value of the currently received PDCP SDU;
  • the terminal device sets the sequence value of the PDCP SDU finally delivered by the PDCP to the sequence value of the last delivered PDCP SDU.
  • FIG. 3 is a schematic diagram of the terminal device submitting data provided by the implementation of the present application.
  • the terminal device receives data in three stages, before the underlying reconstruction, the underlying reconstruction, and after the underlying reconstruction.
  • the terminal device Before the underlying reconstruction: The terminal device performs the RLC reordering function and does not perform the PDCP reordering function.
  • the RLC layer of the terminal device receives the RLC SDU with the sequence value of 1, 2, 4, 5, 7, and 8.
  • the RLC layer of the terminal device delivers the RLC SDU with the sequence value of 1, 2 to the PDCP layer, because the sequence value 4 is not equal to 2+1, the RLC layer stops submitting the RLC SDU, saves the RLC SDU with the sequence value of 4, 5, 7, and 8, and waits for the RLC SDU with the sequence value of 3 to arrive.
  • the PDCP layer submits the sequence value to the protocol layer of the upper layer of the PDCP. Is a PDCP SDU of 1,2.
  • the terminal device stops performing the RLC reordering function and performs the PDCP reordering function.
  • the RLC layer hands over the RLC SDUs with sequence values of 4, 5, 7, and 8 to the PDCP layer. Accordingly, the PDCP layer receives the PDCP SDUs with sequence values of 4, 5, 7, and 8, and the sequence values. 4,5,7,8 are received because of the underlying reconstruction, and the sequence values 4, 5, 7, and 8 are not equal to 2+1, and the PDCP layer holds the PDCP SDU with sequence values of 4, 5, 7, and 8. Wait for the PDCP SDU with a sequence value of 3 to arrive.
  • the terminal device After the underlying reconstruction: the terminal device performs the RLC reordering function and does not perform the PDCP reordering function.
  • the RLC layer of the terminal device receives the RLC SDU with the sequence value of 1, and the RLC SDU with the sequence value of 1 corresponds to the PDCP SDU with the sequence value of 3.
  • the RLC layer of the terminal device delivers the RLC SDU with the sequence value of 1 to the PDCP layer. Ground, the PDCP layer receives a PDCP SDU with a sequence value of 3, the sequence value 3 is equal to 2+1, and the PDCP layer submits the sequence value. It is a 3, 4, 5 PDCP SDU.
  • the terminal device may switch from the first network device to the second network device, and send, by the first network device, the sequence value of the transmitted PDCP SDU to the second network device, where the second network device may determine that the terminal device receives
  • the PDCP layer of the terminal device performs the PDCP reordering function during the underlying reconstruction process to ensure that no packet is lost during the underlying reconstruction.
  • the above solution is only applicable to a wireless communication system employing the communication protocol architecture shown in FIG. 4, in which the data transmission of the terminal device and the core network device performs PDCP layer processing at the first network device,
  • the first network device can learn the PDCP SDU sent by the core network device to the terminal device, and then go to the second network.
  • the device feedbacks the sequence value of the transmitted PDCP SDU to inform the terminal device of the data reception status; and for the wireless communication system adopting the communication protocol architecture shown in FIG. 5, the data transmission between the terminal device and the network device is not in the relay terminal device.
  • the processing of the PDCP layer is performed, and the relay terminal device directly forwards the RLC SDU to the terminal device or the network device at the Adaptation layer, and when the switching terminal device switches from the relay terminal device to the network device and performs data transmission with the network device, The relay terminal device cannot feed back the successfully transmitted PDCP SDU to the network device. Sequence value.
  • the PDCP layer of the terminal device performs the PDCP reordering function only in the underlay reconstruction process. If the receiving situation of the terminal device is as shown in FIG. 6, the PDCP SDUs with the sequence values of 3 and 6 are lost before the underlying reconstruction.
  • the terminal device After the bottom layer is reconstructed, the terminal device receives the PDCP SDU with the sequence value of 3 after receiving the PDCP SDU with the sequence value of 9.
  • the PDCP layer of the terminal device first delivers the sequence value of 4, 5, 7, 8, 9
  • the PDCP SDU when the PDCP layer receives the PDCP SDU with the sequence value of 3, the PDCP SDU with the sequence value of 3 will be directly discarded by the PDCP layer, causing packet loss. Even if a PDCP SDU having a sequence value of 3 is delivered to the PDCP layer to the upper layer, a problem of out-of-order will occur.
  • the terminal device submits the PDCP data packet after receiving the target PDCP data packet, so as to avoid the problem of packet loss and disorder when the path switching occurs.
  • the data packet may refer to a protocol data unit (PDU), or may be a service data unit (SDU).
  • PDU protocol data unit
  • SDU service data unit
  • the data packet refers to a data packet.
  • the SDU refers to a data packet received by the target protocol layer from the protocol layer of the upper layer of the target protocol layer that has not been encapsulated by the target protocol layer in the target protocol layer
  • the PDU refers to The data packet of the protocol layer in the target protocol layer that is encapsulated by the target protocol layer and sent to the lower layer of the target protocol layer.
  • the SDU refers to the data packet decapsulated at the target protocol layer
  • the PDU refers to the target protocol layer.
  • the sequence number may refer to a sequence value (SN) or a count value (COUNT), where there is no difference between the count value and the sequence value of the same PDCP packet. Correspondence relationship.
  • FIG. 7 is a schematic flowchart of a method for data transmission according to an embodiment of the present application. As shown in the figure, the method includes at least:
  • the first terminal device switches from the second terminal device to the network device.
  • the first terminal device acquires configuration information of the network device, completes PDCP recovery/reconstruction, RLC reconstruction, and MAC reset according to the configuration information, and accesses the network device; in addition, starts PDCP recovery/reconstruction at the first terminal device or At the same time as the RLC is reconstructed, the first terminal device starts performing the PDCP reordering function.
  • the first terminal device before the first terminal device switches from the second terminal device to the network device, the first terminal device receives a path switching instruction sent by the second terminal device, where the first terminal device switches according to the path. The instruction switches to the network device.
  • the path switching instruction may carry the configuration information allocated by the network device.
  • the path switching instruction may be a path switching instruction that is sent by the second terminal device to the first terminal device, or may be a second A path switching instruction sent by the terminal device to the first terminal device.
  • the second terminal device when the second terminal device detects that the link quality between the first terminal device and the first terminal device is deteriorated, the second terminal device sends a handover request to the network device to notify the first terminal device.
  • the network device needs to be switched to the network device, and the network device sends an acknowledgment response carrying the configuration information to the second terminal device according to the resource status of the device, and the second terminal device carries the configuration information in the path switching command and sends the configuration information to the first terminal device.
  • the second terminal device when the second terminal device detects that the link quality between the first terminal device and the first terminal device is deteriorated, the second terminal device reports the link quality report between the second terminal device and the first terminal device to the network device. After receiving the quality report, the network device sends a path switching instruction carrying the configuration information to the second terminal device according to the resource status, and the second terminal device forwards the path switching instruction to the network device.
  • the first terminal device acquires configuration information of the network device from the path switching instruction; in another possible scenario, the first terminal device may be in After receiving the path switching instruction sent by the second terminal device, acquiring configuration information from the second terminal device.
  • the second terminal device may further send a transmission status report to the network device, where the transmission status report is used for feedback on the first terminal device.
  • the transmission status report may be used to report the reception status of the RLC data packet sent by the network device to the first terminal device before the first terminal device switches to the network device, for example, the transmission status report is a report of the Adaptation layer, that is, After the second terminal device sends the path switching instruction to the first terminal device, the report of the Adaptation layer is sent to the network device, and is used to feed back all the RLC data packets sent by the network device to the first terminal device before the first terminal device switches to the network device. Receiving situation.
  • the network device may determine, according to the transmission status report, which RLC data packets are acknowledged and received by the first terminal device, and which RLC data packets are not acknowledged and received by the first terminal device; the network device may be configured according to the RLC data packet.
  • the sequence number determines which PDCP data packets are acknowledged and received by the first terminal device, and which PDCP data packets are not acknowledged and received by the first terminal device.
  • the network device may send the target PDCP data packet to the first terminal device according to the transmission status report, where the target PDCP data packet is sent by the network device to the first terminal device by using the second terminal device but is not confirmed by the first terminal device. Received packets.
  • the second terminal device may send the network to the network.
  • the device sends a transmission status report. For example, before the first terminal device switches to the network device, the network device sends the RLC data packet with the sequence number of 1 to 100 to the first terminal device, and the second terminal device receives the sequence number of 1 to 32, 35 to 70, respectively.
  • the acknowledgement message of the RLC data packet of 73 to 100 the second terminal device confirms that the RLC data packet sent by the network device to the first terminal device before the first terminal device switches to the network device is: the sequence number is 1 to 32.
  • the RLC data packets of 35 to 70 and 73 to 100 are successfully received, and the RLC data packets with sequence numbers 33, 34, 71, and 72 are lost. Further, the second terminal device feeds back the RLC data packet reception status to the network device by using the transmission status report, and the network device determines the reception status of the corresponding PDCP data packet according to the reception status of the RLC data packets.
  • the second terminal device may The network device sends a transmission status report. For example, before the first terminal device switches to connect to the network device, the network device sends the RLC data packet with the sequence number of 1 to 100 to the first terminal device by using the second terminal device, and the second terminal device respectively receives the serial number 34 and 35.
  • the RLC data packet the second terminal device confirms that the RLC data packet sent by the network device to the first terminal device before the first terminal device switches to the network device is: the RLC data with the sequence numbers 1 to 33 and 36 to 100. The packet was successfully received, and the RLC packets with sequence numbers 34 and 35 were lost.
  • the second terminal device if the second terminal device does not receive the feedback message sent by the first terminal device, it is confirmed that the RLC data packet corresponding to the feedback message is lost. For example, the second terminal device sends the sequence number to the first terminal device. If the RLC data packet of 33 to 40 does not receive any feedback message for any one of the RLC data packets, it is confirmed that the RLC data packets of the serial number 33 to 40 are lost.
  • the first terminal device may further send a transmission status report to the network device, where the transmission status report is used to feed back the network before the first terminal device switches to the network device.
  • the receiving condition of the data sent by the device to the first terminal device by the second terminal device may further send a transmission status report to the network device, where the transmission status report is used to feed back the network before the first terminal device switches to the network device.
  • the first terminal device may send the transmission status report to the network device by using the obtained first available uplink resource after switching to the network device.
  • the transmission status report may be used to feedback the reception status of all PDCP data packets sent by the network device to the first terminal device before the first terminal device switches to the network device.
  • the transmission status report may be a PDCP status report.
  • the network device sends a first PDCP data packet to the first terminal device, where the first terminal device receives the first PDCP data packet.
  • the network device may report according to the transmission status after receiving the transmission status report sent by the first terminal device or the second terminal device. Sending a first PDCP data packet to the first terminal device, where the first PDCP data packet is a target PDCP data packet.
  • the network device may also send the first terminal device or the second terminal device to the first terminal device without receiving the transmission status sent by the first terminal device or the second terminal device.
  • the first PDCP packet may also send the first terminal device or the second terminal device to the first terminal device without receiving the transmission status sent by the first terminal device or the second terminal device.
  • the first terminal device submits the second PDCP data packet, where the target PDCP data packet is a PDCP data packet sent by the network device according to the transmission status report, and the second PDCP data packet.
  • the target PDCP data packet is a PDCP data packet sent by the network device according to the transmission status report, and the second PDCP data packet.
  • a PDCP packet that is started with the count value of the first PDCP packet and whose count value is continuous with the count value of the first PDCP packet.
  • the first terminal device starts from PDCP recovery/reconstruction or RLC reconstruction, the first terminal device performs the PDCP reordering function all the time without receiving the target PDCP data packet.
  • the first terminal device may save the received first PDCP data packet.
  • the PDCP reordering indication may be used to indicate whether the first terminal device performs a PDCP reordering function, where the PDCP reordering indication indicates that the first terminal device does not perform PDCP reordering when the first indication is The function is that if the PDCP reordering indication is the first indication, the first terminal device does not perform the PDCP reordering function; when the PDCP reordering indication is the second indication, the first terminal device is instructed to perform the PDCP reordering function, that is, if the PDCP reordering indication For the second indication, the first terminal device performs a PDCP reordering function.
  • first indication and the second indication may also be expressed as “true” and “false”, “0” and “1” are used to indicate that the terminal performs the PDCP reordering function and the terminal does not perform the PDCP reordering function. Descriptive terms for the two corresponding operations. For example, the PDCP reordering indication is false, indicating that the first terminal device does not perform the PDCP reordering function; the PDCP reordering is true, instructing the first terminal device to perform the PDCP reordering function.
  • the PDCP reordering indication is always the second indication before the target PDCP packet.
  • the first terminal device may set the PDCP reordering indication to the second indication while starting PDCP recovery/reconstruction and RLC re-establishment.
  • whether the first PDCP data packet is the next PDCP data packet of the last submitted PDCP data packet can be used as a criterion for judging whether the first PDCP data packet is The basis of the target PDCP packet. If the first PDCP data packet is the next PDCP data packet of the last delivered PDCP data packet, the first PDCP data packet is the target PDCP data packet.
  • the next PDCP data packet of the last submitted PDCP data packet refers to a PDCP data packet that is continuous with the count value of the last submitted PDCP data packet or a PDCP data packet that needs to be delivered next.
  • the sequence value of the first PDCP data packet is equal to the sequence value of the PDCP data packet finally delivered by the PDCP plus one or the sequence value of the first PDCP data packet is equal to the sequence value of the PDCP data packet finally delivered by the PDCP and the maximum sequence value of the PDCP.
  • the difference characterizes the first PDCP packet as the next PDCP packet of the last delivered PDCP packet.
  • the PDCP layer of the first terminal device determines whether the first PDCP data packet is equal to the sequence value of the PDCP data packet finally delivered by the PDCP plus one or a sequence of the first PDCP data packet. Whether the value is equal to the difference between the sequence value of the PDCP data packet finally delivered by the PDCP and the maximum sequence value of the PDCP. If equal, the first PDCP data packet is the target PDCP data packet, according to the first terminal device performing the PDCP reordering function. In the operation, the PDCP layer of the first terminal device delivers the second PDCP data packet; if not, the PDCP layer of the first terminal device does not deliver the currently received first PDCP data packet.
  • the first terminal device may stop the PDCP reordering function.
  • the PDCP reordering function can be stopped by setting the PDCP reordering indication to the first indication.
  • the PDCP reordering indication is the first indication, and the first terminal device no longer performs the PDCP reordering function.
  • the first terminal device submits the PDCP data packet whose counter value is smaller than the counting value of the first PDCP data packet, first The terminal device submits the second PDCP data packet.
  • the first terminal device sets the PDCP reordering indication as the first indication.
  • the first terminal device sends the transmission status report to the network device, if the first PDCP data packet is the target PDCP data packet, and the sequence number of the first PDCP data packet is equal to the transmission status report indication.
  • the sequence number of the first lost PDCP packet the first terminal device sets the PDCP reordering indication as the first indication.
  • the first lost PDCP data packet is one of the PDCP data packets sent by the network device to the first terminal device by using the second terminal device, and the first terminal device is lost.
  • the PDCP data packet is the first PDCP data packet in the PDCP data packet that has not been received by the first terminal device before the first terminal device switches to the network device.
  • the network device sends the PDCP data packet with the sequence number of 1 to 100 to the first terminal device through the second terminal device, and the serial number of the PDCP data packet received by the first terminal device is 1 to 1 before the first terminal device switches to the network device. 55, 58-80, 83-100, before the first terminal device switches to the network device, the first terminal device has not received the PDCP data packet with the sequence numbers 56, 57, 81, 82, wherein the serial number is 56.
  • the PDCP packet is the first lost PDCP packet for the first terminal device.
  • the sequence number indicated by FMS (First missing PDCP SN) or FMC (First missing COUNT) in the transmission status report is 56.
  • a preset storage domain may be preset in the first terminal device for storing the sequence number of the first PDCP SDU that is lost by the first terminal device, before PDCP recovery or reconstruction of the first terminal device, and RLC reconstruction,
  • the preset storage domain is empty.
  • the sequence number stored in the preset storage domain is the same as the sequence number indicated by the FMS in the transmission status report sent by the first terminal device to the network device.
  • the first terminal device may store the transmission status report to the network device, and store the sequence number indicated by the FMS in the transmission status report in the preset storage domain of the first terminal device; the first terminal device may also be in the PDCP.
  • the number of the first lost PDCP packet is stored in the default storage domain during recovery/reconstruction.
  • the first terminal device sends a transmission status report to the network device, if the first PDCP data packet is the target PDCP data packet and the sequence value of the last delivered PDCP data packet is not equal to the transmission status report.
  • the sequence value of the first lost PDCP packet indicated is decremented by one or if the first PDCP packet is the target PDCP packet and the sequence value of the last delivered PDCP packet is not equal to the first lost PDCP indicated by the transmission status report.
  • the sum of the data packet and the maximum sequence value of the PDCP is decreased by one, and the first terminal device sets the PDCP reordering indication to the first indication.
  • the first sequence value indicated in the transmission mapping indication is greater than the first lost PDCP data packet indicated by the transmission status report.
  • the sequence value if the first PDCP data packet is the target PDCP data packet and the sequence value of the last delivered PDCP data packet is greater than or equal to the first sequence value, or the first PDCP data packet is the target data packet and the last delivered PDCP If the sequence value of the data packet is smaller than the sequence value of the first lost PDCP data packet, the first terminal device sets the PDCP reordering indication as the first indication; or the first sequence value is smaller than the first lost value.
  • the first terminal device sets the PDCP reordering indication as the first indication.
  • the PDCP data packet corresponding to the first sequence value is one of the PDCP data packets sent by the network device to the first terminal device by using the second terminal device, and the PDCP data packet corresponding to the first sequence value is at the first
  • the first PDCP data packet lost by the terminal device is then sent by the network device to the first terminal device through the second terminal device.
  • the network device sends, by using the second terminal device, a PDCP data packet with a sequence value of 1 to 100 to the first terminal device, where the sequence If the PDCP data packet with the value of 56 is the first PDCP SDU of the first terminal device, the first sequence value may be any one of the sequence values of 57 to 100.
  • the transmission status report sent by the first device to the network device is the PDCP status report
  • the sequence value indicated in the bit map in the transmission status report is 57-100.
  • the storage domain that can preset a transmission indication in the first terminal device is used to store the first sequence value indicated in the transmission indication, and the first sequence value may be one of the sequence values indicated in the bitmap.
  • the first terminal device may send a status report in the transmission status report to the network device while transmitting the status transmission report to the network device.
  • a storage domain indicated by the transmission of the terminal device; the first terminal device may also store the sequence number in the transmission map into the storage domain of the transmission indication of the first terminal device when starting PDCP recovery/reconstruction.
  • whether the first terminal device receives the first lost PDCP data packet indicated by the transmission status report may also be used. Instructing the first terminal device to perform the PDCP reordering function, where the first terminal device does not receive the first lost PDCP data packet, the first terminal device performs the PDCP reordering function, and the first terminal device receives the In the case of the first lost PDCP packet, the first terminal device stops the PDCP reordering function, that is, does not perform the PDCP reordering function.
  • the first terminal device may receive the first lost PDCP data packet as a basis for judging whether the data is the target data, if the first PDCP data packet is the first indicated by the transmission status report.
  • the first PDCP packet is the target PDCP packet.
  • the sequence number of the first PDCP data packet is equal to the sequence number of the first lost PDCP data packet, and the first PDCP data packet indicates that the first lost PDCP data packet is indicated by the transmission status report.
  • the PDCP layer of the first terminal device determines whether the sequence number of the first PDCP data packet is equal to the sequence number of the first lost PDCP data packet, and if yes, the first The PDCP data packet is the target PDCP data packet, and the first terminal device stops the PDCP reordering function. Further, according to the operation corresponding to the first terminal device not performing the PDCP reordering function, the first terminal device submits the count value smaller than the first PDCP data. The PDCP data packet of the count value of the packet, the first terminal device submits the second PDCP data packet.
  • the first terminal device may release the transmission status report by clearing parameters related to the transmission status report. After releasing the transmission status report, the first terminal device no longer determines whether the sequence number of the PDCP data packet is equal to the sequence number of the first lost PDCP data packet.
  • the transmission status report may be used to indicate the sequence value of the first lost PDCP data packet, and may also be used to indicate the first one.
  • the count value of the lost PDCP wherein, in the case that the transmission status report carries the sequence value of the first lost PDCP data packet, the sequence value corresponding to the first lost PDCP data packet may be obtained.
  • the count value in the case that the transmission status report carries the count value of the first lost PDCP data packet, the sequence value corresponding to the count value may be obtained according to the count value of the first lost PDCP data packet; accordingly,
  • the transmission mapping indication in the transmission status report may be used to indicate the sequence value, or may be used to indicate the first count value, where the first sequence value may be carried in the transmission mapping, according to the first sequence value.
  • the first count value corresponding to the first sequence value if the first count value is carried in the transmission status report, the first count may be obtained according to the first count value Corresponding first A sequence of values.
  • the PDCP data packet submitted by the first terminal device refers to the PDCP SDU. According to the above several scenarios, one of the following rules that the first terminal device can follow when receiving and submitting the PDCP SDU is known.
  • the first rule if the PDCP SDU received by the PDCP layer is not received due to the underlying reconstruction or the PDCP reordering indication is the first indication, the first terminal device performs the function of not performing the PDCP reordering function. The operation performed; if the PDCP SDU received by the PDCP layer is received due to the underlay reconstruction and/or the PDCP reordering indication is the second indication, the first terminal device performs the execution in the case of performing the PDCP reordering function. The operation, the first terminal device sets the PDCP reordering indication as the first indication.
  • a second rule if the PDCP SDU received by the PDCP layer is not received due to the underlay reconstruction or the PDCP reordering indication is the first indication, the first terminal device performs the function of not performing the PDCP reordering function. The operation performed; if the PDCP SDU received by the PDCP layer is received due to the underlay reconstruction and/or the PDCP reordering indication is the second indication, the first terminal device performs the execution in the case of performing the PDCP reordering function. For example, if the sequence number of the currently received PDCP SDU is equal to the sequence number of the first lost PDCP SDU indicated by the transmission status report, the first terminal device sets the PDCP reordering indication as the first indication.
  • a third rule if the PDCP SDU received by the PDCP layer is not received due to the underlying reconstruction or the PDCP reordering indication is the first indication, the first terminal device performs the function of not performing the PDCP reordering function. The operation performed; if the PDCP SDU received by the PDCP layer is received due to the underlay reconstruction and/or the PDCP reordering indication is the second indication, the first terminal device performs the execution in the case of performing the PDCP reordering function.
  • the sequence value of the last submitted PDCP SDU is not equal to the sequence value of the first lost PDCP SDU indicated by the transmission status report minus one or the sequence value of the last submitted PDCP SDU is not equal to the first indication indicated by the transmission status report.
  • the sum of the sequence value of the lost PDCP SDU and the maximum sequence value of the PDCP is decremented by one, and the first terminal device sets the PDCP reordering indication to the first indication.
  • the fourth rule if the PDCP SDU received by the PDCP layer is not received due to the underlay reconstruction or the PDCP reordering indication is the first indication, the first terminal device performs the function of not performing the PDCP reordering function.
  • the first terminal device sets the PDCP reordering indication as the first indication; or the first sequence value is less than the first In the case of a sequence value of a lost PDCP SDU, if the sequence value of the last delivered PDCP SDU is greater than or equal to the first sequence value and the sequence value of the last delivered PDCP SDU is small First missing PDCP SDU of the sequence of values, the first terminal device disposed PDCP reordering indication is a first indication.
  • the fifth rule if the PDCP SDU received by the PDCP layer is not received by the underlying reconstruction or the sequence number of the currently received PDCP SDU is equal to the sequence number of the first lost PDCP packet indicated by the transmission status report, the first The terminal device performs the operation performed without performing the function of PDCP reordering, the first terminal device releases the transmission status report; if the PDCP SDU received by the PDCP layer is received and/or current due to the underlying reconstruction The received PDCP SDU is not equal to the sequence number of the first lost PDCP packet indicated by the transmission status report, and the first terminal device performs the operation performed in the case of performing the PDCP reordering function.
  • the first terminal device after receiving the path switching instruction sent by the second terminal device, completes the underlying reconstruction and accesses the network device, and the process of receiving data by the first terminal device may be divided into the bottom layer before the bottom layer reconstruction, and the bottom layer After reconstruction and underlying reconstruction.
  • the following is an example of the case where the terminal receives and submits the PDCP SDU according to the above several rules. See Figure 8 - Figure 9. Assume that the receiving condition of the first terminal device is as shown in FIG. 6, that is, after the underlying reconstruction, the first terminal device receives the PDCP SDU with the sequence value of 3 after receiving the PDCP SDU with the sequence value of 9.
  • the PDCP reordering indication is the first indication
  • the first terminal device performs the RLC reordering function, and does not perform the PDCP reordering function.
  • the process of submitting data by a terminal device is the same as that of FIG. 6; in the underlay reconstruction process, the PDCP reordering indication is a second indication, the first terminal device stops performing the RLC reordering function, performs the PDCP reordering function, and the first terminal device submits the data.
  • the process is the same as that in FIG.
  • the first terminal device performs the RLC reordering function, and performs the PDCP reordering function, because the sequence value 10 is not equal to 2+1, PDCP The layer does not deliver a PDCP SDU with a sequence value of 10.
  • a PDCP SDU with a sequence value of 3 arrives, 3 equals 2+1, and the PDCP layer delivers a PDCP SDU with a sequence value of 3, 4, and 5.
  • the first terminal device sets the PDCP reordering indication as the first indication under the condition that the PDCP reordering indication in the first to fourth rules is set as the first indication.
  • the first terminal device receives and delivers the PDCP SDU according to the fifth rule.
  • the first terminal device has not sent a transmission status report to the network device, because In the underlying reconstruction process, the first terminal device performs the RLC reordering function, and does not perform the PDCP reordering function.
  • the process of submitting data by the first terminal device is the same as that in FIG. 6; in the underlying reconstruction process, the PDCP SDU with the sequence value of 3 is the transmission state.
  • the first lost PDCP SDU indicated in the report the sequence values 4, 5, 7, and 8 are not equal to 3, the first terminal device performs the RLC reordering function, performs the PDCP reordering function, and the first terminal device submits the data.
  • the sequence value of the first lost PDCP SDU indicated in the transmission status report is 3, and since the sequence value 10 is not equal to 3, the first terminal device does not deliver the PDCP SDU with the sequence value of 10.
  • the PDCP SDU with the sequence value of 3 arrives, 3 is equal to 3, and the first terminal device submits the PDCP SDU whose sequence value is 3, 4, 5. After the delivery is completed, the first terminal device releases the transmission status report.
  • the first terminal device submits the PDCP data packet after determining that the received first PDCP data packet is the target PDCP data packet sent by the network device according to the transmission status report.
  • the network device sends the target PDCP data packet to the first terminal device after receiving the transmission status report, and can also avoid packet loss due to path switching. Or out of order questions.
  • FIG. 10 is a schematic structural diagram of a system composed of a first terminal device, a network device, and a second terminal device according to an embodiment of the present application.
  • the first terminal device 20, the network device 30, and the second terminal are shown.
  • the device 40 has a communication connection with each other, and can realize mutual data communication of the three, wherein the first terminal device 20 uses
  • the network device 30 is configured to perform the operations performed by the network device in the corresponding embodiment in FIG. 7
  • the second terminal device 40 is configured to perform The operation performed by the second terminal device in the embodiment corresponding to FIG.
  • the first terminal device 20 may include:
  • the processing unit 210 is configured to switch from the second terminal device to the network device.
  • the receiving unit 220 is further configured to receive a first packet data convergence protocol PDCP data packet sent by the network device;
  • the processing unit 210 is further configured to submit a second PDCP data packet;
  • the target PDCP data packet is a PDCP data packet that is sent by the network device according to a transmission status report, and the transmission status report is a status that is sent by the first terminal device or the second terminal device to the network device.
  • a report configured to feed back, by the second terminal device, the data received by the second terminal device to the first terminal device before the first terminal device switches to the network device, the second PDCP data
  • the packet is a PDCP packet starting with a count value of the first PDCP packet and having a count value that is continuous with a count value of the first PDCP packet.
  • the first terminal device further includes a sending unit 230, configured to send the transmission status report to the network device.
  • the first PDCP data packet is the next PDCP data packet of the last delivered PDCP data packet
  • the first PDCP data packet is a target PDCP data packet; wherein the last submitted data packet
  • the PDCP data packet is the PDCP data packet with the latest delivery time in the PDCP data packet submitted by the first terminal device.
  • the processing unit 210 is further configured to set a PDCP reordering indication as the first indication.
  • the processing unit 210 is further configured to set the PDCP reordering indication to be a first indication.
  • the processing unit 210 is further configured to set the PDCP reordering indication to be the first indication; or the first sequence value is smaller than the first one In the case of the sequence value of the lost PDCP data packet, if the first PDCP data packet is a target PDCP data packet, and the sequence value of the last delivered PDCP data packet is greater than or equal to the first sequence value and the last delivered PDCP The sequence value of the data packet is smaller than the sequence value of the first lost PDCP data packet, and the processing
  • the processing unit 210 is further configured to deliver a PDCP data packet whose count value is smaller than a count value of the first PDCP data packet; Two PDCP packets.
  • the first PDCP data packet is the first lost PDCP data packet indicated in the transmission status report
  • the first PDCP data packet is a target PDCP data packet
  • the unit 210 is further configured to submit a PDCP data packet whose count value is smaller than a count value of the first PDCP data packet.
  • processing unit 210 is further configured to: release the transmission status report.
  • the network device 30 may include:
  • the receiving unit 310 receives a transmission status report sent by the first terminal device or the second terminal device, where the transmission status report is used to feed back the network device before the first terminal device switches to the network device.
  • the sending unit 310 is further configured to send a target PDCP data packet to the first terminal device according to the transmission status report.
  • the second terminal device 40 can include:
  • the sending unit 410 is configured to send, to the network device, a transmission status report, where the transmission status report is used to feed back, by the second terminal device, the network device before the first terminal device switches to connect to the network device A reception condition of data transmitted by a terminal device, the transmission status report being used by the network device to send a target PDCP data packet to the first terminal device according to the transmission status report.
  • FIG. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure, where the terminal device 50 includes a processor 501, a memory 502, a transceiver 503, the processor 501, and the memory. 502.
  • the transceiver 503 is connected by one or more communication buses.
  • the processor 501 is configured to support the terminal device to perform the functions of the first terminal device in the method of FIG.
  • the processor 501 can be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
  • the memory 502 is used to store program codes and the like.
  • the memory 502 may include a volatile memory such as a random access memory (RAM); the memory 502 may also include a non-volatile memory such as a read-only memory (read- Only memory, ROM), flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory 502 may also include a combination of the above types of memories.
  • RAM random access memory
  • ROM read-only memory
  • HDD hard disk drive
  • SSD solid-state drive
  • the memory 502 may also include a combination of the above types of memories.
  • the transceiver 503 is configured to receive and transmit data, for example, to receive a first PDCP data packet sent by the network device.
  • the processor 501 can call the program code to perform the following operations:
  • the first PDCP data packet is a target PDCP data packet, submit a second PDCP data packet;
  • the target PDCP data packet is a PDCP data packet that is sent by the network device according to a transmission status report, and the transmission status report is a status report sent by the terminal device or the second terminal device to the network device, And a method for feeding back, by the network device, the data sent by the second terminal device to the terminal device before the switching of the terminal device to the network device, where the second PDCP data packet is A PDCP packet whose count value is a start value and whose count value is continuous with the count value of the first PDCP packet.
  • the processor 501 can also cooperate with the transceiver 503 to perform the operations of the first terminal device in the embodiment shown in FIG. 7 to FIG. 9 .
  • the processor 501 can also cooperate with the transceiver 503 to perform the operations of the first terminal device in the embodiment shown in FIG. 7 to FIG. 9 .
  • the transceiver 503 can also cooperate with the transceiver 503 to perform the operations of the first terminal device in the embodiment shown in FIG. 7 to FIG. 9 .
  • FIG. 12 is a schematic structural diagram of a network device provided by the present application, where the network device 60 includes a processor 601, a memory 602, a transceiver 603, the processor 601, the memory 602, The transceiver 603 is connected by one or more communication buses.
  • the processor 601 is configured to support the network device to perform the functions of the network device in the method of FIG.
  • the processor 601 can be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
  • the memory 602 is used to store program codes and the like.
  • the memory 602 may include a volatile memory such as a random access memory (RAM); the memory 602 may also include a non-volatile memory such as a read-only memory (read- Only memory, ROM), flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory 602 may also include a combination of the above types of memories.
  • RAM random access memory
  • ROM read-only memory
  • HDD hard disk drive
  • SSD solid-state drive
  • the memory 602 may also include a combination of the above types of memories.
  • the transceiver 603 is configured to receive and transmit data, such as the transceiver 603 for transmitting path switch commands, receiving transmission status reports, and the like.
  • the processor 601 can call the program code to perform the following operations:
  • the transceiver 603 After the first terminal device switches from the second terminal device to the network device, the transceiver 603 sends a target PDCP data packet to the first terminal device according to the transmission status report.
  • processor 601 can also cooperate with the transceiver 603 to perform the operation of the network device in the embodiment shown in FIG. 7 of the present application.
  • the processor 601 can also cooperate with the transceiver 603 to perform the operation of the network device in the embodiment shown in FIG. 7 of the present application.
  • the transceiver 603 can also cooperate with the transceiver 603 to perform the operation of the network device in the embodiment shown in FIG. 7 of the present application.
  • the processor 601 can also cooperate with the transceiver 603 to perform the operation of the network device in the embodiment shown in FIG. 7 of the present application.
  • FIG. 13 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure, where the terminal device 70 includes a processor 701, a memory 702, a transceiver 703, the processor 701, and the memory. 702.
  • the transceiver 703 is connected by one or more communication buses.
  • the processor 701 is configured to support the terminal device to perform the functions of the second terminal device in the method of FIG.
  • the processor 701 can be a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof.
  • the above hardware chip may be an application-specific integrated Circuit, ASIC), programmable logic device (PLD) or a combination thereof.
  • the PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
  • CPLD complex programmable logic device
  • FPGA field-programmable gate array
  • GAL general array logic
  • the memory 702 is used to store program codes and the like.
  • the memory 702 may include a volatile memory such as a random access memory (RAM); the memory 702 may also include a non-volatile memory such as a read-only memory (read- Only memory, ROM), flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory 702 may also include a combination of the above types of memories.
  • RAM random access memory
  • ROM read-only memory
  • HDD hard disk drive
  • SSD solid-state drive
  • the transceiver 703 is configured to receive and transmit data, for example, a transceiver for transmitting a path switch instruction, transmitting a transmission status report, and the like.
  • the processor 701 can call the program code to perform the following operations:
  • processor 701 can also cooperate with the transceiver 703 to perform the operation of the second terminal device in the embodiment shown in FIG. 7 of the present application.
  • the processor 701 can also cooperate with the transceiver 703 to perform the operation of the second terminal device in the embodiment shown in FIG. 7 of the present application.
  • the embodiment of the present application further provides a computer storage medium, where the computer storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a computer, cause the computer to perform the implementation corresponding to FIG. 7.
  • the computer may be part of the first terminal device, the network device, or the second terminal device mentioned above.
  • the embodiment of the present application further provides a computer program, including program instructions, when executed by a computer, for executing the method according to the embodiment corresponding to 7, the computer program may be the memory 502 mentioned above.
  • the computer program may be the memory 502 mentioned above.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in or transmitted by a computer readable storage medium.
  • the computer instructions can be from a website site, computer, server or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Transfer from a computer, server, or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)) or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了数据传输的方法和相关装置,其中,所述方法包括:第一终端设备从第二终端设备切换至网络设备;第一终端设备接收网络设备发送的第一分组数据汇聚协议PDCP数据包;若第一PDCP数据包为目标PDCP数据包,则第一终端设备递交第二PDCP数据包;其中,目标PDCP数据包为所述网络设备根据传输状态报告发送的PDCP数据包,传输状态报告为第一终端设备或第二终端设备向网络设备发送的状态报告,用于反馈在第一终端设备切换至网络设备之前网络设备通过第二终端设备向第一终端设备发送的数据的接收情况,第二PDCP数据包为以第一PDCP数据包的计数值为起始且计数值与第一PDCP数据包的计数值连续的PDCP数据包。采用本申请的方案,可以避免在路径切换后出现丢包问题。

Description

数据传输的方法及相关设备 技术领域
本申请涉及数据传输领域,尤其涉及数据传输的方法及相关设备。
背景技术
设备到设备(Device-to-Device,D2D)的通信方式,指的是发送端将数据直接发送给接收端,无需通过基站或者蜂窝网络进行中转的通信方式。D2D通信方式中一种比较特殊的方式是一个终端设备通过另一个具备中继功能的终端设备与网络设备进行连接。在这种通信方式中,将前者称为远端设备(remote UE),将后者称为中继设备(relay UE)。在remote UE与relay UE之间的链路质量变差的情况下,例如remote UE发生移动,为保证remote UE与网络设备之间可以继续通信,remote UE可以通过路径切换(path switch)的方式切换连接至网络设备与网络设备进行通信。
在网络设备与remote UE之间进行下行传输的过程中,若remote UE进行path switch,则可能会出现如下情况:部分数据包已经成功发送给relay UE,但是却未成功转发给remote UE。而网络设备仅能获得relay UE反馈的接收信息,而不能获知remote UE的实际接收情况,此时下行传输可能出现丢包情况。
发明内容
本申请实施例提供数据传输的方法及相关设备,解决下行传输过程中进行路径转移而引起的丢包问题。
第一方面,本申请实施例提供一种数据传输的方法,应用于远端设备,包括:
第一终端设备从第二终端设备切换至网络设备;所述第一终端设备接收所述网络设备发送的第一分组数据汇聚协议PDCP据包;若所述第一PDCP数据包为目标PDCP数据包,则所述第一终端设备递交第二PDCP数据包;其中,所述目标PDCP数据包为所述网络设备根据传输状态报告发送的PDCP数据包,所述传输状态报告为所述第一终端设备或所述第二终端设备向所述网络设备发送的状态报告,用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况,所述第二PDCP数据包为以所述第一PDCP数据包的计数值为起始且计数值与所述第一PDCP数据包的计数值连续的PDCP数据包。
本申请实施例中,第一终端设备在发生路径切换并切换至网络设备后,在接收到网络设备发送的PDCP数据包时,在确定该PDCP数据包为目标PDCP数据包时递交以该PDCP数据包的计数值为起始且计数值与该PDCP数据包的计数值连续的PDCP数据包,其中,目标PDCP数据包是网络设备根据传输状态报告发送的数据,而传输状态报告用于反馈第一终端设备在切换至网络设备之前网络设备通过第二终端设备向第一终端设备发送的数据的接收情况,即目标PDCP数据包为网络设备确定第一终端设备的实际接收情况后发送的PDCP数据包,第一终端设备在确定接收到目标PDCP数据包后才递交PDCP数据包,可 避免出现丢包或乱序的情况。
在一种可能的设计中,所述第一终端设备从所述第二终端设备切换至网络设备之后还包括:所述第一终端设备向所述网络设备发送所述传输状态报告。
在一种可能的设计中,若所述第一PDCP数据包为最后递交的PDCP数据包的下一个PDCP数据包,则所述第一PDCP数据包为目标PDCP数据包;其中,所述最后递交的PDCP数据包为所述第一终端设备递交的PDCP数据包中递交时间最晚的PDCP数据包。
在一种可能的设计中,所述方法还包括:若所述第一PDCP数据包为目标PDCP数据包,则所述第一终端设备设置PDCP重排序指示为第一指示。
在一种可能的设计中,所述方法还包括:若所述第一PDCP数据包为目标PDCP数据包,并且所述第一PDCP数据包的序号等于所述传输状态报告指示的第一个丢失的PDCP数据包的序号,则所述第一终端设备设置PDCP重排序指示为第一指示。
在一种可能的设计中,所述方法还包括:在传输映射指示中指示的第一序列值大于所述传输状态报告指示的第一个丢失的PDCP数据包的序列值情况下,若所述第一PDCP数据包为目标PDCP数据包且所述最后递交的PDCP数据包的序列值大于或等于所述第一序列值,或者所述第一PDCP数据包为目标PDCP数据包且所述最后递交的PDCP数据包的序列值小于所述第一个丢失的PDCP数据包的序列值,则所述第一终端设备设置所述PDCP重排序指示为第一指示;或者在所述第一序列值小于所述第一个丢失的PDCP数据包的序列值的情况下,若所述第一PDCP数据包为目标PDCP数据包,并且所述最后递交的PDCP数据包的序列值大于或等于第一序列值且所述最后递交的PDCP数据包的序列值小于所述第一个丢失的PDCP数据包的序列值,则所述第一终端设备设置所述PDCP重排序指示为第一指示;所述第一序列值为所述传输状态报告指示的PDCP数据包对应的序列值。
在一种可能的设计中,所述方法还包括:若所述PDCP重排序指示为第一指示,则所述第一终端设备递交计数值小于所述第一PDCP数据包的计数值的PDCP数据包;所述第一终端设备递交所述第二PDCP数据包。
在一种可能的设计中,若所述第一PDCP数据包为所述传输状态报告中指示的第一个丢失的PDCP数据包,则所述第一PDCP数据包为目标PDCP数据包;所述第一终端设备递交第二PDCP数据包之前还包括:所述第一终端设备递交计数值小于所述第一PDCP数据包的计数值的PDCP数据包。
在一种可能的设计中,所述第一终端设备递交第二PDCP数据包之后还包括:所述第一终端设备释放所述传输状态报告。
第二方面,本申请实施例提供另一种数据传输的方法,应用于网络设备侧,包括:
网络设备接收第一终端设备或第二终端设备发送的传输状态报告,所述传输状态报告用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况;在所述第一终端设备从所述第二终端设备切换至所述网络设备后,所述网络设备根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
本申请实施例中,在第一终端设备切换连接至网络设备时,网络设备在接收到第一终端设备或第二终端设备发送的传输状态报告后才向第一终端设备发送PDCP数据包,传输 状态报告用于反馈第一终端设备在切换连接至网络设备之前网络设备通过第二终端设备向第一终端设备发送的数据的接收情况,即网络设备在获知第一终端设备的实际接收情况后才向第一终端设备发送PDCP数据包,可避免出现路径切换后丢包的情况。
第三方面,本申请实施例提供又一种数据传输的方法,应用于中继设备,包括:
第二终端设备向网络设备发送传输状态报告,所述传输状态报告用于反馈在第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况,所述传输状态报告被所述网络设备用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
本申请实施例中,第二终端设备向网络设备发送传输状态报告,告知网络设备第一终端设备在切换连接至网络设备之前网络设备通过第二终端设备向第一终端设备发送的数据的接收情况,以使网络设备能够根据该传输状态报告获知第一终端设备的实际接收情况,及时向第一终端设备发送第一终端设备未确认接收到的数据,避免出现丢包情况。
第四方面,本申请实施例提供一种终端设备,该终端设备具有实现第一方面所述的第一终端设备行为方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。
在一个可能的设计中,该终端设备包括接收单元以及处理单元,其中,所述处理单元用于从第二终端设备切换至网络设备;所述接收单元还用于接收所述网络设备发送的第一分组数据汇聚协议PDCP数据包;若所述第一PDCP数据包为目标PDCP数据包,则所述处理单元还用于递交第二PDCP数据包;其中,所述目标PDCP数据包为所述网络设备根据传输状态报告发送的PDCP数据包,所述传输状态报告为所述第一终端设备或所述第二终端设备向所述网络设备发送的状态报告,用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况,所述第二PDCP数据包为以所述第一PDCP数据包的计数值为起始且计数值与所述第一PDCP数据包的计数值连续的PDCP数据包。
在一个可能的设计中,该终端设备包括处理器、存储器和收发器,所述处理器、存储器和收发器相互连接,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,执行以下操作:从第二终端设备切换至网络设备;通过所述收发器接收所述网络设备发送的第一分组数据汇聚协议PDCP数据包;若所述第一PDCP数据包为目标PDCP数据包,则递交第二PDCP数据包;其中,所述目标PDCP数据包为所述网络设备根据传输状态报告发送的PDCP数据包,所述传输状态报告为所述终端设备或所述第二终端设备向所述网络设备发送的状态报告,用于反馈在所述终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述终端设备发送的数据的接收情况,所述第二PDCP数据包为以所述第一PDCP数据包的计数值为起始且计数值与所述第一PDCP数据包的计数值连续的PDCP数据包。
基于同一发明构思,该终端设备解决问题的原理以及有益效果可以参见第一方面所述的方法以及所带来的有益效果,该终端设备的实施可以参见第一方面所述第一终端设备侧方法的实施,重复之处不再赘述。
第五方面,本申请实施例提供一种网络设备,该网络设备具有实现第二方面所述的网 络设备行为方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。
在一个可能的设计中,该网络设备包括发送单元和接收单元,所述接收单元,用于接收第一终端设备或第二终端设备发送的传输状态报告,所述传输状态报告用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况;在所述第一终端设备切换连接至所述网络设备后,所述发送单元用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
在一个可能的设计中,该网络设备包括处理器、存储器和收发器,所述处理器、存储器和收发器相互连接,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,执行以下操作:通过所述收发器接收第一终端设备或第二终端设备发送的传输状态报告,所述传输状态报告用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况;在所述第一终端设备从第二终端设备切换至所述网络设备后,通过所述收发器根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
基于同一发明构思,该网络设备解决问题的原理以及有益效果可以参见第二方面所述的方法以及所带来的有益效果,该网络设备的实施可以参见第二方面所述网络设备侧方法的实施,重复之处不再赘述。
第六方面,本申请实施例提供一种终端设备,该终端设备具有实现第三方面所述方法中第二终端设备行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。
在一个可能的设计中,该终端设备包括发送单元,其中,所述发送单元用于向网络设备发送传输状态报告,所述传输状态报告用于反馈在第一终端设备切换至所述网络设备之前所述网络设备通过所述终端设备向所述第一终端设备发送的数据的接收情况,所述传输状态报告被所述网络设备用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
在一个可能的设计中,该终端设备包括处理器、存储器和收发器,所述处理器、存储器和收发器相互连接,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,执行以下操作:通过所述收发器向网络设备发送传输状态报告,所述传输状态报告用于反馈在第一终端设备切换至所述网络设备之前所述网络设备通过所述终端设备向所述第一终端设备发送的数据的接收情况,所述传输状态报告被所述网络设备用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
基于同一发明构思,该终端设备解决问题的原理以及有益效果可以参见第三方面所述的方法以及所带来的有益效果,该终端设备的实施可以参见第三方面所述第二终端设备侧方法的实施,重复之处不再赘述。
第七方面,本申请实施例提供一种计算机存储介质,用于储存为第一终端设备所用的计算机程序指令,其包含用于执行上述第一方面所涉及的程序。
第八方面,本申请的实施例提供一种计算机存储介质,用于储存为网络设备所用的计算机程序指令,其包含用于执行上述第二方面所涉及的程序。
第九方面,本申请的实施例提供一种计算机存储介质,用于储存为第二终端设备所用的计算机程序指令,其包含用于执行上述第三方面所涉及的程序。
本申请实施例中,在第一终端设备发送路径切换并切换至网络设备的情况下,第一终端设备或者第二终端设备向网络设备发送传输状态报告,告知第一终端设备在切换至网络设备之前的实际接收情况,以使网络设备能够根据该传输状态报告向第一终端设备发送目标PDCP数据包,网络设备在接收到该传输状态报告后,向第一终端设备发送PDCP数据包,避免出现丢包现象;另外,第一终端设备在接收到网络设备根据传输状态报告发送的目标PDCP数据包后才递交PDCP数据包,进一步起到避免出现丢包现象的作用。
附图说明
图1是本申请实施例提供的一种系统架构示意图;
图2是PDCP SDU与RLC SDU的编号顺序变化示意图;
图3是本申请实施提供的一种终端设备递交数据的示意图;
图4是终端设备与核心网设备进行数据传输以及发生切换所采用的一种通信协议架构图;
图5终端设备与网络设备进行数据传输以及发生切换所采用的另一种通信协议架构;
图6本申请实施提供的一种终端设备接收数据的情况示意图;
图7是本申请实施例提供的一种数据传输的方法的流程示意图;
图8是本申请实施例提供的一种终端设备递交PDCP SDU的示意图;
图9是本申请实施例提供的另一种终端设备递交PDCP SDU的示意图;
图10是本申请实施例提供的第一终端设备、网络设备以及第二终端设备设备组成的系统的结构示意图;
图11是本申请实施例提供的一种终端设备的可能的结构示意图;
图12是本申请提供的一种网络设备的可能的结构示意图;
图13是本申请实施例提供的另一种终端设备的可能的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
本申请实施例可以应用于一个终端设备通过一个具备中继功能的终端设备与网络设备进行通信的无线通信系统,该无线通信系统的系统架构可以如图1所示,图1是本申请实施例提供的一种系统架构示意图,其中,终端设备101通过具备中继功能的终端设备102连接至网络设备103,终端设备101通过该具备中继功能的终端设备102向网络设备103发送上行数据或者接收网络设备103发送的下行数据,终端设备101也可直接连接至网络设备103与网络设备103进行通信。终端设备101又可以称为远端设备,终端设备102又可以称为中继设备。在一些具体实现方式中,该网络设备可以为基站。
需要说明的是,本申请实施例提及的无线通信系统包括但不限于:窄带物联网系统(narrow band-internet of things,NB-IoT)、全球移动通信系统(global system for mobile  communications,GSM)、增强型数据速率GSM演进系统(enhanced data rate for GSM evolution,EDGE)、宽带码分多址系统(wideband code division multiple access,WCDMA)、码分多址2000系统(code division multiple access,CDMA2000)、时分同步码分多址系统(time division-synchronization code division multiple access,TD-SCDMA),LTE系统、5G系统以及未来移动通信系统。
本申请实施例中所涉及的基站是一种部署在无线接入网中用以为终端设备提供无线通信功能的装置。其中,基站可以包括各种形式的宏基站,微基站(也称为小站),中继站,接入点,传输接入点(Transmission Receiver point,TRP)等。在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同,例如,在5G系统中,称为新一代节点B(generationNodeB,gNB),在一种可选方案中,称为演进的节点B(evolved NodeB,eNB或者eNodeB),在第三代(3rd Generation,3G)系统中,称为节点B(Node B,NB)等。为方便描述,本申请所有实施例中,上述为终端设备提供无线通信功能的装置统称为网络设备。
本申请实施例涉及的终端设备,可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。终端设备可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网进行通信,终端设备可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(PCS,Personal Communication Service)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(WLL,Wireless Local Loop)站、个人数字助理(PDA,Personal Digital Assistant)等设备。终端设备也可以称为系统、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户代理(User Agent)、用户设备(User Device)、或用户装备(User Equipment)。
在一些可能的场景下,终端设备需要从具备中继功能的终端设备切换至网络设备上与网络设备进行直接通信。在一种实现方式中,终端设备从具备中继功能的终端设备切换至网络设备的过程可参考终端设备的切换(Handover)过程,即终端设备从第一网络设备切换连接至第二网络设备的过程,终端设备的切换过程包括以下阶段:
1)切换准备阶段,第一网络设备向第二网络设备发送切换请求,告知终端设备需要切换连接到第二网络设备,第二网络设备根据自身的资源情况向第一设备发送携带配置信息的确认响应,第一网络设备将接收到的配置信息通过无线资源控制(radio resource control,RRC)连接重配消息发送给终端设备。
2)切换阶段,终端设备断开与第一网络设备的连接并接入第二网络设备,同时,第一网络设备将已传输的分组数据汇聚协议(packet data convergence protocol,PDCP)服务数据单元(service data unit,SDU)的序列值(sequence number,SN)发送给第二网络设备,以使网络设备确定通过第一网络设备向终端设备发送的数据的接收情况。
其中,在切换阶段中,终端设备在接收到RRC连接重配消息后根据该配置信息开始重 建,即根据该配置信息完成对PDCP层的重建、无线链路控制(radio link control,RLC)层的重建以及对多媒体接入控制(media access control,MAC)层的重置。在底层重建(指对RLC层的重建)之前以及底层重建之后,终端设备一直执行RLC重排序功能;在底层重建的过程中,终端设备执行PDCP重排序功能,在底层重建后,终端设备停止PDCP重排序功能;此外,如图2所示,在底层重建后,PDCP SDU的序列值保持不变,使用底层重建前的PDCP SDU的编号顺序,RLC SDU的序列值使用新的序列值,即RLC SDU重新从最小的序列值开始编号。
在不执行PDCP重排序的功能的情况下,终端设备执行的操作如下:
终端设备递交计数值(COUNT)小于当前接收到的PDCP SDU的计数值的PDCP SDU;
终端设备递交当前存储的PDCP SDU中以当前接收到的PDCP SDU的计数值为起始且计数值与当前接收到PDCP SDU的计数值连续的PDCP SDU;
终端设备将PDCP最后递交的PDCP SDU的序列值(Last_Submitted_PDCP_RX_SN)设定为最后一个递交的PDCP SDU的序列值。
在执行PDCP重排序的功能的情况下,终端执行的操作如下:
若当前接收的PDCP SDU的序列值等于PDCP最后递交的PDCP SDU的序列值加一或当前接收的PDCP SDU的序列值等于PDCP最后递交的PDCP SDU的序列值与PDCP最大序列值(Maximum_PDCP_SN)的差值,终端设备递交当前存储的PDCP SDU中以当前接收到的PDCP SDU的计数值为起始且计数值与当前接收到PDCP SDU的计数值连续的PDCP SDU;
终端设备将PDCP最后递交的PDCP SDU的序列值设定为最后一个递交的PDCP SDU的序列值。
在Handover过程中,终端设备接收RLC SDU以及与RLC SDU对应的PDCP SDU的过程可以如图3所示,参见图3,图3是本申请实施提供的一种终端设备递交数据的示意图。终端设备接收数据可分为三个阶段,底层重建之前,底层重建,底层重建之后。
1)底层重建之前:终端设备执行RLC重排序功能,不执行PDCP重排序功能。
终端设备的RLC层接收到序列值为1,2,4,5,7,8的RLC SDU,终端设备的RLC层向PDCP层递交序列值为1,2的RLC SDU,由于序列值4不等于2+1,RLC层停止递交RLC SDU,保存序列值为4,5,7,8的RLC SDU,等待序列值为3的RLC SDU到来,相应地,PDCP层向PDCP上层的协议层递交序列值为1,2的PDCP SDU。
2)底层重建:终端设备停止执行RLC重排序功能,执行PDCP重排序功能。
当发生底层重建时,RLC层将序列值为4,5,7,8的RLC SDU上交到PDCP层,相应地,PDCP层接收到序列值4,5,7,8的PDCP SDU,序列值4,5,7,8是因为底层重建而接收到的,而序列值4,5,7,8均不等于2+1,PDCP层保存序列值为4,5,7,8的PDCP SDU,等待序列值为3的PDCP SDU到来。
3)底层重建之后:终端设备执行RLC重排序功能,不执行PDCP重排序功能。
终端设备的RLC层接收到序列值为1的RLC SDU,该序列值为1的RLC SDU对应序列值为3的PDCP SDU,终端设备的RLC层向PDCP层递交序列值为1的RLC SDU,相应地,PDCP层接收到序列值为3的PDCP SDU,序列值3等于2+1,PDCP层递交序列值 为3,4,5的PDCP SDU。
通过上述方式,终端设备可以从第一网络设备切换连接到第二网络设备,通过第一网络设备将已传输的PDCP SDU的序列值发送给第二网络设备,第二网络设备可以确定终端设备接收数据的情况,终端设备的PDCP层在底层重建过程中执行PDCP重排序功能保证在底层重建时不丢包。
但是,上述方案仅适用于采用图4所示的通信协议架构的无线通信系统,在该无线通信系统中,终端设备与核心网设备的数据传输在第一网络设备处进行PDCP层的处理,在发生切换终端设备从第一网络设备切换连接到第二网络设备处与核心网设备进行数据传输时,第一网络设备可以获知核心网设备向终端设备发送的PDCP SDU的情况,进而向第二网络设备反馈已传输的PDCP SDU的序列值告知终端设备的数据的接收情况;而对于采用图5所示的通信协议架构的无线通信系统来说,终端设备与网络设备的数据传输不在中继终端设备处进行PDCP层的处理,中继终端设备在适应(Adaptation)层将RLC SDU直接转发给终端设备或者网络设备,在发生切换终端设备从中继终端设备切换到网络设备处与网络设备进行数据传输时,中继终端设备无法向网络设备反馈已传输成功的PDCP SDU的序列值。另外,在上述方案中,终端设备的PDCP层仅在底层重建过程中执行PDCP重排序功能,若终端设备的接收情况如图6所示,序列值为3和6的PDCP SDU在底层重建之前丢失,在底层重建之后,终端设备在接收到序列值为9的PDCP SDU之后才接收到序列值为3的PDCP SDU,则终端设备的PDCP层先递交序列值为4,5,7,8,9的PDCP SDU,此时PDCP层再收到序列值为3的PDCP SDU时,由于9之前的PDCP SDU已全部上交,可能序列值为3的PDCP SDU将直接被PDCP层丢弃,造成丢包。即使向PDCP层向上层递交序列值为3的PDCP SDU,也将出现乱序的问题。
而采用本申请的方案,终端设备在接收到目标PDCP数据包之后才递交PDCP数据包,避免在发生路径切换时出现丢包以及乱序的问题。
上述介绍了终端设备在执行PDCP重排序功能和不执行PDCP重排序功能的情况下终端设备的操作以及路径切换的一种可能的实现方式,接下来对本申请实施例的方法和相关装置进行介绍。
本申请实施例中,数据包可以指协议数据单元(protocol data unit,PDU),也可以指服务数据单元(service data unit,SDU),应当理解的是,在不同的使用场景下,数据包指不同的数据单元,例如,对于发送端来说,SDU指目标协议层从目标协议层的上层的协议层接收到的在目标协议层中还未被该目标协议层封装的数据包,PDU指在目标协议层中被该目标协议层封装后发送至该目标协议层的下层的协议层的数据包,对于接收端来说,SDU指在目标协议层解封装后的数据包,PDU指目标协议层从目标协议层的下层的协议层接收到的还未被目标协议层解封装的数据包;SDU指在同一个设备的不同协议层之间传递的数据包,PDU指在不同设备的对等协议实体之间传递的数据包。在本申请实施例中,在没有另作说明的情况下,序号可以指序列值(SN),也可以指计数值(COUNT),其中,同一个PDCP数据包的计数值与序列值之间存在对应关系。
参见图7,图7是本申请实施例提供的一种数据传输的方法的流程示意图,如图所示,所述方法至少包括:
S101,第一终端设备从第二终端设备切换至网络设备。
具体实现中,第一终端设备获取网络设备的配置信息,根据该配置信息完成PDCP恢复/重建、RLC重建以及MAC重置并接入网络设备;另外,在第一终端设备开始PDCP恢复/重建或RLC重建的同时,第一终端设备开始执行PDCP重排序功能。
作为一个可选的实施例,在第一终端设备从第二终端设备切换至网络设备之前,第一终端设备接收第二终端设备发送的路径切换指令,所述第一终端设备根据所述路径切换指令切换至网络设备。
其中,路径切换指令可携带网络设备分配的配置信息;在可选实施方式中,路径切换指令可以为第二终端设备主动发送给第一终端设备的路径切换指令,也可以为网络设备通过第二终端设备发送给第一终端设备的路径切换指令。
例如,可参考上述介绍的Handover过程,当第二终端设备检测到与第一终端设备之间的链路质量变差的情况下,第二终端设备向网络设备发送切换请求,告知第一终端设备需要切换到网络设备,网络设备根据自身的资源情况向第二终端设备发送携带配置信息的确认响应,第二终端设备将配置信息携带在路径切换指令中发送给第一终端设备。
例如,当第二终端设备检测到与第一终端设备之间的链路质量变差的情况下,第二终端设备向网络设备上报第二终端设备与第一终端设备之间的链路质量报告,网络设备接收到该质量报告后,根据自身的资源情况向第二终端设备发送携带配置信息的路径切换指令,第二终端设备向网络设备转发该路径切换指令。
在一种可能的场景中,在路径切换指令携带配置信息的情况下,第一终端设备从路径切换指令中获取网络设备的配置信息;在另一种可能的场景中,第一终端设备可以在接收到第二终端设备发送的路径切换指令后,从第二终端设备处获取配置信息。
作为一个可选的实施例,在第一终端设备从第二终端设备切换至网络设备时,第二终端设备还可以向网络设备发送传输状态报告,该传输状态报告用于反馈在第一终端设备切换至网络设备之前网络设备通过第二终端设备向第一终端设备发送的数据的接收情况。其中,该传输状态报告中可用于反馈在第一终端设备切换连接至网络设备之前网络设备向第一终端设备发送的RLC数据包的接收情况,例如,该传输状态报告为Adaptation层的报告,即第二终端设备向第一终端设备发送路径切换指令之后向网络设备发送Adaptation层的报告,用于反馈在第一终端设备切换至网络设备之前网络设备向第一终端设备发送的所有RLC数据包的接收情况。网络设备接收到该传输状态报告后,可根据该传输状态报告确定哪些RLC数据包被第一终端设备确认接收,哪些RLC数据包未被第一终端设备确认接收;网络设备可根据RLC数据包的序号确定哪些PDCP数据包被第一终端设备确认接收,哪些PDCP数据包未被第一终端设备确认接收。进一步地,网络设备可根据该传输状态报告向第一终端设备发送目标PDCP数据包,该目标PDCP数据包为网络设备通过第二终端设备向第一终端设备发送的但是未被第一终端设备确认接收到的数据包。
在一种实现方式中,第二终端设备可以在接收到第一终端设备反馈的针对于网络设备通过第二终端设备向第一终端设备发送的RLC数据包的确认消息(ACK)后,向网络设备发送传输状态报告。例如,在第一终端设备切换连接至网络设备之前网络设备向第一终端设备发送了序号为1~100的RLC数据包,第二终端设备分别接收到序号为1~32、35~70、 73~100的RLC数据包的确认消息,则第二终端设备确认在第一终端设备切换连接至网络设备之前网络设备向第一终端设备发送的RLC数据包的接收情况为:序号为1~32、35~70、73~100的RLC数据包接收成功,序号为33、34、71、72的RLC数据包丢失。进一步地,第二终端设备将这些RLC数据包接收情况通过传输状态报告反馈给网络设备,网络设备根据这些RLC数据包的接收情况确定其对应的PDCP数据包的接收情况。
在一种实现方式中,第二终端设备可以在接收到第二终端设备反馈的针对于网络设备通过第二终端设备向第一终端设备发送的RLC数据包的未确认(NACK)消息后,向网络设备发送传输状态报告。例如,在第一终端设备切换连接至网络设备之前网络设备通过第二终端设备向第一终端设备发送了序号为1~100的RLC数据包,第二终端设备分别接收到序号为34、35的RLC数据包,则第二终端设备确认在第一终端设备切换连接至网络设备之前网络设备向第一终端设备发送的RLC数据包的接收情况为:序号为1~33、36~100的RLC数据包接收成功,序号为34、35的RLC数据包丢失。
在又一种实现方式中,若第二终端设备未接收到第一终端设备发送的反馈消息,则确认该反馈消息对应的RLC数据包丢失,例如,第二终端设备向第一终端设备发送序号为33~40的RLC数据包,未接收到针对任何一个RLC数据包的反馈消息,则确认序号为33~40的RLC数据包均丢失。
作为一个可选的实施例,第一终端设备从第二终端设备切换至网络设备之后还可以向网络设备发送传输状态报告,该传输状态报告用于反馈在第一终端设备切换至网络设备之前网络设备通过第二终端设备向第一终端设备发送的数据的接收情况。
具体实现中,第一终端设备可以在切换至网络设备后通过获取到的第一个可用的上行资源向网络设备发送该传输状态报告。其中,该传输状态报告可用于反馈在第一终端设备切换至网络设备之前网络设备向第一终端设备发送的所有PDCP数据包的接收情况,例如,该传输状态报告可以为PDCP status report。
S102,网络设备向第一终端设备发送第一PDCP数据包,第一终端设备接收第一PDCP数据包。
作为一个可选的实施例,在第一终端设备从第二终端设备切换至网络设备后,网络设备可以在接收到第一终端设备或者第二终端设备发送的传输状态报告后根据该传输状态报告向第一终端设备发送第一PDCP数据包,其中,该第一PDCP数据包为目标PDCP数据包。
作为一个可选的实施例,在第一终端设备切换连接至网络设备后,网络设备也可以在未接收到第一终端设备或者第二终端设备发送的传输状态的情况下向第一终端设备发送第一PDCP数据包。
S103,若第一PDCP数据包为目标PDCP数据包,则第一终端设备递交第二PDCP数据包,其中,目标PDCP数据包为网络设备根据传输状态报告发送的PDCP数据包,第二PDCP数据包为以第一PDCP数据包的计数值为起始且计数值与第一PDCP数据包的计数值连续的PDCP数据包。
本申请实施例中,从PDCP恢复/重建或RLC重建开始,在未接收到目标PDCP数据包的情况下,第一终端设备一直执行PDCP重排序功能。
在第一终端设备未接收到该目标PDCP数据包的情况下,第一终端设备可以保存接收到的第一PDCP数据包。
在第一种可能的实现场景中,可以用PDCP重排序指示来指示第一终端设备是否执行PDCP重排序功能,其中,PDCP重排序指示为第一指示时指示第一终端设备不执行PDCP重排序功能,即若PDCP重排序指示为第一指示,第一终端设备不执行PDCP重排序功能;PDCP重排序指示为第二指示时指示第一终端设备执行PDCP重排序功能,即若PDCP重排序指示为第二指示,第一终端设备执行PDCP重排序功能。应当理解的是,第一指示和第二指示也可表述为“真”与“假”,“0”与“1”等用于指示终端执行PDCP重排序功能和终端不执行PDCP重排序功能这两种相对应的操作的描述性词语。例如,PDCP重排序指示为假,指示第一终端设备不执行PDCP重排序功能;PDCP重排序为真,指示第一终端设备执行PDCP重排序功能。在用第一指示和第二指示来表述第一终端设备执行PDCP重排序功能和不执行PDCP重排序功能这两种对应的操作的情况下,从PDCP恢复/重建、RLC重建开始,在接收到目标PDCP数据包之前,该PDCP重排序指示一直为第二指示。具体实现中,第一终端设备可在开始PDCP恢复/重建、RLC重建的同时,将PDCP重排序指示设置为第二指示。
根据上述介绍的第一终端设备执行PDCP重排序功能时所执行的操作,可将第一PDCP数据包是否为最后递交的PDCP数据包的下一个PDCP数据包作为评判该第一PDCP数据包是否为目标PDCP数据包的依据。若第一PDCP数据包为最后递交的PDCP数据包的下一个PDCP数据包,则第一PDCP数据包为目标PDCP数据包。在本申请实施例中,最后递交的PDCP数据包的下一个PDCP数据包指与最后递交的PDCP数据包的计数值连续的PDCP数据包或接下来需要递交的PDCP数据包。具体实现中,第一PDCP数据包的序列值等于PDCP最后递交的PDCP数据包的序列值加一或第一PDCP数据包的序列值等于PDCP最后递交的PDCP数据包的序列值与PDCP最大序列值的差值表征第一PDCP数据包为最后递交的PDCP数据包的下一个PDCP数据包。
具体实现中,第一终端设备的PDCP层在接收到第一PDCP数据包时,判断第一PDCP数据包是否等于PDCP最后递交的PDCP数据包的序列值加一或该第一PDCP数据包的序列值是否等于PDCP最后递交的PDCP数据包的序列值与PDCP最大序列值的差值,若等于,则该第一PDCP数据包为目标PDCP数据包,根据第一终端设备执行PDCP重排序功能时所执行的操作,第一终端设备的PDCP层递交第二PDCP数据包;若不等于,第一终端设备的PDCP层不递交当前接收到的第一PDCP数据包。
在可选实施方式中,若第一PDCP数据包为目标PDCP数据包,第一终端设备可停止PDCP重排序功能。在一种实现方式中,可通过将PDCP重排序指示设置为第一指示来停止PDCP重排序功能。在后续接收数据的过程中,PDCP重排序指示为第一指示,第一终端设备不再执行PDCP重排序功能。根据第一终端设备不执行PDCP重排序功能时所执行的操作,若PDCP重排序指示为第一指示,第一终端设备递交计数值小于第一PDCP数据包的计数值的PDCP数据包,第一终端设备递交第二PDCP数据包。
作为一个可选的实施例,若该第一PDCP数据包为目标PDCP数据包,则第一终端设备设置PDCP重排序指示为第一指示。
作为一个可选的实施例,在第一终端设备向网络设备发送传输状态报告的情况下,若第一PDCP数据包为目标PDCP数据包,并且第一PDCP数据包的序号等于该传输状态报告指示的第一个丢失的PDCP数据包的序号,则第一终端设备设置PDCP重排序指示为第一指示。在本申请实施例中,第一个丢失的PDCP数据包为网络设备通过第二终端设备向第一终端设备发送的PDCP数据包中的其中一个PDCP数据包,第一终端设备丢失的第一个PDCP数据包为第一终端设备切换连接至网络设备之前,一直未被第一终端设备接收到的PDCP数据包中的第一个PDCP数据包。例如,网络设备通过第二终端设备向第一终端设备发送序号为1~100的PDCP数据包,在第一终端设备切换至网络设备之前,第一终端设备接收的PDCP数据包的序号为1~55,58~80,83~100,则在第一终端设备切换连接至网络设备之前,第一终端设备一直未接收到序号为56、57、81、82的PDCP数据包,其中,序号为56的PDCP数据包为第一终端设备第一个丢失的PDCP数据包。在第一设备向网络设备发送的传输状态报告为PDCP status report的情况下,该传输状态报告中FMS(First missing PDCP SN)或FMC(First missing COUNT)指示的序号为56。
具体实现中,可以在第一终端设备中预置一个预设存储域用于存储第一终端设备丢失的第一个PDCP SDU的序号,在第一终端设备发生PDCP恢复或重建、RLC重建之前,该预设存储域为空。该预设存储域中存储的序号与第一终端设备向网络设备发送的传输状态报告中FMS指示的序号相同。例如,第一终端设备可以在将传输状态报告发送给网络设备的同时,将该传输状态报告中FMS指示的序号存入第一终端设备的预设存储域;第一终端设备也可以在发生PDCP恢复/重建时将第一个丢失的PDCP数据包的序号存入预设存储域。
作为一个可选的实施例,在第一终端设备向网络设备发送传输状态报告的情况下,若第一PDCP数据包为目标PDCP数据包且最后递交的PDCP数据包的序列值不等于传输状态报告指示的第一个丢失的PDCP数据包的序列值减一或者若第一PDCP数据包为目标PDCP数据包且最后递交的PDCP数据包的序列值不等于传输状态报告指示的第一个丢失的PDCP数据包与PDCP最大序列值之和减一,则第一终端设备设置PDCP重排序指示为第一指示。
作为一个可选的实施例,在第一终端设备向网络设备发送传输状态报告的情况下,在传输映射指示中指示的第一序列值大于传输状态报告指示的第一个丢失的PDCP数据包的序列值的情况下,若第一PDCP数据包为目标PDCP数据包且最后递交的PDCP数据包的序列值大于或等于第一序列值,或者第一PDCP数据包为目标数据包且最后递交的PDCP数据包的序列值小于该第一个丢失的PDCP数据包的序列值,则第一终端设备设置所述PDCP重排序指示为第一指示;或者在该第一序列值小于该第一个丢失的PDCP数据包的序列值的情况下,若第一PDCP数据包为目标PDCP数据包且最后递交的PDCP数据包的序列值大于或等于第一序列值且最后递交的PDCP数据包的序列值小于该第一个丢失的PDCP数据包的序列值,则第一终端设备设置PDCP重排序指示为第一指示。该第一序列值对应的PDCP数据包为网络设备通过第二终端设备向第一终端设备发送的PDCP数据包中的其中一个PDCP数据包,该第一序列值对应的PDCP数据包为在第一终端设备丢失的第一个PDCP数据包之后被网络设备通过第二终端设备发送给第一终端设备。例如,网络设备通过第二终端设备向第一终端设备发送序列值为1~100的PDCP数据包,其中,序列 值为56的PDCP数据包为第一终端设备第一个丢失的PDCP SDU,则第一序列值可以57~100中的任意一个序列值。在第一设备向网络设备发送的传输状态报告为PDCP status report的情况下,该传输状态报告中比特映射(bitmap)中指示的序列值为57~100。
具体实现中,可以在第一终端设备中预置一个传输指示的存储域用于存储传输指示中指示的第一序列值,该第一序列值可以为bitmap中指示的其中一个序列值。例如,在第一终端设备向网络设备发送传输状态报告的情况下,第一终端设备在将状态传输报告发送给网络设备的同时,可以将该传输状态报告中传输映射中的一个序号存入第一终端设备的传输指示的存储域;第一终端设备也可以在开始PDCP恢复/重建时将传输映射中的序号存入第一终端设备的传输指示的存储域。
在第二种可能的实现场景中,在第一终端设备向网络设备发送传输状态报告的情况下,也可以用第一终端设备是否接收到传输状态报告指示的第一个丢失的PDCP数据包来指示第一终端设备是否执行PDCP重排序功能,在第一终端设备未接收到该第一个丢失的PDCP数据包的情况下,第一终端设备执行PDCP重排序功能,在第一终端设备接收到第一个丢失的PDCP数据包的情况下,第一终端设备停止PDCP重排序功能,即不执行PDCP重排序功能。在此种场景下,可将第一终端设备是否接收到该第一个丢失的PDCP数据包作为评判该数据是否为目标数据的依据,若第一PDCP数据包为该传输状态报告指示的第一个丢失的PDCP数据包,则第一PDCP数据包为目标PDCP数据包。具体实现中,第一PDCP数据包的序号等于该第一个丢失的PDCP数据包的序号表征第一PDCP数据包为该传输状态报告指示的第一个丢失的PDCP数据包。
具体实现中,第一终端设备的PDCP层在接收到第一PDCP数据包时,判断该第一PDCP数据包的序号是否等于第一个丢失的PDCP数据包的序号,若等于,则该第一PDCP数据包为目标PDCP数据包,第一终端设备停止PDCP重排序功能,进一步地,根据第一终端设备不执行PDCP重排序功能所对应的操作,第一终端设备递交计数值小于第一PDCP数据包的计数值的PDCP数据包,第一终端设备递交第二PDCP数据包。
作为一个可选的实施例,第一终端设备递交第二PDCP数据包之后,第一终端设备释放传输状态报告。
具体实现中,第一终端设备可通过清除有关传输状态报告的参数释放传输状态报告。在释放传输状态报告之后,第一终端设备不再判断该PDCP数据包的序号是否等于第一个丢失的PDCP数据包的序号。
需要说明的是,在第一终端设备向网络设备发送传输状态报告的情况下,该传输状态报告既可以用于指示第一个丢失的PDCP数据包的序列值,也可以用于指示第一个丢失的PDCP的计数值,其中,在该传输状态报告中携带第一个丢失的PDCP数据包的序列值的情况下,可根据第一个丢失的PDCP数据包的序列值得到该序列值对应的计数值,在该传输状态报告中携带第一个丢失的PDCP数据包的计数值的情况下,可根据第一个丢失的PDCP数据包的计数值得到该计数值对应的序列值;相应地,该传输状态报告中的传输映射指示既可以用于指示序列值,也可以用于指示第一计数值,其中,在该传输映射中携带第一序列值的情况下,可根据该第一序列值得到该第一序列值对应的第一计数值,在该传输状态报告中携带第一计数值的情况下,可根据该第一计数值得到该第一计数值对应的第 一序列值。
应当理解的是,根据PDU与SDU的定义,上述第一终端设备递交的PDCP数据包指PDCP SDU。根据上述几种场景可知,第一终端设备在接收并递交PDCP SDU时可遵循的如下几种规则中的其中一种规则。
第一种规则:若PDCP层接收到的PDCP SDU不是由于底层重建而接收到的或PDCP重排序指示为第一指示,则第一终端设备执行在不执行PDCP重排序的功能的情况下所述执行的操作;若PDCP层接收到的PDCP SDU是由于底层重建而接收到和/或PDCP重排序指示为第二指示,则第一终端设备执行在执行PDCP重排序的功能的情况下所述执行的操作,第一终端设备设置PDCP重排序指示为第一指示。
第二种规则:若PDCP层接收到的PDCP SDU不是由于底层重建而接收到的或PDCP重排序指示为第一指示,则第一终端设备执行在不执行PDCP重排序的功能的情况下所述执行的操作;若PDCP层接收到的PDCP SDU是由于底层重建而接收到和/或PDCP重排序指示为第二指示,则第一终端设备执行在执行PDCP重排序的功能的情况下所述执行的操作,若当前接收到的PDCP SDU的序号等于传输状态报告指示的第一个丢失的PDCP SDU的序号,第一终端设备设置PDCP重排序指示为第一指示。
第三种规则:若PDCP层接收到的PDCP SDU不是由于底层重建而接收到的或PDCP重排序指示为第一指示,则第一终端设备执行在不执行PDCP重排序的功能的情况下所述执行的操作;若PDCP层接收到的PDCP SDU是由于底层重建而接收到和/或PDCP重排序指示为第二指示,则第一终端设备执行在执行PDCP重排序的功能的情况下所述执行的操作,若最后递交的PDCP SDU的序列值不等于传输状态报告指示的第一个丢失的PDCP SDU的序列值减一或最后递交的PDCP SDU的序列值不等于传输状态报告指示的第一个丢失的PDCP SDU的序列值与PDCP最大序列值之和减一,第一终端设备设置PDCP重排序指示为第一指示。
第四种规则,若PDCP层接收到的PDCP SDU不是由于底层重建而接收到的或PDCP重排序指示为第一指示,则第一终端设备执行在不执行PDCP重排序的功能的情况下所述执行的操作;若PDCP层接收到的PDCP SDU是由于底层重建而接收到和/或PDCP重排序指示为第二指示,则第一终端设备执行在执行PDCP重排序的功能的情况下所述执行的操作,在传输映射指示中指示的第一序列值大于传输状态报告指示的第一个丢失的PDCP SDU的序列值情况下,若最后递交的PDCP SDU的序列值大于或等于第一序列值,或者最后递交的PDCP SDU的序列值小于所述第一个丢失的PDCP SDU的序列值,则所述第一终端设备设置所述PDCP重排序指示为第一指示;或者在第一序列值小于第一个丢失的PDCP SDU的序列值的情况下,若最后递交的PDCP SDU的序列值大于或等于第一序列值且最后递交的PDCP SDU的序列值小于第一个丢失的PDCP SDU的序列值,则第一终端设备设置PDCP重排序指示为第一指示。
第五种规则:若PDCP层接收到的PDCP SDU不是由于底层重建而接收到的或当前接收到的PDCP SDU的序号等于传输状态报告指示的第一个丢失的PDCP数据包的序号,则第一终端设备执行在不执行PDCP重排序的功能的情况下所述执行的操作,第一终端设备释放传输状态报告;若PDCP层接收到的PDCP SDU是由于底层重建而接收到的和/或当前 接收到的PDCP SDU不等于传输状态报告指示的第一个丢失的PDCP数据包的序号,第一终端设备执行在执行PDCP重排序的功能的情况下所述执行的操作。
在本申请实施例中,第一终端设备在接收到第二终端设备发送的路径切换指令后完成底层重建并接入网络设备,则第一终端设备接收数据的过程可分为底层重建之前,底层重建以及底层重建之后。下面举例对终端遵循上述几种规则接收并递交PDCP SDU的情况进行说明。参见图8-图9。假设第一终端设备的接收情况如图6所示,即在底层重建之后,第一终端设备在接收到序列值为9的PDCP SDU之后才接收到序列值为3的PDCP SDU。
第一终端设备遵循第一种规则至第四种规则中的任意一种规则接收并递交PDCP SDU的情况如图8所示。在第一种规则至第四种规则中的其中一种规则下,在底层重建之前,PDCP重排序指示为第一指示,第一终端设备执行RLC重排序功能,不执行PDCP重排序功能,第一终端设备递交数据的过程与图6相同;在底层重建过程中,PDCP重排序指示为第二指示,第一终端设备停止执行RLC重排序功能,执行PDCP重排序功能,第一终端设备递交数据的过程与图6相同;在底层重建结束后,PDCP重排序指示仍为第二指示,第一终端设备执行RLC重排序功能,执行PDCP重排序功能,由于序列值10不等于2+1,PDCP层不递交序列值为10的PDCP SDU,在序列值为3的PDCP SDU到来时,3等于2+1,PDCP层递交序列值为3,4,5的PDCP SDU。进一步地,第一终端设备在满足第一种规则至第四种规则中的将PDCP重排序指示设置为第一指示的条件下,将PDCP重排序指示设置为第一指示。
第一终端设备遵循第五种规则接收并递交PDCP SDU的情况如图9所示,在第五种规则下,在底层重建之前,第一终端设备还未向网络设备发送传输状态报告,由于不是底层重建过程,第一终端设备执行RLC重排序功能,不执行PDCP重排序功能,第一终端设备递交数据的过程与图6相同;在底层重建过程中,序列值为3的PDCP SDU为传输状态报告中指示的第一个丢失的PDCP SDU,序列值4,5,7,8均不等于3,第一终端设备执行RLC重排序功能,执行PDCP重排序功能,第一终端设备递交数据的过程与图6相同;在底层重建之后,传输状态报告中指示的第一个丢失的PDCP SDU的序列值为3,由于序列值10不等于3,第一终端设备不递交序列值为10的PDCP SDU,在序列值为3的PDCP SDU到来时,3等于3,第一终端设备递交序列值为3,4,5的PDCP SDU。递交结束后,第一终端设备释放传输状态报告。
结合图7-图9可知,在路径切换后,第一终端设备在确定接收到的第一PDCP数据包为网络设备根据传输状态报告而发送的目标PDCP数据包的情况下,才递交PDCP数据包,避免因为发生路径切换而出现丢包或乱序的问题;另外,网络设备在接收到传输状态报告后再向第一终端设备发送目标PDCP数据包,也可以避免因为发生路径切换而出现丢包或乱序的问题。
上述详细阐述了本申请的方法,下面提供了本申请的装置。
参见图10,图10是本申请实施例提供的第一终端设备、网络设备以及第二终端设备组成的系统的结构示意图,如图所示,第一终端设备20、网络设备30以及第二终端设备40两者之间互相存在通信连接,可实现三者的相互数据通信,其中,第一终端设备20用 于执行图7-图9对应的实施例中第一终端设备所执行的操作,网络设备30用于执行图7中对应的实施例中网络设备所执行的操作,第二终端设备40用于执行图7对应的实施例中第二终端设备所执行的操作。
如图10所示,第一终端设备20可包括:
处理单元210,用于从第二终端设备切换连接至网络设备;
所述接收单元220还用于接收所述网络设备发送的第一分组数据汇聚协议PDCP数据包;
若所述第一PDCP数据包为目标PDCP数据包,则所述处理单元210还用于递交第二PDCP数据包;
其中,所述目标PDCP数据包为所述网络设备根据传输状态报告发送的PDCP数据包,所述传输状态报告为所述第一终端设备或所述第二终端设备向所述网络设备发送的状态报告,用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况,所述第二PDCP数据包为以所述第一PDCP数据包的计数值为起始且计数值与所述第一PDCP数据包的计数值连续的PDCP数据包。
在可选实施方式中,所述第一终端设备还包括发送单元230,用于向网络设备发送所述传输状态报告。
在可选实施方式中,若所述第一PDCP数据包为最后递交的PDCP数据包的下一个PDCP数据包,则所述第一PDCP数据包为目标PDCP数据包;其中,所述最后递交的PDCP数据包为所述第一终端设备递交的PDCP数据包中递交时间最晚的PDCP数据包。
在可选实施方式中,若所述第一PDCP数据包为目标PDCP数据包,所述处理单元210还用于设置PDCP重排序指示为第一指示。
在可选实施方式中,若所述第一PDCP数据包为目标PDCP数据包,并且所述第一PDCP数据包的序号等于所述传输状态报告指示的第一个丢失的PDCP数据包的序号,所述处理单元210还用于设置所述PDCP重排序指示为第一指示。
在可选实施方式中,在传输映射指示中指示的第一序列值大于所述传输状态报告指示的第一个丢失的PDCP数据包的序列值的情况下,若所述第一PDCP数据包为目标PDCP数据包且所述最后递交的PDCP数据包的序列值大于或等于所述第一序列值,或者所述第一PDCP数据包为目标PDCP数据包且所述最后递交的PDCP数据包的序列值小于所述第一个丢失的PDCP数据包的序列值,所述处理单元210还用于设置所述PDCP重排序指示为第一指示;或者在所述第一序列值小于所述第一个丢失的PDCP数据包的序列值的情况下,若所述第一PDCP数据包为目标PDCP数据包,并且所述最后递交的PDCP数据包的序列值大于或等于第一序列值且最后递交的PDCP数据包的序列值小于所述第一个丢失的PDCP数据包的序列值,所述处理单元210还用于设置所述PDCP重排序指示为第一指示;所述第一序列值为所述传输状态报告指示的PDCP数据包对应的序列值。
在可选实施方式中,若所述PDCP重排序指示为第一指示,所述处理单元210还用于递交计数值小于所述第一PDCP数据包的计数值的PDCP数据包;递交所述第二PDCP数据包。
在可选实施方式中,若所述第一PDCP数据包为所述传输状态报告中指示的第一个丢失的PDCP数据包,则所述第一PDCP数据包为目标PDCP数据包;所述处理单元210还用于递交计数值小于所述第一PDCP数据包的计数值的PDCP数据包。
在可选实施方式中,所述处理单元210还用于:释放所述传输状态报告。
如图10所示,所述网络设备30可包括:
接收单元310,接收第一终端设备或第二终端设备发送的传输状态报告,所述传输状态报告用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况;
在所述第一终端设备从第二终端设备切换至所述网络设备后,所述发送单元310还用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
如图所示,所述第二终端设备40可包括:
发送单元410,用于向网络设备发送传输状态报告,所述传输状态报告用于反馈在第一终端设备切换连接至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况,所述传输状态报告被所述网络设备用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
在一种可能的实现方式中,图10中的第一终端设备的接收单元220、处理单元210以及发送单元230所实现的相关功能可以结合处理器与收发器来实现。参见图11,图11是本申请实施例提供的一种终端设备的可能的结构示意图,其中,该终端设备50包括处理器501、存储器502、收发器503,所述处理器501、所述存储器502、所述收发器503通过一个或多个通信总线连接。处理器501被配置为支持所述终端设备执行图7所述方法中第一终端设备的功能。该处理器501可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP),硬件芯片或者其任意组合。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
存储器502用于存储程序代码等。存储器502可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);存储器502也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器502还可以包括上述种类的存储器的组合。
收发器503用于接收和发送数据,例如,接收网络设备发送的第一PDCP数据包。
处理器501可以调用所述程序代码执行以下操作:
从所述第二终端设备切换至网络设备;
通过所述收发器503接收所述网络设备发送的第一分组数据汇聚协议PDCP数据包;
若所述第一PDCP数据包为目标PDCP数据包,则递交第二PDCP数据包;
其中,所述目标PDCP数据包为所述网络设备根据传输状态报告发送的PDCP数据包,所述传输状态报告为所述终端设备或所述第二终端设备向所述网络设备发送的状态报告, 用于反馈在所述终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述终端设备发送的数据的接收情况,所述第二PDCP数据包为以所述第一PDCP数据包的计数值为起始且计数值与所述第一PDCP数据包的计数值连续的PDCP数据包。
进一步地,处理器501还可以与收发器503相配合,执行本申请图7至图9所示实施例中第一终端设备的操作,具体可参见方法实施例中的描述,在此不再赘述。
在一种可能的实现方式中,图10中的网络设备的接收单元310所实现的相关功能可以结合处理器与收发器来实现。参见图12,图12是本申请提供的一种网络设备的可能的结构示意图,其中,该网络设备60包括处理器601、存储器602、收发器603,所述处理器601、所述存储器602、所述收发器603通过一个或多个通信总线连接。
处理器601被配置为支持所述网络设备执行图7所述方法中网络设备的功能。该处理器601可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP),硬件芯片或者其任意组合。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
存储器602用于存储程序代码等。存储器602可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);存储器602也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器602还可以包括上述种类的存储器的组合。
收发器603用于接收和发送数据,例如收发器603用于发送路径切换指令,接收传输状态报告,等等。
处理器601可以调用所述程序代码执行以下操作:
通过所述收发器603接收第一终端设备或第二终端设备发送的传输状态报告,所述传输状态报告用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况;
在所述第一终端设备从第二终端设备切换至所述网络设备后,通过所述收发器603根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
进一步地,处理器601还可以与收发器603相配合,执行本申请图7所示实施例中网络设备的操作,具体可参见方法实施例中的描述,在此不再赘述。
在一种可能的实现方式中,图10中的第二终端设备的发送单元410所实现的相关功能可以结合处理器与收发器来实现。参见图13,图13是本申请实施例提供的一种终端设备的可能的结构示意图,其中,该终端设备70包括处理器701、存储器702、收发器703,所述处理器701、所述存储器702、所述收发器703通过一个或多个通信总线连接。处理器701被配置为支持所述终端设备执行图7所述方法中第二终端设备的功能。该处理器701可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP),硬件芯片或者其任意组合。上述硬件芯片可以是专用集成电路(application-specific integrated  circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
存储器702用于存储程序代码等。存储器702可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);存储器702也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器702还可以包括上述种类的存储器的组合。
收发器703用于接收和发送数据,例如,收发器用于发送路径切换指令,发送传输状态报告,等等。
处理器701可以调用所述程序代码执行以下操作:
通过所述收发器703向网络设备发送传输状态报告,所述传输状态报告用于反馈在第一终端设备切换至所述网络设备之前所述网络设备通过所述终端设备向所述第一终端设备发送的数据的接收情况,所述传输状态报告被所述网络设备用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
进一步地,处理器701还可以与收发器703相配合,执行本申请图7所示实施例中第二终端设备的操作,具体可参见方法实施例中的描述,在此不再赘述。
本申请实施例还提供一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被计算机执行时使所述计算机执行如图7对应的实施例所述的方法,所述计算机可以为上述提到的第一终端设备、网络设备或第二终端设备的一部分。
本申请实施例还提供一种计算机程序,包括程序指令,所述程序指令当被计算机执行时用于执行如7对应的实施例所述的方法,所述计算机程序可以为上述提到的存储器502、存储器602或存储器702存储的程序中的一部分。
本领域普通技术人员可以意识到,结合本申请中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (25)

  1. 一种数据传输的方法,其特征在于,包括:
    第一终端设备从第二终端设备切换至网络设备;
    所述第一终端设备接收所述网络设备发送的第一分组数据汇聚协议PDCP据包;
    若所述第一PDCP数据包为目标PDCP数据包,则所述第一终端设备递交第二PDCP数据包;
    其中,所述目标PDCP数据包为所述网络设备根据传输状态报告发送的PDCP数据包,所述传输状态报告为所述第一终端设备或所述第二终端设备向所述网络设备发送的状态报告,用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况,所述第二PDCP数据包为以所述第一PDCP数据包的计数值为起始且计数值与所述第一PDCP数据包的计数值连续的PDCP数据包。
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端设备从所述第二终端设备切换至网络设备之后还包括:
    所述第一终端设备向所述网络设备发送所述传输状态报告。
  3. 根据权利要求1或2所述的方法,其特征在于,若所述第一PDCP数据包为最后递交的PDCP数据包的下一个PDCP数据包,则所述第一PDCP数据包为目标PDCP数据包;
    其中,所述最后递交的PDCP数据包为所述第一终端设备递交的PDCP数据包中递交时间最晚的PDCP数据包。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    若所述第一PDCP数据包为目标PDCP数据包,则所述第一终端设备设置PDCP重排序指示为第一指示。
  5. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    若所述第一PDCP数据包为目标PDCP数据包,并且所述第一PDCP数据包的序号等于所述传输状态报告指示的第一个丢失的PDCP数据包的序号,则所述第一终端设备设置PDCP重排序指示为第一指示。
  6. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    在传输映射指示中指示的第一序列值大于所述传输状态报告指示的第一个丢失的PDCP数据包的序列值情况下,若所述第一PDCP数据包为目标PDCP数据包且所述最后递交的PDCP数据包的序列值大于或等于所述第一序列值,或者所述第一PDCP数据包为目标PDCP数据包且所述最后递交的PDCP数据包的序列值小于所述第一个丢失的PDCP数据包的序列值,则所述第一终端设备设置所述PDCP重排序指示为第一指示;或者
    在所述第一序列值小于所述第一个丢失的PDCP数据包的序列值的情况下,若所述第一PDCP数据包为目标PDCP数据包,并且所述最后递交的PDCP数据包的序列值大于或等于第一序列值且所述最后递交的PDCP数据包的序列值小于所述第一个丢失的PDCP数据包的序列值,则所述第一终端设备设置所述PDCP重排序指示为第一指示;
    所述第一序列值为所述传输状态报告指示的PDCP数据包对应的序列值。
  7. 根据权利要求4-6任一项所述的方法,其特征在于,所述方法还包括:
    若所述PDCP重排序指示为第一指示,则所述第一终端设备递交计数值小于所述第一PDCP数据包的计数值的PDCP数据包;
    所述第一终端设备递交所述第二PDCP数据包。
  8. 根据权利要求2所述的方法,其特征在于,若所述第一PDCP数据包为所述传输状态报告中指示的第一个丢失的PDCP数据包,则所述第一PDCP数据包为目标PDCP数据包;
    所述第一终端设备递交第二PDCP数据包之前还包括:
    所述第一终端设备递交计数值小于所述第一PDCP数据包的计数值的PDCP数据包。
  9. 根据权利要求8所述的方法,其特征在于,所述第一终端设备递交第二PDCP数据包之后还包括:
    所述第一终端设备释放所述传输状态报告。
  10. 一种数据传输的方法,其特征在于,包括:
    网络设备接收第一终端设备或第二终端设备发送的传输状态报告,所述传输状态报告用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况;
    在所述第一终端设备从所述第二设备切换至所述网络设备后,所述网络设备根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
  11. 一种数据传输的方法,其特征在于,包括:
    第二终端设备向网络设备发送传输状态报告,所述传输状态报告用于反馈在第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况,所述传输状态报告被所述网络设备用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
  12. 一种终端设备,其特征在于,包括:处理器、存储器和收发器,所述处理器、存储器和收发器相互连接,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,执行以下操作:
    从第二终端设备切换至网络设备;
    通过所述收发器接收所述网络设备发送的第一分组数据汇聚协议PDCP数据包;
    若所述第一PDCP数据包为目标PDCP数据包,则递交第二PDCP数据包;
    其中,所述目标PDCP数据包为所述网络设备根据传输状态报告发送的PDCP数据包,所述传输状态报告为所述终端设备或所述第二终端设备向所述网络设备发送的状态报告,用于反馈在所述终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述终端设备发送的数据的接收情况,所述第二PDCP数据包为以所述第一PDCP数据包的计数值为起始且计数值与所述第一PDCP数据包的计数值连续的PDCP数据包。
  13. 根据权利要求12所述的终端设备,其特征在于,所述处理器还用于执行以下操作:
    通过所述收发器向所述网络设备发送所述传输状态报告。
  14. 根据权利要求12或13所述的终端设备,其特征在于,若所述第一PDCP数据包为最后递交的PDCP数据包的下一个PDCP数据包,则所述第一PDCP数据包为目标PDCP 数据包;
    其中,所述最后递交的PDCP数据包为所述第一终端设备递交的PDCP数据包中递交时间最晚的PDCP数据包。
  15. 根据权利要求14所述的终端设备,其特征在于,所述处理器还用于执行以下操作:
    若所述第一PDCP数据包为目标PDCP数据包,则设置PDCP重排序指示为第一指示。
  16. 根据权利要求14所述的终端设备,其特征在于,所述处理器还用于以下操作:
    若所述第一PDCP数据包为目标PDCP数据包,并且所述第一PDCP数据包的序号等于所述传输状态报告指示的第一个丢失的PDCP数据包的序号,则设置PDCP重排序指示为第一指示。
  17. 根据权利要求14所述的第一终端设备,其特征在于,所述处理器还用于执行以下操作:
    在传输映射指示中指示的第一序列值大于所述传输状态报告指示的第一个丢失的PDCP数据包的序列值的情况下,若所述第一PDCP数据包为目标PDCP数据包且所述最后递交的PDCP数据包的序列值大于或等于所述第一序列值,或者所述第一PDCP数据包为目标PDCP数据包且所述最后递交的PDCP数据包的序列值小于所述第一个丢失的PDCP数据包的序列值,则设置所述PDCP重排序指示为第一指示;或者
    在所述第一序列值小于所述第一个丢失的PDCP数据包的序列值的情况下,若所述第一PDCP数据包为目标PDCP数据包,并且所述最后递交的PDCP数据包的序列值大于或等于第一序列值且最后递交的PDCP数据包的序列值小于所述第一个丢失的PDCP数据包的序列值,则设置所述PDCP重排序指示为第一指示;
    所述第一序列值为所述传输状态报告指示的PDCP数据包对应的序列值。
  18. 根据权利要求15-17任一项所述的终端设备,其特征在于,所述处理器还用于执行以下操作:
    若所述PDCP重排序指示为第一指示,则递交计数值小于所述第一PDCP数据包的计数值的PDCP数据包,递交所述第二PDCP数据包。
  19. 根据权利要求13所述的终端设备,其特征在于,若所述第一PDCP数据包为所述传输状态报告中指示的第一个丢失的PDCP数据包,则所述第一PDCP数据包为目标PDCP数据包;
    所述处理器还用于执行以下操作:
    递交计数值小于所述第一PDCP数据包的计数值的PDCP数据包。
  20. 根据权利要求19所述的终端设备,其特征在于,所述处理器还用于执行以下操作:
    释放所述传输状态报告。
  21. 一种网络设备,其特征在于,包括:处理器、存储器和收发器,所述处理器、存储器和收发器相互连接,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,执行以下操作:
    通过所述收发器接收第一终端设备或第二终端设备发送的传输状态报告,所述传输状态报告用于反馈在所述第一终端设备切换至所述网络设备之前所述网络设备通过所述第二终端设备向所述第一终端设备发送的数据的接收情况;
    在所述第一终端设备从第二终端设备切换至所述网络设备后,通过所述收发器根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
  22. 一种终端设备,其特征在于,包括:处理器、存储器和收发器,所述处理器、存储器和收发器相互连接,其中,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码,执行以下操作:
    通过所述收发器向网络设备发送传输状态报告,所述传输状态报告用于反馈在第一终端设备切换至所述网络设备之前所述网络设备通过所述终端设备向所述第一终端设备发送的数据的接收情况,所述传输状态报告被所述网络设备用于根据所述传输状态报告向所述第一终端设备发送目标PDCP数据包。
  23. 一种存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被计算机执行时使所述计算机执行如权利要求1-9任一项所述的方法。
  24. 一种存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被计算机执行时使所述计算机执行如权利要求10所述的方法。
  25. 一种存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被计算机执行时使所述计算机执行如权利要求11所述的方法。
PCT/CN2017/097240 2017-08-11 2017-08-11 数据传输的方法及相关设备 WO2019028893A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP17920715.4A EP3644665A4 (en) 2017-08-11 2017-08-11 DATA TRANSFER METHOD AND RELATED DEVICE
US16/634,930 US11147002B2 (en) 2017-08-11 2017-08-11 Data transmission method and related device
PCT/CN2017/097240 WO2019028893A1 (zh) 2017-08-11 2017-08-11 数据传输的方法及相关设备
CN201780093833.9A CN110999441B (zh) 2017-08-11 2017-08-11 数据传输的方法及相关设备
US17/471,566 US20220070748A1 (en) 2017-08-11 2021-09-10 Data transmission method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/097240 WO2019028893A1 (zh) 2017-08-11 2017-08-11 数据传输的方法及相关设备

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US16/634,930 A-371-Of-International US11147002B2 (en) 2017-08-11 2017-08-11 Data transmission method and related device
US17/471,566 Continuation US20220070748A1 (en) 2017-08-11 2021-09-10 Data transmission method and related device

Publications (1)

Publication Number Publication Date
WO2019028893A1 true WO2019028893A1 (zh) 2019-02-14

Family

ID=65272890

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/097240 WO2019028893A1 (zh) 2017-08-11 2017-08-11 数据传输的方法及相关设备

Country Status (4)

Country Link
US (2) US11147002B2 (zh)
EP (1) EP3644665A4 (zh)
CN (1) CN110999441B (zh)
WO (1) WO2019028893A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021155673A1 (zh) * 2020-02-07 2021-08-12 Oppo广东移动通信有限公司 通信方式切换方法、装置及其设备
WO2022222783A1 (zh) * 2021-04-23 2022-10-27 华为技术有限公司 数据传输方法及装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3644665A4 (en) * 2017-08-11 2020-07-01 Huawei Technologies Co., Ltd. DATA TRANSFER METHOD AND RELATED DEVICE
US11025549B2 (en) * 2018-01-30 2021-06-01 Marvell Israel (M.I.S.L) Ltd. Systems and methods for stateful packet processing
WO2019245442A1 (en) * 2018-06-21 2019-12-26 Telefonaktiebolaget Lm Ericsson (Publ) Preventing/mitigating packet loss in integrated access backhaul (iab) networks
CN110839267B (zh) 2018-08-17 2022-01-28 维沃移动通信有限公司 服务节点更新方法、终端设备和网络侧设备
CN112655245A (zh) * 2018-09-19 2021-04-13 Oppo广东移动通信有限公司 一种数据传输方法、设备及存储介质
CN112203362A (zh) 2019-07-08 2021-01-08 联发科技(新加坡)私人有限公司 减少移动中断的方法和用户设备
CN117528639A (zh) * 2022-07-30 2024-02-06 华为技术有限公司 一种通信方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997660A (zh) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 一种避免上行数据丢失的方法及装置
CN103249095A (zh) * 2012-02-08 2013-08-14 华为技术有限公司 数据发送、接收方法、用户设备、基站及网关
CN103813454A (zh) * 2012-11-15 2014-05-21 上海贝尔股份有限公司 进行设备至设备通信的方法以及相应的控制方法
US20160044737A1 (en) * 2014-08-08 2016-02-11 Innovative Technology Lab Co., Ltd. Method and apparatus for operating buffer state report in wireless communication system supporting device to device communication

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080019515A1 (en) * 2006-06-22 2008-01-24 Li-Chih Tseng Method and apparatus for security sequence numbering in a wireless communication system
EP2443904A1 (en) * 2009-06-19 2012-04-25 Research In Motion Limited Mechanisms for data handling during a relay handover with s1 termination at relay
CN103037450B (zh) 2011-09-29 2017-01-25 华为技术有限公司 一种通信模式切换的方法和装置
US10212728B2 (en) * 2014-03-02 2019-02-19 Lg Electronics Inc. Method for reordering a packet data convergence protocol packet data unit at a user equipment in a dual connectivity system and device therefor
CN108601025B (zh) * 2014-03-21 2019-04-23 华为技术有限公司 检测中间人攻击的方法与装置
CN107667559B (zh) * 2015-04-03 2021-08-27 三星电子株式会社 在无线通信系统中使用不同的无线连接技术提供多连接的装置和方法
US10462723B2 (en) * 2015-05-29 2019-10-29 Intel IP Corporation Seamless mobility for 5G and LTE systems and devices
CN113423124B (zh) * 2016-04-01 2023-10-13 北京三星通信技术研究有限公司 一种支持无缝切换的方法及基站设备
WO2018031020A1 (en) * 2016-08-11 2018-02-15 Nokia Technologies Oy Packet data convergence protocol (pdcp) protocol data unit (pdu) handling for mobility between new radio access technology and long term evolution
US10757754B2 (en) * 2016-10-27 2020-08-25 Qualcomm Incorporated Techniques for securing PDCP control PDU
EP3644665A4 (en) * 2017-08-11 2020-07-01 Huawei Technologies Co., Ltd. DATA TRANSFER METHOD AND RELATED DEVICE
CN113286336B (zh) * 2017-11-16 2022-09-16 华为技术有限公司 数据处理方法、装置以及计算机存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997660A (zh) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 一种避免上行数据丢失的方法及装置
CN103249095A (zh) * 2012-02-08 2013-08-14 华为技术有限公司 数据发送、接收方法、用户设备、基站及网关
CN103813454A (zh) * 2012-11-15 2014-05-21 上海贝尔股份有限公司 进行设备至设备通信的方法以及相应的控制方法
US20160044737A1 (en) * 2014-08-08 2016-02-11 Innovative Technology Lab Co., Ltd. Method and apparatus for operating buffer state report in wireless communication system supporting device to device communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3644665A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021155673A1 (zh) * 2020-02-07 2021-08-12 Oppo广东移动通信有限公司 通信方式切换方法、装置及其设备
EP4087285A4 (en) * 2020-02-07 2023-06-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Communication mode switching method, and apparatus and device
WO2022222783A1 (zh) * 2021-04-23 2022-10-27 华为技术有限公司 数据传输方法及装置

Also Published As

Publication number Publication date
EP3644665A4 (en) 2020-07-01
US11147002B2 (en) 2021-10-12
US20210099930A1 (en) 2021-04-01
CN110999441B (zh) 2022-09-23
US20220070748A1 (en) 2022-03-03
CN110999441A (zh) 2020-04-10
EP3644665A1 (en) 2020-04-29

Similar Documents

Publication Publication Date Title
WO2019028893A1 (zh) 数据传输的方法及相关设备
EP3614736B1 (en) Handover control method and apparatus
US10986549B2 (en) Handover method and device
US11917450B2 (en) Data transmission method and data transmission apparatus
AU2017389025B2 (en) Method for reporting multi-connection transmission capability, method for configuring multi-connection transmission mode, method for preventing retransmission of data, UE and base station
WO2018228126A1 (zh) 一种基于dc的切换方法及设备
EP3820189A1 (en) Communication method and communication device
AU2017424739B2 (en) Switching method, access network device and terminal device
WO2019059836A1 (en) METHODS AND UNITS IN A NETWORK NODE FOR PROCESSING COMMUNICATION WITH A WIRELESS DEVICE
TWI677255B (zh) 處理用於無線承載的承載型態改變的裝置及方法
CN108282292B (zh) 用于处理数据的方法、发送端和接收端
US9357580B2 (en) Method for switching communication connection mode, communication system, base station, transmitter and receiver
WO2020088472A1 (zh) 通信方法及装置
TW201911824A (zh) 處理承載型態改變的裝置及方法
WO2015113296A1 (zh) 双连接模式下的状态反馈方法及设备
TW201911947A (zh) 處理一交遞的裝置及方法
WO2020258018A1 (zh) 一种数据包处理方法、设备及存储介质
WO2019192452A1 (zh) 一种信息传输方法、装置及可读存储介质
WO2023005919A1 (zh) 分组数据汇聚协议状态报告发送方法、设备及装置
WO2023010278A1 (zh) 无线通信方法及装置
TWI540926B (zh) 切換通訊連線模式的方法、通訊系統、基地台、傳送端及接收端
CN112470527A (zh) 一种数据传输方法及装置
WO2019047912A1 (zh) 处理数据的方法和设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17920715

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017920715

Country of ref document: EP

Effective date: 20200122

NENP Non-entry into the national phase

Ref country code: DE