WO2018152751A1 - Method for configuring pdcp entity, receiving device and sending device - Google Patents

Method for configuring pdcp entity, receiving device and sending device Download PDF

Info

Publication number
WO2018152751A1
WO2018152751A1 PCT/CN2017/074594 CN2017074594W WO2018152751A1 WO 2018152751 A1 WO2018152751 A1 WO 2018152751A1 CN 2017074594 W CN2017074594 W CN 2017074594W WO 2018152751 A1 WO2018152751 A1 WO 2018152751A1
Authority
WO
WIPO (PCT)
Prior art keywords
receiving
sending
pdu
pdcp entity
length
Prior art date
Application number
PCT/CN2017/074594
Other languages
French (fr)
Chinese (zh)
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 PCT/CN2017/074594 priority Critical patent/WO2018152751A1/en
Priority to CN201780054214.9A priority patent/CN109661835B/en
Publication of WO2018152751A1 publication Critical patent/WO2018152751A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements

Definitions

  • the embodiments of the present application relate to the field of wireless communications, and, more particularly, to a method, a receiving apparatus, and a transmitting apparatus for configuring a packet data convergence protocol PDCP entity.
  • the header of a Protocol Data Unit is mainly composed of a header.
  • the sequence number (SN) is used to indicate a specific PDU sequence to the peer PDCP entity, so as to ensure that the PDUs can be delivered in the order of receipt when submitted to the upper layer.
  • SN mainly supports 7bits, 12bits, 15bits, 16bits, 18bits and other length configurations. SNs of different lengths can be used to indicate packets of different traffic sizes. The longer the length of the SN, the more PDUs can be indicated, but the corresponding overhead is greater. For example, the 7-bit SN can theoretically support simultaneous indication of 128 PDUs.
  • the length of the SN may change. If the PDCP entity cannot identify the SN after the length change, the packet loss may occur. .
  • a terminal switches between a legacy base station (eNodeB) and a base station supporting carrier aggregation ("CAR")
  • the terminal since the SN of the legacy base station is only 12 bits, and the SN of the base station supporting the CA has 15 bits, the terminal is in two.
  • the SN changes from short to long or SN from long to short. If the PDCP entity of the terminal has been reconfigured when the PDU that has been generated by the original base station is sent to the terminal, the PCDP protocol layer of the terminal will not be supported, and the generated PDUs will be discarded.
  • the PDCP entity of the terminal When the terminal device performs the handover between the original base station and the target base station in the LTE system, the PDCP entity of the terminal immediately reconfigures after receiving the handover to receive the PDU transmitted by the target base station according to the SN length of the target base station, and the original base station A PDU that has been generated according to the SN of the original base station is not retransmitted in the newly configured PDCP entity, so that the problem of handover loss occurs.
  • the PDCP entity of the same base station needs to be reconfigured, if the length of the SN is shortened from long to long, the PDCP entity of the terminal is reconfigured.
  • the PDU transmitted by the base station using the original SN length cannot be identified, so packet loss also occurs in this case.
  • the embodiment of the present application provides a method, a receiving device, and a sending device for configuring a packet data convergence protocol (PDCP) entity, which avoids packet loss during PDCP entity reconfiguration.
  • PDCP packet data convergence protocol
  • a first aspect provides a method for configuring a packet data convergence protocol (PDCP) entity, including:
  • the receiving end receives the sequence number SN indication information sent by the first sending end, where the SN indication information is used to indicate the SN of the last data protocol unit PDU sent by the first sending end to the receiving end by using the first SN length;
  • the receiving end reconfigures the PDCP entity of the receiving end when the PDU that carries the SN is received, so that the receiving end can receive the first sending end by using the reconfigured PDCP entity.
  • the method for configuring a PDCP entity in the embodiment of the present application receives the SN of the last PDU sent by the sender using the first SN length, and reconfigures the PDCP entity at the receiving end when receiving the PDU carrying the SN. , avoiding packet loss during PDCP entity reconfiguration.
  • the method before the receiving end receives the SN indication information sent by the first sending end, the method further includes: the receiving end switches from the first sending end To the second sending end, the SN length of the first transmitting end for transmitting the PDU is the first SN length, and the SN length used by the second sending end to send the PDU is the second SN length;
  • the PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the second sending end by using the second SN length.
  • the first sending end before the receiving end receives the SN indication information sent by the first sending end, the first sending end has performed heavy on the PDCP entity of the first sending end. So that the first sending end can use the second PDCP entity of the first sending end by reconfiguring the first PDU after sending the last PDU to the receiving end by using the first SN length.
  • the SN length sends a PDU to the receiving end, where the reconfigured PDCP entity of the receiving end is configured to receive, by the first sending end, the second SN length to send PDU.
  • the PDCP entity of the receiving end is a data PDCP entity of the receiving end, where the receiving end determines that the PDU carrying the SN is received,
  • the reconfiguration of the PDCP entity at the receiving end includes: when the receiving end determines that the PDU carrying the SN is received, the receiving end reconfigures the data PDCP entity of the receiving end by calling the controlling PDCP entity of the receiving end.
  • the method further includes: the receiving end sending a reconfiguration complete message to the first sending end.
  • the receiving end is a terminal device
  • the first sending end is a network device
  • the receiving end is a network device
  • the first sending end is a terminal device
  • a second aspect provides a method for configuring a packet data convergence protocol (PDCP) entity, including:
  • the first sending end sends the sequence number SN indication information to the receiving end, where the SN indication information is used to indicate that the first sending end uses the first SN length to send the SN of the last PDU to the receiving end, so that the The receiving end reconfigures the PDCP entity of the receiving end when determining that the PDU carrying the SN is received.
  • the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, so that the receiving end receives the PDU carrying the SN.
  • the PDCP entity at the receiving end performs reconfiguration to avoid packet loss during PDCP entity reconfiguration.
  • the method before the first sending end sends the sequence number SN indication information to the receiving end, the method further includes: the first sending end is configured by the first sending end The PDCP entity performs reconfiguration, so that the first sending end can use the reconfigured PDCP entity of the first sending end after sending the last PDU to the receiving end by using the first SN length.
  • the second SN length sends a PDU to the receiving end, where the reconfigured PDCP entity of the receiving end is configured to receive the PDU sent by the first sending end by using the second SN length.
  • the receiving end before the first sending end sends the SN indication information to the receiving end, the receiving end has switched from the first sending end to the second sending end.
  • the SN length of the first sending end used to send the PDU is the first SN length, where the The length of the SN used by the second transmitting end to send the PDU is the length of the second SN.
  • the PDCP entity of the receiving end that is reconfigured is configured to receive the PDU sent by the second sending end by using the second SN length.
  • the PDCP entity at the receiving end is a data PDCP entity of the receiving end, and the receiving end receives the PDU when carrying the SN by calling the The controlling PDCP entity at the receiving end reconfigures the data PDCP entity of the receiving end.
  • the method further includes: receiving, by the first sending end, a reconfiguration complete message sent by the receiving end.
  • the receiving end is a terminal device
  • the first sending end is a network device
  • the receiving end is a network device
  • the first sending end is a terminal device. device.
  • a receiving device which can perform the operations of the receiving end in the first aspect or any alternative implementation of the first aspect.
  • the receiving means may comprise a modular unit for performing the operations of the receiving end in the first aspect or any of the possible implementations of the first aspect.
  • a transmitting apparatus which can perform the operations of the transmitting end in any of the optional implementations of the second aspect or the second aspect described above.
  • the transmitting means may comprise a modular unit for performing the operations of the transmitting end in any of the possible implementations of the second aspect or the second aspect described above.
  • a receiving device comprising: a processor, a transceiver, and a memory.
  • the processor, the transceiver, and the memory communicate with each other through an internal connection path.
  • the memory is for storing instructions for executing instructions stored by the memory.
  • the processor executes the instructions stored by the memory, the executing causes the receiving device to perform the method of the first aspect or any possible implementation of the first aspect, or the performing causes the receiving device to implement the receiving provided by the third aspect Device.
  • a transmitting apparatus comprising: a processor, a transceiver, and a memory.
  • the processor, the transceiver, and the memory communicate with each other through an internal connection path.
  • the memory is for storing instructions for executing instructions stored by the memory.
  • the processor executes the instruction stored by the memory, the executing causes the transmitting device to perform the method in any of the possible implementations of the second aspect or the second aspect, or the performing causes the transmitting device to implement the fourth The transmitting device provided by the aspect.
  • a computer readable storage medium storing a program causing a receiving device to perform the first aspect described above, and configuring the PDCP in any of the various implementations thereof The method of the entity.
  • a computer readable storage medium storing a program causing a transmitting device to perform the second aspect described above, and configuring the PDCP in any of the various implementations thereof The method of the entity.
  • a system chip includes an input interface, an output interface, a processor, and a memory, where the weapon is used to execute an instruction stored by the memory, and when the instruction is executed, the processor can implement Any of the foregoing first aspects and various implementations thereof.
  • a system chip includes an input interface, an output interface, a processor, and a memory, where the edge device is configured to execute an instruction stored by the memory, and when the instruction is executed, the processor can implement Any of the foregoing second aspects and various implementations thereof.
  • a method for configuring a packet data convergence protocol PDCP entity including:
  • the receiving end receives the sequence number SN indication information and the triggering instruction sent by the sending end, where the SN indication information is used to indicate the SN of the last data protocol unit PDU sent by the first sending end to the receiving end by using the first SN length.
  • the triggering instruction is used to instruct the receiving end to start a reconfiguration timer;
  • the receiving end starts the reconfiguration timer according to the triggering instruction, and determines, according to the SN indication information, whether a PDU carrying the SN is received before the reconfiguration timer expires;
  • the receiving end If the receiving end receives the PDU carrying the SN before the reconfiguration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN, or
  • the receiving end If the receiving end does not receive the PDU carrying the SN before the reconfiguration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when the reconfiguration timer expires. And the PDU that is sent by the first sending end by using the second SN length or the PDU sent by the second sending end by using the second SN length, by the PDCP entity that enables the receiving end to be reconfigured.
  • the receiving end receives the transmitting end by receiving Using the SN of the last PDU sent by the first SN length, and starting the reconfiguration timer, so that the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN or the timer expires, thereby receiving
  • the transmitting end or the other sending end uses the PDU sent by the second SN length, which reduces the packet loss during the reconfiguration process of the PDCP entity by the receiving end, and prevents the receiving end from causing the receiving end to use the PDU sent by the first SN length.
  • the delay is too long, so that the receiving end can receive as much as possible the generated PDU sent by the sending end using the first SN length within the preset duration of the configuration timer.
  • the method before the receiving end receives the SN indication information and the triggering instruction sent by the first sending end, the method further includes:
  • the receiving end is switched from the first sending end to the second sending end, the SN length of the first sending end for transmitting the PDU is the first SN length, and the second sending end is used for sending The SN length of the PDU is the second SN length;
  • the PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the second sending end by using the second SN length.
  • the first sending end before the receiving end receives the serial number SN indication information and the triggering instruction sent by the first sending end, the first sending end sends the first sending
  • the PDCP entity of the terminal has been reconfigured to enable the first transmitting end to pass the reconfigured PDCP entity of the first transmitting end after transmitting the last PDU to the receiving end by using the first SN length. Transmitting, by using the second SN length, the PDU to the receiving end;
  • the PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the first sending end by using the second SN length.
  • the method before the receiving end receives the SN indication information and the triggering instruction sent by the sending end, the method further includes: the receiving end receiving the first sending The high layer signaling sent by the terminal, where the high layer signaling includes information of a preset duration of the reconfiguration timer.
  • the PDCP entity of the receiving end is a data PDCP entity of the receiving end, where the receiving end reconfigures the PDCP entity of the receiving end, including: The receiving end reconfigures the data PDCP entity of the receiving end by calling a control PDCP entity of the receiving end.
  • the method further includes: a reconfiguration complete message sent by the receiving end to the first sending end.
  • the receiving end is a terminal device
  • the first sending end is a network device
  • the receiving end is a network device
  • the first sending end is Terminal Equipment
  • a twelfth aspect provides a method for configuring a packet data convergence protocol (PDCP) entity, including:
  • the first sending end sends the sequence number SN indication information and the triggering instruction to the receiving end, where the SN indication information is used to indicate that the first sending end sends the last data protocol unit PDU to the receiving end by using the first SN length.
  • the SN, the triggering instruction is used to instruct the receiving end to start a reconfiguration timer, so that the receiving end receives the PDU carrying the SN or when the reconfiguration timer expires
  • the PDCP entity is reconfigured.
  • the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, and instructs the receiving end to start the reconfiguration timer, so that the receiving end is receiving.
  • the PDCP entity at the receiving end is reconfigured to receive the PDU sent by the sending end or other transmitting end using the second SN length, thereby reducing the reconfiguration of the PDCP entity by the receiving end.
  • the packet loss in the process is prevented, and the delay caused by the receiving end to receive the PDU sent by the first SN is too long, so that the receiving end can receive and send as much as possible within the preset duration of the configuration timer.
  • the generated PDU transmitted by the terminal using the first SN length is not limited to the packet loss in the process.
  • the method before the first sending end sends the sequence number SN indication information and the triggering instruction to the receiving end, the method further includes: the first sending end pair The PDCP entity of the first sending end performs reconfiguration, so that the first sending end can pass the first of the reconfiguration after sending the last PDU to the receiving end by using the first SN length.
  • the PDCP entity at the transmitting end sends the PDU to the receiving end by using the second SN length;
  • the PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the first sending end by using the second SN length.
  • the receiving end before the first sending end sends the sequence number SN indication information and the triggering instruction to the receiving end, the receiving end has switched from the first sending end.
  • the SN length of the first transmitting end for transmitting the PDU is the first SN length
  • the SN length used by the second sending end to send the PDU is the second SN length
  • the PDCP entity of the receiving end that is reconfigured is configured to receive the second sending end A PDU transmitted with the second SN length.
  • the method further includes: the first sending end is to the The receiving end sends high layer signaling, where the high layer signaling includes information of a preset duration of the reconfiguration timer.
  • the PDCP entity at the receiving end is a data PDCP entity of the receiving end, and the receiving end receives the PDU carrying the SN or the reconfiguration When the timer expires, the data PDCP entity of the receiving end is reconfigured by calling the controlling PDCP entity of the receiving end.
  • the method further includes: the first sending end receiving the reconfiguration complete message sent by the receiving end.
  • the receiving end is a terminal device
  • the first sending end is a network device
  • the receiving end is a network device
  • the first sending end is Terminal Equipment
  • a receiving apparatus which can perform the operation of the receiving end in any of the optional implementations of the eleventh or eleventh aspect.
  • the receiving means may comprise a modular unit for performing the operation of the receiving end in any of the possible implementations of the eleventh or eleventh aspect described above.
  • a transmitting apparatus which can perform the operation of the transmitting end in any of the optional implementations of the twelfth aspect or the twelfth aspect.
  • the transmitting means may comprise a modular unit for performing the operations of the transmitting end in any of the possible implementations of the twelfth aspect or the twelfth aspect.
  • a receiving device comprising: a processor, a transceiver, and a memory.
  • the processor, the transceiver, and the memory communicate with each other through an internal connection path.
  • the memory is for storing instructions for executing instructions stored by the memory.
  • the processor executes the instruction stored by the memory, the executing causes the receiving device to perform the method in any of the possible implementations of the eleventh or eleventh aspect, or the execution causes the receiving device to implement the thirteenth aspect Receiver provided.
  • a transmitting apparatus comprising: a processor, a transceiver, and a memory.
  • the processor, the transceiver, and the memory communicate with each other through an internal connection path.
  • the memory is for storing instructions for executing instructions stored by the memory.
  • a computer readable storage medium storing a program causing a receiving device to perform any of the eleventh aspect described above, and various implementations thereof The method of configuring a PDCP entity.
  • a computer readable storage medium in a eighteenth aspect, storing a program causing a transmitting device to perform the twelfth aspect described above, and any of its various implementations The method of configuring a PDCP entity.
  • a system chip includes an input interface, an output interface, a processor, and a memory, where the weapon is used to execute an instruction stored by the memory, and when the instruction is executed, the processor can Any of the foregoing eleventh aspects and various implementations thereof are implemented.
  • a system chip includes an input interface, an output interface, a processor, and a memory, where the weapon is used to execute an instruction stored by the memory, and when the instruction is executed, the processor can A method of any of the aforementioned twelfth aspects and various implementations thereof is implemented.
  • FIG. 1 is a schematic structural diagram of an application scenario of an embodiment of the present application.
  • FIG. 2 is a process interaction diagram of a method for configuring a PDCP entity according to an embodiment of the present application.
  • FIG. 3 is a flow diagram of a process for configuring a PDCP entity according to an embodiment of the present application.
  • FIG. 4 is a process interaction diagram of a method for configuring a PDCP entity according to another embodiment of the present application.
  • FIG. 5 is a flow diagram of a process for configuring a PDCP entity according to another embodiment of the present application.
  • FIG. 6 is a schematic block diagram of a receiving apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic block diagram of a transmitting apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a receiving apparatus according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a transmitting apparatus according to an embodiment of the present application.
  • FIG. 10 is a schematic block diagram of a receiving apparatus according to another embodiment of the present application.
  • FIG. 11 is a schematic block diagram of a transmitting apparatus according to another embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a receiving apparatus according to another embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a transmitting apparatus according to another embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a system chip according to an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a system chip according to another embodiment of the present application.
  • GSM Global System of Mobile Communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • a terminal device may also be referred to as a User Equipment ("UE"), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, and a wireless communication device. , user agent or user device.
  • UE User Equipment
  • the access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol ("SIP") phone, a Wireless Local Loop (WLL) station, or a personal digital assistant (Personal Digital Assistant, Referred to as "PDA”), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a future 5G network, or a terminal device in a future evolved PLMN network. Wait.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • the present application describes various embodiments in connection with a network device.
  • the network device may be a device for communicating with the terminal device, for example, may be a base station (Base Transceiver Station, abbreviated as "BTS") in the GSM system or CDMA, or may be a base station (NodeB, referred to as "NB” in the WCDMA system. ”), may also be an evolved base station (Evolutional Node B, “eNB” or “eNodeB”) in the LTE system, or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, and a future 5G network.
  • a network side device in a network side device or a network side device in a future evolved PLMN network.
  • FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application.
  • the communication system in Figure 1 can The network device 10, the network device 20, and the terminal device 30 are included. Both network device 10 and network device 20 can be used to provide communication services for terminal device 30.
  • the arrow shown by the solid line in FIG. 1 may indicate the uplink/downlink transmission by the cellular link between the terminal device 30 and the network device 10, and the arrow shown by the broken line in FIG. 1 may indicate that the terminal device 30 and the network are Up/down transmission of cellular links between devices 20.
  • the terminal device 30 can perform connection switching between the network device 10 and the network device 20, for example, the terminal device 30 receives the PDU transmitted by the network device 10 before the handover, and the terminal device 30 receives the PDU transmitted by the network device 20 after the handover. It is assumed that the SN length supported by the network device 10 is different from the SN length supported by the network device 20. When the terminal device 30 switches between the network device 10 and the network device 20, there is a reconfiguration of the SN from short to long or SN from long to short. process.
  • the PDCP entity of the terminal device 30 When the PDU that has been generated by the network device 10 is transmitted to the terminal device 30, if the PDCP entity of the terminal device 30 has been reconfigured, the PDCP protocol layer of the terminal device 30 will not support, and thus these generated PDUs will be discarded.
  • the PDCP entity of the same base station needs to be reconfigured, for example, the PDCP entity of the network device 10 that communicates with the terminal device 30 needs to be reconfigured, if the length of the SN is shortened from long to long during the reconfiguration process. Or, from short to long, the PDCP entity of the terminal device 30 cannot recognize the PDU transmitted by the network device 10 using the original SN length after reconfiguration, so packet loss may also occur in this case.
  • the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, so that the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN. Packet loss during PDCP entity reconfiguration is avoided.
  • the network in the embodiment of the present application may refer to a Public Land Mobile Network (PLMN) or a Device to Device (D2D) network or a machine to machine/person ( Machine to Machine/Man, referred to as "M2M” network or other network
  • PLMN Public Land Mobile Network
  • D2D Device to Device
  • M2M Machine to Machine/Man
  • FIG. 1 is only a simplified schematic diagram of the example, and the network may also include other network devices or terminal devices, which are not shown in FIG.
  • FIG. 2 is a flow diagram of a process 200 of a method 200 of configuring a PDCP entity, in accordance with an embodiment of the present application.
  • the receiving end of the method 200 may be a terminal device, and the sending end is a network device; or the receiving end is a network device, and the sending end is a terminal device. In the embodiment of the present application, only the receiving end is a terminal device, and the sending end is a network device as an example.
  • the specific process of the reconfiguration packet data convergence protocol PDCP entity includes:
  • the first sending end sends the SN indication information to the receiving end.
  • the receiving end receives the SN indication information sent by the first sending end.
  • the SN indication information in 210 and 220 is used to indicate the SN of the last PDU sent by the first sending end to the receiving end by using the first SN length.
  • the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN, so that the receiving end can receive the PDU sent by the first sending end by using the second SN length or the second sending end is used.
  • the PDU sent by the second SN length is used.
  • the receiving end determines, according to the SN indicated by the indication information, whether the PDU carrying the SN is received, and the receiving end receives the PDU carrying the SN.
  • the PDCP entity at the receiving end is reconfigured to receive the PDU of the second SN length by the first transmitting end or the second transmitting end.
  • the supported SN length is the first SN length
  • the supported SN length is configured as the second SN length, so that the second SN length can be received. PDU sent by SN length.
  • the method before the first sending end sends the sequence number SN indication information to the receiving end, the method further includes: the first sending end reconfigures the PDCP entity of the first sending end, so that the first sending end After transmitting the last PDU to the receiving end by using the first SN length, the PDU can be sent to the receiving end by using the second SN length by the reconfigured PDCP entity; wherein the PDCP entity of the reconfigured receiving end in 230 is configured to receive the PDU.
  • the PDCP entity of the first transmitting end needs to perform reconfiguration, there is a case where the SN length is shortened from long to short or from short to long.
  • the first transmitting end uses the first SN length to the receiving end before the PDCP entity is reconfigured.
  • the PDU is sent, and after the PDCP entity is reconfigured, the PDU is sent to the receiving end by using the second SN length, and the first sending end sends the SN indication information to the receiving end, where the SN indication information indicates that the first sending end uses the first
  • the SN of the last PDU sent by the SN to the receiving end the receiving end reconfigures the PDCP entity of the receiving end when receiving the last PDU sent by the first transmitting end using the first SN length, thereby ensuring
  • the PDU sent by the first sending end using the second SN length is received, thereby avoiding packet loss.
  • the method further includes: the receiving end switches from the first sending end to the second sending end, where the first sending end is used to send
  • the length of the SN of the PDU to be sent is the length of the first SN
  • the length of the SN used by the second transmitting end to transmit the PDU is the length of the second SN
  • the PDCP entity of the reconfigured receiving end in the 230 is configured to receive the second transmitting end and use the second PDU sent by SN length.
  • the receiving end performs switching between the transmitting end, for example, after the terminal device switches from the first network device to the second network device, because the SN length (first SN length) used by the first network device to send the PDU, and The SN length (second SN length) of the second network device used to transmit the PDU is different, so the terminal device needs to reconfigure the PDCP entity of the terminal device, so that the PDCP entity of the terminal device can support the switched second network device.
  • the second SN length used thereby receiving, by the configured PDCP entity, the PDU transmitted by the second network device using the second SN length.
  • the terminal device determines, according to the SN indication information received from the first network device, whether it has received the last PDU sent by the first network device using the first SN length, and the terminal device receives the first network device usage first.
  • the PDCP entity is reconfigured only when the last PDU sent by the SN length is received, so that the PDU sent by the second network device is received only after receiving the PDU that has been generated by the first network device, thereby avoiding Lose the package.
  • the PDCP entity may be used to transmit control PDUs and data PDUs.
  • the control information is carried by the control PDU.
  • the PCDP entity in the receiving end or the transmitting end may The control PDCP entity and the data PDCP entity are controlled, the control PDCP entity is used to send a control class PDU, and the data PDCP entity is used to send a data class PDU.
  • the PDCP entity at the receiving end is a data PDCP entity of the receiving end, where the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN, and the receiving end passes the PDU carrying the SN.
  • the control PDCP entity that invokes the receiving end reconfigures the data PDCP entity at the receiving end.
  • the receiving end includes two kinds of PDCPs, which are the PDCP entity and the data PDCP entity, the PDCP is also included in the sending end, and the PDCP entity and the data PDCP entity are included in the sending end, as shown in FIG.
  • the process interaction diagram of the method of the PDCP entity when the receiving end reconfigures the PDCP entity at the receiving end, the receiving end reconfigures the data PDCP entity of the receiving end by calling the controlling PDCP entity of the receiving end.
  • Figure 3 includes the first network device and the terminal device, as shown in Figure 3:
  • the network device reconfigures the data PDCP entity of the network device by invoking a controlling PDCP entity of the network device.
  • the data PDCP entity is reconfigured, so that after the reconfiguration, the second SN length is used to continue to send to the terminal device. PDU.
  • control PDCP entity of the network device sends SN indication information to the control PDCP entity of the terminal device, the SN indication information is used to indicate the SN of the last PDU sent by the first network device to the terminal device using the first SN length.
  • the controlling PDCP entity of the terminal device receives the SN indication information, thereby obtaining the SN of the last PDU sent by the first network device to the terminal device using the first SN length.
  • the terminal device when the control PDCP entity of the terminal device receives the PDU carrying the SN, the terminal device reconfigures the data PDCP entity of the terminal device by using the control PDCP entity, so that the terminal device can receive the first network device.
  • control PDCP entity of the terminal device sends a reconfiguration complete message to the control PDCP entity of the first network device for feedback after the data PDCP completes the reconfiguration.
  • the method further includes: the receiving end sends a reconfiguration complete message to the first sending end.
  • the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, so that the receiving end receives the PDU carrying the SN.
  • the PDCP entity at the end performs reconfiguration to avoid packet loss during PDCP entity reconfiguration.
  • the receiving end must receive all the PDUs sent by the first sending end using the first SN before receiving the PDU sent by the first sending end or the second sending end by using the second SN length.
  • a configuration timer may be set at the receiving end, so that the receiving end is within the preset duration of the timer. The PDU transmitted by the first transmitting end using the first SN length is received as much as possible.
  • the receiving end of the method 400 may be a terminal device, and the sending end is a network device; or the receiving end is a network device, and the sending end is a terminal device. In the embodiment of the present application, only the receiving end is a terminal device, and the sending end is a network device as an example.
  • the specific process of the reconfiguration packet data convergence protocol PDCP entity includes:
  • the first transmitting end sends the sequence number SN indication information and the triggering instruction to the receiving end.
  • the SN indication information is used to indicate that the first sending end uses the first SN length to send the SN of the last data protocol unit PDU to the receiving end, and the triggering instruction is used to instruct the receiving end to start the reconfiguration timer.
  • the first sending end may simultaneously send the SN indication information and the triggering instruction to the receiving end, and may also separately send the SN indication information and the triggering instruction.
  • the method further includes: the first sending end sends the high layer signaling to the receiving end, where the upper layer The signaling includes information of a preset duration of the reconfiguration timer.
  • the receiving end receives the serial number SN indication information and the triggering instruction sent by the transmitting end.
  • the SN indication information is used to indicate that the first sending end uses the first SN length to send the SN of the last data protocol unit PDU to the receiving end, and the triggering instruction is used to instruct the receiving end to start the reconfiguration timer.
  • the method before receiving 420, that is, before the receiving end receives the SN indication information and the triggering instruction sent by the sending end, the method further includes: receiving, by the receiving end, the high layer signaling sent by the first sending end, the upper layer The signaling includes information of a preset duration of the reconfiguration timer.
  • the receiving end starts the reconfiguration timer according to the triggering instruction, and determines, according to the SN indication information, whether to receive the PDU carrying the SN before the reconfiguration timer expires.
  • the receiving end receives the PDU carrying the SN before the reconfiguration timer expires, perform 440. If the receiving end does not receive the PDU carrying the SN before the reconfiguration timer expires, execute 450.
  • the receiving end receives the PDU carrying the SN before the reconfiguration timer expires, the receiving end receives the PDCP entity of the receiving end when receiving the PDU carrying the SN. Reconfigure.
  • the receiving end if the receiving end does not receive the PDU carrying the SN before the reconfiguration timer expires, the receiving end sends a PDCP entity to the receiving end when the reconfiguration timer expires. Reconfigure.
  • the receiving end After receiving the SN indication information and the triggering command sent by the first sending end, the receiving end starts the reconfiguration timer, and obtains the SN of the last PDU sent by the first sending end by using the first SN, thereby determining Whether the PDU carrying the SN is received before the timer expires. If the receiving end receives the PDU carrying the SN before the configuration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN; If the receiving end does not receive the PDU carrying the SN before the configuration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when the configuration timer expires.
  • the supported SN length is the first SN length
  • the supported SN length is configured as the second SN length, and thus the first sending can be received.
  • the method further includes: the first sending end reconfigures the PDCP entity of the first sending end, so that the first After transmitting the last PDU to the receiving end by using the first SN length, the transmitting end can send the PDU to the receiving end by using the second SN length by using the reconfigured PDCP entity; wherein, the PDCP of the reconfigured receiving end in 440 or 450 The entity is configured to receive the PDU sent by the first sending end by using the second SN length.
  • the SN length is shortened from long to short or from short to long.
  • the first transmitting end uses the first SN length to the receiving end before the PDCP entity is reconfigured.
  • the PDU is sent, and after the PDCP entity is reconfigured, the PDU is sent to the receiving end by using the second SN length, and the first sending end sends the SN indication information and the triggering instruction to the receiving end, where the SN indication information indicates the first sending.
  • the SN of the last PDU sent by the first SN length to the receiving end, the triggering instruction is used to instruct the receiving end to start a reconfiguration timer, and the receiving end starts the reconfiguration timer according to the triggering instruction, and determines whether the timer expires.
  • the SN indication information was previously received.
  • the receiving end receives the last PDU sent by the first sending end using the first SN length before the timer expires, and then reconfigures the PDCP entity of the receiving end when receiving the PDU, thereby ensuring that the first sending is received after receiving the PDU.
  • the generated PDU sent by the first SN length is used to receive the PDU sent by the first sending end using the second SN length, thereby avoiding packet loss.
  • the receiving end does not receive the last PDU sent by the first sending end using the first SN length before the timer expires, and then reconfigures the PDCP entity of the receiving end when the timer expires, preventing the receiving end from receiving the first sending end.
  • the delay caused by using the PDU sent by the first SN length is too long, and it is ensured that the receiving end can receive as much as possible the generated content sent by the first transmitting end using the first SN length within the preset duration of the configuration timer. PDU, which reduces the occurrence of packet loss.
  • the method further includes: the receiving end switches from the first sending end to the second sending end, where the first sending end uses The SN length of the transmitted PDU is the first SN length, and the second transmitting end is used to send the PDU.
  • the SN length is the second SN length; wherein the PDCP entity of the reconfigured receiving end in 440 or 405 is configured to receive the PDU sent by the second transmitting end using the second SN length.
  • the receiving end switches between the sending end, for example, after switching from the first sending end to the second sending end, because the first sending end is used to send the SN length of the PDU (the first SN length), and the second The SN length (second SN length) used by the transmitting end to transmit the PDU is different. Therefore, the receiving end needs to reconfigure the PDCP entity at the receiving end, so that the PDCP entity at the receiving end can support the second used by the switched second transmitting end.
  • the second SN is configured to receive, by the configured PDCP entity, the PDU sent by the second sending end using the second SN length.
  • the receiving end starts its own reconfiguration timer according to the triggering instruction received from the first transmitting end, and determines whether the first sending is received before the configuration timer expires according to the SN indication information received from the first transmitting end.
  • the receiving end receives the last PDU sent by the first sending end using the first SN length before the timer expires, and then reconfigures the PDCP entity of the receiving end when the PDU is received, and then the PDCP entity is reconfigured. Therefore, after receiving the generated PDU sent by the first sending end using the first SN length, the PDU transmitted by the second sending end using the second SN length is received, thereby avoiding packet loss.
  • the receiving end does not receive the last PDU sent by the first sending end using the first SN length before the timer expires, and then reconfigures the PDCP entity of the receiving end when the timer expires, preventing the receiving end from receiving the first sending end.
  • the delay caused by using the PDU sent by the first SN length is too long, and it is ensured that the receiving end can receive as much as possible the generated content sent by the first transmitting end using the first SN length within the preset duration of the configuration timer. PDU, reducing packet loss.
  • the PDCP entity may be used to transmit control PDUs and data class PDUs.
  • the PCDP entity in the receiving end or the transmitting end may also include a PDCP entity and a data PDCP entity to control PDCP. The entity is used to send a control class PDU, and the data PDCP entity is used to send a data class PDU.
  • the PDCP entity at the receiving end is a data PDCP entity at the receiving end, where, in 440 or 450, the receiving end reconfigures the PDCP entity of the receiving end, including: receiving, by the receiving end, the PDCP entity that controls the PDCP entity of the receiving end to the data of the receiving end Reconfigure.
  • the receiving end includes the PDCP of the PDCP entity and the data PDCP entity, the PDCP is also included in the sending end, and the PDCP entity and the data PDCP entity are also included in the sending end, as shown in FIG.
  • Process interaction diagram of the PDCP entity method the receiving end is When the PDCP entity at the receiving end is reconfigured, the PDCP entity of the receiving end is reconfigured by calling the controlling PDCP entity of the receiving end.
  • the first network device and the terminal device are shown in FIG. 5, as shown in FIG.
  • the network device reconfigures the data PDCP entity of the network device by invoking a control PDCP entity of the network device.
  • the first network device performs reconfiguration of the data PDCP entity after transmitting the PDU to the terminal device by using the first SN length, so that after the reconfiguration, the second SN length is used to send to the terminal device. PDU.
  • the control PDCP entity of the network device sends the SN indication information and the triggering instruction to the control PDCP entity of the terminal device, where the SN indication information is used to indicate that the first network device uses the first SN length to send the last PDU to the terminal device.
  • the triggering instruction is used to instruct the terminal device to start a reconfiguration timer.
  • the controlling PDCP entity of the terminal device receives the SN indication information and the triggering instruction.
  • the terminal device learns, according to the SN indication information, the SN of the last PDU sent by the first network device to the terminal device by using the first SN length, and starts the reconfiguration timer according to the triggering instruction to perform 540.
  • the terminal device initiates a reconfiguration timer.
  • the terminal device receives the PDU carrying the SN before the reconfiguration timer expires, performing 550, if the terminal device does not receive the PDU carrying the SN before the reconfiguration timer expires, executing 560.
  • the terminal device reconfigures the PDCP entity of the terminal device when receiving the PDU carrying the SN.
  • the terminal device reconfigures the PDCP entity of the terminal device when the reconfiguration timer expires.
  • control PDCP entity of the terminal device sends a reconfiguration complete message to the control PDCP entity of the first network device for feedback after the data PDCP completes the reconfiguration.
  • the method further includes: the receiving end sends a reconfiguration complete message to the first sending end.
  • the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, and instructs the receiving end to start the reconfiguration timer, so that the receiving end receives the reconfiguration timer.
  • the PDCP entity at the receiving end is reconfigured to receive the PDU sent by the sending end or other sending end by using the second SN length, which reduces the packet loss during the reconfiguration process of the PDCP entity by the receiving end, and prevents the receiving end from receiving and sending.
  • the delay caused by the PDU sent by the first SN length is too long, so that the receiving end can receive the generated PDU sent by the sending end using the first SN length as much as possible within the preset duration of the configuration timer.
  • FIG. 6 is a schematic block diagram of a receiving device 600 in accordance with an embodiment of the present application. As shown in FIG. 6, the receiving device 600 includes a receiving unit 610 and a processing unit 620. among them:
  • the receiving unit 610 is configured to receive sequence number SN indication information sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last data protocol unit to the receiving device by using the first SN length. SN of the PDU;
  • the processing unit 620 is configured to: when receiving the PDU carrying the SN, reconfigure the PDCP entity of the receiving apparatus, so that the receiving apparatus can receive the first by using the reconfigured PDCP entity
  • the transmitting device uses the PDU transmitted by the second SN length or the PDU transmitted by the second transmitting device using the second SN length.
  • the receiving apparatus of the embodiment of the present application receives the SN of the last PDU sent by the sending apparatus using the first SN length, and reconfigures the PDCP entity of the receiving apparatus when receiving the PDU carrying the SN, thereby avoiding Packet loss during PDCP entity reconfiguration.
  • the processing unit 620 is further configured to: switch from the first sending device to the second sending device, before the receiving unit 610 receives the SN indication information sent by the first sending device, where the first sending device is used by The length of the SN for transmitting the PDU is the length of the first SN, and the length of the SN used by the second sending device to send the PDU is the length of the second SN;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  • the first sending device reconfigures the PDCP entity of the first sending device, so that the first sending device is After transmitting the last PDU to the receiving device by using the first SN length, the PDU can be sent to the receiving device by using the second SN length by the PDCP entity of the first sending device that is reconfigured;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  • the PDCP entity of the receiving device is a data PDCP entity of the receiving device
  • the processing unit 620 is specifically configured to: when receiving the PDU carrying the SN, reconfigure the data PDCP entity of the receiving apparatus by calling a control PDCP entity of the receiving apparatus.
  • the receiving device further includes a sending unit, where the sending unit is configured to: send a reconfiguration complete message to the first sending device.
  • the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
  • the receiving device 600 may correspond to the receiving end in the method embodiment, and the corresponding function of the receiving end may be implemented. For brevity, no further details are provided herein.
  • FIG. 7 is a schematic block diagram of a transmitting device 700 in accordance with an embodiment of the present application.
  • the sending apparatus 700 includes a sending unit 710, and the sending unit 710 is configured to:
  • the SN indication information being used to indicate the SN of the last PDU sent by the first sending device to the receiving device by using the first SN length, so that the receiving device is receiving When the PDU carrying the SN is carried, the PDCP entity of the receiving device is reconfigured.
  • the transmitting apparatus of the embodiment of the present application transmits the SN indicating the last PDU transmitted by the sending apparatus using the first SN length to the receiving apparatus, so that the receiving apparatus receives the PDU carrying the SN, and then the receiving apparatus
  • the PDCP entity performs reconfiguration to avoid packet loss during PDCP entity reconfiguration.
  • the first sending device device further includes a processing unit 720, configured to: before the sending unit 710 sends the serial number SN indication information to the receiving device, to the first sending device Reconfiguring the PDCP entity to enable the first transmitting device to pass the reconfigured PDCP entity of the first transmitting device after transmitting the last PDU to the receiving device by using the first SN length, Transmitting a PDU to the receiving device by using the second SN length;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  • the receiving device has switched from the first sending device to the second sending device, where the first sending device is configured to send the PDU.
  • the SN length is the first SN length
  • the SN length used by the second sending device to send the PDU is the second SN length
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  • the PDCP entity of the receiving device is a data PDCP entity of the receiving device, and when receiving the PDU carrying the SN, the receiving device is configured by calling a control PDCP entity of the receiving device The data PDCP entity of the receiving device is reconfigured.
  • the first sending device device further includes a receiving unit, where the receiving unit is configured to: receive a reconfiguration complete message sent by the receiving device.
  • the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
  • the receiving device 700 may correspond to the receiving end in the method embodiment, and the corresponding function of the receiving end may be implemented. For brevity, no further details are provided herein.
  • FIG. 8 is a schematic structural diagram of a receiving apparatus 800 according to an embodiment of the present application.
  • the receiving device includes a processor 810, a transceiver 820, and a memory 830, wherein the processor 810, the transceiver 820, and the memory 830 communicate with each other through an internal connection path.
  • the memory 830 is for storing instructions
  • the processor 810 is configured to execute instructions stored by the memory 830 to control the transceiver 820 to receive signals or send signals. among them,
  • the transceiver 820 is configured to receive the sequence number SN indication information sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last data protocol unit to the receiving device by using the first SN length. SN of the PDU;
  • the processor 810 is configured to: when receiving the PDU carrying the SN, reconfigure the PDCP entity of the receiving apparatus, so that the receiving apparatus can receive the first by using the reconfigured PDCP entity
  • the transmitting device uses the PDU transmitted by the second SN length or the PDU transmitted by the second transmitting device using the second SN length.
  • the receiving apparatus of the embodiment of the present application receives the SN of the last PDU sent by the sending apparatus using the first SN length, and reconfigures the PDCP entity of the receiving apparatus when receiving the PDU carrying the SN, thereby avoiding Packet loss during PDCP entity reconfiguration.
  • the processor 810 is further configured to: switch from the first sending device to the second sending device before the transceiver 820 receives the SN indication information sent by the first sending device, where the first sending device is used by the first sending device
  • the length of the SN for transmitting the PDU is the length of the first SN
  • the length of the SN used by the second sending device to send the PDU is the length of the second SN
  • the PDCP entity of the reconfigured receiving device is configured to receive the second sending device A PDU transmitted using the second SN length is placed.
  • the first sending apparatus reconfigures the PDCP entity of the first sending apparatus, so that the first sending apparatus is After transmitting the last PDU to the receiving device by using the first SN length, the PDU can be sent to the receiving device by using the second SN length by the PDCP entity of the first sending device that is reconfigured;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  • the PDCP entity of the receiving device is a data PDCP entity of the receiving device, where the processor 810 is specifically configured to: when receiving the PDU carrying the SN, by calling the receiving device The PDCP entity is controlled to reconfigure the data PDCP entity of the receiving device.
  • the transceiver 820 is configured to: send a reconfiguration complete message to the first sending device.
  • the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
  • the processor 810 may be a central processing unit (“CPU"), and the processor 810 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 830 can include read only memory and random access memory and provides instructions and data to the processor 810. A portion of the memory 830 may also include a non-volatile random access memory. For example, the memory 830 can also store information of the device type.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 810 or an instruction in a form of software.
  • the steps of the positioning method disclosed in the embodiments of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor 810.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in memory 830, and processor 810 reads the information in memory 830 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the receiving apparatus 800 may correspond to the method 200 described above for execution.
  • the receiving end of the method 200, and the receiving end 600 according to the embodiment of the present application, and each unit or module in the receiving apparatus 800 is used to perform each action or process performed by the receiving end in the foregoing method 200, where Avoid the details and omit the detailed description.
  • FIG. 9 is a schematic structural diagram of a receiving device 900 according to an embodiment of the present application.
  • the receiving device includes a processor 910, a transceiver 920, and a memory 930, wherein the processor 910, the transceiver 920, and the memory 930 communicate with each other through an internal connection path.
  • the memory 930 is for storing instructions
  • the processor 910 is configured to execute instructions stored by the memory 930 to control the transceiver 920 to receive signals or transmit signals.
  • the transceiver 920 is specifically configured to:
  • the SN indication information being used to indicate the SN of the last PDU sent by the first sending device to the receiving device by using the first SN length, so that the receiving device is receiving When the PDU carrying the SN is carried, the PDCP entity of the receiving device is reconfigured.
  • the transmitting apparatus of the embodiment of the present application transmits the SN indicating the last PDU transmitted by the sending apparatus using the first SN length to the receiving apparatus, so that the receiving apparatus receives the PDU carrying the SN, and then the receiving apparatus
  • the PDCP entity performs reconfiguration to avoid packet loss during PDCP entity reconfiguration.
  • the processor 910 is configured to: before the transceiver 920 sends the sequence number SN indication information to the receiving device, reconfigure the PDCP entity of the first sending device, so that the first sending After transmitting the last PDU to the receiving device by using the first SN length, the device can send the second SN length to the receiving device by using the reconfigured PDCP entity of the first sending device. PDU;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  • the receiving device has switched from the first transmitting device to the second transmitting device, and the first transmitting device is configured to send the PDU.
  • the SN length is the first SN length
  • the SN length used by the second sending device to send the PDU is the second SN length
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  • the PDCP entity of the receiving device is a data PDCP entity of the receiving device, and the receiving device receives the PDU carrying the SN by calling the receiving device. Controlling the PDCP entity to reconfigure the data PDCP entity of the receiving device.
  • the transceiver 920 is configured to: receive a reconfiguration complete message sent by the receiving device.
  • the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
  • the processor 910 may be a central processing unit (“CPU"), and the processor 910 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 930 can include read only memory and random access memory and provides instructions and data to the processor 910. A portion of the memory 930 may also include a non-volatile random access memory. For example, the memory 930 can also store information of the device type.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 910 or an instruction in a form of software.
  • the steps of the positioning method disclosed in the embodiment of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor 910.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 930, and the processor 910 reads the information in the memory 930 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the receiving apparatus 900 may correspond to the transmitting end for performing the method 200 in the foregoing method 200, and the transmitting end 700 according to the embodiment of the present application, and each unit or module in the sending apparatus 900 is used for respectively The operations or processes executed by the transmitting end in the above method 200 are performed.
  • each unit or module in the sending apparatus 900 is used for respectively The operations or processes executed by the transmitting end in the above method 200 are performed.
  • detailed description thereof will be omitted.
  • FIG. 10 is a schematic block diagram of a receiving device 1000 in accordance with an embodiment of the present application. As shown in FIG. 10, the receiving device 1000 includes a receiving unit 1010 and a processing unit 1020. among them,
  • the receiving unit 1010 is configured to receive the sequence number SN indication information and the triggering instruction sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last one sent to the receiving device by using the first SN length.
  • the SN of the data protocol unit PDU, the triggering instruction is used to instruct the receiving device to start a reconfiguration timer;
  • the processing unit 1020 is configured to start the reconfiguration timer according to the triggering instruction, and according to The SN indication information determines whether a PDU carrying the SN is received before the reconfiguration timer expires;
  • the processing unit 1020 is further configured to: when receiving the PDU carrying the SN, to the receiving device The PDCP entity is reconfigured, or
  • the processing unit 1020 is further configured to: when the reconfiguration timer expires, to the receiving device Reconfiguring the PDCP entity to enable the receiving device to receive, by the reconfigured PDCP entity, the PDU sent by the first sending device using the second SN length or the second transmitting device transmitting using the second SN length PDU.
  • the receiving apparatus in the embodiment of the present application receives the SN of the last PDU sent by the sending apparatus using the first SN length, and starts the reconfiguration timer, so that the receiving apparatus receives the PDU carrying the SN or the timer is super
  • the PDCP entity at the receiving end is reconfigured to receive the PDU transmitted by the transmitting device or other transmitting device using the second SN length, which reduces the packet loss during the reconfiguration of the PDCP entity by the receiving device, and prevents the receiving device.
  • the delay caused by the receiving transmitting device using the PDU transmitted by the first SN length is too long, so that the receiving device can receive as much as possible the generated transmitting device transmits using the first SN length within the preset duration of the configuration timer. PDU.
  • the processing unit 1020 is further configured to: switch from the first sending device to the second sending device, before the receiving unit 1010 receives the SN indication information and the triggering command sent by the first sending device,
  • the SN length of the first sending device used to send the PDU is the first SN length
  • the SN length used by the second sending device to send the PDU is the second SN length
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  • the first sending device reconfigures the PDCP entity of the first sending device, so that After the first transmitting device sends the last PDU to the receiving device by using the first SN length, the first sending device can use the second SN length direction by using the reconfigured PDCP entity of the first sending device.
  • the receiving device sends a PDU;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  • the receiving unit 1010 is further configured to: before receiving the SN indication information and the triggering instruction sent by the first sending apparatus, receive the high layer signaling sent by the first sending apparatus, where the high layer signaling includes the Reconfigure the preset duration information of the timer.
  • the PDCP entity of the receiving device is a data PDCP entity of the receiving device, where the processing unit 1020 is specifically configured to: by calling a PDCP entity of the receiving device, data PDCP of the receiving device The entity is reconfigured.
  • the receiving device further includes a sending unit, where the sending unit is configured to: send a reconfiguration complete message to the first sending device.
  • the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
  • the receiving device 1000 may correspond to the receiving end in the method embodiment, and the corresponding function of the receiving end may be implemented. For brevity, no further details are provided herein.
  • FIG. 11 is a schematic block diagram of a transmitting device 1100 according to an embodiment of the present application.
  • the transmitting apparatus 1100 includes a transmitting unit 1110, and the sending unit 1110 is configured to:
  • Sending sequence number SN indication information and a triggering instruction to the receiving device the SN indication information being used to indicate an SN of the last data protocol unit PDU sent by the first sending device to the receiving device by using the first SN length
  • the triggering instruction is used to instruct the receiving device to start a reconfiguration timer, so that the receiving device performs the PDCP entity of the receiving device when receiving the PDU carrying the SN or when the reconfiguration timer expires Reconfiguration.
  • the transmitting apparatus of the embodiment of the present application transmits the SN indicating the last PDU sent by the sending apparatus by using the first SN length to the receiving apparatus, and instructs the receiving apparatus to start the reconfiguration timer, so that the receiving apparatus receives the carrying
  • the PDCP entity at the receiving end is reconfigured to receive the PDU sent by the sending device or other sending device using the second SN length, which reduces the receiving device to reconfigure the PDCP entity.
  • the packet is lost, and the delay caused by the receiving device when receiving the PDU transmitted by the transmitting device using the first SN length is too long, so that the receiving device can receive the transmitting device as much as possible within the preset time period of configuring the timer.
  • a generated PDU transmitted by an SN length is generated from the SN length.
  • the sending device further includes a processing unit 1120, configured to: before the sending unit 1110 sends the sequence number SN indication information and the triggering instruction to the receiving device, to the first sending device
  • the PDCP entity performs reconfiguration such that the first transmitting device can pass the last PDU after sending the last PDU to the receiving device by using the first SN length Reconfiguring the PDCP entity of the first sending device to send the PDU to the receiving device by using the second SN length;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  • the receiving device has switched from the first sending device to the second sending device, the first The SN length of the sending device for transmitting the PDU is the first SN length, and the SN length of the second sending device for transmitting the PDU is the second SN length;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  • the sending unit 1110 is further configured to: before sending the SN indication information and the triggering instruction to the receiving apparatus, send the high layer signaling to the receiving apparatus, where the high layer signaling includes the preprocessing of the reconfiguration timer. Set the length of information.
  • the PDCP entity of the receiving device is a data PDCP entity of the receiving device, and when the receiving device receives the PDU carrying the SN or the reconfiguration timer expires, by calling the The control PDCP entity of the receiving device reconfigures the data PDCP entity of the receiving device.
  • the first sending device device further includes a receiving unit, where the receiving unit is configured to: receive a reconfiguration complete message sent by the receiving device.
  • the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
  • the receiving device 1100 may correspond to the receiving end in the method embodiment, and the corresponding function of the receiving end may be implemented. For brevity, no further details are provided herein.
  • FIG. 12 is a schematic structural diagram of a receiving device 1200 according to an embodiment of the present application.
  • the receiving device includes a processor 1210, a transceiver 1220, and a memory 1230, wherein the processor 1210, the transceiver 1220, and the memory 1230 communicate with each other through an internal connection path.
  • the memory 1230 is configured to store instructions for executing the instructions stored by the memory 1230 to control the transceiver 1220 to receive signals or transmit signals. among them,
  • the transceiver 1220 is configured to receive the serial number SN indication information and the triggering instruction sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last one sent to the receiving device by using the first SN length.
  • the trigger instruction is used to refer to Instructing the receiving device to initiate a reconfiguration timer;
  • the processor 1210 is configured to start the reconfiguration timer according to the triggering instruction, and determine, according to the SN indication information, whether a PDU carrying the SN is received before the reconfiguration timer expires;
  • the processor 1210 is further configured to: when receiving the PDU carrying the SN, to the receiving device The PDCP entity is reconfigured, or
  • the processor 1210 is further configured to: when the reconfiguration timer expires, to the receiving device Reconfiguring the PDCP entity to enable the receiving device to receive, by the reconfigured PDCP entity, the PDU sent by the first sending device using the second SN length or the second transmitting device transmitting using the second SN length PDU.
  • the processor 1210 is further configured to: switch from the first sending device to the second sending device before the transceiver 1220 receives the SN indication information and the triggering command sent by the first sending device,
  • the SN length of the first sending device used to send the PDU is the first SN length
  • the SN length used by the second sending device to send the PDU is the second SN length
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  • the first sending device reconfigures the PDCP entity of the first sending device, so that After the first transmitting device sends the last PDU to the receiving device by using the first SN length, the first sending device can use the second SN length direction by using the reconfigured PDCP entity of the first sending device.
  • the receiving device sends a PDU;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  • the transceiver 1220 is further configured to: before receiving the SN indication information and the triggering instruction sent by the first sending apparatus, receive the high layer signaling sent by the first sending apparatus, where the high layer signaling includes the Reconfigure the preset duration information of the timer.
  • the PDCP entity of the receiving device is a data PDCP entity of the receiving device, where the processor 1210 is specifically configured to: by calling a control PDCP entity of the receiving device, data PDCP of the receiving device The entity is reconfigured.
  • the transceiver 1220 is further configured to: send a reconfiguration complete message to the first sending device.
  • the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
  • the processor 1210 may be a central processing unit (“CPU"), and the processor 1210 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 1230 can include read only memory and random access memory and provides instructions and data to the processor 1210. A portion of the memory 1230 can also include a non-volatile random access memory. For example, the memory 1230 can also store information of the device type.
  • each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1210 or an instruction in a form of software.
  • the steps of the positioning method disclosed in the embodiment of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor 1210.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 1230, and the processor 1210 reads the information in the memory 1230 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the receiving device 1200 may correspond to the receiving end of the method 400 for performing the method 400, and the receiving end 1000 according to the embodiment of the present application, and each unit or module in the receiving device 1200 is used for The operations or processes executed by the receiving end in the above method 400 are performed.
  • each unit or module in the receiving device 1200 is used for The operations or processes executed by the receiving end in the above method 400 are performed.
  • detailed description thereof will be omitted.
  • FIG. 13 is a schematic structural diagram of a receiving device 1300 according to an embodiment of the present application.
  • the receiving device includes a processor 1310, a transceiver 1320, and a memory 1330, wherein the processor 1310, the transceiver 1320, and the memory 1330 communicate with each other through an internal connection path.
  • the memory 1330 is configured to store instructions for executing the instructions stored by the memory 1330 to control the transceiver 1320 to receive signals or transmit signals.
  • the transceiver 1320 is specifically configured to:
  • Sending sequence number SN indication information and triggering instruction to the receiving device where the SN indication information is used
  • the triggering instruction is used to instruct the receiving device to start a reconfiguration timer, so that the The receiving device reconfigures the PDCP entity of the receiving device when receiving the PDU carrying the SN or when the reconfiguration timer expires.
  • the sending device further includes a processor 1310, configured to: before the transceiver 1320 sends the sequence number SN indication information and the trigger instruction to the receiving device, to the first sending device Reconfiguring the PDCP entity to enable the first transmitting device to pass the reconfigured PDCP entity of the first transmitting device after transmitting the last PDU to the receiving device by using the first SN length, Transmitting a PDU to the receiving device by using the second SN length;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  • the receiving device has switched from the first sending device to the second sending device, the first The SN length of the sending device for transmitting the PDU is the first SN length, and the SN length of the second sending device for transmitting the PDU is the second SN length;
  • the PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  • the transceiver 1320 is further configured to: before sending the SN indication information and the triggering instruction to the receiving apparatus, send the high layer signaling to the receiving apparatus, where the high layer signaling includes the preprocessing of the reconfiguration timer. Set the length of information.
  • the PDCP entity of the receiving device is a data PDCP entity of the receiving device, and when the receiving device receives the PDU carrying the SN or the reconfiguration timer expires, by calling the The control PDCP entity of the receiving device reconfigures the data PDCP entity of the receiving device.
  • the transceiver 1320 is further configured to: receive a reconfiguration complete message sent by the receiving device.
  • the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
  • the processor 1310 may be a central processing unit (“CPU"), and the processor 1310 may also be another general-purpose processor.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 1330 can include read only memory and random access memory and provides instructions and data to the processor 1310. A portion of the memory 1330 can also include a non-volatile random access memory. For example, the memory 1330 can also store information of the device type.
  • each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1310 or an instruction in a form of software.
  • the steps of the positioning method disclosed in the embodiment of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor 1310.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 1330, and the processor 1310 reads the information in the memory 1330 and performs the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the receiving apparatus 1300 may correspond to the transmitting end for performing the method 400 in the foregoing method 400, and the transmitting end 1100 according to the embodiment of the present application, and each unit or module in the sending apparatus 1300 is used for respectively The operations or processes executed by the transmitting end in the above method 400 are executed.
  • each unit or module in the sending apparatus 1300 is used for respectively The operations or processes executed by the transmitting end in the above method 400 are executed.
  • detailed description thereof will be omitted.
  • FIG. 14 is a schematic structural diagram of a system chip according to an embodiment of the present application.
  • the system chip 1400 of FIG. 14 includes an input interface 1401, an output interface 1402, at least one processor 1403, and a memory 1404.
  • the input interface 1401, the output interface 1402, the processor 1403, and the memory 1404 are interconnected by an internal connection path.
  • the processor 1403 is configured to execute code in the memory 1404.
  • the processor 1403 can implement the method 200 performed by the receiving end in the method embodiment. For the sake of brevity, it will not be repeated here.
  • the processor 1403 can implement the method 200 performed by the transmitting end in the method embodiment. For the sake of brevity, it will not be repeated here.
  • FIG. 15 is a schematic structural diagram of a system chip according to an embodiment of the present application.
  • the system chip 1500 of FIG. 15 includes an input interface 1501, an output interface 1502, at least one processor 1503, and a memory 1504.
  • the input interface 1501, the output interface 1502, the processor 1503, and the memory 1504 are interconnected by an internal connection path.
  • the processor 1503 is configured to execute the memory The code in 1504.
  • the processor 1503 can implement the method 400 performed by the receiving end in the method embodiment. For the sake of brevity, it will not be repeated here.
  • the processor 1503 may implement the method 400 performed by the transmitting end in the method embodiment. For the sake of brevity, it will not be repeated here.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application.
  • the implementation process constitutes any limitation.
  • 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 may be Integrate 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.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • 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.
  • This function is implemented as a software functional unit and sold or used as a standalone product It can be stored in a computer readable storage medium.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk, or an optical disk.

Landscapes

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

Abstract

Disclosed are a method for configuring a packet data convergence protocol (PDCP) entity, a receiving device and a sending device. The method comprises: a receiving end receives serial number (SN) indication information sent by a first sending end, wherein the SN indication information is used for indicating the SN of the last data protocol unit PDU sent by the first sending end using the first SN length to the receiving end; and when receiving a PDU carrying the SN, the receiving end reconfigures the PDCP entity of the receiving end so that the receiving end can receive, by means of the reconfigured PDCP entity, a PDU sent by the first sending end using a second SN length or a PDU sent by a second sending end using the second SN length. Since the receiving end reconfigures the PDCP entity of the receiving end after receiving the last PDU sent by the sending end using the first SN length, packet loss during PDCP entity reconfiguration is avoided.

Description

一种配置PDCP实体的方法、接收装置和发送装置Method, receiving device and transmitting device for configuring PDCP entity 技术领域Technical field
本申请实施例涉及无线通信领域,并且更具体地,涉及一种配置分组数据汇聚协议PDCP实体的方法、接收装置和发送装置。The embodiments of the present application relate to the field of wireless communications, and, more particularly, to a method, a receiving apparatus, and a transmitting apparatus for configuring a packet data convergence protocol PDCP entity.
背景技术Background technique
在长期演进(Long Term Evolution,简称“LTE”)分组数据汇聚协议(Packet Data Convergence Protocol,简称“PDCP”)中,协议数据单元(Protocol Data Unit,简称“PDU”)的包头(header)主要由序列号(Sequence Number,简称“SN”)组成,用来向对端PDCP实体指示具体的PDU序列,从而保证PDU在向高层递交时能够按照接收的顺序递交。在现有协议中SN主要支持7bits、12bits、15bits、16bits、18bits等长度配置。不同长度的SN可以用来指示不同业务量大小的数据包,长度越长的SN能够指示的PDU数量就越多,但是相应的开销也就越大。比如对于7bits的SN理论上可以支持同时指示128个PDU。In the Long Term Evolution ("LTE") Packet Data Convergence Protocol (PDCP), the header of a Protocol Data Unit ("PDU") is mainly composed of a header. The sequence number ("SN") is used to indicate a specific PDU sequence to the peer PDCP entity, so as to ensure that the PDUs can be delivered in the order of receipt when submitted to the upper layer. In the existing protocol, SN mainly supports 7bits, 12bits, 15bits, 16bits, 18bits and other length configurations. SNs of different lengths can be used to indicate packets of different traffic sizes. The longer the length of the SN, the more PDUs can be indicated, but the corresponding overhead is greater. For example, the 7-bit SN can theoretically support simultaneous indication of 128 PDUs.
但是,在一些场景下例如终端在两个基站之间切换或者同一个基站的PDCP实体需要重新配置时,SN的长度可能发生变化,如果PDCP实体不能识别长度变化后的SN,那么会导致丢包。However, in some scenarios, for example, when the terminal switches between two base stations or the PDCP entity of the same base station needs to be reconfigured, the length of the SN may change. If the PDCP entity cannot identify the SN after the length change, the packet loss may occur. .
例如,终端在传统基站(eNodeB)与支持载波聚合(Carrier Aggregation,简称“CA”)的基站之间切换时,由于传统基站的SN只有12bits,而支持CA的基站的SN有15bit,终端在两种基站之间切换时就存在SN从短变长或SN从长变短的重配置过程。如果原基站已经生成的PDU在发送到终端时,终端的PDCP实体已经重新配置,那么终端的PCDP协议层就会不支持,这些已生成的PDU就会被丢弃。目前LTE系统中终端设备在原基站和目标基站之间进行这种切换时,终端的PDCP实体在切换后会立即进行重新配置以便于接收目标基站按照目标基站的SN长度发送的PDU,并且原基站中已按照原基站的SN生成的PDU不会在新配置的PDCP实体中重传,从而出现切换丢包的问题。For example, when a terminal switches between a legacy base station (eNodeB) and a base station supporting carrier aggregation ("CAR"), since the SN of the legacy base station is only 12 bits, and the SN of the base station supporting the CA has 15 bits, the terminal is in two. When switching between base stations, there is a reconfiguration process in which the SN changes from short to long or SN from long to short. If the PDCP entity of the terminal has been reconfigured when the PDU that has been generated by the original base station is sent to the terminal, the PCDP protocol layer of the terminal will not be supported, and the generated PDUs will be discarded. When the terminal device performs the handover between the original base station and the target base station in the LTE system, the PDCP entity of the terminal immediately reconfigures after receiving the handover to receive the PDU transmitted by the target base station according to the SN length of the target base station, and the original base station A PDU that has been generated according to the SN of the original base station is not retransmitted in the newly configured PDCP entity, so that the problem of handover loss occurs.
又例如在非切换场景下,在同一个基站的PDCP实体需要重新配置时,若重配置过程中SN的长度从长变短,那么终端的PDCP实体在重新配置后 则不能识别该基站使用原SN长度发送的PDU,因此在这种情况下也会出现丢包。For example, in a non-handover scenario, when the PDCP entity of the same base station needs to be reconfigured, if the length of the SN is shortened from long to long, the PDCP entity of the terminal is reconfigured. The PDU transmitted by the base station using the original SN length cannot be identified, so packet loss also occurs in this case.
发明内容Summary of the invention
本申请实施例提供了一种配置分组数据汇聚协议PDCP实体的方法、接收装置和发送装置,避免了PDCP实体重配置过程中的丢包。The embodiment of the present application provides a method, a receiving device, and a sending device for configuring a packet data convergence protocol (PDCP) entity, which avoids packet loss during PDCP entity reconfiguration.
第一方面,提供了一种配置分组数据汇聚协议PDCP实体的方法,其特征在于,包括:A first aspect provides a method for configuring a packet data convergence protocol (PDCP) entity, including:
接收端接收第一发送端发送的序列号SN指示信息,所述SN指示信息用于指示所述第一发送端使用第一SN长度向所述接收端发送的最后一个数据协议单元PDU的SN;The receiving end receives the sequence number SN indication information sent by the first sending end, where the SN indication information is used to indicate the SN of the last data protocol unit PDU sent by the first sending end to the receiving end by using the first SN length;
所述接收端在确定接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置,以使得所述接收端能够通过重配置的所述PDCP实体,接收所述第一发送端使用第二SN长度发送的PDU或第二发送端使用所述第二SN长度发送的PDU。The receiving end reconfigures the PDCP entity of the receiving end when the PDU that carries the SN is received, so that the receiving end can receive the first sending end by using the reconfigured PDCP entity. The PDU transmitted using the second SN length or the PDU transmitted by the second transmitting end using the second SN length.
因此,本申请实施例的配置PDCP实体的方法,通过接收发送端使用第一SN长度发送的最后一个PDU的SN,并在接收到携带该SN的PDU时,才对接收端的PDCP实体进行重配置,避免了PDCP实体重配置过程中的丢包。Therefore, the method for configuring a PDCP entity in the embodiment of the present application receives the SN of the last PDU sent by the sender using the first SN length, and reconfigures the PDCP entity at the receiving end when receiving the PDU carrying the SN. , avoiding packet loss during PDCP entity reconfiguration.
可选地,在第一方面的一种实现方式中,在所述接收端接收第一发送端发送的SN指示信息之前,所述方法还包括:所述接收端从所述第一发送端切换至所述第二发送端,所述第一发送端用于发送PDU的SN长度为所述第一SN长度,所述第二发送端用于发送PDU的SN长度为所述第二SN长度;其中,被重配置的所述接收端的PDCP实体用于接收所述第二发送端使用所述第二SN长度发送的PDU。Optionally, in an implementation manner of the first aspect, before the receiving end receives the SN indication information sent by the first sending end, the method further includes: the receiving end switches from the first sending end To the second sending end, the SN length of the first transmitting end for transmitting the PDU is the first SN length, and the SN length used by the second sending end to send the PDU is the second SN length; The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the second sending end by using the second SN length.
可选地,在第一方面的一种实现方式中,在所述接收端接收第一发送端发送的SN指示信息之前,所述第一发送端对所述第一发送端的PDCP实体已进行重配置,以使得所述第一发送端在使用所述第一SN长度向所述接收端发送所述最后一个PDU后,能够通过重配置的所述第一发送端的PDCP实体,使用所述第二SN长度向所述接收端发送PDU;其中,被重配置的所述接收端的PDCP实体用于接收所述第一发送端使用所述第二SN长度发送 的PDU。Optionally, in an implementation manner of the first aspect, before the receiving end receives the SN indication information sent by the first sending end, the first sending end has performed heavy on the PDCP entity of the first sending end. So that the first sending end can use the second PDCP entity of the first sending end by reconfiguring the first PDU after sending the last PDU to the receiving end by using the first SN length. The SN length sends a PDU to the receiving end, where the reconfigured PDCP entity of the receiving end is configured to receive, by the first sending end, the second SN length to send PDU.
可选地,在第一方面的一种实现方式中,所述接收端的PDCP实体为所述接收端的数据PDCP实体,其中,所述接收端在确定接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置包括:所述接收端在确定接收到携带所述SN的PDU时,通过调用所述接收端的控制PDCP实体对所述接收端的数据PDCP实体进行重配置。Optionally, in an implementation manner of the first aspect, the PDCP entity of the receiving end is a data PDCP entity of the receiving end, where the receiving end determines that the PDU carrying the SN is received, The reconfiguration of the PDCP entity at the receiving end includes: when the receiving end determines that the PDU carrying the SN is received, the receiving end reconfigures the data PDCP entity of the receiving end by calling the controlling PDCP entity of the receiving end.
可选地,在第一方面的一种实现方式中,所述方法还包括:所述接收端向所述第一发送端发送重配置完成消息。Optionally, in an implementation manner of the first aspect, the method further includes: the receiving end sending a reconfiguration complete message to the first sending end.
可选地,在第一方面的一种实现方式中,所述接收端为终端设备,所述第一发送端为网络设备;或者所述接收端为网络设备,所述第一发送端为终端设备。Optionally, in an implementation manner of the first aspect, the receiving end is a terminal device, the first sending end is a network device, or the receiving end is a network device, and the first sending end is a terminal device.
第二方面,提供了一种配置分组数据汇聚协议PDCP实体的方法,其特征在于,包括:A second aspect provides a method for configuring a packet data convergence protocol (PDCP) entity, including:
第一发送端向接收端发送序列号SN指示信息,所述SN指示信息用于指示所述第一发送端使用第一SN长度向所述接收端发送的最后一个PDU的SN,以使得所述接收端在确定接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置。The first sending end sends the sequence number SN indication information to the receiving end, where the SN indication information is used to indicate that the first sending end uses the first SN length to send the SN of the last PDU to the receiving end, so that the The receiving end reconfigures the PDCP entity of the receiving end when determining that the PDU carrying the SN is received.
因此,本申请实施例的配置PDCP实体的方法,发送端通过端向接收端发送其使用第一SN长度发送的最后一个PDU的SN,使得接收端在接收到携带该SN的PDU时,才对接收端的PDCP实体进行重配置,避免了PDCP实体重配置过程中的丢包。Therefore, in the method for configuring a PDCP entity in the embodiment of the present application, the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, so that the receiving end receives the PDU carrying the SN. The PDCP entity at the receiving end performs reconfiguration to avoid packet loss during PDCP entity reconfiguration.
可选地,在第二方面的一种实现方式中,在第一发送端向接收端发送序列号SN指示信息之前,所述方法还包括:所述第一发送端对所述第一发送端的PDCP实体进行重配置,以使得所述第一发送端在使用所述第一SN长度向所述接收端发送所述最后一个PDU后,能够通过重配置的所述第一发送端的PDCP实体,使用所述第二SN长度向所述接收端发送PDU;其中,被重配置的所述接收端的PDCP实体用于接收所述第一发送端使用所述第二SN长度发送的PDU。Optionally, in an implementation manner of the second aspect, before the first sending end sends the sequence number SN indication information to the receiving end, the method further includes: the first sending end is configured by the first sending end The PDCP entity performs reconfiguration, so that the first sending end can use the reconfigured PDCP entity of the first sending end after sending the last PDU to the receiving end by using the first SN length. The second SN length sends a PDU to the receiving end, where the reconfigured PDCP entity of the receiving end is configured to receive the PDU sent by the first sending end by using the second SN length.
可选地,在第二方面的一种实现方式中,在所述第一发送端向接收端发送SN指示信息之前,所述接收端已从所述第一发送端切换至所述第二发送端,所述第一发送端用于发送PDU的SN长度为所述第一SN长度,所述第 二发送端用于发送PDU的SN长度为所述第二SN长度;其中,被重配置的所述接收端的PDCP实体用于接收所述第二发送端使用所述第二SN长度发送的PDU。Optionally, in an implementation manner of the second aspect, before the first sending end sends the SN indication information to the receiving end, the receiving end has switched from the first sending end to the second sending end. End, the SN length of the first sending end used to send the PDU is the first SN length, where the The length of the SN used by the second transmitting end to send the PDU is the length of the second SN. The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU sent by the second sending end by using the second SN length.
可选地,在第二方面的一种实现方式中,所述接收端的PDCP实体为所述接收端的数据PDCP实体,所述接收端在接收到携带所述SN的PDU时,是通过调用所述接收端的控制PDCP实体对所述接收端的数据PDCP实体进行重配置的。Optionally, in an implementation manner of the second aspect, the PDCP entity at the receiving end is a data PDCP entity of the receiving end, and the receiving end receives the PDU when carrying the SN by calling the The controlling PDCP entity at the receiving end reconfigures the data PDCP entity of the receiving end.
可选地,在第二方面的一种实现方式中,所述方法还包括:所述第一发送端接收所述接收端发送的重配置完成消息。Optionally, in an implementation manner of the second aspect, the method further includes: receiving, by the first sending end, a reconfiguration complete message sent by the receiving end.
可选地,在第二方面的一种实现方式中,所述接收端为终端设备,所述第一发送端为网络设备;或者所述接收端为网络设备,所述第一发送端为终端设备。Optionally, in an implementation manner of the second aspect, the receiving end is a terminal device, the first sending end is a network device, or the receiving end is a network device, and the first sending end is a terminal device. device.
第三方面,提供了一种接收装置,该接收装置可以执行上述第一方面或第一方面的任意可选的实现方式中的接收端的操作。具体地,该接收装置可以包括用于执行上述第一方面或第一方面的任意可能的实现方式中的接收端的操作的模块单元。In a third aspect, a receiving device is provided, which can perform the operations of the receiving end in the first aspect or any alternative implementation of the first aspect. In particular, the receiving means may comprise a modular unit for performing the operations of the receiving end in the first aspect or any of the possible implementations of the first aspect.
第四方面,提供了一种发送装置,该发送装置可以执行上述第二方面或第二方面的任意可选的实现方式中的发送端的操作。具体地,该发送装置可以包括用于执行上述第二方面或第二方面的任意可能的实现方式中的发送端的操作的模块单元。In a fourth aspect, a transmitting apparatus is provided, which can perform the operations of the transmitting end in any of the optional implementations of the second aspect or the second aspect described above. In particular, the transmitting means may comprise a modular unit for performing the operations of the transmitting end in any of the possible implementations of the second aspect or the second aspect described above.
第五方面,提供了一种接收装置,该接收装置包括:处理器、收发器和存储器。其中,该处理器、收发器和存储器之间通过内部连接通路互相通信。该存储器用于存储指令,该处理器用于执行该存储器存储的指令。当该处理器执行该存储器存储的指令时,该执行使得该接收装置执行第一方面或第一方面的任意可能的实现方式中的方法,或者该执行使得该接收装置实现第三方面提供的接收装置。In a fifth aspect, a receiving device is provided, the receiving device comprising: a processor, a transceiver, and a memory. The processor, the transceiver, and the memory communicate with each other through an internal connection path. The memory is for storing instructions for executing instructions stored by the memory. When the processor executes the instructions stored by the memory, the executing causes the receiving device to perform the method of the first aspect or any possible implementation of the first aspect, or the performing causes the receiving device to implement the receiving provided by the third aspect Device.
第六方面,提供了一种发送装置,该发送装置包括:处理器、收发器和存储器。其中,该处理器、收发器和存储器之间通过内部连接通路互相通信。该存储器用于存储指令,该处理器用于执行该存储器存储的指令。当该处理器执行该存储器存储的指令时,该执行使得该发送装置执行第二方面或第二方面的任意可能的实现方式中的方法,或者该执行使得该发送装置实现第四 方面提供的发送装置。In a sixth aspect, a transmitting apparatus is provided, the transmitting apparatus comprising: a processor, a transceiver, and a memory. The processor, the transceiver, and the memory communicate with each other through an internal connection path. The memory is for storing instructions for executing instructions stored by the memory. When the processor executes the instruction stored by the memory, the executing causes the transmitting device to perform the method in any of the possible implementations of the second aspect or the second aspect, or the performing causes the transmitting device to implement the fourth The transmitting device provided by the aspect.
第七方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得接收装置执行上述第一方面,及其各种实现方式中的任一种配置PDCP实体的方法。In a seventh aspect, a computer readable storage medium is provided, the computer readable storage medium storing a program causing a receiving device to perform the first aspect described above, and configuring the PDCP in any of the various implementations thereof The method of the entity.
第八方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得发送装置执行上述第二方面,及其各种实现方式中的任一种配置PDCP实体的方法。In an eighth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a program causing a transmitting device to perform the second aspect described above, and configuring the PDCP in any of the various implementations thereof The method of the entity.
第九方面,提供了一种系统芯片,该系统芯片包括输入接口、输出接口、处理器和存储器,该持利器用于执行该存储器存储的指令,当该指令被执行时,该处理器可以实现前述第一方面及其各种实现方式中的任一种方法。According to a ninth aspect, a system chip is provided, the system chip includes an input interface, an output interface, a processor, and a memory, where the weapon is used to execute an instruction stored by the memory, and when the instruction is executed, the processor can implement Any of the foregoing first aspects and various implementations thereof.
第十方面,提供了一种系统芯片,该系统芯片包括输入接口、输出接口、处理器和存储器,该持利器用于执行该存储器存储的指令,当该指令被执行时,该处理器可以实现前述第二方面及其各种实现方式中的任一种方法。According to a tenth aspect, a system chip is provided, the system chip includes an input interface, an output interface, a processor, and a memory, where the edge device is configured to execute an instruction stored by the memory, and when the instruction is executed, the processor can implement Any of the foregoing second aspects and various implementations thereof.
第十一方面,提供了一种配置分组数据汇聚协议PDCP实体的方法,其特征在于,包括:In an eleventh aspect, a method for configuring a packet data convergence protocol PDCP entity is provided, including:
接收端接收发送端发送的序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送端使用第一SN长度向所述接收端发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收端启动重配置定时器;The receiving end receives the sequence number SN indication information and the triggering instruction sent by the sending end, where the SN indication information is used to indicate the SN of the last data protocol unit PDU sent by the first sending end to the receiving end by using the first SN length. The triggering instruction is used to instruct the receiving end to start a reconfiguration timer;
所述接收端根据所述触发指令启动所述重配置定时器,并根据所述SN指示信息确定是否在所述重配置定时器超时之前接收到携带所述SN的PDU;The receiving end starts the reconfiguration timer according to the triggering instruction, and determines, according to the SN indication information, whether a PDU carrying the SN is received before the reconfiguration timer expires;
若所述接收端在所述重配置定时器超时之前接收到携带所述SN的PDU,则所述接收端在接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置,或者If the receiving end receives the PDU carrying the SN before the reconfiguration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN, or
若所述接收端在所述重配置定时器超时之前未接收到携带所述SN的PDU,则所述接收端在所述重配置定时器超时时,对所述接收端的PDCP实体进行重配置,以使得所述接收端能够通过重配置的所述PDCP实体接收所述第一发送端使用第二SN长度发送的PDU或第二发送端使用所述第二SN长度发送的PDU。If the receiving end does not receive the PDU carrying the SN before the reconfiguration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when the reconfiguration timer expires. And the PDU that is sent by the first sending end by using the second SN length or the PDU sent by the second sending end by using the second SN length, by the PDCP entity that enables the receiving end to be reconfigured.
因此,本申请实施例的配置PDCP实体的方法,接收端通过接收发送端 使用第一SN长度发送的最后一个PDU的SN,并启动重配置定时器,使得接收端在接收到携带该SN的PDU时或者定时器超时时,才对接收端的PDCP实体进行重配置,从而接收该发送端或其他发送端使用第二SN长度发送的PDU,减少了接收端对PDCP实体重配置过程中的丢包,并防止了接收端在接收发送端使用第一SN长度发送的PDU时造成的时延过长,使接收端能够在配置定时器的预设时长内尽可能多地接收发送端使用第一SN长度发送的已生成的PDU。Therefore, in the method for configuring a PDCP entity in the embodiment of the present application, the receiving end receives the transmitting end by receiving Using the SN of the last PDU sent by the first SN length, and starting the reconfiguration timer, so that the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN or the timer expires, thereby receiving The transmitting end or the other sending end uses the PDU sent by the second SN length, which reduces the packet loss during the reconfiguration process of the PDCP entity by the receiving end, and prevents the receiving end from causing the receiving end to use the PDU sent by the first SN length. The delay is too long, so that the receiving end can receive as much as possible the generated PDU sent by the sending end using the first SN length within the preset duration of the configuration timer.
可选地,在第十一方面的一种实现方式中,在所述接收端接收第一发送端发送的SN指示信息和触发指令之前,所述方法还包括:Optionally, in an implementation manner of the eleventh aspect, before the receiving end receives the SN indication information and the triggering instruction sent by the first sending end, the method further includes:
所述接收端从所述第一发送端切换至所述第二发送端,所述第一发送端用于发送PDU的SN长度为所述第一SN长度,所述第二发送端用于发送PDU的SN长度为所述第二SN长度;The receiving end is switched from the first sending end to the second sending end, the SN length of the first sending end for transmitting the PDU is the first SN length, and the second sending end is used for sending The SN length of the PDU is the second SN length;
其中,被重配置的所述接收端的PDCP实体用于接收所述第二发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the second sending end by using the second SN length.
可选地,在第十一方面的一种实现方式中,在所述接收端接收第一发送端发送的序列号SN指示信息和触发指令之前,所述第一发送端对所述第一发送端的PDCP实体已进行重配置,以使得所述第一发送端在使用所述第一SN长度向所述接收端发送所述最后一个PDU后,能够通过重配置的所述第一发送端的PDCP实体,使用所述第二SN长度向所述接收端发送PDU;Optionally, in an implementation manner of the eleventh aspect, before the receiving end receives the serial number SN indication information and the triggering instruction sent by the first sending end, the first sending end sends the first sending The PDCP entity of the terminal has been reconfigured to enable the first transmitting end to pass the reconfigured PDCP entity of the first transmitting end after transmitting the last PDU to the receiving end by using the first SN length. Transmitting, by using the second SN length, the PDU to the receiving end;
其中,被重配置的所述接收端的PDCP实体用于接收所述第一发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the first sending end by using the second SN length.
可选地,在第十一方面的一种实现方式中,在所述接收端接收发送端发送的SN指示信息和触发指令之前,所述方法还包括:所述接收端接收所述第一发送端发送的高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。Optionally, in an implementation manner of the eleventh aspect, before the receiving end receives the SN indication information and the triggering instruction sent by the sending end, the method further includes: the receiving end receiving the first sending The high layer signaling sent by the terminal, where the high layer signaling includes information of a preset duration of the reconfiguration timer.
可选地,在第十一方面的一种实现方式中,所述接收端的PDCP实体为所述接收端的数据PDCP实体,其中,所述接收端对所述接收端的PDCP实体进行重配置,包括:所述接收端通过调用所述接收端的控制PDCP实体对所述接收端的数据PDCP实体进行重配置。Optionally, in an implementation manner of the eleventh aspect, the PDCP entity of the receiving end is a data PDCP entity of the receiving end, where the receiving end reconfigures the PDCP entity of the receiving end, including: The receiving end reconfigures the data PDCP entity of the receiving end by calling a control PDCP entity of the receiving end.
可选地,在第十一方面的一种实现方式中,所述方法还包括:所述接收端向所述第一发送端发送的重配置完成消息。 Optionally, in an implementation manner of the eleventh aspect, the method further includes: a reconfiguration complete message sent by the receiving end to the first sending end.
可选地,在第十一方面的一种实现方式中,所述接收端为终端设备,所述第一发送端为网络设备;或者所述接收端为网络设备,所述第一发送端为终端设备。Optionally, in an implementation manner of the eleventh aspect, the receiving end is a terminal device, the first sending end is a network device, or the receiving end is a network device, and the first sending end is Terminal Equipment.
第十二方面,提供了一种配置分组数据汇聚协议PDCP实体的方法,其特征在于,包括:A twelfth aspect provides a method for configuring a packet data convergence protocol (PDCP) entity, including:
第一发送端向接收端发送序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送端使用第一SN长度向所述接收端发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收端启动重配置定时器,以使得所述接收端在接收到携带所述SN的PDU时或者所述重配置定时器超时时,对所述接收端的PDCP实体进行重配置。The first sending end sends the sequence number SN indication information and the triggering instruction to the receiving end, where the SN indication information is used to indicate that the first sending end sends the last data protocol unit PDU to the receiving end by using the first SN length. The SN, the triggering instruction is used to instruct the receiving end to start a reconfiguration timer, so that the receiving end receives the PDU carrying the SN or when the reconfiguration timer expires The PDCP entity is reconfigured.
因此,本申请实施例的配置PDCP实体的方法,发送端通过端向接收端发送其使用第一SN长度发送的最后一个PDU的SN,并指示接收端启动重配置定时器,使得接收端在接收到携带该SN的PDU时或者定时器超时时,才对接收端的PDCP实体进行重配置,从而接收该发送端或其他发送端使用第二SN长度发送的PDU,减少了接收端对PDCP实体重配置过程中的丢包,并防止了接收端在接收发送端使用第一SN长度发送的PDU时造成的时延过长,使接收端能够在配置定时器的预设时长内尽可能多地接收发送端使用第一SN长度发送的已生成的PDU。Therefore, in the method for configuring a PDCP entity in the embodiment of the present application, the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, and instructs the receiving end to start the reconfiguration timer, so that the receiving end is receiving. When the PDU carrying the SN or the timer expires, the PDCP entity at the receiving end is reconfigured to receive the PDU sent by the sending end or other transmitting end using the second SN length, thereby reducing the reconfiguration of the PDCP entity by the receiving end. The packet loss in the process is prevented, and the delay caused by the receiving end to receive the PDU sent by the first SN is too long, so that the receiving end can receive and send as much as possible within the preset duration of the configuration timer. The generated PDU transmitted by the terminal using the first SN length.
可选地,在第十二方面的一种实现方式中,在所述第一发送端向接收端发送序列号SN指示信息和触发指令之前,所述方法还包括:所述第一发送端对所述第一发送端的PDCP实体进行重配置,以使得所述第一发送端在使用所述第一SN长度向所述接收端发送所述最后一个PDU后,能够通过重配置的所述第一发送端的PDCP实体,使用所述第二SN长度向所述接收端发送PDU;Optionally, in an implementation manner of the twelfth aspect, before the first sending end sends the sequence number SN indication information and the triggering instruction to the receiving end, the method further includes: the first sending end pair The PDCP entity of the first sending end performs reconfiguration, so that the first sending end can pass the first of the reconfiguration after sending the last PDU to the receiving end by using the first SN length. The PDCP entity at the transmitting end sends the PDU to the receiving end by using the second SN length;
其中,被重配置的所述接收端的PDCP实体用于接收所述第一发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the first sending end by using the second SN length.
可选地,在第十二方面的一种实现方式中,在所述第一发送端向接收端发送序列号SN指示信息和触发指令之前,所述接收端已从所述第一发送端切换至所述第二发送端,所述第一发送端用于发送PDU的SN长度为所述第一SN长度,所述第二发送端用于发送PDU的SN长度为所述第二SN长度;Optionally, in an implementation manner of the twelfth aspect, before the first sending end sends the sequence number SN indication information and the triggering instruction to the receiving end, the receiving end has switched from the first sending end. To the second sending end, the SN length of the first transmitting end for transmitting the PDU is the first SN length, and the SN length used by the second sending end to send the PDU is the second SN length;
其中,被重配置的所述接收端的PDCP实体用于接收所述第二发送端使 用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the second sending end A PDU transmitted with the second SN length.
可选地,在第十二方面的一种实现方式中,在所述第一发送端向接收端发送SN指示信息和触发指令之前,所述方法还包括:所述第一发送端向所述接收端发送高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。Optionally, in an implementation manner of the twelfth aspect, before the first sending end sends the SN indication information and the triggering instruction to the receiving end, the method further includes: the first sending end is to the The receiving end sends high layer signaling, where the high layer signaling includes information of a preset duration of the reconfiguration timer.
可选地,在第十二方面的一种实现方式中,所述接收端的PDCP实体为所述接收端的数据PDCP实体,所述接收端在接收到携带所述SN的PDU时或者所述重配置定时器超时时,是通过调用所述接收端的控制PDCP实体对所述接收端的数据PDCP实体进行重配置的。Optionally, in an implementation manner of the twelfth aspect, the PDCP entity at the receiving end is a data PDCP entity of the receiving end, and the receiving end receives the PDU carrying the SN or the reconfiguration When the timer expires, the data PDCP entity of the receiving end is reconfigured by calling the controlling PDCP entity of the receiving end.
可选地,在第十二方面的一种实现方式中,所述方法还包括:所述第一发送端接收所述接收端发送的重配置完成消息。Optionally, in an implementation manner of the twelfth aspect, the method further includes: the first sending end receiving the reconfiguration complete message sent by the receiving end.
可选地,在第十二方面的一种实现方式中,所述接收端为终端设备,所述第一发送端为网络设备;或者所述接收端为网络设备,所述第一发送端为终端设备。Optionally, in an implementation manner of the twelfth aspect, the receiving end is a terminal device, the first sending end is a network device, or the receiving end is a network device, and the first sending end is Terminal Equipment.
第十三方面,提供了一种接收装置,该接收装置可以执行上述第十一方面或第十一方面的任意可选的实现方式中的接收端的操作。具体地,该接收装置可以包括用于执行上述第十一方面或第十一方面的任意可能的实现方式中的接收端的操作的模块单元。In a thirteenth aspect, a receiving apparatus is provided, which can perform the operation of the receiving end in any of the optional implementations of the eleventh or eleventh aspect. In particular, the receiving means may comprise a modular unit for performing the operation of the receiving end in any of the possible implementations of the eleventh or eleventh aspect described above.
第十四方面,提供了一种发送装置,该发送装置可以执行上述第十二方面或第十二方面的任意可选的实现方式中的发送端的操作。具体地,该发送装置可以包括用于执行上述第十二方面或第十二方面的任意可能的实现方式中的发送端的操作的模块单元。In a fourteenth aspect, there is provided a transmitting apparatus, which can perform the operation of the transmitting end in any of the optional implementations of the twelfth aspect or the twelfth aspect. In particular, the transmitting means may comprise a modular unit for performing the operations of the transmitting end in any of the possible implementations of the twelfth aspect or the twelfth aspect.
第十五方面,提供了一种接收装置,该接收装置包括:处理器、收发器和存储器。其中,该处理器、收发器和存储器之间通过内部连接通路互相通信。该存储器用于存储指令,该处理器用于执行该存储器存储的指令。当该处理器执行该存储器存储的指令时,该执行使得该接收装置执行第十一方面或第十一方面的任意可能的实现方式中的方法,或者该执行使得该接收装置实现第十三方面提供的接收装置。In a fifteenth aspect, a receiving device is provided, the receiving device comprising: a processor, a transceiver, and a memory. The processor, the transceiver, and the memory communicate with each other through an internal connection path. The memory is for storing instructions for executing instructions stored by the memory. When the processor executes the instruction stored by the memory, the executing causes the receiving device to perform the method in any of the possible implementations of the eleventh or eleventh aspect, or the execution causes the receiving device to implement the thirteenth aspect Receiver provided.
第十六方面,提供了一种发送装置,该发送装置包括:处理器、收发器和存储器。其中,该处理器、收发器和存储器之间通过内部连接通路互相通信。该存储器用于存储指令,该处理器用于执行该存储器存储的指令。当该 处理器执行该存储器存储的指令时,该执行使得该发送装置执行第十二方面或第十二方面的任意可能的实现方式中的方法,或者该执行使得该发送装置实现第十四方面提供的发送装置。In a sixteenth aspect, a transmitting apparatus is provided, the transmitting apparatus comprising: a processor, a transceiver, and a memory. The processor, the transceiver, and the memory communicate with each other through an internal connection path. The memory is for storing instructions for executing instructions stored by the memory. When When the processor executes the instruction stored by the memory, the executing causes the transmitting device to perform the method of any of the possible implementations of the twelfth aspect or the twelfth aspect, or the execution causes the transmitting device to implement the fourteenth aspect Sending device.
第十七方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得接收装置执行上述第十一方面,及其各种实现方式中的任一种配置PDCP实体的方法。In a seventeenth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a program causing a receiving device to perform any of the eleventh aspect described above, and various implementations thereof The method of configuring a PDCP entity.
第十八方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得发送装置执行上述第十二方面,及其各种实现方式中的任一种配置PDCP实体的方法。In a eighteenth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a program causing a transmitting device to perform the twelfth aspect described above, and any of its various implementations The method of configuring a PDCP entity.
第十九方面,提供了一种系统芯片,该系统芯片包括输入接口、输出接口、处理器和存储器,该持利器用于执行该存储器存储的指令,当该指令被执行时,该处理器可以实现前述第十一方面及其各种实现方式中的任一种方法。According to a nineteenth aspect, a system chip is provided, the system chip includes an input interface, an output interface, a processor, and a memory, where the weapon is used to execute an instruction stored by the memory, and when the instruction is executed, the processor can Any of the foregoing eleventh aspects and various implementations thereof are implemented.
第二十方面,提供了一种系统芯片,该系统芯片包括输入接口、输出接口、处理器和存储器,该持利器用于执行该存储器存储的指令,当该指令被执行时,该处理器可以实现前述第十二方面及其各种实现方式中的任一种方法。According to a twentieth aspect, a system chip is provided, the system chip includes an input interface, an output interface, a processor, and a memory, where the weapon is used to execute an instruction stored by the memory, and when the instruction is executed, the processor can A method of any of the aforementioned twelfth aspects and various implementations thereof is implemented.
附图说明DRAWINGS
图1是本申请实施例的一种应用场景的示意性架构图。FIG. 1 is a schematic structural diagram of an application scenario of an embodiment of the present application.
图2是本申请实施例的配置PDCP实体的方法的流程交互图。2 is a process interaction diagram of a method for configuring a PDCP entity according to an embodiment of the present application.
图3是本申请实施例的配置PDCP实体的方法的流程交互图。FIG. 3 is a flow diagram of a process for configuring a PDCP entity according to an embodiment of the present application.
图4是本申请另一实施例的配置PDCP实体的方法的流程交互图。4 is a process interaction diagram of a method for configuring a PDCP entity according to another embodiment of the present application.
图5是本申请另一实施例的配置PDCP实体的方法的流程交互图。FIG. 5 is a flow diagram of a process for configuring a PDCP entity according to another embodiment of the present application.
图6是本申请实施例的接收装置的示意性框图。FIG. 6 is a schematic block diagram of a receiving apparatus according to an embodiment of the present application.
图7是本申请实施例的发送装置的示意性框图。FIG. 7 is a schematic block diagram of a transmitting apparatus according to an embodiment of the present application.
图8是本申请实施例的接收装置的示意性结构图。FIG. 8 is a schematic structural diagram of a receiving apparatus according to an embodiment of the present application.
图9是本申请实施例的发送装置的示意性结构图。FIG. 9 is a schematic structural diagram of a transmitting apparatus according to an embodiment of the present application.
图10是本申请另一实施例的接收装置的示意性框图。FIG. 10 is a schematic block diagram of a receiving apparatus according to another embodiment of the present application.
图11是本申请另一实施例的发送装置的示意性框图。FIG. 11 is a schematic block diagram of a transmitting apparatus according to another embodiment of the present application.
图12是本申请另一实施例的接收装置的示意性结构图。 FIG. 12 is a schematic structural diagram of a receiving apparatus according to another embodiment of the present application.
图13是本申请另一实施例的发送装置的示意性结构图。FIG. 13 is a schematic structural diagram of a transmitting apparatus according to another embodiment of the present application.
图14是本申请实施例的系统芯片的示意性结构图。FIG. 14 is a schematic structural diagram of a system chip according to an embodiment of the present application.
图15是本申请另一实施例的系统芯片的示意性结构图。FIG. 15 is a schematic structural diagram of a system chip according to another embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
应理解,本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile Communication,简称“GSM”)系统、码分多址(Code Division Multiple Access,简称“CDMA”)系统、宽带码分多址(Wideband Code Division Multiple Access,简称“WCDMA”)系统、长期演进(Long Term Evolution,简称“LTE”)系统、LTE频分双工(Frequency Division Duplex,简称“FDD”)系统、LTE时分双工(Time Division Duplex,简称“TDD”)、通用移动通信系统(Universal Mobile Telecommunication System,简称“UMTS”)、以及未来的5G通信系统等。It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, for example, Global System of Mobile Communication ("GSM") system, Code Division Multiple Access (CDMA). System), Wideband Code Division Multiple Access (WCDMA) system, Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) ") System, LTE Time Division Duplex ("TDD"), Universal Mobile Telecommunication System (UMTS), and future 5G communication systems.
本申请结合终端设备描述了各个实施例。终端设备也可以指用户设备(User Equipment,简称“UE”)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,简称“SIP”)电话、无线本地环路(Wireless Local Loop,简称“WLL”)站、个人数字处理(Personal Digital Assistant,简称“PDA”)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的PLMN网络中的终端设备等。The present application describes various embodiments in connection with a terminal device. A terminal device may also be referred to as a User Equipment ("UE"), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, and a wireless communication device. , user agent or user device. The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol ("SIP") phone, a Wireless Local Loop (WLL) station, or a personal digital assistant (Personal Digital Assistant, Referred to as "PDA"), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a future 5G network, or a terminal device in a future evolved PLMN network. Wait.
本申请结合网络设备描述了各个实施例。网络设备可以是用于与终端设备进行通信的设备,例如,可以是GSM系统或CDMA中的基站(Base Transceiver Station,简称“BTS”),也可以是WCDMA系统中的基站(NodeB,简称“NB”),还可以是LTE系统中的演进型基站(Evolutional Node B,简称“eNB”或“eNodeB”),或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络侧设备或未来演进的PLMN网络中的网络侧设备等。The present application describes various embodiments in connection with a network device. The network device may be a device for communicating with the terminal device, for example, may be a base station (Base Transceiver Station, abbreviated as "BTS") in the GSM system or CDMA, or may be a base station (NodeB, referred to as "NB" in the WCDMA system. ”), may also be an evolved base station (Evolutional Node B, “eNB” or “eNodeB”) in the LTE system, or the network device may be a relay station, an access point, an in-vehicle device, a wearable device, and a future 5G network. A network side device in a network side device or a network side device in a future evolved PLMN network.
图1是本申请实施例的一个应用场景的示意图。图1中的通信系统可以 包括网络设备10、网络设备20和终端设备30。网络设备10和网络设备20均可以用于为终端设备30提供通信服务。图1中实线所示出的箭头可以表示通过终端设备30与网络设备10之间的蜂窝链路进行的上/下行传输,图1中虚线所示出的箭头可以表示通过终端设备30与网络设备20之间的蜂窝链路进行的上/下行传输。FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application. The communication system in Figure 1 can The network device 10, the network device 20, and the terminal device 30 are included. Both network device 10 and network device 20 can be used to provide communication services for terminal device 30. The arrow shown by the solid line in FIG. 1 may indicate the uplink/downlink transmission by the cellular link between the terminal device 30 and the network device 10, and the arrow shown by the broken line in FIG. 1 may indicate that the terminal device 30 and the network are Up/down transmission of cellular links between devices 20.
终端设备30可以在网络设备10和网络设备20之间进行连接切换,例如终端设备30在切换前接收由网络设备10发送的PDU,终端设备30在切换后接收由网络设备20发送的PDU。假设网络设备10支持的SN长度,与网络设备20支持的SN长度不同,终端设备30在网络设备10和网络设备20之间切换时就存在SN从短变长或SN从长变短的重配置过程。网络设备10已经生成的PDU在发送至终端设备30时,如果终端设备30的PDCP实体已经进行重配置,那么终端设备30的PDCP协议层会不支持,因此这些已生成的PDU会被丢弃。The terminal device 30 can perform connection switching between the network device 10 and the network device 20, for example, the terminal device 30 receives the PDU transmitted by the network device 10 before the handover, and the terminal device 30 receives the PDU transmitted by the network device 20 after the handover. It is assumed that the SN length supported by the network device 10 is different from the SN length supported by the network device 20. When the terminal device 30 switches between the network device 10 and the network device 20, there is a reconfiguration of the SN from short to long or SN from long to short. process. When the PDU that has been generated by the network device 10 is transmitted to the terminal device 30, if the PDCP entity of the terminal device 30 has been reconfigured, the PDCP protocol layer of the terminal device 30 will not support, and thus these generated PDUs will be discarded.
又例如在非切换场景下,在同一个基站的PDCP实体需要重新配置时,例如与终端设备30通信的网络设备10的PDCP实体需要重新配置时,若重配置过程中SN的长度从长变短或由短变长,那么终端设备30的PDCP实体在重新配置后则不能识别网络设备10使用原SN长度发送的PDU,因此在这种情况下也会出现丢包。For example, in a non-handover scenario, when the PDCP entity of the same base station needs to be reconfigured, for example, the PDCP entity of the network device 10 that communicates with the terminal device 30 needs to be reconfigured, if the length of the SN is shortened from long to long during the reconfiguration process. Or, from short to long, the PDCP entity of the terminal device 30 cannot recognize the PDU transmitted by the network device 10 using the original SN length after reconfiguration, so packet loss may also occur in this case.
本申请实施例中,发送端通过向接收端发送其使用第一SN长度发送的最后一个PDU的SN,使得接收端在接收到携带该SN的PDU时,才对接收端的PDCP实体进行重配置,避免了PDCP实体重配置过程中的丢包。In the embodiment of the present application, the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, so that the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN. Packet loss during PDCP entity reconfiguration is avoided.
应理解,本申请实施例中的网络可以是指公共陆地移动网络(Public Land Mobile Network,简称“PLMN”)或者设备对设备(Device to Device,简称“D2D”)网络或者机器对机器/人(Machine to Machine/Man,简称“M2M”)网络或者其他网络,图1只是举例的简化示意图,网络中还可以包括其他网络设备或终端设备,图1中未予以画出。It should be understood that the network in the embodiment of the present application may refer to a Public Land Mobile Network (PLMN) or a Device to Device (D2D) network or a machine to machine/person ( Machine to Machine/Man, referred to as "M2M" network or other network, FIG. 1 is only a simplified schematic diagram of the example, and the network may also include other network devices or terminal devices, which are not shown in FIG.
图2是根据本申请实施例的配置PDCP实体的方法200的流程交互图。该方法200中的接收端可以为终端设备,发送端为网络设备;或者接收端为网络设备,发送端为终端设备。本申请实施例中仅以接收端为终端设备,发送端为网络设备为例进行描述。如图2所示,该重配置分组数据汇聚协议PDCP实体的具体流程包括: 2 is a flow diagram of a process 200 of a method 200 of configuring a PDCP entity, in accordance with an embodiment of the present application. The receiving end of the method 200 may be a terminal device, and the sending end is a network device; or the receiving end is a network device, and the sending end is a terminal device. In the embodiment of the present application, only the receiving end is a terminal device, and the sending end is a network device as an example. As shown in FIG. 2, the specific process of the reconfiguration packet data convergence protocol PDCP entity includes:
在210中,第一发送端向接收端发送SN指示信息。In 210, the first sending end sends the SN indication information to the receiving end.
在220中,接收端接收第一发送端发送的该SN指示信息。In 220, the receiving end receives the SN indication information sent by the first sending end.
其中,210和220中的该SN指示信息用于指示第一发送端使用第一SN长度向接收端发送的最后一个PDU的SN。The SN indication information in 210 and 220 is used to indicate the SN of the last PDU sent by the first sending end to the receiving end by using the first SN length.
在230中,接收端在接收到携带该SN的PDU时,对接收端的PDCP实体进行重配置,以使得接收端能够接收到第一发送端使用第二SN长度发送的PDU或第二发送端使用所述第二SN长度发送的PDU。In 230, the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN, so that the receiving end can receive the PDU sent by the first sending end by using the second SN length or the second sending end is used. The PDU sent by the second SN length.
具体来说,接收端接收到第一发送端发送的SN指示信息后,会根据该指示信息指示的SN,确定自己是否收到了携带该SN的PDU,接收端在接收到了携带该SN的PDU时,才会对接收端的PDCP实体进行重配置,从而去接收第一发送端或第二发送端使用第二SN长度的PDU。这里,接收端的PDCP实体在进行重配置之前,支持的SN长度为第一SN长度,接收端的PDCP实体在进行重配置之后,支持的SN长度被配置为第二SN长度,因而可以接收使用第二SN长度发送的PDU。Specifically, after receiving the SN indication information sent by the first sending end, the receiving end determines, according to the SN indicated by the indication information, whether the PDU carrying the SN is received, and the receiving end receives the PDU carrying the SN. The PDCP entity at the receiving end is reconfigured to receive the PDU of the second SN length by the first transmitting end or the second transmitting end. Here, before the reconfiguration of the PDCP entity at the receiving end, the supported SN length is the first SN length, and after the PDCP entity at the receiving end performs reconfiguration, the supported SN length is configured as the second SN length, so that the second SN length can be received. PDU sent by SN length.
可选地,在210中,在第一发送端向接收端发送序列号SN指示信息之前,该方法还包括:第一发送端对第一发送端的PDCP实体进行重配置,以使得第一发送端在使用第一SN长度向接收端发送最后一个PDU后,能够通过重配置的PDCP实体,使用第二SN长度向接收端发送PDU;其中,230中被重配置的接收端的PDCP实体用于接收第一发送端使用第二SN长度发送的PDU。Optionally, in 210, before the first sending end sends the sequence number SN indication information to the receiving end, the method further includes: the first sending end reconfigures the PDCP entity of the first sending end, so that the first sending end After transmitting the last PDU to the receiving end by using the first SN length, the PDU can be sent to the receiving end by using the second SN length by the reconfigured PDCP entity; wherein the PDCP entity of the reconfigured receiving end in 230 is configured to receive the PDU. A PDU that is sent by the sender using the second SN length.
具体来说,第一发送端的PDCP实体在需要进行重配置时,存在SN长度由长变短或由短变长的情况,第一发送端在PDCP实体重配置之前使用第一SN长度向接收端发送PDU,在PDCP实体重配置之后会接着使用第二SN长度向该接收端发送PDU,同时,第一发送端会向接收端发送SN指示信息,该SN指示信息指示了第一发送端使用第一SN长度向接收端发送的最后一个PDU的SN,接收端在收到了第一发送端使用第一SN长度发送的最后一个PDU时,才会对接收端的PDCP实体进行重配置,从而在保证在接收完第一发送端使用第一SN长度发送的已生成的PDU的情况下,才去接收第一发送端使用第二SN长度发送的PDU,从而避免了丢包。Specifically, when the PDCP entity of the first transmitting end needs to perform reconfiguration, there is a case where the SN length is shortened from long to short or from short to long. The first transmitting end uses the first SN length to the receiving end before the PDCP entity is reconfigured. The PDU is sent, and after the PDCP entity is reconfigured, the PDU is sent to the receiving end by using the second SN length, and the first sending end sends the SN indication information to the receiving end, where the SN indication information indicates that the first sending end uses the first The SN of the last PDU sent by the SN to the receiving end, the receiving end reconfigures the PDCP entity of the receiving end when receiving the last PDU sent by the first transmitting end using the first SN length, thereby ensuring After receiving the generated PDU sent by the first sending end using the first SN length, the PDU sent by the first sending end using the second SN length is received, thereby avoiding packet loss.
可选地,在220中,在接收端接收第一发送端发送的SN指示信息之前,该方法还包括:接收端从第一发送端切换至第二发送端,第一发送端用于发 送PDU的SN长度为第一SN长度,第二发送端用于发送PDU的SN长度为第二SN长度;其中,230中被重配置的接收端的PDCP实体用于接收第二发送端使用第二SN长度发送的PDU。Optionally, before the receiving end receives the SN indication information sent by the first sending end, the method further includes: the receiving end switches from the first sending end to the second sending end, where the first sending end is used to send The length of the SN of the PDU to be sent is the length of the first SN, and the length of the SN used by the second transmitting end to transmit the PDU is the length of the second SN; wherein, the PDCP entity of the reconfigured receiving end in the 230 is configured to receive the second transmitting end and use the second PDU sent by SN length.
具体来说,接收端在发送端之间进行切换,例如终端设备从第一网络设备切换至第二网络设备后,由于第一网络设备用于发送PDU的SN长度(第一SN长度),与第二网络设备用于发送PDU的SN长度(第二SN长度)不同,因此终端设备需要对终端设备的PDCP实体进行重配置,以使得该终端设备的PDCP实体能够支持切换后的第二网络设备所使用的第二SN长度,从而通过配置后的PDCP实体接收第二网络设备使用第二SN长度发送的PDU。Specifically, the receiving end performs switching between the transmitting end, for example, after the terminal device switches from the first network device to the second network device, because the SN length (first SN length) used by the first network device to send the PDU, and The SN length (second SN length) of the second network device used to transmit the PDU is different, so the terminal device needs to reconfigure the PDCP entity of the terminal device, so that the PDCP entity of the terminal device can support the switched second network device. The second SN length used, thereby receiving, by the configured PDCP entity, the PDU transmitted by the second network device using the second SN length.
这时,终端设备会根据从第一网络设备接收的SN指示信息,确定自己是否收到了第一网络设备使用第一SN长度发送的最后一个PDU,终端设备在收到了第一网络设备使用第一SN长度发送的最后一个PDU时,才会对PDCP实体进行重配置,从而在保证在接收完第一网络设备已生成的PDU的情况下,才去接收第二网络设备发送的PDU,从而避免了丢包。At this time, the terminal device determines, according to the SN indication information received from the first network device, whether it has received the last PDU sent by the first network device using the first SN length, and the terminal device receives the first network device usage first. The PDCP entity is reconfigured only when the last PDU sent by the SN length is received, so that the PDU sent by the second network device is received only after receiving the PDU that has been generated by the first network device, thereby avoiding Lose the package.
一般来说,接收端或发送端中可以只有一种PDCP实体,该PDCP实体可以用于传输控制类PDU和数据类PDU,控制信息由控制类PDU承载;接收端或者发送端中的PCDP实体可以包括控制PDCP实体和数据PDCP实体,控制PDCP实体用于发送控制类PDU,数据PDCP实体用于发送数据类PDU。Generally, there may be only one PDCP entity in the receiving end or the transmitting end. The PDCP entity may be used to transmit control PDUs and data PDUs. The control information is carried by the control PDU. The PCDP entity in the receiving end or the transmitting end may The control PDCP entity and the data PDCP entity are controlled, the control PDCP entity is used to send a control class PDU, and the data PDCP entity is used to send a data class PDU.
可选地,接收端的PDCP实体为接收端的数据PDCP实体,其中,接收端在接收到携带SN的PDU时,对接收端的PDCP实体进行重配置包括:接收端在接收到携带SN的PDU时,通过调用接收端的控制PDCP实体对接收端的数据PDCP实体进行重配置。Optionally, the PDCP entity at the receiving end is a data PDCP entity of the receiving end, where the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN, and the receiving end passes the PDU carrying the SN. The control PDCP entity that invokes the receiving end reconfigures the data PDCP entity at the receiving end.
举例来说,如果接收端中包括控制PDCP实体和数据PDCP实体这两种PDCP,发送端中也包括控制PDCP实体和数据PDCP实体这两种PDCP,如图3所示的本申请实施例的配置PDCP实体的方法的流程交互图,接收端在对接收端的PDCP实体进行重配置时,是通过调用接收端的控制PDCP实体对接收端的数据PDCP实体进行重配置的。图3中包括第一网络设备和终端设备,如图3所示:For example, if the receiving end includes two kinds of PDCPs, which are the PDCP entity and the data PDCP entity, the PDCP is also included in the sending end, and the PDCP entity and the data PDCP entity are included in the sending end, as shown in FIG. The process interaction diagram of the method of the PDCP entity, when the receiving end reconfigures the PDCP entity at the receiving end, the receiving end reconfigures the data PDCP entity of the receiving end by calling the controlling PDCP entity of the receiving end. Figure 3 includes the first network device and the terminal device, as shown in Figure 3:
在310中,网络设备通过调用网络设备的控制PDCP实体,对网络设备的数据PDCP实体进行重配置。 At 310, the network device reconfigures the data PDCP entity of the network device by invoking a controlling PDCP entity of the network device.
图3以非切换场景为例,第一网络设备在使用第一SN长度向终端设备发送PDU之后,进行了数据PDCP实体的重配置,从而在重配置之后使用第二SN长度继续向终端设备发送PDU。3, taking the non-handover scenario as an example, after the first network device sends the PDU to the terminal device by using the first SN length, the data PDCP entity is reconfigured, so that after the reconfiguration, the second SN length is used to continue to send to the terminal device. PDU.
在320中,网络设备的控制PDCP实体向终端设备的控制PDCP实体发送SN指示信息,该SN指示信息用于指示第一网络设备使用第一SN长度向终端设备发送的最后一个PDU的SN。In 320, the control PDCP entity of the network device sends SN indication information to the control PDCP entity of the terminal device, the SN indication information is used to indicate the SN of the last PDU sent by the first network device to the terminal device using the first SN length.
在330中,终端设备的控制PDCP实体接收该SN指示信息,从而获知第一网络设备使用第一SN长度向终端设备发送的最后一个PDU的SN。In 330, the controlling PDCP entity of the terminal device receives the SN indication information, thereby obtaining the SN of the last PDU sent by the first network device to the terminal device using the first SN length.
在340中,终端设备的控制PDCP实体在接收到携带该SN的PDU时,终端设备通过该控制PDCP实体,对终端设备的数据PDCP实体进行重配置,以使得终端设备能够接收到第一网络设备使用第二SN长度发送的PDU。In 340, when the control PDCP entity of the terminal device receives the PDU carrying the SN, the terminal device reconfigures the data PDCP entity of the terminal device by using the control PDCP entity, so that the terminal device can receive the first network device. A PDU transmitted using a second SN length.
在350中,终端设备的控制PDCP实体在数据PDCP完成重配置后,向第一网络设备的控制PDCP实体发送重配置完成消息,以进行反馈。In 350, the control PDCP entity of the terminal device sends a reconfiguration complete message to the control PDCP entity of the first network device for feedback after the data PDCP completes the reconfiguration.
可选地,在230之后,该方法还包括:接收端向第一发送端发送重配置完成消息。Optionally, after 230, the method further includes: the receiving end sends a reconfiguration complete message to the first sending end.
因此,本申请实施例的配置PDCP实体的方法,发送端通过向接收端发送其使用第一SN长度发送的最后一个PDU的SN,使得接收端在接收到携带该SN的PDU时,才对接收端的PDCP实体进行重配置,避免了PDCP实体重配置过程中的丢包。Therefore, in the method for configuring a PDCP entity in the embodiment of the present application, the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, so that the receiving end receives the PDU carrying the SN. The PDCP entity at the end performs reconfiguration to avoid packet loss during PDCP entity reconfiguration.
上述实施例中,接收端在接收第一发送端或第二发送端使用第二SN长度发送的PDU之前,必须先接收完第一发送端使用第一SN发送的所有PDU。但是为了防止接收端在接收第一发送端使用第一SN长度发送的PDU时造成的时延过长,可以在接收端处设置配置定时器,以使得接收端在定时器的预设时长内“尽可能多”地接收第一发送端使用第一SN长度发送的PDU。下面结合图4和图5描述本申请另一实施例的配置PDCP实体的方法。In the above embodiment, the receiving end must receive all the PDUs sent by the first sending end using the first SN before receiving the PDU sent by the first sending end or the second sending end by using the second SN length. However, in order to prevent the receiving end from being too long when receiving the PDU sent by the first sending end using the first SN length, a configuration timer may be set at the receiving end, so that the receiving end is within the preset duration of the timer. The PDU transmitted by the first transmitting end using the first SN length is received as much as possible. A method of configuring a PDCP entity according to another embodiment of the present application is described below with reference to FIG. 4 and FIG. 5.
图4是根据本申请实施例的配置PDCP实体的方法400的流程交互图。该方法400中的接收端可以为终端设备,发送端为网络设备;或者接收端为网络设备,发送端为终端设备。本申请实施例中仅以接收端为终端设备,发送端为网络设备为例进行描述。如图4所示,该重配置分组数据汇聚协议PDCP实体的具体流程包括:4 is a flow diagram of a process 400 of a method 400 of configuring a PDCP entity in accordance with an embodiment of the present application. The receiving end of the method 400 may be a terminal device, and the sending end is a network device; or the receiving end is a network device, and the sending end is a terminal device. In the embodiment of the present application, only the receiving end is a terminal device, and the sending end is a network device as an example. As shown in FIG. 4, the specific process of the reconfiguration packet data convergence protocol PDCP entity includes:
在410中,第一发送端向接收端发送序列号SN指示信息和触发指令。 In 410, the first transmitting end sends the sequence number SN indication information and the triggering instruction to the receiving end.
其中,该SN指示信息用于指示第一发送端使用第一SN长度向接收端发送的最后一个数据协议单元PDU的SN,该触发指令用于指示接收端启动重配置定时器。The SN indication information is used to indicate that the first sending end uses the first SN length to send the SN of the last data protocol unit PDU to the receiving end, and the triggering instruction is used to instruct the receiving end to start the reconfiguration timer.
应理解,第一发送端可以向接收端同时发送该SN指示信息和该触发指令,也可以分别发送该SN指示信息和该触发指令。It should be understood that the first sending end may simultaneously send the SN indication information and the triggering instruction to the receiving end, and may also separately send the SN indication information and the triggering instruction.
可选地,发送端在执行410之前,即在所述第一发送端向接收端发送SN指示信息和触发指令之前,该方法还包括:第一发送端向接收端发送高层信令,该高层信令包括该重配置定时器的预设时长的信息。Optionally, before the sending, by the sending end, before the first sending end sends the SN indication information and the triggering instruction to the receiving end, the method further includes: the first sending end sends the high layer signaling to the receiving end, where the upper layer The signaling includes information of a preset duration of the reconfiguration timer.
在420中,接收端接收发送端发送的序列号SN指示信息和触发指令。In 420, the receiving end receives the serial number SN indication information and the triggering instruction sent by the transmitting end.
其中,该SN指示信息用于指示第一发送端使用第一SN长度向接收端发送的最后一个数据协议单元PDU的SN,该触发指令用于指示接收端启动重配置定时器。The SN indication information is used to indicate that the first sending end uses the first SN length to send the SN of the last data protocol unit PDU to the receiving end, and the triggering instruction is used to instruct the receiving end to start the reconfiguration timer.
可选地,接收端在执行420之前,即在所述接收端接收发送端发送的SN指示信息和触发指令之前,该方法还包括:接收端接收第一发送端发送的高层信令,该高层信令包括所述重配置定时器的预设时长的信息。Optionally, before receiving 420, that is, before the receiving end receives the SN indication information and the triggering instruction sent by the sending end, the method further includes: receiving, by the receiving end, the high layer signaling sent by the first sending end, the upper layer The signaling includes information of a preset duration of the reconfiguration timer.
在430中,接收端根据该触发指令启动所述重配置定时器,并根据该SN指示信息确定是否在该重配置定时器超时之前接收到携带该SN的PDU。In 430, the receiving end starts the reconfiguration timer according to the triggering instruction, and determines, according to the SN indication information, whether to receive the PDU carrying the SN before the reconfiguration timer expires.
如果接收端在所述重配置定时器超时之前接收到携带该SN的PDU,则执行440,如果接收端在所述重配置定时器超时之前未接收到携带该SN的PDU,则执行450。If the receiving end receives the PDU carrying the SN before the reconfiguration timer expires, perform 440. If the receiving end does not receive the PDU carrying the SN before the reconfiguration timer expires, execute 450.
在440中,若所述接收端在所述重配置定时器超时之前接收到携带所述SN的PDU,则所述接收端在接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置。In 440, if the receiving end receives the PDU carrying the SN before the reconfiguration timer expires, the receiving end receives the PDCP entity of the receiving end when receiving the PDU carrying the SN. Reconfigure.
在450中,若所述接收端在所述重配置定时器超时之前未接收到携带所述SN的PDU,则所述接收端在所述重配置定时器超时时,对所述接收端的PDCP实体进行重配置。In the 450, if the receiving end does not receive the PDU carrying the SN before the reconfiguration timer expires, the receiving end sends a PDCP entity to the receiving end when the reconfiguration timer expires. Reconfigure.
具体来说,接收端接收到第一发送端发送的SN指示信息和触发指令后,接收端启动重配置定时器,并获取第一发送端使用第一SN发送的最后一个PDU的SN,从而确定自己是否在配置定时器超时之前收到了携带该SN的PDU。如果接收端在配置定时器超时之前接收到了携带该SN的PDU,则接收端在接收到携带该SN的PDU时则对接收端的PDCP实体进行重配置;如 果接收端在配置定时器超时之前没有接收到了携带该SN的PDU,那么接收端在配置定时器超时时则对接收端的PDCP实体进行重配置。这里,接收端的PDCP实体在进行重配置之前,支持的SN长度为第一SN长度,接收端的PDCP实体在进行重配置之后,支持的SN长度被配置为第二SN长度,因而可以接收第一发送端或第二发送端使用第二SN长度发送的PDU。Specifically, after receiving the SN indication information and the triggering command sent by the first sending end, the receiving end starts the reconfiguration timer, and obtains the SN of the last PDU sent by the first sending end by using the first SN, thereby determining Whether the PDU carrying the SN is received before the timer expires. If the receiving end receives the PDU carrying the SN before the configuration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN; If the receiving end does not receive the PDU carrying the SN before the configuration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when the configuration timer expires. Here, before the reconfiguration of the PDCP entity at the receiving end, the supported SN length is the first SN length, and after the PDCP entity at the receiving end performs reconfiguration, the supported SN length is configured as the second SN length, and thus the first sending can be received. The PDU transmitted by the second or the second sender using the second SN length.
可选地,在410中,在第一发送端向接收端发送序列号SN指示信息和触发指令之前,该方法还包括:第一发送端对第一发送端的PDCP实体进行重配置,以使得第一发送端在使用第一SN长度向接收端发送最后一个PDU后,能够通过重配置的PDCP实体,使用第二SN长度向接收端发送PDU;其中,440或450中被重配置的接收端的PDCP实体用于接收第一发送端使用第二SN长度发送的PDU。Optionally, in 410, before the first sending end sends the sequence number SN indication information and the triggering instruction to the receiving end, the method further includes: the first sending end reconfigures the PDCP entity of the first sending end, so that the first After transmitting the last PDU to the receiving end by using the first SN length, the transmitting end can send the PDU to the receiving end by using the second SN length by using the reconfigured PDCP entity; wherein, the PDCP of the reconfigured receiving end in 440 or 450 The entity is configured to receive the PDU sent by the first sending end by using the second SN length.
具体来说,第一发送端的PDCP实体在需要进行重配置时,存在SN长度由长变短或由短变长的情况,第一发送端在PDCP实体重配置之前使用第一SN长度向接收端发送PDU,在PDCP实体重配置之后会接着使用第二SN长度向该接收端发送PDU,同时,第一发送端会向接收端发送SN指示信息和触发指令,该SN指示信息指示了第一发送端使用第一SN长度向接收端发送的最后一个PDU的SN,该触发指令用于指示接收端启动重配置定时器,接收端根据该触发指令启动重配置定时器,并确定是否在定时器超时之前接收到该SN指示信息。Specifically, when the PDCP entity of the first transmitting end needs to perform reconfiguration, there is a case where the SN length is shortened from long to short or from short to long. The first transmitting end uses the first SN length to the receiving end before the PDCP entity is reconfigured. The PDU is sent, and after the PDCP entity is reconfigured, the PDU is sent to the receiving end by using the second SN length, and the first sending end sends the SN indication information and the triggering instruction to the receiving end, where the SN indication information indicates the first sending. The SN of the last PDU sent by the first SN length to the receiving end, the triggering instruction is used to instruct the receiving end to start a reconfiguration timer, and the receiving end starts the reconfiguration timer according to the triggering instruction, and determines whether the timer expires. The SN indication information was previously received.
接收端在定时器超时之前接收到了第一发送端使用第一SN长度发送的最后一个PDU时,则在接收到该PDU时对接收端的PDCP实体进行重配置,从而在保证在接收完第一发送端使用第一SN长度发送的已生成的PDU,才去接收第一发送端使用第二SN长度发送的PDU,从而避免了丢包。The receiving end receives the last PDU sent by the first sending end using the first SN length before the timer expires, and then reconfigures the PDCP entity of the receiving end when receiving the PDU, thereby ensuring that the first sending is received after receiving the PDU. The generated PDU sent by the first SN length is used to receive the PDU sent by the first sending end using the second SN length, thereby avoiding packet loss.
接收端在定时器超时之前没有接收到了第一发送端使用第一SN长度发送的最后一个PDU,则在定时器超时时对接收端的PDCP实体进行重配置,防止了接收端在接收第一发送端使用第一SN长度发送的PDU时造成的时延过长,并保证在配置定时器的预设时长内,接收端能够尽可能多地接收第一发送端使用第一SN长度发送的已生成的PDU,减少了丢包的发生。The receiving end does not receive the last PDU sent by the first sending end using the first SN length before the timer expires, and then reconfigures the PDCP entity of the receiving end when the timer expires, preventing the receiving end from receiving the first sending end. The delay caused by using the PDU sent by the first SN length is too long, and it is ensured that the receiving end can receive as much as possible the generated content sent by the first transmitting end using the first SN length within the preset duration of the configuration timer. PDU, which reduces the occurrence of packet loss.
可选地,在420中,在接收端接收第一发送端发送的SN指示信息和触发指令之前,该方法还包括:接收端从第一发送端切换至第二发送端,第一发送端用于发送PDU的SN长度为第一SN长度,第二发送端用于发送PDU 的SN长度为第二SN长度;其中,440或405中被重配置的接收端的PDCP实体用于接收第二发送端使用第二SN长度发送的PDU。Optionally, in 420, before the receiving end receives the SN indication information and the triggering instruction sent by the first sending end, the method further includes: the receiving end switches from the first sending end to the second sending end, where the first sending end uses The SN length of the transmitted PDU is the first SN length, and the second transmitting end is used to send the PDU. The SN length is the second SN length; wherein the PDCP entity of the reconfigured receiving end in 440 or 405 is configured to receive the PDU sent by the second transmitting end using the second SN length.
具体来说,接收端在发送端之间进行切换,例如从第一发送端切换至第二发送端后,由于第一发送端用于发送PDU的SN长度(第一SN长度),与第二发送端用于发送PDU的SN长度(第二SN长度)不同,因此接收端需要对接收端的PDCP实体进行重配置,以使得该接收端的PDCP实体能够支持切换后的第二发送端所使用的第二SN长度,从而通过配置后的PDCP实体接收第二发送端使用第二SN长度发送的PDU。Specifically, the receiving end switches between the sending end, for example, after switching from the first sending end to the second sending end, because the first sending end is used to send the SN length of the PDU (the first SN length), and the second The SN length (second SN length) used by the transmitting end to transmit the PDU is different. Therefore, the receiving end needs to reconfigure the PDCP entity at the receiving end, so that the PDCP entity at the receiving end can support the second used by the switched second transmitting end. The second SN is configured to receive, by the configured PDCP entity, the PDU sent by the second sending end using the second SN length.
这时,接收端会根据从第一发送端接收的触发指令启动自己的重配置定时器,并根据从第一发送端接收的SN指示信息,确定在配置定时器超时之前是否收到了第一发送端使用第一SN长度发送的最后一个PDU。At this time, the receiving end starts its own reconfiguration timer according to the triggering instruction received from the first transmitting end, and determines whether the first sending is received before the configuration timer expires according to the SN indication information received from the first transmitting end. The last PDU sent by the terminal using the first SN length.
接收端在定时器超时之前接收到了第一发送端使用第一SN长度发送的最后一个PDU时,则在接收到该PDU时对接收端的PDCP实体进行重配置,才会对PDCP实体进行重配置,从而在保证在接收完第一发送端使用第一SN长度发送的已生成的PDU,才去接收第二发送端使用第二SN长度发送的PDU,从而避免了丢包。The receiving end receives the last PDU sent by the first sending end using the first SN length before the timer expires, and then reconfigures the PDCP entity of the receiving end when the PDU is received, and then the PDCP entity is reconfigured. Therefore, after receiving the generated PDU sent by the first sending end using the first SN length, the PDU transmitted by the second sending end using the second SN length is received, thereby avoiding packet loss.
接收端在定时器超时之前没有接收到了第一发送端使用第一SN长度发送的最后一个PDU,则在定时器超时时对接收端的PDCP实体进行重配置,防止了接收端在接收第一发送端使用第一SN长度发送的PDU时造成的时延过长,并保证在配置定时器的预设时长内,接收端能够尽可能多地接收第一发送端使用第一SN长度发送的已生成的PDU,减少了丢包。The receiving end does not receive the last PDU sent by the first sending end using the first SN length before the timer expires, and then reconfigures the PDCP entity of the receiving end when the timer expires, preventing the receiving end from receiving the first sending end. The delay caused by using the PDU sent by the first SN length is too long, and it is ensured that the receiving end can receive as much as possible the generated content sent by the first transmitting end using the first SN length within the preset duration of the configuration timer. PDU, reducing packet loss.
接收端或发送端中可以只有一种PDCP实体,该PDCP实体可以用于传输控制类PDU和数据类PDU;接收端或者发送端中的PCDP实体也可以包括控制PDCP实体和数据PDCP实体,控制PDCP实体用于发送控制类PDU,数据PDCP实体用于发送数据类PDU。There may be only one type of PDCP entity in the receiving end or the transmitting end. The PDCP entity may be used to transmit control PDUs and data class PDUs. The PCDP entity in the receiving end or the transmitting end may also include a PDCP entity and a data PDCP entity to control PDCP. The entity is used to send a control class PDU, and the data PDCP entity is used to send a data class PDU.
可选地,接收端的PDCP实体为接收端的数据PDCP实体,其中,在440或450中,接收端对接收端的PDCP实体进行重配置包括:接收端通过调用接收端的控制PDCP实体对接收端的数据PDCP实体进行重配置。Optionally, the PDCP entity at the receiving end is a data PDCP entity at the receiving end, where, in 440 or 450, the receiving end reconfigures the PDCP entity of the receiving end, including: receiving, by the receiving end, the PDCP entity that controls the PDCP entity of the receiving end to the data of the receiving end Reconfigure.
举例来说,如果接收端中包括控制PDCP实体和数据PDCP实体这两种PDCP,发送端中也包括控制PDCP实体和数据PDCP实体这两种PDCP,如图5所示的本申请实施例的配置PDCP实体的方法的流程交互图,接收端在 对接收端的PDCP实体进行重配置时,是通过调用接收端的控制PDCP实体对接收端的数据PDCP实体进行重配置的。图5中示出了第一网络设备和终端设备,如图5所示:For example, if the receiving end includes the PDCP of the PDCP entity and the data PDCP entity, the PDCP is also included in the sending end, and the PDCP entity and the data PDCP entity are also included in the sending end, as shown in FIG. Process interaction diagram of the PDCP entity method, the receiving end is When the PDCP entity at the receiving end is reconfigured, the PDCP entity of the receiving end is reconfigured by calling the controlling PDCP entity of the receiving end. The first network device and the terminal device are shown in FIG. 5, as shown in FIG.
在510中,网络设备通过调用网络设备的控制PDCP实体,对网络设备的数据PDCP实体进行重配置。In 510, the network device reconfigures the data PDCP entity of the network device by invoking a control PDCP entity of the network device.
图5以非切换场景为例,第一网络设备在在使用第一SN长度向终端设备发送PDU之后,进行了数据PDCP实体的重配置,从而在重配置之后使用第二SN长度向终端设备发送PDU。5 is a non-switching scenario. The first network device performs reconfiguration of the data PDCP entity after transmitting the PDU to the terminal device by using the first SN length, so that after the reconfiguration, the second SN length is used to send to the terminal device. PDU.
在520中,网络设备的控制PDCP实体向终端设备的控制PDCP实体发送SN指示信息和触发指令,该SN指示信息用于指示第一网络设备使用第一SN长度向终端设备发送的最后一个PDU的SN,该触发指令用于指示终端设备启动重配置定时器。In 520, the control PDCP entity of the network device sends the SN indication information and the triggering instruction to the control PDCP entity of the terminal device, where the SN indication information is used to indicate that the first network device uses the first SN length to send the last PDU to the terminal device. SN, the triggering instruction is used to instruct the terminal device to start a reconfiguration timer.
在530中,终端设备的控制PDCP实体接收该SN指示信息和触发指令。In 530, the controlling PDCP entity of the terminal device receives the SN indication information and the triggering instruction.
终端设备根据该SN指示信息获知第一网络设备使用第一SN长度向终端设备发送的最后一个PDU的SN,并根据该触发指令启动重配置定时器即执行540。The terminal device learns, according to the SN indication information, the SN of the last PDU sent by the first network device to the terminal device by using the first SN length, and starts the reconfiguration timer according to the triggering instruction to perform 540.
在540中,终端设备启动重配置定时器。At 540, the terminal device initiates a reconfiguration timer.
如果终端设备在所述重配置定时器超时之前接收到携带该SN的PDU,则执行550,如果终端设备在所述重配置定时器超时之前未接收到携带该SN的PDU,则执行560。If the terminal device receives the PDU carrying the SN before the reconfiguration timer expires, performing 550, if the terminal device does not receive the PDU carrying the SN before the reconfiguration timer expires, executing 560.
在550中,终端设备在接收到携带所述SN的PDU时,对终端设备的PDCP实体进行重配置。In 550, the terminal device reconfigures the PDCP entity of the terminal device when receiving the PDU carrying the SN.
在560中,终端设备在所述重配置定时器超时时,对终端设备的PDCP实体进行重配置。In 560, the terminal device reconfigures the PDCP entity of the terminal device when the reconfiguration timer expires.
在570中,终端设备的控制PDCP实体在数据PDCP完成重配置后,向第一网络设备的控制PDCP实体发送重配置完成消息,以进行反馈。In 570, the control PDCP entity of the terminal device sends a reconfiguration complete message to the control PDCP entity of the first network device for feedback after the data PDCP completes the reconfiguration.
可选地,在440或450之后,该方法还包括:接收端向第一发送端发送重配置完成消息。Optionally, after 440 or 450, the method further includes: the receiving end sends a reconfiguration complete message to the first sending end.
因此,本申请实施例的配置PDCP实体的方法,发送端通过向接收端发送其使用第一SN长度发送的最后一个PDU的SN,并指示接收端启动重配置定时器,使得接收端在接收到携带该SN的PDU时或者定时器超时时,才 对接收端的PDCP实体进行重配置,从而接收该发送端或其他发送端使用第二SN长度发送的PDU,减少了接收端对PDCP实体重配置过程中的丢包,并防止了接收端在接收发送端使用第一SN长度发送的PDU时造成的时延过长,使接收端能够在配置定时器的预设时长内尽可能多地接收发送端使用第一SN长度发送的已生成的PDU。Therefore, in the method for configuring a PDCP entity in the embodiment of the present application, the transmitting end sends the SN of the last PDU that is sent by using the first SN length to the receiving end, and instructs the receiving end to start the reconfiguration timer, so that the receiving end receives the reconfiguration timer. When the PDU carrying the SN or the timer expires, The PDCP entity at the receiving end is reconfigured to receive the PDU sent by the sending end or other sending end by using the second SN length, which reduces the packet loss during the reconfiguration process of the PDCP entity by the receiving end, and prevents the receiving end from receiving and sending. The delay caused by the PDU sent by the first SN length is too long, so that the receiving end can receive the generated PDU sent by the sending end using the first SN length as much as possible within the preset duration of the configuration timer.
图6是根据本申请实施例的接收装置600的示意性框图。如图6所示,该接收装置600包括接收单元610和处理单元620。其中:FIG. 6 is a schematic block diagram of a receiving device 600 in accordance with an embodiment of the present application. As shown in FIG. 6, the receiving device 600 includes a receiving unit 610 and a processing unit 620. among them:
接收单元610,用于接收第一发送装置发送的序列号SN指示信息,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个数据协议单元PDU的SN;The receiving unit 610 is configured to receive sequence number SN indication information sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last data protocol unit to the receiving device by using the first SN length. SN of the PDU;
处理单元620,用于在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置,以使得所述接收装置能够通过重配置的所述PDCP实体,接收所述第一发送装置使用第二SN长度发送的PDU或第二发送装置使用所述第二SN长度发送的PDU。The processing unit 620 is configured to: when receiving the PDU carrying the SN, reconfigure the PDCP entity of the receiving apparatus, so that the receiving apparatus can receive the first by using the reconfigured PDCP entity The transmitting device uses the PDU transmitted by the second SN length or the PDU transmitted by the second transmitting device using the second SN length.
因此,本申请实施例的接收装置,通过接收发送装置使用第一SN长度发送的最后一个PDU的SN,并在接收到携带该SN的PDU时,才对接收装置的PDCP实体进行重配置,避免了PDCP实体重配置过程中的丢包。Therefore, the receiving apparatus of the embodiment of the present application receives the SN of the last PDU sent by the sending apparatus using the first SN length, and reconfigures the PDCP entity of the receiving apparatus when receiving the PDU carrying the SN, thereby avoiding Packet loss during PDCP entity reconfiguration.
可选地,处理单元620还用于:在接收单元610接收第一发送装置发送的SN指示信息之前,从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Optionally, the processing unit 620 is further configured to: switch from the first sending device to the second sending device, before the receiving unit 610 receives the SN indication information sent by the first sending device, where the first sending device is used by The length of the SN for transmitting the PDU is the length of the first SN, and the length of the SN used by the second sending device to send the PDU is the length of the second SN;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
可选地,在接收单元610接收第一发送装置发送的SN指示信息之前,所述第一发送装置对所述第一发送装置的PDCP实体已进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Optionally, before the receiving unit 610 receives the SN indication information sent by the first sending device, the first sending device reconfigures the PDCP entity of the first sending device, so that the first sending device is After transmitting the last PDU to the receiving device by using the first SN length, the PDU can be sent to the receiving device by using the second SN length by the PDCP entity of the first sending device that is reconfigured;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
可选地,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体, 其中,所述处理单元620具体用于:在接收到携带所述SN的PDU时,通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置。Optionally, the PDCP entity of the receiving device is a data PDCP entity of the receiving device, The processing unit 620 is specifically configured to: when receiving the PDU carrying the SN, reconfigure the data PDCP entity of the receiving apparatus by calling a control PDCP entity of the receiving apparatus.
可选地,所述接收装置还包括发送单元,所述发送单元用于:向所述第一发送装置发送重配置完成消息。Optionally, the receiving device further includes a sending unit, where the sending unit is configured to: send a reconfiguration complete message to the first sending device.
可选地,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。Optionally, the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
应理解,该接收装置600可以对应于方法实施例中的接收端,可以实现该接收端的相应功能,为了简洁,在此不再赘述。It should be understood that the receiving device 600 may correspond to the receiving end in the method embodiment, and the corresponding function of the receiving end may be implemented. For brevity, no further details are provided herein.
图7是根据本申请实施例的发送装置700的示意性框图。如图7所示,该发送装置700包括发送单元710,发送单元710用于:FIG. 7 is a schematic block diagram of a transmitting device 700 in accordance with an embodiment of the present application. As shown in FIG. 7, the sending apparatus 700 includes a sending unit 710, and the sending unit 710 is configured to:
向接收装置发送序列号SN指示信息,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个PDU的SN,以使得所述接收装置在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置。Sending sequence number SN indication information to the receiving device, the SN indication information being used to indicate the SN of the last PDU sent by the first sending device to the receiving device by using the first SN length, so that the receiving device is receiving When the PDU carrying the SN is carried, the PDCP entity of the receiving device is reconfigured.
因此,本申请实施例的发送装置,通过向接收装置发送指示该发送装置使用第一SN长度发送的最后一个PDU的SN,使得接收装置在接收到携带该SN的PDU时,才对接收装置的PDCP实体进行重配置,避免了PDCP实体重配置过程中的丢包。Therefore, the transmitting apparatus of the embodiment of the present application transmits the SN indicating the last PDU transmitted by the sending apparatus using the first SN length to the receiving apparatus, so that the receiving apparatus receives the PDU carrying the SN, and then the receiving apparatus The PDCP entity performs reconfiguration to avoid packet loss during PDCP entity reconfiguration.
可选地,所述第一发送装置设备还包括处理单元720,所述处理单元720用于:在所述发送单元710向接收装置发送序列号SN指示信息之前,对所述第一发送装置的PDCP实体进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Optionally, the first sending device device further includes a processing unit 720, configured to: before the sending unit 710 sends the serial number SN indication information to the receiving device, to the first sending device Reconfiguring the PDCP entity to enable the first transmitting device to pass the reconfigured PDCP entity of the first transmitting device after transmitting the last PDU to the receiving device by using the first SN length, Transmitting a PDU to the receiving device by using the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
可选地,在所述发送单元710向接收装置发送SN指示信息之前,所述接收装置已从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度; Optionally, before the sending unit 710 sends the SN indication information to the receiving device, the receiving device has switched from the first sending device to the second sending device, where the first sending device is configured to send the PDU. The SN length is the first SN length, and the SN length used by the second sending device to send the PDU is the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
可选地,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,所述接收装置在接收到携带所述SN的PDU时,是通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置的。Optionally, the PDCP entity of the receiving device is a data PDCP entity of the receiving device, and when receiving the PDU carrying the SN, the receiving device is configured by calling a control PDCP entity of the receiving device The data PDCP entity of the receiving device is reconfigured.
可选地,所述第一发送装置设备还包括接收单元,所述接收单元用于:接收所述接收装置发送的重配置完成消息。Optionally, the first sending device device further includes a receiving unit, where the receiving unit is configured to: receive a reconfiguration complete message sent by the receiving device.
可选地,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。Optionally, the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
应理解,该接收装置700可以对应于方法实施例中的接收端,可以实现该接收端的相应功能,为了简洁,在此不再赘述。It should be understood that the receiving device 700 may correspond to the receiving end in the method embodiment, and the corresponding function of the receiving end may be implemented. For brevity, no further details are provided herein.
图8是根据本申请实施例的接收装置800的示意性结构图。如图8所示,该接收装置包括处理器810、收发器820和存储器830,其中,该处理器810、收发器820和存储器830之间通过内部连接通路互相通信。该存储器830用于存储指令,该处理器810用于执行该存储器830存储的指令,以控制该收发器820接收信号或发送信号。其中,FIG. 8 is a schematic structural diagram of a receiving apparatus 800 according to an embodiment of the present application. As shown in FIG. 8, the receiving device includes a processor 810, a transceiver 820, and a memory 830, wherein the processor 810, the transceiver 820, and the memory 830 communicate with each other through an internal connection path. The memory 830 is for storing instructions, and the processor 810 is configured to execute instructions stored by the memory 830 to control the transceiver 820 to receive signals or send signals. among them,
收发器820,用于接收第一发送装置发送的序列号SN指示信息,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个数据协议单元PDU的SN;The transceiver 820 is configured to receive the sequence number SN indication information sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last data protocol unit to the receiving device by using the first SN length. SN of the PDU;
处理器810,用于在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置,以使得所述接收装置能够通过重配置的所述PDCP实体,接收所述第一发送装置使用第二SN长度发送的PDU或第二发送装置使用所述第二SN长度发送的PDU。The processor 810 is configured to: when receiving the PDU carrying the SN, reconfigure the PDCP entity of the receiving apparatus, so that the receiving apparatus can receive the first by using the reconfigured PDCP entity The transmitting device uses the PDU transmitted by the second SN length or the PDU transmitted by the second transmitting device using the second SN length.
因此,本申请实施例的接收装置,通过接收发送装置使用第一SN长度发送的最后一个PDU的SN,并在接收到携带该SN的PDU时,才对接收装置的PDCP实体进行重配置,避免了PDCP实体重配置过程中的丢包。Therefore, the receiving apparatus of the embodiment of the present application receives the SN of the last PDU sent by the sending apparatus using the first SN length, and reconfigures the PDCP entity of the receiving apparatus when receiving the PDU carrying the SN, thereby avoiding Packet loss during PDCP entity reconfiguration.
可选地,处理器810还用于:在收发器820接收第一发送装置发送的SN指示信息之前,从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Optionally, the processor 810 is further configured to: switch from the first sending device to the second sending device before the transceiver 820 receives the SN indication information sent by the first sending device, where the first sending device is used by the first sending device The length of the SN for transmitting the PDU is the length of the first SN, and the length of the SN used by the second sending device to send the PDU is the length of the second SN;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装 置使用所述第二SN长度发送的PDU。Wherein the PDCP entity of the reconfigured receiving device is configured to receive the second sending device A PDU transmitted using the second SN length is placed.
可选地,在收发器820接收第一发送装置发送的SN指示信息之前,所述第一发送装置对所述第一发送装置的PDCP实体已进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Optionally, before the transceiver 820 receives the SN indication information sent by the first sending apparatus, the first sending apparatus reconfigures the PDCP entity of the first sending apparatus, so that the first sending apparatus is After transmitting the last PDU to the receiving device by using the first SN length, the PDU can be sent to the receiving device by using the second SN length by the PDCP entity of the first sending device that is reconfigured;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
可选地,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,其中,所述处理器810具体用于:在接收到携带所述SN的PDU时,通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置。Optionally, the PDCP entity of the receiving device is a data PDCP entity of the receiving device, where the processor 810 is specifically configured to: when receiving the PDU carrying the SN, by calling the receiving device The PDCP entity is controlled to reconfigure the data PDCP entity of the receiving device.
可选地,收发器820用于:向所述第一发送装置发送重配置完成消息。Optionally, the transceiver 820 is configured to: send a reconfiguration complete message to the first sending device.
可选地,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。Optionally, the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
应理解,在本申请实施例中,该处理器810可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器810还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present application, the processor 810 may be a central processing unit ("CPU"), and the processor 810 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该存储器830可以包括只读存储器和随机存取存储器,并向处理器810提供指令和数据。存储器830的一部分还可以包括非易失性随机存取存储器。例如,存储器830还可以存储设备类型的信息。The memory 830 can include read only memory and random access memory and provides instructions and data to the processor 810. A portion of the memory 830 may also include a non-volatile random access memory. For example, the memory 830 can also store information of the device type.
在实现过程中,上述方法的各步骤可以通过处理器810中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的定位方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器810中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器830,处理器810读取存储器830中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 810 or an instruction in a form of software. The steps of the positioning method disclosed in the embodiments of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor 810. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in memory 830, and processor 810 reads the information in memory 830 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
根据本申请实施例的接收装置800可以对应于上述方法200中用于执行 方法200的接收端,以及根据本申请实施例的接收端600,且该接收装置800中的各单元或模块分别用于执行上述方法200中接收端所执行的各动作或处理过程,这里,为了避免赘述,省略其详细说明。The receiving apparatus 800 according to an embodiment of the present application may correspond to the method 200 described above for execution. The receiving end of the method 200, and the receiving end 600 according to the embodiment of the present application, and each unit or module in the receiving apparatus 800 is used to perform each action or process performed by the receiving end in the foregoing method 200, where Avoid the details and omit the detailed description.
图9是根据本申请实施例的接收装置900的示意性结构图。如图9所示,该接收装置包括处理器910、收发器920和存储器930,其中,该处理器910、收发器920和存储器930之间通过内部连接通路互相通信。该存储器930用于存储指令,该处理器910用于执行该存储器930存储的指令,以控制该收发器920接收信号或发送信号。其中,收发器920具体用于:FIG. 9 is a schematic structural diagram of a receiving device 900 according to an embodiment of the present application. As shown in FIG. 9, the receiving device includes a processor 910, a transceiver 920, and a memory 930, wherein the processor 910, the transceiver 920, and the memory 930 communicate with each other through an internal connection path. The memory 930 is for storing instructions, and the processor 910 is configured to execute instructions stored by the memory 930 to control the transceiver 920 to receive signals or transmit signals. The transceiver 920 is specifically configured to:
向接收装置发送序列号SN指示信息,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个PDU的SN,以使得所述接收装置在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置。Sending sequence number SN indication information to the receiving device, the SN indication information being used to indicate the SN of the last PDU sent by the first sending device to the receiving device by using the first SN length, so that the receiving device is receiving When the PDU carrying the SN is carried, the PDCP entity of the receiving device is reconfigured.
因此,本申请实施例的发送装置,通过向接收装置发送指示该发送装置使用第一SN长度发送的最后一个PDU的SN,使得接收装置在接收到携带该SN的PDU时,才对接收装置的PDCP实体进行重配置,避免了PDCP实体重配置过程中的丢包。Therefore, the transmitting apparatus of the embodiment of the present application transmits the SN indicating the last PDU transmitted by the sending apparatus using the first SN length to the receiving apparatus, so that the receiving apparatus receives the PDU carrying the SN, and then the receiving apparatus The PDCP entity performs reconfiguration to avoid packet loss during PDCP entity reconfiguration.
可选地,所述处理器910用于:在所述收发器920向接收装置发送序列号SN指示信息之前,对所述第一发送装置的PDCP实体进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Optionally, the processor 910 is configured to: before the transceiver 920 sends the sequence number SN indication information to the receiving device, reconfigure the PDCP entity of the first sending device, so that the first sending After transmitting the last PDU to the receiving device by using the first SN length, the device can send the second SN length to the receiving device by using the reconfigured PDCP entity of the first sending device. PDU;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
可选地,在所述收发器920向接收装置发送SN指示信息之前,所述接收装置已从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Optionally, before the transceiver 920 sends the SN indication information to the receiving device, the receiving device has switched from the first transmitting device to the second transmitting device, and the first transmitting device is configured to send the PDU. The SN length is the first SN length, and the SN length used by the second sending device to send the PDU is the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
可选地,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,所述接收装置在接收到携带所述SN的PDU时,是通过调用所述接收装置的 控制PDCP实体对所述接收装置的数据PDCP实体进行重配置的。Optionally, the PDCP entity of the receiving device is a data PDCP entity of the receiving device, and the receiving device receives the PDU carrying the SN by calling the receiving device. Controlling the PDCP entity to reconfigure the data PDCP entity of the receiving device.
可选地,所述收发器920用于:接收所述接收装置发送的重配置完成消息。Optionally, the transceiver 920 is configured to: receive a reconfiguration complete message sent by the receiving device.
可选地,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。Optionally, the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
应理解,在本申请实施例中,该处理器910可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器910还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present application, the processor 910 may be a central processing unit ("CPU"), and the processor 910 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该存储器930可以包括只读存储器和随机存取存储器,并向处理器910提供指令和数据。存储器930的一部分还可以包括非易失性随机存取存储器。例如,存储器930还可以存储设备类型的信息。The memory 930 can include read only memory and random access memory and provides instructions and data to the processor 910. A portion of the memory 930 may also include a non-volatile random access memory. For example, the memory 930 can also store information of the device type.
在实现过程中,上述方法的各步骤可以通过处理器910中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的定位方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器910中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器930,处理器910读取存储器930中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 910 or an instruction in a form of software. The steps of the positioning method disclosed in the embodiment of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor 910. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 930, and the processor 910 reads the information in the memory 930 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
根据本申请实施例的接收装置900可以对应于上述方法200中用于执行方法200的发送端,以及根据本申请实施例的发送端700,且该发送装置900中的各单元或模块分别用于执行上述方法200中发送端所执行的各动作或处理过程,这里,为了避免赘述,省略其详细说明。The receiving apparatus 900 according to the embodiment of the present application may correspond to the transmitting end for performing the method 200 in the foregoing method 200, and the transmitting end 700 according to the embodiment of the present application, and each unit or module in the sending apparatus 900 is used for respectively The operations or processes executed by the transmitting end in the above method 200 are performed. Here, in order to avoid redundancy, detailed description thereof will be omitted.
图10是根据本申请实施例的接收装置1000的示意性框图。如图10所示,该接收装置1000包括接收单元1010和处理单元1020。其中,FIG. 10 is a schematic block diagram of a receiving device 1000 in accordance with an embodiment of the present application. As shown in FIG. 10, the receiving device 1000 includes a receiving unit 1010 and a processing unit 1020. among them,
接收单元1010,用于接收第一发送装置发送的序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收装置启动重配置定时器;The receiving unit 1010 is configured to receive the sequence number SN indication information and the triggering instruction sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last one sent to the receiving device by using the first SN length. The SN of the data protocol unit PDU, the triggering instruction is used to instruct the receiving device to start a reconfiguration timer;
处理单元1020,用于根据所述触发指令启动所述重配置定时器,并根据 所述SN指示信息确定是否在所述重配置定时器超时之前接收到携带所述SN的PDU;The processing unit 1020 is configured to start the reconfiguration timer according to the triggering instruction, and according to The SN indication information determines whether a PDU carrying the SN is received before the reconfiguration timer expires;
若所述接收单元1010在所述重配置定时器超时之前接收到携带所述SN的PDU,则所述处理单元1020还用于在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置,或者If the receiving unit 1010 receives the PDU carrying the SN before the reconfiguration timer expires, the processing unit 1020 is further configured to: when receiving the PDU carrying the SN, to the receiving device The PDCP entity is reconfigured, or
若所述接收单元1010在所述重配置定时器超时之前未接收到携带所述SN的PDU,则所述处理单元1020还用于在所述重配置定时器超时时,对所述接收装置的PDCP实体进行重配置,以使得所述接收装置能够通过重配置的所述PDCP实体接收所述第一发送装置使用第二SN长度发送的PDU或第二发送装置使用所述第二SN长度发送的PDU。If the receiving unit 1010 does not receive the PDU carrying the SN before the reconfiguration timer expires, the processing unit 1020 is further configured to: when the reconfiguration timer expires, to the receiving device Reconfiguring the PDCP entity to enable the receiving device to receive, by the reconfigured PDCP entity, the PDU sent by the first sending device using the second SN length or the second transmitting device transmitting using the second SN length PDU.
因此,本申请实施例的接收装置,通过接收发送装置使用第一SN长度发送的最后一个PDU的SN,并启动重配置定时器,使得接收装置在接收到携带该SN的PDU时或者定时器超时时,才对接收端的PDCP实体进行重配置,从而接收该发送装置或其他发送装置使用第二SN长度发送的PDU,减少了接收装置对PDCP实体重配置过程中的丢包,并防止了接收装置在接收发送装置使用第一SN长度发送的PDU时造成的时延过长,使接收装置能够在配置定时器的预设时长内尽可能多地接收发送装置使用第一SN长度发送的已生成的PDU。Therefore, the receiving apparatus in the embodiment of the present application receives the SN of the last PDU sent by the sending apparatus using the first SN length, and starts the reconfiguration timer, so that the receiving apparatus receives the PDU carrying the SN or the timer is super At the same time, the PDCP entity at the receiving end is reconfigured to receive the PDU transmitted by the transmitting device or other transmitting device using the second SN length, which reduces the packet loss during the reconfiguration of the PDCP entity by the receiving device, and prevents the receiving device. The delay caused by the receiving transmitting device using the PDU transmitted by the first SN length is too long, so that the receiving device can receive as much as possible the generated transmitting device transmits using the first SN length within the preset duration of the configuration timer. PDU.
可选地,所述处理单元1020还用于:在所述接收单元1010接收第一发送装置发送的SN指示信息和触发指令之前,从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Optionally, the processing unit 1020 is further configured to: switch from the first sending device to the second sending device, before the receiving unit 1010 receives the SN indication information and the triggering command sent by the first sending device, The SN length of the first sending device used to send the PDU is the first SN length, and the SN length used by the second sending device to send the PDU is the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
可选地,在所述接收单元1010接收第一发送装置发送的序列号SN指示信息和触发指令之前,所述第一发送装置对所述第一发送装置的PDCP实体已进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Optionally, before the receiving unit 1010 receives the sequence number SN indication information and the triggering instruction sent by the first sending device, the first sending device reconfigures the PDCP entity of the first sending device, so that After the first transmitting device sends the last PDU to the receiving device by using the first SN length, the first sending device can use the second SN length direction by using the reconfigured PDCP entity of the first sending device. The receiving device sends a PDU;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。 The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
可选地,所述接收单元1010还用于:在接收第一发送装置发送的SN指示信息和触发指令之前,接收所述第一发送装置发送的高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。Optionally, the receiving unit 1010 is further configured to: before receiving the SN indication information and the triggering instruction sent by the first sending apparatus, receive the high layer signaling sent by the first sending apparatus, where the high layer signaling includes the Reconfigure the preset duration information of the timer.
可选地,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,其中,所述处理单元1020具体用于:通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置。Optionally, the PDCP entity of the receiving device is a data PDCP entity of the receiving device, where the processing unit 1020 is specifically configured to: by calling a PDCP entity of the receiving device, data PDCP of the receiving device The entity is reconfigured.
可选地,所述接收装置还包括发送单元,所述发送单元用于:向所述第一发送装置发送的重配置完成消息。Optionally, the receiving device further includes a sending unit, where the sending unit is configured to: send a reconfiguration complete message to the first sending device.
可选地,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。Optionally, the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
应理解,该接收装置1000可以对应于方法实施例中的接收端,可以实现该接收端的相应功能,为了简洁,在此不再赘述。It should be understood that the receiving device 1000 may correspond to the receiving end in the method embodiment, and the corresponding function of the receiving end may be implemented. For brevity, no further details are provided herein.
图11是根据本申请实施例的发送装置1100的示意性框图。如图11所示,该发送装置1100包括发送单元1110,发送单元1110用于:FIG. 11 is a schematic block diagram of a transmitting device 1100 according to an embodiment of the present application. As shown in FIG. 11, the transmitting apparatus 1100 includes a transmitting unit 1110, and the sending unit 1110 is configured to:
向接收装置发送序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收装置启动重配置定时器,以使得所述接收装置在接收到携带所述SN的PDU时或者所述重配置定时器超时时,对所述接收装置的PDCP实体进行重配置。Sending sequence number SN indication information and a triggering instruction to the receiving device, the SN indication information being used to indicate an SN of the last data protocol unit PDU sent by the first sending device to the receiving device by using the first SN length, The triggering instruction is used to instruct the receiving device to start a reconfiguration timer, so that the receiving device performs the PDCP entity of the receiving device when receiving the PDU carrying the SN or when the reconfiguration timer expires Reconfiguration.
因此,本申请实施例的发送装置,通过向接收装置发送指示该发送装置使用第一SN长度发送的最后一个PDU的SN,并指示接收装置启动重配置定时器,使得接收装置在接收到携带该SN的PDU时或者定时器超时时,才对接收端的PDCP实体进行重配置,从而接收该发送装置或其他发送装置使用第二SN长度发送的PDU,减少了接收装置对PDCP实体重配置过程中的丢包,并防止了接收装置在接收发送装置使用第一SN长度发送的PDU时造成的时延过长,使接收装置能够在配置定时器的预设时长内尽可能多地接收发送装置使用第一SN长度发送的已生成的PDU。Therefore, the transmitting apparatus of the embodiment of the present application transmits the SN indicating the last PDU sent by the sending apparatus by using the first SN length to the receiving apparatus, and instructs the receiving apparatus to start the reconfiguration timer, so that the receiving apparatus receives the carrying When the SN PDU or the timer expires, the PDCP entity at the receiving end is reconfigured to receive the PDU sent by the sending device or other sending device using the second SN length, which reduces the receiving device to reconfigure the PDCP entity. The packet is lost, and the delay caused by the receiving device when receiving the PDU transmitted by the transmitting device using the first SN length is too long, so that the receiving device can receive the transmitting device as much as possible within the preset time period of configuring the timer. A generated PDU transmitted by an SN length.
可选地,所述发送装置还包括处理单元1120,所述处理单元1120用于:在所述发送单元1110向接收装置发送序列号SN指示信息和触发指令之前,对所述第一发送装置的PDCP实体进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过 重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Optionally, the sending device further includes a processing unit 1120, configured to: before the sending unit 1110 sends the sequence number SN indication information and the triggering instruction to the receiving device, to the first sending device The PDCP entity performs reconfiguration such that the first transmitting device can pass the last PDU after sending the last PDU to the receiving device by using the first SN length Reconfiguring the PDCP entity of the first sending device to send the PDU to the receiving device by using the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
可选地,在所述第一发送装置向接收装置发送序列号SN指示信息和触发指令之前,所述接收装置已从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Optionally, before the first sending device sends the serial number SN indication information and the triggering instruction to the receiving device, the receiving device has switched from the first sending device to the second sending device, the first The SN length of the sending device for transmitting the PDU is the first SN length, and the SN length of the second sending device for transmitting the PDU is the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
可选地,所述发送单元1110还用于:在向接收装置发送SN指示信息和触发指令之前,向所述接收装置发送高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。Optionally, the sending unit 1110 is further configured to: before sending the SN indication information and the triggering instruction to the receiving apparatus, send the high layer signaling to the receiving apparatus, where the high layer signaling includes the preprocessing of the reconfiguration timer. Set the length of information.
可选地,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,所述接收装置在接收到携带所述SN的PDU时或者所述重配置定时器超时时,是通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置的。Optionally, the PDCP entity of the receiving device is a data PDCP entity of the receiving device, and when the receiving device receives the PDU carrying the SN or the reconfiguration timer expires, by calling the The control PDCP entity of the receiving device reconfigures the data PDCP entity of the receiving device.
可选地,所述第一发送装置设备还包括接收单元,所述接收单元用于:接收所述接收装置发送的重配置完成消息。Optionally, the first sending device device further includes a receiving unit, where the receiving unit is configured to: receive a reconfiguration complete message sent by the receiving device.
可选地,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。Optionally, the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
应理解,该接收装置1100可以对应于方法实施例中的接收端,可以实现该接收端的相应功能,为了简洁,在此不再赘述。It should be understood that the receiving device 1100 may correspond to the receiving end in the method embodiment, and the corresponding function of the receiving end may be implemented. For brevity, no further details are provided herein.
图12是根据本申请实施例的接收装置1200的示意性结构图。如图12所示,该接收装置包括处理器1210、收发器1220和存储器1230,其中,该处理器1210、收发器1220和存储器1230之间通过内部连接通路互相通信。该存储器1230用于存储指令,该处理器1210用于执行该存储器1230存储的指令,以控制该收发器1220接收信号或发送信号。其中,FIG. 12 is a schematic structural diagram of a receiving device 1200 according to an embodiment of the present application. As shown in FIG. 12, the receiving device includes a processor 1210, a transceiver 1220, and a memory 1230, wherein the processor 1210, the transceiver 1220, and the memory 1230 communicate with each other through an internal connection path. The memory 1230 is configured to store instructions for executing the instructions stored by the memory 1230 to control the transceiver 1220 to receive signals or transmit signals. among them,
收发器1220,用于接收第一发送装置发送的序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个数据协议单元PDU的SN,所述触发指令用于指 示所述接收装置启动重配置定时器;The transceiver 1220 is configured to receive the serial number SN indication information and the triggering instruction sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last one sent to the receiving device by using the first SN length. SN of the data protocol unit PDU, the trigger instruction is used to refer to Instructing the receiving device to initiate a reconfiguration timer;
处理器1210,用于根据所述触发指令启动所述重配置定时器,并根据所述SN指示信息确定是否在所述重配置定时器超时之前接收到携带所述SN的PDU;The processor 1210 is configured to start the reconfiguration timer according to the triggering instruction, and determine, according to the SN indication information, whether a PDU carrying the SN is received before the reconfiguration timer expires;
若所述收发器1220在所述重配置定时器超时之前接收到携带所述SN的PDU,则所述处理器1210还用于在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置,或者If the transceiver 1220 receives the PDU carrying the SN before the reconfiguration timer expires, the processor 1210 is further configured to: when receiving the PDU carrying the SN, to the receiving device The PDCP entity is reconfigured, or
若所述收发器1220在所述重配置定时器超时之前未接收到携带所述SN的PDU,则所述处理器1210还用于在所述重配置定时器超时时,对所述接收装置的PDCP实体进行重配置,以使得所述接收装置能够通过重配置的所述PDCP实体接收所述第一发送装置使用第二SN长度发送的PDU或第二发送装置使用所述第二SN长度发送的PDU。If the transceiver 1220 does not receive the PDU carrying the SN before the reconfiguration timer expires, the processor 1210 is further configured to: when the reconfiguration timer expires, to the receiving device Reconfiguring the PDCP entity to enable the receiving device to receive, by the reconfigured PDCP entity, the PDU sent by the first sending device using the second SN length or the second transmitting device transmitting using the second SN length PDU.
可选地,所述处理器1210还用于:在所述收发器1220接收第一发送装置发送的SN指示信息和触发指令之前,从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Optionally, the processor 1210 is further configured to: switch from the first sending device to the second sending device before the transceiver 1220 receives the SN indication information and the triggering command sent by the first sending device, The SN length of the first sending device used to send the PDU is the first SN length, and the SN length used by the second sending device to send the PDU is the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
可选地,在所述收发器1220接收第一发送装置发送的序列号SN指示信息和触发指令之前,所述第一发送装置对所述第一发送装置的PDCP实体已进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Optionally, before the transceiver 1220 receives the sequence number SN indication information and the trigger instruction sent by the first sending device, the first sending device reconfigures the PDCP entity of the first sending device, so that After the first transmitting device sends the last PDU to the receiving device by using the first SN length, the first sending device can use the second SN length direction by using the reconfigured PDCP entity of the first sending device. The receiving device sends a PDU;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
可选地,所述收发器1220还用于:在接收第一发送装置发送的SN指示信息和触发指令之前,接收所述第一发送装置发送的高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。Optionally, the transceiver 1220 is further configured to: before receiving the SN indication information and the triggering instruction sent by the first sending apparatus, receive the high layer signaling sent by the first sending apparatus, where the high layer signaling includes the Reconfigure the preset duration information of the timer.
可选地,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,其中,所述处理器1210具体用于:通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置。 Optionally, the PDCP entity of the receiving device is a data PDCP entity of the receiving device, where the processor 1210 is specifically configured to: by calling a control PDCP entity of the receiving device, data PDCP of the receiving device The entity is reconfigured.
可选地,所述收发器1220还用于:向所述第一发送装置发送的重配置完成消息。Optionally, the transceiver 1220 is further configured to: send a reconfiguration complete message to the first sending device.
可选地,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。Optionally, the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
应理解,在本申请实施例中,该处理器1210可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器1210还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present application, the processor 1210 may be a central processing unit ("CPU"), and the processor 1210 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该存储器1230可以包括只读存储器和随机存取存储器,并向处理器1210提供指令和数据。存储器1230的一部分还可以包括非易失性随机存取存储器。例如,存储器1230还可以存储设备类型的信息。The memory 1230 can include read only memory and random access memory and provides instructions and data to the processor 1210. A portion of the memory 1230 can also include a non-volatile random access memory. For example, the memory 1230 can also store information of the device type.
在实现过程中,上述方法的各步骤可以通过处理器1210中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的定位方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器1210中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1230,处理器1210读取存储器1230中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1210 or an instruction in a form of software. The steps of the positioning method disclosed in the embodiment of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor 1210. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 1230, and the processor 1210 reads the information in the memory 1230 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
根据本申请实施例的接收装置1200可以对应于上述方法400中用于执行方法400的接收端,以及根据本申请实施例的接收端1000,且该接收装置1200中的各单元或模块分别用于执行上述方法400中接收端所执行的各动作或处理过程,这里,为了避免赘述,省略其详细说明。The receiving device 1200 according to the embodiment of the present application may correspond to the receiving end of the method 400 for performing the method 400, and the receiving end 1000 according to the embodiment of the present application, and each unit or module in the receiving device 1200 is used for The operations or processes executed by the receiving end in the above method 400 are performed. Here, in order to avoid redundancy, detailed description thereof will be omitted.
图13是根据本申请实施例的接收装置1300的示意性结构图。如图13所示,该接收装置包括处理器1310、收发器1320和存储器1330,其中,该处理器1310、收发器1320和存储器1330之间通过内部连接通路互相通信。该存储器1330用于存储指令,该处理器1310用于执行该存储器1330存储的指令,以控制该收发器1320接收信号或发送信号。其中,收发器1320具体用于:FIG. 13 is a schematic structural diagram of a receiving device 1300 according to an embodiment of the present application. As shown in FIG. 13, the receiving device includes a processor 1310, a transceiver 1320, and a memory 1330, wherein the processor 1310, the transceiver 1320, and the memory 1330 communicate with each other through an internal connection path. The memory 1330 is configured to store instructions for executing the instructions stored by the memory 1330 to control the transceiver 1320 to receive signals or transmit signals. The transceiver 1320 is specifically configured to:
向接收装置发送序列号SN指示信息和触发指令,所述SN指示信息用 于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收装置启动重配置定时器,以使得所述接收装置在接收到携带所述SN的PDU时或者所述重配置定时器超时时,对所述接收装置的PDCP实体进行重配置。Sending sequence number SN indication information and triggering instruction to the receiving device, where the SN indication information is used The SN indicating the first data protocol unit PDU sent by the first sending device to the receiving device by using the first SN length, the triggering instruction is used to instruct the receiving device to start a reconfiguration timer, so that the The receiving device reconfigures the PDCP entity of the receiving device when receiving the PDU carrying the SN or when the reconfiguration timer expires.
可选地,所述发送装置还包括处理器1310,所述处理器1310用于:在所述收发器1320向接收装置发送序列号SN指示信息和触发指令之前,对所述第一发送装置的PDCP实体进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Optionally, the sending device further includes a processor 1310, configured to: before the transceiver 1320 sends the sequence number SN indication information and the trigger instruction to the receiving device, to the first sending device Reconfiguring the PDCP entity to enable the first transmitting device to pass the reconfigured PDCP entity of the first transmitting device after transmitting the last PDU to the receiving device by using the first SN length, Transmitting a PDU to the receiving device by using the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
可选地,在所述第一发送装置向接收装置发送序列号SN指示信息和触发指令之前,所述接收装置已从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Optionally, before the first sending device sends the serial number SN indication information and the triggering instruction to the receiving device, the receiving device has switched from the first sending device to the second sending device, the first The SN length of the sending device for transmitting the PDU is the first SN length, and the SN length of the second sending device for transmitting the PDU is the second SN length;
其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
可选地,所述收发器1320还用于:在向接收装置发送SN指示信息和触发指令之前,向所述接收装置发送高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。Optionally, the transceiver 1320 is further configured to: before sending the SN indication information and the triggering instruction to the receiving apparatus, send the high layer signaling to the receiving apparatus, where the high layer signaling includes the preprocessing of the reconfiguration timer. Set the length of information.
可选地,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,所述接收装置在接收到携带所述SN的PDU时或者所述重配置定时器超时时,是通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置的。Optionally, the PDCP entity of the receiving device is a data PDCP entity of the receiving device, and when the receiving device receives the PDU carrying the SN or the reconfiguration timer expires, by calling the The control PDCP entity of the receiving device reconfigures the data PDCP entity of the receiving device.
可选地,所述收发器1320还用于:接收所述接收装置发送的重配置完成消息。Optionally, the transceiver 1320 is further configured to: receive a reconfiguration complete message sent by the receiving device.
可选地,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。Optionally, the receiving device is a terminal device, the first sending device is a network device; or the receiving device is a network device, and the first sending device is a terminal device.
应理解,在本申请实施例中,该处理器1310可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器1310还可以是其他通用处理器、 数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present application, the processor 1310 may be a central processing unit ("CPU"), and the processor 1310 may also be another general-purpose processor. Digital signal processor (DSP), application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该存储器1330可以包括只读存储器和随机存取存储器,并向处理器1310提供指令和数据。存储器1330的一部分还可以包括非易失性随机存取存储器。例如,存储器1330还可以存储设备类型的信息。The memory 1330 can include read only memory and random access memory and provides instructions and data to the processor 1310. A portion of the memory 1330 can also include a non-volatile random access memory. For example, the memory 1330 can also store information of the device type.
在实现过程中,上述方法的各步骤可以通过处理器1310中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的定位方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器1310中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1330,处理器1310读取存储器1330中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 1310 or an instruction in a form of software. The steps of the positioning method disclosed in the embodiment of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor 1310. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 1330, and the processor 1310 reads the information in the memory 1330 and performs the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
根据本申请实施例的接收装置1300可以对应于上述方法400中用于执行方法400的发送端,以及根据本申请实施例的发送端1100,且该发送装置1300中的各单元或模块分别用于执行上述方法400中发送端所执行的各动作或处理过程,这里,为了避免赘述,省略其详细说明。The receiving apparatus 1300 according to the embodiment of the present application may correspond to the transmitting end for performing the method 400 in the foregoing method 400, and the transmitting end 1100 according to the embodiment of the present application, and each unit or module in the sending apparatus 1300 is used for respectively The operations or processes executed by the transmitting end in the above method 400 are executed. Here, in order to avoid redundancy, detailed description thereof will be omitted.
图14是本申请实施例的系统芯片的一个示意性结构图。图14的系统芯片1400包括输入接口1401、输出接口1402、至少一个处理器1403、存储器1404,所述输入接口1401、输出接口1402、所述处理器1403以及存储器1404之间通过内部连接通路互相连接。所述处理器1403用于执行所述存储器1404中的代码。FIG. 14 is a schematic structural diagram of a system chip according to an embodiment of the present application. The system chip 1400 of FIG. 14 includes an input interface 1401, an output interface 1402, at least one processor 1403, and a memory 1404. The input interface 1401, the output interface 1402, the processor 1403, and the memory 1404 are interconnected by an internal connection path. . The processor 1403 is configured to execute code in the memory 1404.
可选地,当所述代码被执行时,所述处理器1403可以实现方法实施例中由接收端执行的方法200。为了简洁,这里不再赘述。Alternatively, when the code is executed, the processor 1403 can implement the method 200 performed by the receiving end in the method embodiment. For the sake of brevity, it will not be repeated here.
可选地,当所述代码被执行时,所述处理器1403可以实现方法实施例中由发送端执行的方法200。为了简洁,这里不再赘述。Alternatively, when the code is executed, the processor 1403 can implement the method 200 performed by the transmitting end in the method embodiment. For the sake of brevity, it will not be repeated here.
图15是本申请实施例的系统芯片的一个示意性结构图。图15的系统芯片1500包括输入接口1501、输出接口1502、至少一个处理器1503、存储器1504,所述输入接口1501、输出接口1502、所述处理器1503以及存储器1504之间通过内部连接通路互相连接。所述处理器1503用于执行所述存储器 1504中的代码。FIG. 15 is a schematic structural diagram of a system chip according to an embodiment of the present application. The system chip 1500 of FIG. 15 includes an input interface 1501, an output interface 1502, at least one processor 1503, and a memory 1504. The input interface 1501, the output interface 1502, the processor 1503, and the memory 1504 are interconnected by an internal connection path. . The processor 1503 is configured to execute the memory The code in 1504.
可选地,当所述代码被执行时,所述处理器1503可以实现方法实施例中由接收端执行的方法400。为了简洁,这里不再赘述。Alternatively, when the code is executed, the processor 1503 can implement the method 400 performed by the receiving end in the method embodiment. For the sake of brevity, it will not be repeated here.
可选地,当所述代码被执行时,所述处理器1503可以实现方法实施例中由发送端执行的方法400。为了简洁,这里不再赘述。Alternatively, when the code is executed, the processor 1503 may implement the method 400 performed by the transmitting end in the method embodiment. For the sake of brevity, it will not be repeated here.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, 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.
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, 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.
该功能如果以软件功能单元的形式实现并作为独立的产品销售或使用 时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称“ROM”)、随机存取存储器(Random Access Memory,简称“RAM”)、磁碟或者光盘等各种可以存储程序代码的介质。This function is implemented as a software functional unit and sold or used as a standalone product It can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a disk, or an optical disk. A medium that can store program code.
以上,仅为本申请的具体实施方式,但本申请实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请实施例揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请适合私利的保护范围之内。因此,本申请实施例的保护范围应该以权利要求的保护范围为准。 The above is only a specific embodiment of the present application, but the scope of protection of the embodiments of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application. , should be covered in the scope of protection of this application for personal gain. Therefore, the scope of protection of the embodiments of the present application should be determined by the scope of protection of the claims.

Claims (52)

  1. 一种配置分组数据汇聚协议PDCP实体的方法,其特征在于,所述方法包括:A method for configuring a packet data convergence protocol PDCP entity, the method comprising:
    接收端接收第一发送端发送的序列号SN指示信息,所述SN指示信息用于指示所述第一发送端使用第一SN长度向所述接收端发送的最后一个数据协议单元PDU的SN;The receiving end receives the sequence number SN indication information sent by the first sending end, where the SN indication information is used to indicate the SN of the last data protocol unit PDU sent by the first sending end to the receiving end by using the first SN length;
    所述接收端在接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置,以使得所述接收端能够通过重配置的所述PDCP实体,接收所述第一发送端使用第二SN长度发送的PDU或第二发送端使用所述第二SN长度发送的PDU。When receiving the PDU carrying the SN, the receiving end reconfigures the PDCP entity of the receiving end, so that the receiving end can receive the first sending end by using the reconfigured PDCP entity. The PDU transmitted by the second SN length or the second transmitting end uses the PDU transmitted by the second SN length.
  2. 根据权利要求1所述的方法,其特征在于,在所述接收端接收第一发送端发送的SN指示信息之前,所述方法还包括:The method according to claim 1, wherein before the receiving end receives the SN indication information sent by the first sending end, the method further includes:
    所述接收端从所述第一发送端切换至所述第二发送端,所述第一发送端用于发送PDU的SN长度为所述第一SN长度,所述第二发送端用于发送PDU的SN长度为所述第二SN长度;The receiving end is switched from the first sending end to the second sending end, the SN length of the first sending end for transmitting the PDU is the first SN length, and the second sending end is used for sending The SN length of the PDU is the second SN length;
    其中,被重配置的所述接收端的PDCP实体用于接收所述第二发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the second sending end by using the second SN length.
  3. 根据权利要求1所述的方法,其特征在于,在所述接收端接收第一发送端发送的SN指示信息之前,所述第一发送端对所述第一发送端的PDCP实体已进行重配置,以使得所述第一发送端在使用所述第一SN长度向所述接收端发送所述最后一个PDU后,能够通过重配置的所述第一发送端的PDCP实体,使用所述第二SN长度向所述接收端发送PDU;The method according to claim 1, wherein the first transmitting end reconfigures the PDCP entity of the first transmitting end before the receiving end receives the SN indication information sent by the first sending end, After the first transmitting end sends the last PDU to the receiving end by using the first SN length, the second SN length can be used by the PDCP entity of the first sending end that is reconfigured. Sending a PDU to the receiving end;
    其中,被重配置的所述接收端的PDCP实体用于接收所述第一发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the first sending end by using the second SN length.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述接收端的PDCP实体为所述接收端的数据PDCP实体,其中,所述接收端在接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置包括:The method according to any one of claims 1 to 3, wherein the PDCP entity at the receiving end is a data PDCP entity of the receiving end, wherein the receiving end receives the PDU carrying the SN Reconfiguring the PDCP entity at the receiving end includes:
    所述接收端在接收到携带所述SN的PDU时,通过调用所述接收端的控制PDCP实体对所述接收端的数据PDCP实体进行重配置。When receiving the PDU carrying the SN, the receiving end reconfigures the data PDCP entity of the receiving end by calling the controlling PDCP entity of the receiving end.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括: The method according to any one of claims 1 to 4, further comprising:
    所述接收端向所述第一发送端发送重配置完成消息。The receiving end sends a reconfiguration complete message to the first sending end.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述接收端为终端设备,所述第一发送端为网络设备;或者所述接收端为网络设备,所述第一发送端为终端设备。The method according to any one of claims 1 to 5, wherein the receiving end is a terminal device, the first transmitting end is a network device; or the receiving end is a network device, the first The sender is a terminal device.
  7. 一种配置分组数据汇聚协议PDCP实体的方法,其特征在于,所述方法包括:A method for configuring a packet data convergence protocol PDCP entity, the method comprising:
    接收端接收发送端发送的序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送端使用第一SN长度向所述接收端发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收端启动重配置定时器;The receiving end receives the sequence number SN indication information and the triggering instruction sent by the sending end, where the SN indication information is used to indicate the SN of the last data protocol unit PDU sent by the first sending end to the receiving end by using the first SN length. The triggering instruction is used to instruct the receiving end to start a reconfiguration timer;
    所述接收端根据所述触发指令启动所述重配置定时器,并根据所述SN指示信息确定是否在所述重配置定时器超时之前接收到携带所述SN的PDU;The receiving end starts the reconfiguration timer according to the triggering instruction, and determines, according to the SN indication information, whether a PDU carrying the SN is received before the reconfiguration timer expires;
    若所述接收端在所述重配置定时器超时之前接收到携带所述SN的PDU,则所述接收端在接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置,或者If the receiving end receives the PDU carrying the SN before the reconfiguration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN, or
    若所述接收端在所述重配置定时器超时之前未接收到携带所述SN的PDU,则所述接收端在所述重配置定时器超时时,对所述接收端的PDCP实体进行重配置,以使得所述接收端能够通过重配置的所述PDCP实体接收所述第一发送端使用第二SN长度发送的PDU或第二发送端使用所述第二SN长度发送的PDU。If the receiving end does not receive the PDU carrying the SN before the reconfiguration timer expires, the receiving end reconfigures the PDCP entity of the receiving end when the reconfiguration timer expires. And the PDU that is sent by the first sending end by using the second SN length or the PDU sent by the second sending end by using the second SN length, by the PDCP entity that enables the receiving end to be reconfigured.
  8. 根据权利要求7所述的方法,其特征在于,在所述接收端接收第一发送端发送的SN指示信息和触发指令之前,所述方法还包括:The method according to claim 7, wherein before the receiving end receives the SN indication information and the triggering instruction sent by the first sending end, the method further includes:
    所述接收端从所述第一发送端切换至所述第二发送端,所述第一发送端用于发送PDU的SN长度为所述第一SN长度,所述第二发送端用于发送PDU的SN长度为所述第二SN长度;The receiving end is switched from the first sending end to the second sending end, the SN length of the first sending end for transmitting the PDU is the first SN length, and the second sending end is used for sending The SN length of the PDU is the second SN length;
    其中,被重配置的所述接收端的PDCP实体用于接收所述第二发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the second sending end by using the second SN length.
  9. 根据权利要求7所述的方法,其特征在于,在所述接收端接收第一发送端发送的序列号SN指示信息和触发指令之前,所述第一发送端对所述第一发送端的PDCP实体已进行重配置,以使得所述第一发送端在使用所述 第一SN长度向所述接收端发送所述最后一个PDU后,能够通过重配置的所述第一发送端的PDCP实体,使用所述第二SN长度向所述接收端发送PDU;The method according to claim 7, wherein the first transmitting end is configured to the PDCP entity of the first transmitting end before the receiving end receives the serial number SN indication information and the triggering instruction sent by the first transmitting end. Reconfiguration has been performed such that the first sender is using the After the first SN is sent to the receiving end, the first PDU can be sent to the receiving end by using the second SN length by the PDCP entity of the first sending end that is reconfigured;
    其中,被重配置的所述接收端的PDCP实体用于接收所述第一发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the first sending end by using the second SN length.
  10. 根据权利要求7至9中任一项所述的方法,其特征在于,在所述接收端接收发送端发送的SN指示信息和触发指令之前,所述方法还包括:The method according to any one of claims 7 to 9, wherein before the receiving end receives the SN indication information and the triggering instruction sent by the transmitting end, the method further includes:
    所述接收端接收所述第一发送端发送的高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。The receiving end receives the high layer signaling sent by the first sending end, where the high layer signaling includes information about a preset duration of the reconfiguration timer.
  11. 根据权利要求7至10中任一项所述的方法,其特征在于,所述接收端的PDCP实体为所述接收端的数据PDCP实体,其中,所述接收端对所述接收端的PDCP实体进行重配置,包括:The method according to any one of claims 7 to 10, wherein the PDCP entity at the receiving end is a data PDCP entity of the receiving end, wherein the receiving end reconfigures the PDCP entity of the receiving end ,include:
    所述接收端通过调用所述接收端的控制PDCP实体对所述接收端的数据PDCP实体进行重配置。The receiving end reconfigures the data PDCP entity of the receiving end by calling a control PDCP entity of the receiving end.
  12. 根据权利要求7至11中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7 to 11, wherein the method further comprises:
    所述接收端向所述第一发送端发送的重配置完成消息。a reconfiguration complete message sent by the receiving end to the first sending end.
  13. 根据权利要求7至12中任一项所述的方法,其特征在于,所述接收端为终端设备,所述第一发送端为网络设备;或者所述接收端为网络设备,所述第一发送端为终端设备。The method according to any one of claims 7 to 12, wherein the receiving end is a terminal device, the first transmitting end is a network device; or the receiving end is a network device, the first The sender is a terminal device.
  14. 一种配置分组数据汇聚协议PDCP实体的方法,其特征在于,所述方法包括:A method for configuring a packet data convergence protocol PDCP entity, the method comprising:
    第一发送端向接收端发送序列号SN指示信息,所述SN指示信息用于指示所述第一发送端使用第一SN长度向所述接收端发送的最后一个PDU的SN,以使得所述接收端在接收到携带所述SN的PDU时,对所述接收端的PDCP实体进行重配置。The first sending end sends the sequence number SN indication information to the receiving end, where the SN indication information is used to indicate that the first sending end uses the first SN length to send the SN of the last PDU to the receiving end, so that the The receiving end reconfigures the PDCP entity of the receiving end when receiving the PDU carrying the SN.
  15. 根据权利要求14所述的方法,其特征在于,在第一发送端向接收端发送SN指示信息之前,所述方法还包括:The method according to claim 14, wherein before the first transmitting end sends the SN indication information to the receiving end, the method further includes:
    所述第一发送端对所述第一发送端的PDCP实体进行重配置,以使得所述第一发送端在使用所述第一SN长度向所述接收端发送所述最后一个PDU后,能够通过重配置的所述第一发送端的PDCP实体,使用所述第二SN长度向所述接收端发送PDU; The first sending end reconfigures the PDCP entity of the first sending end, so that the first sending end can pass the last PDU after sending the last PDU to the receiving end by using the first SN length. Reconfiguring the PDCP entity of the first sending end to send the PDU to the receiving end by using the second SN length;
    其中,被重配置的所述接收端的PDCP实体用于接收所述第一发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the first sending end by using the second SN length.
  16. 根据权利要求14所述的方法,其特征在于,在所述第一发送端向接收端发送SN指示信息之前,所述接收端已从所述第一发送端切换至所述第二发送端,所述第一发送端用于发送PDU的SN长度为所述第一SN长度,所述第二发送端用于发送PDU的SN长度为所述第二SN长度;The method according to claim 14, wherein before the first transmitting end sends the SN indication information to the receiving end, the receiving end has switched from the first transmitting end to the second sending end, The length of the SN used by the first sending end to send the PDU is the length of the first SN, and the length of the SN used by the second sending end to send the PDU is the length of the second SN;
    其中,被重配置的所述接收端的PDCP实体用于接收所述第二发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the second sending end by using the second SN length.
  17. 根据权利要求14至16中任一项所述的方法,其特征在于,所述接收端的PDCP实体为所述接收端的数据PDCP实体,The method according to any one of claims 14 to 16, wherein the PDCP entity at the receiving end is a data PDCP entity of the receiving end,
    所述接收端在接收到携带所述SN的PDU时,是通过调用所述接收端的控制PDCP实体对所述接收端的数据PDCP实体进行重配置的。When receiving the PDU carrying the SN, the receiving end reconfigures the data PDCP entity of the receiving end by calling the controlling PDCP entity of the receiving end.
  18. 根据权利要求14至17中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 14 to 17, wherein the method further comprises:
    所述第一发送端接收所述接收端发送的重配置完成消息。The first sending end receives the reconfiguration complete message sent by the receiving end.
  19. 根据权利要求14至18中任一项所述的方法,其特征在于,所述接收端为终端设备,所述第一发送端为网络设备;或者所述接收端为网络设备,所述第一发送端为终端设备。The method according to any one of claims 14 to 18, wherein the receiving end is a terminal device, the first transmitting end is a network device; or the receiving end is a network device, the first The sender is a terminal device.
  20. 一种配置分组数据汇聚协议PDCP实体的方法,其特征在于,所述方法包括:A method for configuring a packet data convergence protocol PDCP entity, the method comprising:
    第一发送端向接收端发送序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送端使用第一SN长度向所述接收端发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收端启动重配置定时器,以使得所述接收端在接收到携带所述SN的PDU时或者所述重配置定时器超时时,对所述接收端的PDCP实体进行重配置。The first sending end sends the sequence number SN indication information and the triggering instruction to the receiving end, where the SN indication information is used to indicate that the first sending end sends the last data protocol unit PDU to the receiving end by using the first SN length. The SN, the triggering instruction is used to instruct the receiving end to start a reconfiguration timer, so that the receiving end receives the PDU carrying the SN or when the reconfiguration timer expires The PDCP entity is reconfigured.
  21. 根据权利要求20所述的方法,其特征在于,在所述第一发送端向接收端发送序列号SN指示信息和触发指令之前,所述方法还包括:The method according to claim 20, wherein before the first transmitting end sends the sequence number SN indication information and the triggering instruction to the receiving end, the method further includes:
    所述第一发送端对所述第一发送端的PDCP实体进行重配置,以使得所述第一发送端在使用所述第一SN长度向所述接收端发送所述最后一个PDU后,能够通过重配置的所述第一发送端的PDCP实体,使用所述第二SN长度向所述接收端发送PDU; The first sending end reconfigures the PDCP entity of the first sending end, so that the first sending end can pass the last PDU after sending the last PDU to the receiving end by using the first SN length. Reconfiguring the PDCP entity of the first sending end to send the PDU to the receiving end by using the second SN length;
    其中,被重配置的所述接收端的PDCP实体用于接收所述第一发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the first sending end by using the second SN length.
  22. 根据权利要求20所述的方法,其特征在于,在所述第一发送端向接收端发送序列号SN指示信息和触发指令之前,所述接收端已从所述第一发送端切换至所述第二发送端,所述第一发送端用于发送PDU的SN长度为所述第一SN长度,所述第二发送端用于发送PDU的SN长度为所述第二SN长度;The method according to claim 20, wherein the receiving end has switched from the first transmitting end to the first transmitting end before transmitting the serial number SN indication information and the triggering instruction to the receiving end a second sending end, the SN length of the first transmitting end used to send the PDU is the first SN length, and the SN length used by the second sending end to send the PDU is the second SN length;
    其中,被重配置的所述接收端的PDCP实体用于接收所述第二发送端使用所述第二SN长度发送的PDU。The PDCP entity of the receiving end that is reconfigured is configured to receive the PDU that is sent by the second sending end by using the second SN length.
  23. 根据权利要求20至22中任一项所述的方法,其特征在于,在所述第一发送端向接收端发送SN指示信息和触发指令之前,所述方法还包括:The method according to any one of claims 20 to 22, wherein before the first transmitting end sends the SN indication information and the triggering instruction to the receiving end, the method further includes:
    所述第一发送端向所述接收端发送高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。The first sending end sends high layer signaling to the receiving end, where the high layer signaling includes information of a preset duration of the reconfiguration timer.
  24. 根据权利要求20至23中任一项所述的方法,其特征在于,所述接收端的PDCP实体为所述接收端的数据PDCP实体,The method according to any one of claims 20 to 23, wherein the PDCP entity at the receiving end is a data PDCP entity of the receiving end,
    所述接收端在接收到携带所述SN的PDU时或者所述重配置定时器超时时,是通过调用所述接收端的控制PDCP实体对所述接收端的数据PDCP实体进行重配置的。The receiving end reconfigures the data PDCP entity of the receiving end by calling the controlling PDCP entity of the receiving end when receiving the PDU carrying the SN or when the reconfiguration timer expires.
  25. 根据权利要求20至24中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 20 to 24, wherein the method further comprises:
    所述第一发送端接收所述接收端发送的重配置完成消息。The first sending end receives the reconfiguration complete message sent by the receiving end.
  26. 根据权利要求20至25中任一项所述的方法,其特征在于,所述接收端为终端设备,所述第一发送端为网络设备;或者所述接收端为网络设备,所述第一发送端为终端设备。The method according to any one of claims 20 to 25, wherein the receiving end is a terminal device, the first transmitting end is a network device; or the receiving end is a network device, the first The sender is a terminal device.
  27. 一种接收装置,其特征在于,所述接收装置包括:A receiving device, characterized in that the receiving device comprises:
    接收单元,用于接收第一发送装置发送的序列号SN指示信息,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个数据协议单元PDU的SN;a receiving unit, configured to receive sequence number SN indication information sent by the first sending device, where the SN indication information is used to indicate that the first sending device sends the last data protocol unit PDU to the receiving device by using the first SN length. SN;
    处理单元,用于在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置,以使得所述接收装置能够通过重配置的所述PDCP实体,接收所述第一发送装置使用第二SN长度发送的PDU或第二发送装置 使用所述第二SN长度发送的PDU。a processing unit, configured to: when receiving the PDU carrying the SN, reconfigure a PDCP entity of the receiving device, so that the receiving device can receive the first sending by using the reconfigured PDCP entity The device transmits the PDU or the second transmitting device using the second SN length A PDU transmitted using the second SN length.
  28. 根据权利要求27所述的接收装置,其特征在于,所述处理单元还用于:The receiving device according to claim 27, wherein the processing unit is further configured to:
    在所述接收单元接收第一发送装置发送的SN指示信息之前,从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Before the receiving unit receives the SN indication information sent by the first sending device, switching from the first sending device to the second sending device, where the SN length of the first sending device for transmitting the PDU is the An SN length, the SN length of the second sending device used to send the PDU is the second SN length;
    其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  29. 根据权利要求27所述的接收装置,其特征在于,在所述接收单元接收第一发送装置发送的SN指示信息之前,所述第一发送装置对所述第一发送装置的PDCP实体已进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;The receiving device according to claim 27, wherein the first transmitting device has performed heavy on the PDCP entity of the first transmitting device before the receiving unit receives the SN indication information sent by the first transmitting device Configuring to enable the first transmitting device to use the PDCP entity of the first transmitting device by reconfiguring after transmitting the last PDU to the receiving device by using the first SN length Transmitting a PDU to the receiving device by a second SN length;
    其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  30. 根据权利要求27至29中任一项所述的接收装置,其特征在于,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,其中,所述处理单元具体用于:The receiving device according to any one of claims 27 to 29, wherein the PDCP entity of the receiving device is a data PDCP entity of the receiving device, wherein the processing unit is specifically configured to:
    在接收到携带所述SN的PDU时,通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置。Upon receiving the PDU carrying the SN, the data PDCP entity of the receiving device is reconfigured by invoking a control PDCP entity of the receiving device.
  31. 根据权利要求27至30中任一项所述的接收装置,其特征在于,所述接收装置还包括发送单元,所述发送单元用于:The receiving device according to any one of claims 27 to 30, wherein the receiving device further comprises a transmitting unit, the transmitting unit is configured to:
    向所述第一发送装置发送重配置完成消息。A reconfiguration complete message is sent to the first transmitting device.
  32. 根据权利要求27至31中任一项所述的接收装置,其特征在于,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。The receiving device according to any one of claims 27 to 31, wherein the receiving device is a terminal device, the first transmitting device is a network device; or the receiving device is a network device, the A transmitting device is a terminal device.
  33. 一种接收装置,其特征在于,所述接收装置包括:A receiving device, characterized in that the receiving device comprises:
    接收单元,用于接收第一发送装置发送的序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述 接收装置发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收装置启动重配置定时器;a receiving unit, configured to receive a sequence number SN indication information and a triggering instruction sent by the first sending device, where the SN indication information is used to indicate that the first sending device uses the first SN length to Receiving, by the receiving device, an SN of a last data protocol unit PDU, where the triggering instruction is used to instruct the receiving device to start a reconfiguration timer;
    处理单元,用于根据所述触发指令启动所述重配置定时器,并根据所述SN指示信息确定是否在所述重配置定时器超时之前接收到携带所述SN的PDU;a processing unit, configured to start, according to the triggering instruction, the reconfiguration timer, and determine, according to the SN indication information, whether a PDU carrying the SN is received before the reconfiguration timer expires;
    若所述接收单元在所述重配置定时器超时之前接收到携带所述SN的PDU,则所述处理单元还用于在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置,或者If the receiving unit receives the PDU carrying the SN before the reconfiguration timer expires, the processing unit is further configured to: when receiving the PDU carrying the SN, the PDCP entity of the receiving device Reconfigure, or
    若所述接收单元在所述重配置定时器超时之前未接收到携带所述SN的PDU,则所述处理单元还用于在所述重配置定时器超时时,对所述接收装置的PDCP实体进行重配置,以使得所述接收装置能够通过重配置的所述PDCP实体接收所述第一发送装置使用第二SN长度发送的PDU或第二发送装置使用所述第二SN长度发送的PDU。If the receiving unit does not receive the PDU carrying the SN before the reconfiguration timer expires, the processing unit is further configured to: when the reconfiguration timer expires, the PDCP entity of the receiving device Performing reconfiguration to enable the receiving device to receive, by the PDCP entity of reconfiguration, the PDU transmitted by the first transmitting device using the second SN length or the PDU transmitted by the second transmitting device using the second SN length.
  34. 根据权利要求33所述的接收装置,其特征在于,所述处理单元还用于:The receiving device according to claim 33, wherein the processing unit is further configured to:
    在所述接收单元接收第一发送装置发送的SN指示信息和触发指令之前,从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;Before the receiving unit receives the SN indication information and the triggering instruction sent by the first sending device, switching from the first sending device to the second sending device, where the SN length of the first sending device for transmitting the PDU is The first SN length, the SN length of the second sending device used to send the PDU is the second SN length;
    其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  35. 根据权利要求33所述的接收装置,其特征在于,在所述接收单元接收第一发送装置发送的序列号SN指示信息和触发指令之前,所述第一发送装置对所述第一发送装置的PDCP实体已进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;The receiving apparatus according to claim 33, wherein before the receiving unit receives the serial number SN indication information and the triggering instruction sent by the first transmitting device, the first transmitting device is configured by the first transmitting device The PDCP entity has been reconfigured to enable the first transmitting device to pass the reconfigured PDCP entity of the first transmitting device after transmitting the last PDU to the receiving device using the first SN length Transmitting, by using the second SN length, the PDU to the receiving device;
    其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  36. 根据权利要求33至35中任一项所述的接收装置,其特征在于,所述接收单元还用于: The receiving device according to any one of claims 33 to 35, wherein the receiving unit is further configured to:
    在接收第一发送装置发送的SN指示信息和触发指令之前,接收所述第一发送装置发送的高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。Before receiving the SN indication information and the triggering command sent by the first sending device, receiving the high layer signaling sent by the first sending device, where the high layer signaling includes information of a preset duration of the reconfiguration timer.
  37. 根据权利要求33至36中任一项所述的接收装置,其特征在于,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,其中,所述处理单元具体用于:The receiving device according to any one of claims 33 to 36, wherein the PDCP entity of the receiving device is a data PDCP entity of the receiving device, wherein the processing unit is specifically configured to:
    通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置。The data PDCP entity of the receiving device is reconfigured by invoking a control PDCP entity of the receiving device.
  38. 根据权利要求33至37中任一项所述的接收装置,其特征在于,所述接收装置还包括发送单元,所述发送单元用于:The receiving device according to any one of claims 33 to 37, wherein the receiving device further comprises a transmitting unit, the transmitting unit is configured to:
    向所述第一发送装置发送的重配置完成消息。A reconfiguration complete message sent to the first transmitting device.
  39. 根据权利要求33至38中任一项所述的接收装置,其特征在于,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。The receiving device according to any one of claims 33 to 38, wherein the receiving device is a terminal device, the first transmitting device is a network device; or the receiving device is a network device, the A transmitting device is a terminal device.
  40. 一种发送装置,其特征在于,所述发送装置为第一发送装置,所述第一发送装置包括发送单元,所述发送单元用于:A transmitting device, wherein the transmitting device is a first transmitting device, the first transmitting device includes a sending unit, and the sending unit is configured to:
    向接收装置发送序列号SN指示信息,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个PDU的SN,以使得所述接收装置在接收到携带所述SN的PDU时,对所述接收装置的PDCP实体进行重配置。Sending sequence number SN indication information to the receiving device, the SN indication information being used to indicate the SN of the last PDU sent by the first sending device to the receiving device by using the first SN length, so that the receiving device is receiving When the PDU carrying the SN is carried, the PDCP entity of the receiving device is reconfigured.
  41. 根据权利要求40所述的发送装置,其特征在于,所述第一发送装置设备还包括处理单元,所述处理单元用于:The transmitting device according to claim 40, wherein the first transmitting device device further comprises a processing unit, the processing unit is configured to:
    在所述发送单元向接收装置发送序列号SN指示信息之前,对所述第一发送装置的PDCP实体进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Reconfiguring the PDCP entity of the first transmitting device before the sending unit sends the sequence number SN indication information to the receiving device, so that the first transmitting device uses the first SN length to receive the After the device sends the last PDU, the PDU can be sent to the receiving device by using the second SN length by the PDCP entity of the first sending device that is reconfigured;
    其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  42. 根据权利要求40所述的发送装置,其特征在于,在所述发送单元向接收装置发送SN指示信息之前,所述接收装置已从所述第一发送装置切 换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;The transmitting apparatus according to claim 40, wherein said receiving apparatus has cut from said first transmitting apparatus before said transmitting unit transmits SN indication information to said receiving apparatus Switching to the second sending device, the SN length of the first transmitting device for transmitting the PDU is the first SN length, and the SN length of the second transmitting device for transmitting the PDU is the second SN length ;
    其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  43. 根据权利要求40至42中任一项所述的发送装置,其特征在于,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,The transmitting device according to any one of claims 40 to 42, wherein the PDCP entity of the receiving device is a data PDCP entity of the receiving device,
    所述接收装置在接收到携带所述SN的PDU时,是通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置的。When receiving the PDU carrying the SN, the receiving device reconfigures the data PDCP entity of the receiving device by calling a control PDCP entity of the receiving device.
  44. 根据权利要求40至43中任一项所述的发送装置,其特征在于,所述第一发送装置设备还包括接收单元,所述接收单元用于:The transmitting device according to any one of claims 40 to 43, wherein the first transmitting device device further comprises a receiving unit, the receiving unit is configured to:
    接收所述接收装置发送的重配置完成消息。Receiving a reconfiguration complete message sent by the receiving device.
  45. 根据权利要求40至44中任一项所述的发送装置,其特征在于,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。The transmitting device according to any one of claims 40 to 44, wherein the receiving device is a terminal device, the first transmitting device is a network device; or the receiving device is a network device, the A transmitting device is a terminal device.
  46. 一种发送装置,其特征在于,所述发送装置为第一发送装置,所述第一发送装置包括发送单元,所述发送单元用于:A transmitting device, wherein the transmitting device is a first transmitting device, the first transmitting device includes a sending unit, and the sending unit is configured to:
    向接收装置发送序列号SN指示信息和触发指令,所述SN指示信息用于指示所述第一发送装置使用第一SN长度向所述接收装置发送的最后一个数据协议单元PDU的SN,所述触发指令用于指示所述接收装置启动重配置定时器,以使得所述接收装置在接收到携带所述SN的PDU时或者所述重配置定时器超时时,对所述接收装置的PDCP实体进行重配置。Sending sequence number SN indication information and a triggering instruction to the receiving device, the SN indication information being used to indicate an SN of the last data protocol unit PDU sent by the first sending device to the receiving device by using the first SN length, The triggering instruction is used to instruct the receiving device to start a reconfiguration timer, so that the receiving device performs the PDCP entity of the receiving device when receiving the PDU carrying the SN or when the reconfiguration timer expires Reconfiguration.
  47. 根据权利要求46所述的发送装置,其特征在于,所述发送装置还包括处理单元,所述处理单元用于:The transmitting device according to claim 46, wherein the transmitting device further comprises a processing unit, the processing unit is configured to:
    在所述发送单元向接收装置发送序列号SN指示信息和触发指令之前,对所述第一发送装置的PDCP实体进行重配置,以使得所述第一发送装置在使用所述第一SN长度向所述接收装置发送所述最后一个PDU后,能够通过重配置的所述第一发送装置的PDCP实体,使用所述第二SN长度向所述接收装置发送PDU;Before the sending unit sends the sequence number SN indication information and the triggering instruction to the receiving device, reconfiguring the PDCP entity of the first sending device, so that the first sending device is using the first SN length After the receiving device sends the last PDU, the PDU can be sent to the receiving device by using the second SN length by the PDCP entity of the first sending device that is reconfigured;
    其中,被重配置的所述接收装置的PDCP实体用于接收所述第一发送装置使用所述第二SN长度发送的PDU。 The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the first sending device by using the second SN length.
  48. 根据权利要求46所述的发送装置,其特征在于,在所述第一发送装置向接收装置发送序列号SN指示信息和触发指令之前,所述接收装置已从所述第一发送装置切换至所述第二发送装置,所述第一发送装置用于发送PDU的SN长度为所述第一SN长度,所述第二发送装置用于发送PDU的SN长度为所述第二SN长度;The transmitting apparatus according to claim 46, wherein said receiving apparatus has switched from said first transmitting apparatus to said before said first transmitting means transmits serial number SN indicating information and a triggering instruction to said receiving means The second sending device, the SN length of the first sending device for transmitting the PDU is the first SN length, and the SN length of the second sending device for transmitting the PDU is the second SN length;
    其中,被重配置的所述接收装置的PDCP实体用于接收所述第二发送装置使用所述第二SN长度发送的PDU。The PDCP entity of the receiving device that is reconfigured is configured to receive a PDU that is sent by the second sending device by using the second SN length.
  49. 根据权利要求46至48中任一项所述的发送装置,其特征在于,所述发送单元还用于:The transmitting device according to any one of claims 46 to 48, wherein the transmitting unit is further configured to:
    在向接收装置发送SN指示信息和触发指令之前,向所述接收装置发送高层信令,所述高层信令包括所述重配置定时器的预设时长的信息。Before transmitting the SN indication information and the triggering instruction to the receiving device, the high-level signaling is sent to the receiving device, where the high-level signaling includes information of a preset duration of the reconfiguration timer.
  50. 根据权利要求46至49中任一项所述的发送装置,其特征在于,所述接收装置的PDCP实体为所述接收装置的数据PDCP实体,The transmitting device according to any one of claims 46 to 49, wherein the PDCP entity of the receiving device is a data PDCP entity of the receiving device,
    所述接收装置在接收到携带所述SN的PDU时或者所述重配置定时器超时时,是通过调用所述接收装置的控制PDCP实体对所述接收装置的数据PDCP实体进行重配置的。The receiving device, when receiving the PDU carrying the SN or when the reconfiguration timer expires, reconfigures the data PDCP entity of the receiving device by calling a control PDCP entity of the receiving device.
  51. 根据权利要求46至50中任一项所述的发送装置,其特征在于,所述第一发送装置设备还包括接收单元,所述接收单元用于:The transmitting device according to any one of claims 46 to 50, wherein the first transmitting device device further comprises a receiving unit, the receiving unit is configured to:
    接收所述接收装置发送的重配置完成消息。Receiving a reconfiguration complete message sent by the receiving device.
  52. 根据权利要求46至51中任一项所述的发送装置,其特征在于,所述接收装置为终端设备,所述第一发送装置为网络设备;或者所述接收装置为网络设备,所述第一发送装置为终端设备。 The transmitting device according to any one of claims 46 to 51, wherein the receiving device is a terminal device, the first transmitting device is a network device; or the receiving device is a network device, the A transmitting device is a terminal device.
PCT/CN2017/074594 2017-02-23 2017-02-23 Method for configuring pdcp entity, receiving device and sending device WO2018152751A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/074594 WO2018152751A1 (en) 2017-02-23 2017-02-23 Method for configuring pdcp entity, receiving device and sending device
CN201780054214.9A CN109661835B (en) 2017-02-23 2017-02-23 Method for configuring PDCP entity, receiving device and transmitting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/074594 WO2018152751A1 (en) 2017-02-23 2017-02-23 Method for configuring pdcp entity, receiving device and sending device

Publications (1)

Publication Number Publication Date
WO2018152751A1 true WO2018152751A1 (en) 2018-08-30

Family

ID=63253064

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074594 WO2018152751A1 (en) 2017-02-23 2017-02-23 Method for configuring pdcp entity, receiving device and sending device

Country Status (2)

Country Link
CN (1) CN109661835B (en)
WO (1) WO2018152751A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374331A (en) * 2007-08-20 2009-02-25 华为技术有限公司 Method, system and equipment for configuring wireless link control layer sequence number
US20150195748A1 (en) * 2012-07-20 2015-07-09 Ntt Docomo, Inc. Mobile communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100595583B1 (en) * 2001-07-09 2006-07-03 엘지전자 주식회사 Method for transmitting packet data according to handover in a mobile communication system
CN102239728B (en) * 2009-08-14 2013-09-25 华为技术有限公司 Data processing method and apparatus thereof
CN102469511A (en) * 2010-11-15 2012-05-23 中兴通讯股份有限公司 Packet data convergence protocol layer handling data method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374331A (en) * 2007-08-20 2009-02-25 华为技术有限公司 Method, system and equipment for configuring wireless link control layer sequence number
US20150195748A1 (en) * 2012-07-20 2015-07-09 Ntt Docomo, Inc. Mobile communication method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CATT: "Impact of PDCP SN Extension", 3GPP TSG RAN WG2 MEETING #79 R2-123382, 17 August 2012 (2012-08-17), XP050665535, Retrieved from the Internet <URL:http://www.3gpp.org/ftp/tsg_ran/WG2_RL2/TSGR2_79/Docs/> *
CATT: "Lossless handover involving Short-to-Long PDCP SN reconfiguration", 3GPP TSG RAN WG2 MEETING #79BIS R2-124523, 12 October 2012 (2012-10-12), XP050666354, Retrieved from the Internet <URL:http://www.3gpp.org/ftp/tsg_ran/WG2_RL2/TSGR2_79bis/Docs/> *

Also Published As

Publication number Publication date
CN109661835B (en) 2020-06-26
CN109661835A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
US11184811B2 (en) Method and device for anchor replacement
KR102341420B1 (en) Switching method, access network device and terminal device
US11051215B2 (en) Switching method, terminal device, and network device
TWI762702B (en) A method, a transmitter device and a receiver device for data transmission
EP3644665A1 (en) Data transmission method and related device
EP3664570A1 (en) Session establishment method and apparatus
US20200059824A1 (en) Congestion processing method and device
WO2019157712A1 (en) Communication method, network device and terminal device
WO2020057044A1 (en) Connection releasing method, data processing method, device, and storage medium
WO2018152751A1 (en) Method for configuring pdcp entity, receiving device and sending device
WO2017113287A1 (en) Method, base station, terminal and gateway for data transmission
US11297545B2 (en) Switching method and access network device
WO2018227628A1 (en) Data transmission method, network device, and terminal device
WO2019153366A1 (en) Wireless communication method, network device, and terminal device
WO2019153367A1 (en) Wireless communication method, terminal device and network device
KR20220024065A (en) Data transmission method, network device
WO2019024103A1 (en) Paging failure processing method, access network device, and core network device
WO2019047163A1 (en) Method for configuring packet data convergence protocol (pdcp), terminal device and network device
WO2020056562A1 (en) Connection releasing method, and devices and storage medium
WO2019056389A1 (en) Method for controlling terminal device to generate uplink signaling, terminal device, and network device
CN112703815A (en) Data packet reordering method, electronic device and storage medium
WO2019028607A1 (en) Service access method and device

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: 17898253

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17898253

Country of ref document: EP

Kind code of ref document: A1