Switching method, access network device and terminal device
By using the old protocol stack in the LTE system to maintain the packet sequence, the problem of data transmission delay during terminal device switching is solved, and the timeliness of data processing and network performance are improved.
Patent Information
- Application Number
- CN201780090532.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-07-25
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2037-07-25
AI Technical Summary
In LTE system, the terminal device needs to wait for data transmission during the switching process for a long delay, resulting in data processing delay and poor network transmission performance.
By continuing to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and/or the second access network device to configure the second protocol stack, ensuring that the data of the terminal device can be processed in time, thereby reducing the number of times the second protocol stack. The delay of data transmission during switching.
It effectively reduces the data transmission delay of terminal equipment during the switching process, improves the timeliness of data processing and network transmission performance.
Smart Images

Figure CN110622558B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communications, and more specifically, to a switching method, an access network device, and a terminal device. Background Art
[0002] The handover process in the existing Long Term Evolution (LTE) system is as follows: the source access network device sends a handover request to the target access network device according to the measurement report reported by the terminal device, and after receiving the response of the target access network device to the handover request, it sends a handover command to the terminal device. The terminal device reconfigures according to the handover command and leaves the source cell and synchronizes with the target cell. For the data between the terminal device and the source access network device, the source access network device needs to pass the cached data to the target access network device until the target access network device and the terminal device complete the synchronization, and then the data can be processed. For this part of the data, the waiting delay during the handover of the terminal device is relatively long. Summary of the invention
[0003] In view of this, an embodiment of the present application provides a switching method, an access network device and a terminal device, which are conducive to reducing the delay of data transmission of the terminal device during the switching process.
[0004] In a first aspect, a switching method is provided, the method comprising: a first access network device triggers a terminal device and / or a second access network device to configure a second protocol stack, the second protocol stack being used to maintain the order of data packets between the second access network device and the terminal device and / or the security keys of the data packets between the second access network device and the terminal device; before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of data packets of the terminal device, the first access network device uses the first protocol stack to sequentially process the to-be-processed data packets of the first access network device and the terminal device.
[0005] A data packet is usually composed of a header and a data portion, wherein the header is a mark for identification by the receiving end, and the data portion is the original data. The data packet in the embodiment of the present application may include but is not limited to a PDCP protocol data unit (PDU), and the data portion may include but is not limited to a PDCP service data unit (SDU).
[0006] Optionally, the first access network device may only trigger the first terminal device. For example, when the first terminal device moves to the coverage of the second access network device connected to the second terminal device, and the first terminal device can be connected to the second terminal device through end-to-end (Device-to-Device, D2D), then the first network device may trigger the first terminal device, and the first terminal device may trigger the second network device through the second terminal device to establish a new protocol stack.
[0007] Optionally, the first access network device may also only trigger the second access network device. For example, when the first access network device moves to the coverage of the second access network device connected to the second terminal device, and the first terminal device can be connected to the second terminal device via D2D, then the first network device may trigger the second network device, and the second network device may trigger the first terminal device via the second terminal device to establish a new protocol stack.
[0008] Optionally, the first access network device triggers the terminal device and the second access network device to configure the second protocol stack, including: the first access network device sends first trigger information to the second access network device, and the first trigger information is used to request the second access network device to configure the second protocol stack; the first access network device receives response information to the first trigger information sent by the second access network device; the first access network device sends second trigger information to the terminal device based on the response information, and the second trigger information is used to instruct the terminal device to configure the second protocol stack.
[0009] By continuing to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, the data of the terminal device can be processed in a timely manner, thereby reducing the data transmission delay during the terminal device switching process.
[0010] In one possible implementation, the data packets to be processed include a first data packet, and before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to sequentially process the data packets to be processed of the first access network device and the terminal device, including: before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the first data packet sent by the terminal device; the first access network device uses the first protocol stack to decrypt the first data packet or the data portion of the first data packet; the first access network device uses the first protocol stack to sequentially process the decrypted first data packet.
[0011] In one possible implementation, the data packet to be processed includes a second data packet, and before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to sequentially process the data packets to be processed of the first access network device and the terminal device, including: before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the data portion of the second data packet sent by the core network device; the first access network device uses the first protocol stack to sequentially process the second data packet; the method also includes: the first access network device uses the first protocol stack to encrypt the second data packet that has been processed in sequence or the data portion in the second data packet.
[0012] In one possible implementation, the data packets to be processed include a third data packet, and before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to sequentially process the data packets to be processed of the first access network device and the terminal device, including: before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the third data packet or the data part of the third data packet sent by the second access network device and decrypts it using the second protocol stack through the second access network device; the first access network device processes the decrypted third data packet in sequence.
[0013] In one possible implementation, the data packets to be processed include a fourth data packet, and before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to process the data packets to be processed of the first access network device and the terminal device in sequence, including: before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the data portion of the fourth data packet sent by the core network device; the first access network device processes the fourth data packet in sequence using the first protocol stack; the method also includes: the first access network device sends the fourth data packet that has been processed in sequence to the second access network device, so that the second access network device uses the second protocol stack to encrypt the second data packet that has been processed in sequence or the data portion in the second data packet.
[0014] In one possible implementation, the method also includes: when the first access network device determines that the first access network device has no data packets or data of the terminal device to be processed, the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0015] In one possible implementation, when the first access network device determines that the first access network device has no data packets or data of the terminal device that need to be processed, the first access network device triggers the terminal device to use the second protocol stack to maintain the order of the data packets of the terminal device, including: when the first access network device determines that the first access network device has no data packets or data of the terminal device that need to be processed, the first access network device sends first indication information to the terminal device, and the first indication information is used to instruct the terminal device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0016] In a possible implementation manner, the first indication information is further used to instruct the terminal device to release the first protocol stack.
[0017] In a possible implementation manner, the first indication information is any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information DCI, and bits in a data packet.
[0018] In one possible implementation, when the first access network device determines that the first access network device has no data packets or data of the terminal device to be processed, the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, including: when the first access network device determines that the first access network device has no data packets of the terminal device to be processed, the first access network device sends second indication information to the second access network device, and the second indication information is used to instruct the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0019] In a possible implementation manner, the method further includes: the first access network device determines that the first access network device has no data packet of the terminal device to be processed.
[0020] In one possible implementation, the first access network device determines that the first access network device has no data packet or data of the terminal device to process, including: the first access network device receives third indication information sent by the core network device, and the third indication information is used to indicate that the first access network device has no data packet or data of the terminal device to process; the first access network device determines, based on the third indication information, that the first access network device has no data packet or data of the terminal device to process.
[0021] The third indication information may be an end marker.
[0022] In a possible implementation, the method also includes: the first access network device receives fourth indication information sent by the second access network device, and the fourth indication information is used to instruct the terminal device to complete the configuration of the second protocol stack; the first access network device sends routing switching information to the core network device based on the fourth indication information, and the routing switching information is used to instruct the core network device to switch the access network device responsible for maintaining the order of the data packets of the terminal device from the first access network device to the second access network device.
[0023] Optionally, in a possible implementation, the first access network device receives third indication information sent by the core network device, including: after the first access network device sends routing switching information to the core network device, the first access network device receives the third indication information sent by the core network device.
[0024] In one possible implementation, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is a secondary access network device in the multi-connection scenario.
[0025] In a second aspect, a switching method is provided, the method comprising: a second access network device receives first trigger information sent by a first access network device, the first trigger information is used to trigger the second access network device to configure a second protocol stack, the second protocol stack is used to maintain the order of data packets between the second access network device and a terminal device and / or the security keys of the data packets between the second access network device and the terminal device; the second access network device receives second trigger information sent by the first access network device, the second trigger information is used to trigger the second access network device to use the second protocol stack to maintain the order of data packets of the terminal device.
[0026] In one possible implementation, the method also includes: before the second access network device receives the second trigger information sent by the first access network device, the second access network device sends a first data packet that has been processed and encrypted in sequence to the first access network device; and the second access network device forwards the first data packet that has been processed and encrypted in sequence to the terminal device.
[0027] In one possible implementation, the method also includes: before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a second data packet sent by the first access network device after sequential processing; the second access network device uses the second protocol stack to encrypt the second data packet or a data portion in the second data packet; and the second access network device sends the encrypted second data packet to the terminal device.
[0028] In one possible implementation, the method also includes: before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a third data packet sent by the terminal device; the second access network device forwards the third data packet to the first access network device, so that the first access network device decrypts and processes the third data packet or the data portion in the third data packet in sequence.
[0029] In one possible implementation, the method also includes: before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a fourth data packet sent by the terminal device; the second access network device uses the second protocol stack to decrypt the fourth data packet or a data portion of the fourth data packet; the second access network device sends the decrypted fourth data packet to the first access network device, so that the first access network device processes the decrypted fourth data packet in sequence.
[0030] In a possible implementation, the method also includes: the second access network device receives first indication information sent by the terminal device, and the first indication information is used to indicate that the terminal device completes the configuration of the second protocol stack; the second access network device sends routing switching information to the core network device according to the first indication information, or the second access network device triggers the first access network device to send routing switching information to the core network device according to the first indication information, and the routing switching information is used to indicate that the core network device will switch the access network device that provides the terminal device with maintaining the order of data packets from the first access network device to the second access network device.
[0031] In a possible implementation, the second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information DCI, and bits in a data packet.
[0032] In one possible implementation, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is a secondary access network device in the multi-connection scenario.
[0033] According to a third aspect, a switching method is provided, the method comprising: the terminal device configures a second protocol stack according to first trigger information sent by a first access network device, the second protocol stack being used to maintain the order of data packets of the second access network device and the terminal device and / or the security keys of the data packets of the second access network device and the terminal device; before the terminal device receives second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to sequentially process the data packets to be processed of the terminal device, and the second trigger information is used to trigger the terminal device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0034] In a possible implementation, the data to be processed includes first data, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to sequentially process the data packet or data to be processed of the terminal device, including: the terminal device uses the first protocol stack to sequentially process the first data; the method also includes: the terminal device uses the first protocol stack to encrypt the first data or the data packet including the first data that has been processed in sequence; the terminal device sends the encrypted data packet including the first data to the first access network device and / or the second access network device.
[0035] In a possible implementation, the data packet to be processed includes a first data packet, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to sequentially process the data packet or data to be processed of the terminal device, including: before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device receives the first data packet sent by the first access network device and / or the second access network device; the terminal device uses the first protocol stack to decrypt the first data packet or the data part in the first data packet; the terminal device uses the first protocol stack to sequentially process the decrypted first data packet.
[0036] In a possible implementation, the data to be processed includes second data, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack of the terminal device to sequentially process the data packet or data to be processed of the terminal device, including: the terminal device uses the first protocol stack to sequentially process the second data; the method also includes: the terminal device uses the second protocol stack to encrypt the second data or the data packet including the second data after sequential processing; the terminal device sends the encrypted data packet including the second data to the second network device.
[0037] In one possible implementation, the data packet to be processed includes a second data packet, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack of the terminal device to sequentially process the data packet or data to be processed of the terminal device, including: the terminal device receives the second data packet sent by the second network device; the terminal device uses the second protocol stack to decrypt the second data packet or the data part of the second data packet; the terminal device uses the first protocol stack to sequentially process the decrypted second data packet.
[0038] In a possible implementation, the method also includes: the terminal device receives the second trigger information sent by the first access network device and / or the second access network device; and the terminal device uses the second protocol stack to maintain the order of the data packets of the terminal device according to the second trigger information.
[0039] In a possible implementation manner, the second trigger information is further used to instruct the terminal device to release the first protocol stack. The method further includes: the terminal device releasing the first protocol stack according to the second trigger information.
[0040] In a possible implementation, the second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information DCI, and bits in a data packet.
[0041] In one possible implementation, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is a secondary access network device in the multi-connection scenario.
[0042] In a fourth aspect, an access network device is provided, which is used to execute the method in the first aspect or any possible implementation of the first aspect. Specifically, the access network device includes a unit for executing the method in the first aspect or any possible implementation of the first aspect.
[0043] In a fifth aspect, an access network device is provided, which is used to execute the method in the second aspect or any possible implementation of the second aspect. Specifically, the access network device includes a unit for executing the method in the second aspect or any possible implementation of the second aspect.
[0044] In a sixth aspect, a terminal device is provided, which is used to execute the method in the third aspect or any possible implementation of the third aspect. Specifically, the terminal device includes a unit for executing the method in the third aspect or any possible implementation of the third aspect.
[0045] In a seventh aspect, an access network device is provided, the access network device comprising: a memory, a processor, an input interface, and an output interface. The memory, the processor, the input interface, and the output interface are connected via a bus system. The memory is used to store instructions, and the processor is used to execute the instructions stored in the memory, so as to execute the method in the first aspect or any possible implementation of the first aspect.
[0046] In an eighth aspect, an access network device is provided, the access network device comprising: a memory, a processor, an input interface, and an output interface. The memory, the processor, the input interface, and the output interface are connected via a bus system. The memory is used to store instructions, and the processor is used to execute the instructions stored in the memory, so as to execute the method in the second aspect or any possible implementation of the second aspect.
[0047] In a ninth aspect, a terminal device is provided, the terminal device comprising: a memory, a processor, an input interface, and an output interface. The memory, the processor, the input interface, and the output interface are connected via a bus system. The memory is used to store instructions, and the processor is used to execute the instructions stored in the memory, so as to execute the method in the third aspect or any possible implementation of the third aspect.
[0048] In the tenth aspect, a computer storage medium is provided for storing computer software instructions used to execute the method in the first aspect or any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect, or the method in the third aspect or any possible implementation of the third aspect, which includes a program designed for executing the above aspects.
[0049] In the eleventh aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method in the first aspect or any optional implementation of the first aspect, or the method in the second aspect or any optional implementation of the second aspect, or the method in the third aspect or any optional implementation of the third aspect.
[0050] These and other aspects of the present application will become more apparent from the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram showing an application scenario of an embodiment of the present application.
[0052] Figure 2 A schematic diagram showing another application scenario of an embodiment of the present application is shown.
[0053] Figure 3 A schematic flow chart of LTE handover is shown.
[0054] Figure 4 A schematic block diagram of a switching method according to an embodiment of the present application is shown.
[0055] Figure 5 A block diagram of an implementation of a protocol stack of a switching method according to an embodiment of the present application is shown.
[0056] Figure 6 Another implementation block diagram of the protocol stack of the switching method according to an embodiment of the present application is shown.
[0057] Figure 7 Another implementation block diagram of the protocol stack of the switching method according to the embodiment of the present application is shown.
[0058] Figure 8 Another implementation block diagram of the protocol stack of the switching method according to the embodiment of the present application is shown.
[0059] Fig. 9 Another schematic block diagram of the switching method according to an embodiment of the present application is shown.
[0060] Fig.10 Another schematic block diagram of the switching method according to an embodiment of the present application is shown.
[0061] Fig.11 A schematic block diagram of an access network device according to an embodiment of the present application is shown.
[0062] Fig.12 Another schematic block diagram of an access network device according to an embodiment of the present application is shown.
[0063] Fig.13 A schematic block diagram of a terminal device according to an embodiment of the present application is shown.
[0064] Fig.14 Another schematic block diagram of the access network device according to the embodiment of the present application is shown.
[0065] Fig.15 Another schematic block diagram of the access network device according to the embodiment of the present application is shown.
[0066] Fig.16 Another schematic block diagram of a terminal device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0067] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0068] It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), LTE system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, New Radio (NR) or future 5G system, etc.
[0069] In particular, the technical solutions of the embodiments of the present application can be applied to various communication systems based on non-orthogonal multiple access technology, such as sparse code multiple access (SCMA) system, low density signature (LDS) system, etc. Of course, the SCMA system and the LDS system may also be called other names in the field of communication; further, the technical solutions of the embodiments of the present application can be applied to multi-carrier transmission systems using non-orthogonal multiple access technology, such as orthogonal frequency division multiplexing (OFDM), filter bank multi-carrier (FBMC), generalized frequency division multiplexing (GFDM), filtered orthogonal frequency division multiplexing (F-OFDM) system, etc.
[0070] The terminal device in the embodiments of the present application may refer to a user equipment (UE), an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a 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, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved Public Land Mobile Network (PLMN), etc., and the embodiments of the present application are not limited.
[0071] The network device in the embodiment of the present application can be a device for communicating with a terminal device. The network device can be a base station (Base Transceiver Station, BTS) in GSM or CDMA, or a base station (NodeB, NB) in a WCDMA system, or an evolved base station (Evolutional NodeB, eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN) scenario, or the network device can be a relay station, an access point, a vehicle-mounted device, a wearable device, a network device in a future 5G network, or a network device in a future evolved PLMN network, etc., and the embodiments of the present application are not limited.
[0072] Figure 1 It is a schematic diagram of an application scenario of an embodiment of the present application. Figure 1 The communication system in the embodiment may include a terminal device 10 and a network device 20. The network device 20 is used to provide communication services for the terminal device 10 and access the core network. The terminal device 10 accesses the network by searching for synchronization signals, broadcast signals, etc. sent by the network device 20, thereby communicating with the network. Figure 1 The arrows shown in may represent uplink / downlink transmissions performed via a cellular link between the terminal device 10 and the network device 20 .
[0073] Figure 2 It is a schematic diagram of another application scenario of an embodiment of the present application. Figure 2 The access network devices around the terminal device 130 in the embodiment include a main access network device 110 and at least one auxiliary access network device 120. The at least one auxiliary access network device 120 is respectively connected to the main access network device 110 to form multiple connections, and is respectively connected to the terminal device 130 to provide services for it. The main access network device 110 can be an LTE network, and the auxiliary access network device 120 can be an NR network. Or the main access network device 110 can be an NR network, and the auxiliary access network device 120 can be an LTE network. Or both the main access network device 110 and the auxiliary access network device 120 are NR networks. The present application does not limit the application scenario of the technical solution. The terminal device 130 can establish a connection through the main access network device 110 and the auxiliary access network device 120 at the same time. The connection established between the terminal device 130 and the main access network device 110 is a main connection, and the connection established between the terminal device 130 and the auxiliary access network device 120 is an auxiliary connection. The control signaling of the terminal device 130 can be transmitted through the primary connection, and the data of the terminal device can be transmitted through the primary connection and the secondary connection at the same time, or can be transmitted only through the secondary connection.
[0074] In the embodiment of the present application, the primary access network device may be, for example, a macro base station (Macrocell), and the secondary access network device may be, for example, a microcell base station (Microcell), a picocell base station (Picocell), or a femtocell base station (Femtocell), but the embodiment of the present invention is not limited thereto.
[0075] More specifically, the main access network device may be an LTE network device, and the auxiliary access network device may be an NR network device. It should be understood that the embodiments of the present invention are not limited to this. The main access network device may also be a GSM network device, a CDMA network device, etc., and the auxiliary access network device may also be a GSM network device, a CDMA network device, etc. The embodiments of the present invention are not limited to this.
[0076] In an embodiment of the present application, the core network device may be a mobility management entity (Mobility Management Entity, MME), or a serving gateway (Serving Gateway, S-GW) or a packet data gateway (PDN Gateway, P-GW), which is not limited in the present application.
[0077] For ease of understanding, the following will combine Figure 3 Describe the handover process in the LTE system in detail. Figure 3 As shown, the switching process includes some or all of the following steps:
[0078] Step 1: The source eNB performs measurement configuration on the UE. The measurement result of the UE will be used to assist the source eNB in making a handover decision.
[0079] Step 2: The UE performs measurement reporting according to the measurement configuration.
[0080] Step 3: The source eNB refers to the measurement report result of the UE and makes a handover decision according to its own handover algorithm.
[0081] Step 4, the source eNB sends a handover request message to the target eNB, which contains relevant information for handover preparation, mainly including UE's X2 and S1 signaling context references, target cell identifiers, security keys, Radio Resource Control (RRC) contexts, Access Stratum (AS) configurations, Evolved-Universal Terrestrial Radio Access (E-UTRAN) radio access bearer (E-RAB) contexts, etc. It also contains the source cell physical layer identifier and message authentication verification code for the recovery process after possible handover failures. The UE's X2 and S1 signaling context references can help the target eNB find the location of the source eNB. The E-RAB context includes the necessary radio network layer (Radio Network Layer, RLN) and transport layer (Transport Network Layer, TNL) addressing information and E-RAB quality of service (Quality of Service, QoS) information.
[0082] Step 5: The target eNB performs admission control based on the received E-RAB QoS information to improve the success rate of the handover. Admission control should consider reserving corresponding resources, cell radio network temporary identifier (C-RNTI), and allocating dedicated random access preamble codes. The AS configuration used by the target cell can be a complete configuration that is completely independent of the source cell, or an incremental configuration based on the source cell (incremental configuration means that the same part is not configured, and only different parts are reconfigured through signaling. The UE will continue to use the original configuration for the configuration that it has not received).
[0083] Step 6: The target eNB prepares for L1 / L2 switching and sends a switching request ACK message to the source eNB. The message contains an RRC container, and the specific content is the switching command that triggers the UE to switch. The source eNB switching command is sent to the UE in a transparent manner (without any modification). The switching command contains a new C-RNTI, the case algorithm identifier of the target eNB, and may also carry a random access dedicated preamble code, access parameters, system information, etc. If necessary, the switching request ACK message may also carry RNL / TNL information for data forwarding. When the source eNB receives the switching request ACK message or forwards the switching command to the UE, data forwarding can begin.
[0084] Step 7: The handover command (RRC connection reconfiguration message carrying mobility control information) is generated by the target eNB and transparently transmitted to the UE through the source eNB. The source eNB performs necessary encryption and integrity protection on this message. When the UE receives the message, it will use the relevant parameters in the message to initiate the handover process. The UE can initiate the handover process without waiting for the Hybrid Automatic Repeat reQuest (HARQ) / Automatic Repeat reQuest (ARQ) response sent by the lower layer to the source eNB.
[0085] Step 8: The source eNB sends a sequence number (SN) status transfer message to the target eNB, transmitting the uplink packet data convergence protocol (PDCP) SN reception status and downlink PDCP SN transmission status of the E-RAB. The uplink PDCP SN reception status contains at least the PDCP SN of the last uplink SDU received in sequence, and may also contain the SNs of those uplink SDUs that were lost due to out-of-order reception, represented in the form of a bit map (if there are such SDUs, these SDUs may need to be retransmitted by the UE in the target cell). The downlink PDCP SN transmission status indicates the next SDU sequence number that should be allocated at the target eNB. If no E-RAB needs to transmit a PDCP status report, the source eNB can omit this message.
[0086] Step 9: After receiving the handover command, the UE performs synchronization with the target cell. If the random access dedicated preamble code is configured in the handover command, the non-contention random access process is used to access the target cell. If the dedicated preamble code is not configured, the contention random access process is used to access the target cell. The UE calculates the key required to be used in the target eNB and configures the security algorithm selected by the network for use in the target eNB, which is used to communicate with the target eNB after the handover is successful.
[0087] Step 10: The network responds with uplink resource allocation indication and timing advance.
[0088] Step 11: After the UE successfully accesses the target cell, the UE sends an RRC Connection Reconfiguration Complete message to confirm the completion of the handover process to the target eNB. If resources permit, this message may also be accompanied by an uplink buffer status report (BSR). The target eNB confirms the success of the handover by receiving the RRC Connection Reconfiguration Complete message. At this point, the target eNB can start sending data to the UE.
[0089] Step 12: The target eNB sends a path switch request message to the MME to inform the UE that the cell has been changed. At this point, the air interface handover has been successfully completed.
[0090] Step 13: The MME sends a user plane update request message to the S-GW.
[0091] Step 14: The S-GW switches the downlink data path to the target eNB side. The S-GW sends one or more "end marker packets" to the source eNB on the old path, and then the user plane resources of the source eNB can be released.
[0092] Step 15: The S-GW sends a user plane update response message to the MME.
[0093] Step 16: The MME sends a path switch request ACK message to the target eNB. Steps 12 to 16 complete the path switch process, which aims to switch the data path of the user plane from the source eNB to the target eNB. After the S-GW switches the downlink path, downlink packets of the forwarding path and the new path may arrive alternately at the target eNB. The target eNB should first deliver all forwarded data packets to the UE, and then deliver packets received from the new path. Using this method at the target eNB can enforce the correct transmission order. To assist the reordering function at the target eNB, the S-GW sends one or more "end marker packets" on the old path immediately after the E-RAB switches the path. The "end marker packet" does not contain user data and is indicated by the General Data Transfer Platform (GTP) header. After completing the transmission of the packet containing the identifier, the S-GW should not send any data packets on the old path. After receiving the "end marker packet", if forwarding is activated for this bearer, the source eNB should send this packet to the target eNB. After detecting the "end marker packet", the target eNB should discard the "end marker packet" and initiate any necessary procedures to maintain the in-order delivery of the user. This data is forwarded through the X2 interface or received from the S-GW through the S1 interface after path switching.
[0094] Step 17: The target eNB sends a UE context release message to the source eNB, notifying the source eNB of the success of the handover and triggering the release of the source eNB's resources. The target eNB sends this message after receiving the path switch ACK message sent back from the MME.
[0095] Step 18: After receiving the UE context release message, the source eNB may release the radio bearer and control plane resources associated with the UE context. Any ongoing data forwarding will continue.
[0096] Depend on Figure 3 It can be seen that after the source eNB sends the RRC connection reconfiguration message to the UE, the UE will leave the source cell and synchronize with the target cell, that is, the UE will disconnect from the network connection with the source eNB. For the data between the UE and the source eNB, the source eNB needs to pass the cached data to the target eNB until the bearer between the target eNB and the UE is established, and then the data can be processed. For this part of the data, the waiting delay during the UE switching process is relatively long. For the UE itself, the time it takes to disconnect from the network is also relatively long, and the UE's services cannot be processed in time, resulting in poor network transmission performance.
[0097] Figure 4 FIG. 3 is a schematic block diagram of a switching method 300 according to an embodiment of the present application. Figure 4 As shown, the method 300 includes some or all of the following steps:
[0098] S310, the first access network device triggers the terminal device and / or the second access network device to configure a second protocol stack, wherein the second protocol stack is used to maintain the order of data packets between the second access network device and the terminal device and / or the security keys of the data packets between the second access network device and the terminal device.
[0099] S320, before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to process the pending data packets of the first access network device and the terminal device in sequence.
[0100] Those skilled in the art understand that a data packet is usually composed of a header and a data portion, wherein the header is a mark for identification by the receiving end, and the data portion is the original data. The data packet in the embodiment of the present application may include but is not limited to PDCP PDU. Hereinafter, PDCP PDU will be taken as an example as the data packet in the embodiment of the present application, and SDU will be taken as the data portion in the data packet in the embodiment of the present application, but the embodiment of the present application should not be limited thereto.
[0101] Optionally, the technical solution of the embodiment of the present application can be applied to Figure 1 The switching scenario under the single connection shown can also be applied to Figure 2 For the sake of description, the technical solution of method 100 is briefly introduced below by taking the switching scenario under a single connection as an example.
[0102] Specifically, the first access network device, that is, the source access network device, can be configured as follows: Figure 3Some or all of the steps 1 to 7 in the switching process are used to trigger the terminal device and / or the second access network device, i.e., the target access network device, to configure a second protocol stack (hereinafter referred to as a new protocol stack), and the new protocol stack includes a PDCP layer / radio link control (Radio Link Control, RLC) layer / media access control (Medium Access Control, MAC) layer / physical (Physical, PHY) layer. Among them, the PDCP layer of the new protocol stack has a security key that can maintain the sending or receiving order of the PDCP PDU and the PDCP PDU. That is to say, after the terminal device switches to the second access network device, the new protocol stack can be used to transmit data packets between the terminal device and the second access network device. In an embodiment of the present application, the first access network device can tell the terminal device and / or the second access network device not to release the first protocol stack (hereinafter referred to as the old protocol stack) while triggering the terminal device and / or the second access network device to configure the second protocol stack. That is, when the terminal device and / or the second access network device are triggered by the first access network device to establish a new protocol stack, do not disconnect the connection between the terminal device and the first access network device. In an embodiment of the present application, the first access network device may subsequently trigger the terminal device and / or the second access network device to use a new protocol stack to maintain the order of PDCP PDUs, that is, the first access network device triggers the terminal device to completely switch to the second access network device, or the first access network device triggers the second access network device to inform the core network device to completely switch the downlink path. Before the first access network device triggers the terminal device and / or the second access network device to use the new protocol stack to maintain the order of PDCP PDUs, the first access network device may continue to maintain the order of PDCP PDUs using the old protocol stack for the uplink and downlink data cached at the first access network device.
[0103] Therefore, the switching method of the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0104] Optionally, in an embodiment of the present application, the first access network device may only trigger the first terminal device. For example, when the first access network device moves to the coverage of the second access network device connected to the second terminal device, and the first terminal device can be connected to the second terminal device through end-to-end (Device-to-Device, D2D), then the first network device can trigger the first terminal device, and the first terminal device can trigger the second network device through the second terminal device to establish a new protocol stack.
[0105] Optionally, in the embodiment of the present application, the first access network device may also only trigger the second access network device. For example, when the first access network device moves to the coverage of the second access network device connected to the second terminal device, and the first terminal device can be connected to the second terminal device via D2D, then the first network device can trigger the second network device, and the second network device can trigger the first terminal device through the second terminal device to establish a new protocol stack.
[0106] Optionally, in an embodiment of the present application, the first access network device triggers the terminal device and the second access network device to configure the second protocol stack, including: the first access network device sends a first trigger message to the second access network device, and the first trigger message is used to request the second access network device to configure the second protocol stack; the first access network device receives response information to the first trigger information sent by the second access network device; the first access network device sends a second trigger message to the terminal device based on the response information, and the second trigger message is used to instruct the terminal device to configure the second protocol stack.
[0107] Specifically, you can Figure 3 Steps 4 to 7 are shown. For example, the first access network device may send a switching request to the second access network device. After the second access network device determines that the terminal device is allowed to switch to the second access network device according to the switching request, it may reply to the first access network device with a response to the switching request. The response may carry various parameters configured by the second access network device for the terminal device. The first access network device may directly transparently transmit the various parameters configured by the second access network device to the terminal device, and the terminal device may configure a protocol stack that can communicate with the second access network device according to these parameters.
[0108] It should be understood that when the first access network device triggers the terminal device to configure a new protocol stack, the first access network device can simultaneously inform the terminal device not to disconnect from the first access network device. For example, an indication information can be carried in the switching command sent by the first access network device to the terminal device, and the indication information can directly instruct the terminal device not to disconnect from the first access network device. Or the first access network device can send an indication information to the terminal device separately, telling the terminal device not to disconnect from the first access network device after receiving the switching command sent by the first access network device.
[0109] It should also be understood that when the first access network device triggers the terminal device to use a new protocol stack, the first access network device can simultaneously inform the terminal device to disconnect from the first access network device, that is, to release the old protocol stack. For example, the first access network device can send an indication message to the terminal device alone, and the indication message can directly instruct the terminal device to disconnect from the first access network device. Alternatively, the first access network device can also carry a bit in the last data packet sent to the terminal device to instruct the terminal device to disconnect from the first access network device.
[0110] Optionally, in an embodiment of the present application, the data packet to be processed includes a first data packet, and before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to sequentially process the data packets to be processed of the first access network device and the terminal device, including: before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the first data packet sent by the terminal device; the first access network device uses the first protocol stack to decrypt the first data packet or a data portion in the first data packet; the first access network device uses the first protocol stack to sequentially process the decrypted first data packet.
[0111] The following will be combined Figure 5 and Figure 6 Two embodiments in a single connection switching scenario and a multi-connection role switching scenario are described in detail.
[0112] Figure 5 This is a switching scenario under a single connection. Figure 5 As shown, the first stage (which can be seen as Figure 3Before step 7 in the figure), the first access network device provides network services for the terminal device, that is, the PDCP layer of the first access network device acts as a convergence layer to maintain the data packet sending / receiving order of the terminal device (SN in LTE), and the PDCP of the first access network device also maintains a unified security key for the terminal device. For uplink data, the specific process can be as follows: the terminal device sends a PDCP PDU to the first access network device (the terminal device must first sort the SDU of the PDCP PDU, that is, add an SN, and then the terminal device can encrypt the sorted PDCP PDU or the SDU therein). After the PDCP layer of the first access network device receives the PDCP PDU from the RLC layer, it first decrypts the PDCP PDU, or it can also decrypt the SDU in the PDCP PDU. Further, the first access network device can sort the received PDCP PDUs or SDUs according to the decrypted SN.
[0113] The second stage (which can be seen as Figure 3 Between steps 7 and 11 in the Figure 3 In the so-called execution switching process, during this period, the terminal device will not disconnect from the first access network device, that is, the terminal device will not leave the source cell during the synchronization process with the second access network device. At this time, if the terminal device has data to transmit, the terminal device can still transmit the data to the first access network device. In other words, the first access network device can also receive the PDCP PDU sent by the terminal device (the terminal device must first sort the SDU of the PDCP PDU, that is, add SN, and then the terminal device can encrypt the sorted PDCP PDU or the SDU therein). After the PDCP layer of the first access network device receives the PDCP PDU from the RLC layer, it first decrypts the PDCP PDU, or it can also decrypt the SDU in the PDCP PDU. Further, the first access network device can sort the received PDCP PDUs or SDUs according to the decrypted SN. In other words, at this stage, data is still transmitted between the terminal device and the first access network device.
[0114] The third stage (it can be seen Figure 3 The process after step 11 in Figure 3During this period, since the terminal device has completed the reconfiguration with the second access network device, in other words, the terminal device can already communicate with the second access network device, then the terminal device can naturally send the PDCP PDU directly to the second access network device. Similarly, after receiving the PDCP PDU sent by the terminal device, the second access network device can use its newly created PDCP layer to decrypt the PDCP PDU or the SDU in the PDCP PDU, so that these PDCP PDUs or SDUs can be delivered to the upper layer in sequence according to the obtained SN.
[0115] The functions of the PDCP protocol and how to use these functions of the PDCP protocol are not described in detail here. Please refer to the LTE protocol.
[0116] Figure 6 It is a role switching scenario under multiple connections. Figure 6 As shown, the first stage (which can be seen as Figure 3 Before step 7 in the figure), the first access network device and the second access network device jointly provide network services for the terminal device, wherein the first access network device can be the main access network device, and the second access network device can be the auxiliary access network device. The terminal device can send PDCP PDU to the network device through the first access network device and the second access network device, and the network device side uses the PDCP layer of the first access network device as the convergence layer to maintain the data packet sending / receiving order of the terminal device (SN in LTE), and the PDCP of the first access network device also maintains a unified key for the terminal device. For uplink data, the specific process can be as follows: the terminal device sends PDCP PDU to the first access network device and the second access network device (the terminal device must first sort the SDU of the PDCP PDU, that is, add SN, and then the terminal device can encrypt the sorted PDCP PDU or the SDU therein, and the terminal device can further send the encrypted PDCP PDU to the network device side through the RLC layer of the first access network device and the RLC layer of the second access network device respectively). After the PDCP layer of the first access network device receives the PDCP PDU from the RLC layer of the first access network device and the RLC layer of the second access network device, it first decrypts the PDCP PDU, or it may also decrypt the SDU in the PDCP PDU. Furthermore, the first access network device may sort the received PDCP PDUs or SDUs according to the SN obtained by decryption.
[0117] The second stage (which can be seen as Figure 3 Between steps 7 and 11 in the Figure 3In the so-called switching process, the terminal device will not disconnect from the first access network device during this period. That is to say, during the synchronization process with the second access network device, the terminal device will still use the PDCP of the first access network device to maintain the data sending / receiving order of the terminal device and the secret key of these data. At this time, if the terminal device has data to transmit, the terminal device can still transmit the data to the first access network device and / or the second access network device. But the data will still be processed by the PDCP layer of the first access network device. In other words, during this period, the network device still processes the data through the old protocol stack.
[0118] It should be understood that the data transmitted in the first and second stages can be transmitted through two links in the dual connection, or through one of the links, but whether it is transmitted by one link or two links, the final data will be aggregated to the PDCP layer in the first access network device, that is, the PDCP layer of the primary access network device in the dual connection scenario.
[0119] The third stage (it can be seen Figure 3 The process after step 11 in Figure 3 During this period, since the terminal device has completed the reconfiguration with the second access network device, in other words, the second access network device has completed the configuration of the PDCP layer, the terminal device can directly communicate with the second access network device, that is, the network device side can use the PDCP layer of the second access network device to decrypt the PDCP PDU or its SDU sent by the terminal device, and then the PDCP layer of the second access network device can deliver these PDCP PDU or SDU to the upper layer in sequence according to the obtained SN.
[0120] Optionally, in the third stage, that is, after the switching is completed, the first access network device can only release the function of the PDCP layer, that is, after the switching, the first access network device can be used as an auxiliary access network device of the second access network device, and the terminal device can send data to the network device side through two links, but the data on the two links are finally converged to the newly established PDCP layer of the second access network device. The PDCP layer established by the second access network device decrypts the data and submits it to the upper layer in sequence according to the SN obtained by decryption.
[0121] Optionally, in the third stage, after the handover is completed, the first access network device can release the connection with the terminal device, and the terminal device can transmit data only through the link with the second access network device. The PDCP layer established by the second access network device decrypts the data and delivers it to the upper layer in sequence according to the SN obtained by decryption.
[0122] Although the entire text is described using dual connection as an example, the embodiments of the present application should not be limited to this, and can be multi-connection, that is, a main access network device and multiple auxiliary access network devices jointly provide network services for the terminal device.
[0123] The above is a description of the application of the technical solution of the embodiment of the present application in a single connection switching scenario and a multi-connection role switching scenario using uplink data as an example. The same is true for downlink data.
[0124] Optionally, in an embodiment of the present application, the PDCP PDU to be processed includes a second PDCP PDU, and before the first access network device triggers the terminal device and / or the second access network device uses the second protocol stack to maintain the order of the PDCP PDUs of the terminal device, the first access network device uses the first protocol stack to process the PDCP PDUs of the first access network device and the terminal device in sequence, including: before the first access network device triggers the terminal device and / or the second access network device uses the second protocol stack to maintain the order of the PDCP PDUs of the terminal device, the first access network device receives the second PDCP PDU sent by the core network device; the first access network device uses the first protocol stack to process the second PDCP PDU in sequence; the method also includes: the first access network device uses the first protocol stack to encrypt the second PDCP PDU that has been processed in sequence or the SDU in the second PDCP PDU.
[0125] The transmission of downlink data can refer to the transmission of uplink data, and will not be described again for the sake of brevity.
[0126] Optionally, in an embodiment of the present application, the PDCP PDU to be processed includes a third PDCP PDU, and before the first access network device triggers the terminal device and / or the second access network device uses the second protocol stack to maintain the order of the PDCP PDUs of the terminal device, the first access network device uses the first protocol stack to process the PDCP PDUs of the first access network device and the terminal device in sequence, including: before the first access network device triggers the terminal device and / or the second access network device uses the second protocol stack to maintain the order of the PDCP PDUs of the terminal device, the first access network device receives the third PDCP PDU sent by the second access network device and uses the second protocol stack to decrypt the SDU in the third PDCP PDU or the SDU in the third PDCP PDU through the second access network device; the first access network device processes the decrypted third PDCP PDU in sequence.
[0127] Optionally, in an embodiment of the present application, the PDCP PDU to be processed includes a fourth PDCP PDU, and before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the PDCP PDUs of the terminal device, the first access network device uses the first protocol stack to process the PDCP PDUs of the first access network device and the terminal device in sequence, including: before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the PDCP PDUs of the terminal device, the first access network device receives the fourth PDCP PDU sent by the core network device; the first access network device uses the first protocol stack to process the fourth PDCP PDU in sequence; the method also includes: the first access network device sends the fourth PDCP PDU that has been processed in sequence to the second access network device, so that the second access network device uses the second protocol stack to encrypt the second PDCP PDU that has been processed in sequence or the SDU in the second PDCP PDU.
[0128] It should be understood that the PDCP PDU mentioned in this document refers to data packets in some places and to the data part of data packets in other places, and those skilled in the art should make a distinction. For example, for uplink data, the terminal device processes the data in sequence, generates data packets, and then sends them to the network device, rather than directly processing the data packets. For another example, for downlink data, the access network device receives data from the core network device, and the access network device processes the received downlink data in sequence, generates data packets, and then sends them to the terminal device.
[0129] The following will be combined Figure 7 and Figure 8 Two other embodiments in a single connection switching scenario and a multi-connection role switching scenario are described in detail.
[0130] Figure 7 This is a switching scenario under a single connection. Figure 5 As shown, the first stage (which can be seen as Figure 3Before step 7 in the figure), the first access network device provides network services for the terminal device, that is, the PDCP layer of the first access network device acts as a convergence layer to maintain the data packet sending / receiving order of the terminal device (SN in LTE), and the PDCP of the first access network device also maintains a unified key for the terminal device. For uplink data, the specific process can be as follows: the terminal device sends a PDCP PDU to the first access network device (the terminal device must first sort the SDU of the PDCP PDU, that is, add an SN, and then the terminal device can encrypt the sorted PDCP PDU or the SDU therein). After the PDCP layer of the first access network device receives the PDCP PDU from the RLC layer, it first decrypts the PDCP PDU, or it can also decrypt the SDU in the PDCP PDU. Further, the first access network device can sort the received PDCP PDUs or SDUs according to the decrypted SN.
[0131] The second stage (which can be seen as Figure 3 Between steps 7 and 11 in the Figure 3 In the so-called execution switching process, during this period, the terminal device will not disconnect from the first access network device, that is, the terminal device will not leave the source cell during the synchronization process with the second access network device, but part of the PDCP function of the network device can be transferred to the second protocol stack, that is, the PDCP layer established by the second access network device can maintain the secret key of the terminal device. At this time, if the terminal device has data to transmit, the terminal device can use the second protocol stack to transmit the data to the second access network device. The second access network device first decrypts the received data, and after the decryption is completed, the data is sent to the first access network device for sorting and delivery. In other words, the PDCP layer of the second access network device can be used to decrypt the received PDCP PDU first, but the final sorting and delivery must be performed through the PDCP layer of the first access network device. In other words, at this stage, the new protocol stack can be used to decrypt the data, or the old protocol stack can be used to sort the data.
[0132] The third stage (it can be seen Figure 3 The process after step 11 in Figure 3During this period, since the terminal device has completed the reconfiguration with the second access network device, in other words, the function of maintaining the sorting and delivery of the terminal device's data has been transferred from the first access network device to the second access network device, the terminal device can naturally send the PDCP PDU directly to the second access network device. Similarly, after receiving the PDCP PDU sent by the terminal device, the second access network device can use its newly created PDCP layer to decrypt the PDCP PDU or the SDU in the PDCP PDU, so that these PDCP PDUs or SDUs can be delivered to the upper layer in sequence according to the obtained SN.
[0133] Figure 8 It is a role switching scenario under multiple connections. Figure 8 As shown, the first stage (which can be seen as Figure 3 Before step 7 in the figure), the first access network device and the second access network device jointly provide network services for the terminal device, wherein the first access network device can be the main access network device, and the second access network device can be the auxiliary access network device. The terminal device can send PDCP PDU to the network device through the first access network device and the second access network device, and the network device side uses the PDCP layer of the first access network device as the convergence layer to maintain the data packet sending / receiving order of the terminal device (SN in LTE), and the PDCP of the first access network device also maintains a unified key for the terminal device. For uplink data, the specific process can be as follows: the terminal device sends PDCP PDU to the first access network device and the second access network device (the terminal device must first sort the SDU of the PDCP PDU, that is, add SN, and then the terminal device can encrypt the sorted PDCP PDU or the SDU therein, and the terminal device can further send the encrypted PDCP PDU to the network device side through the RLC layer of the first access network device and the RLC layer of the second access network device respectively). After the PDCP layer of the first access network device receives the PDCP PDU from the RLC layer of the first access network device and the RLC layer of the second access network device, it first decrypts the PDCP PDU, or it may also decrypt the SDU in the PDCP PDU. Furthermore, the first access network device may sort the received PDCP PDUs or SDUs according to the SN obtained by decryption.
[0134] The second stage (which can be seen as Figure 3 Between steps 7 and 11 in the Figure 3In the so-called switching execution process, during this period, the terminal device will not disconnect from the first access network device, that is, during the synchronization process with the second access network device, the terminal device will still use the PDCP of the first access network device to maintain the data sending / receiving order of the terminal device, but it uses the newly established PDCP protocol to maintain the secret key of these data. At this time, if the terminal device has data to transmit, the terminal device can still transmit the data to the first access network device and / or the second access network device. However, the data will eventually be decompressed using the PDCP layer established by the second access network device, or the PDCP layer of the first access network device will sort and process the data. In other words, during this period, the network device still processes the data through the old protocol stack and the new protocol stack.
[0135] It should be understood that the data transmitted in the first and second stages can be transmitted through two links in the dual connection, or through one of the links, but whether it is transmitted by one link or two links, the final data will be aggregated to the PDCP layer in the first access network device, that is, the PDCP layer of the primary access network device in the dual connection scenario.
[0136] The third stage (it can be seen Figure 3 The process after step 11 in Figure 3 During this period, since the terminal device has completed the reconfiguration with the second access network device, in other words, the second access network device has completed the configuration of the PDCP layer, the terminal device can directly communicate with the second access network device, that is, the network device side can use the PDCP layer of the second access network device to decrypt the PDCP PDU or its SDU sent by the terminal device, and then the PDCP layer of the second access network device can deliver these PDCP PDU or SDU to the upper layer in sequence according to the obtained SN.
[0137] The transmission of downlink data can refer to the transmission of uplink data, and will not be described again for the sake of brevity.
[0138] It should be understood that the above Figures 5 to 8 In the various embodiments, the PDCP used to maintain the order of the PDCP PDU of the terminal device in the second stage can be a PDCP entity in the first access network device, or a unified convergence layer outside the PDCP entity. The unified convergence layer can be connected to the PDCP entity of the first access network device and the PDCP entity of the second access network device respectively, that is, in the second stage, the PDCP entity of the first access network device can be used instead of a convergence layer outside of it. The embodiments of the present application are not limited to this.
[0139] It should also be understood that the data transmission in the above-mentioned second stage can also divide the data into two parts, one part is decrypted using the new protocol stack, and the other part is decrypted using the old protocol stack. The new protocol stack or the old protocol stack can also be used for decryption alone. The embodiments of the present application do not constitute a limitation on this.
[0140] Optionally, in an embodiment of the present application, the method also includes: when the first access network device determines that the first access network device has no data or data packets of the terminal device to be processed, the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0141] Specifically, in Figure 3 In the process shown, after the core network device completes the switching of the downlink path, it will send an end mark to the first access network device, which can inform the first access network device that no data will be sent to the first access network device in the future. Then the first access network device can convey this situation to the terminal device and / or the second access network device respectively, and at the same time, it also tells the terminal device and / or the second access network device that they can communicate directly with each other in the future, and the first access network device is no longer required for transmission. For example, the end mark can be the "endMarker" in step 16 above, or it can be other indication information.
[0142] That is, after receiving the indication information sent by the first access network device, the terminal device can determine that there is no data to be transmitted between the terminal device and the first access network device, and the terminal device can directly use the new protocol stack for subsequent data transmission. The terminal device can also release the old protocol stack according to the indication information.
[0143] Optionally, in an embodiment of the present application, the indication information sent by the first access network device to the terminal device may be any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information (Download Control Information, DCI), or bits in a data packet.
[0144] Optionally, in an embodiment of the present application, the method also includes: the first access network device receives third indication information sent by the second access network device, and the third indication information is used to instruct the terminal device to complete the configuration of the second protocol stack; the first access network device sends routing switching information to the core network device based on the third indication information, and the routing switching information is used to instruct the core network device to switch the access network device responsible for maintaining the order of the data packets of the terminal device from the first access network device to the second access network device.
[0145] That is, after the second access network device determines that the terminal device configuration is complete, the second access network device can trigger the first access network device to send routing switching information to the core network device, that is, switch the downlink path. Figure 3 In the reconfiguration completion message in the second access network device, the second access network device sends an indication message to the first access network device, that is, it can inform the first access network device that the terminal device has completed the configuration of the new protocol stack, so the first access network device can notify the core network device to switch the downlink route. Figure 3 After receiving the reconfiguration completion message, the second access network device can directly notify the core network device to perform downlink route switching.
[0146] Optionally, in an embodiment of the present application, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is a secondary access network device in the multi-connection scenario.
[0147] Fig. 9 FIG. 4 is a schematic block diagram of a switching method 400 according to an embodiment of the present application. Fig. 9 As shown, the method 400 includes:
[0148] S410, the second access network device receives the first trigger information sent by the first access network device, and the first trigger information is used to trigger the second access network device to configure a second protocol stack, and the second protocol stack is used to maintain the order of the data packets between the second access network device and the terminal device and / or the security keys of the data packets between the second access network device and the terminal device.
[0149] S420: The second access network device receives second trigger information sent by the first access network device, where the second trigger information is used to trigger the second access network device to use the second protocol stack to maintain the sequence of data packets of the terminal device.
[0150] Therefore, the switching method of the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0151] Optionally, in the embodiment of the present application, the method further includes: before the second access network device receives the second trigger information sent by the first access network device, the second access network device sends a first data packet that has been processed and encrypted in sequence to the first access network device; and the second access network device forwards the first data packet that has been processed and encrypted in sequence to the terminal device.
[0152] Optionally, in an embodiment of the present application, the method also includes: before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a second data packet sent by the first access network device after sequential processing; the second access network device uses the second protocol stack to encrypt the second data packet or a data portion in the second data packet; and the second access network device sends the encrypted second data packet to the terminal device.
[0153] Optionally, in an embodiment of the present application, the method also includes: before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a third data packet sent by the terminal device; the second access network device forwards the third data packet to the first access network device, so that the first access network device decrypts and processes the third data packet or the data portion in the third data packet in sequence.
[0154] Optionally, in an embodiment of the present application, the method also includes: before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a fourth data packet sent by the terminal device; the second access network device uses the second protocol stack to decrypt the fourth data packet or a data portion in the fourth data packet; the second access network device sends the decrypted fourth data packet to the first access network device, so that the first access network device processes the decrypted fourth data packet in sequence.
[0155] Optionally, in an embodiment of the present application, the method also includes: the second access network device receives first indication information sent by the terminal device, and the first indication information is used to indicate that the terminal device completes the configuration of the second protocol stack; the second access network device sends routing switching information to the core network device according to the first indication information, or the second access network device triggers the first access network device to send routing switching information to the core network device according to the first indication information, and the routing switching information is used to indicate that the core network device will switch the access network device that provides the terminal device with maintaining the order of data packets from the first access network device to the second access network device.
[0156] Optionally, in an embodiment of the present application, the method also includes: after the second access network device sends the routing switching information to the core network device, the second access network device receives second indication information sent by the first access network device, and the second indication information is used to indicate that the first access network device needs to process data or data packets for the terminal device.
[0157] Optionally, in an embodiment of the present application, the second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information DCI, and a bit in a data packet.
[0158] Optionally, in an embodiment of the present application, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is a secondary access network device in the multi-connection scenario.
[0159] It should be understood that the interaction and related characteristics and functions between the second access network device and the first access network device and the terminal device described by the second access network device correspond to the related characteristics and functions of the first access network device. And the relevant content has been described in detail in the above method 300, and for the sake of brevity, it will not be repeated here.
[0160] Fig.10 FIG. 5 is a schematic block diagram of a switching method 500 according to an embodiment of the present application. Fig.10 As shown, the method 500 includes:
[0161] S510, the terminal device configures a second protocol stack according to the first trigger information sent by the first access network device, where the second protocol stack is used to maintain the order of the data packets of the second access network device and the terminal device and / or the security key of the data packets of the second access network device and the terminal device;
[0162] S520, before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to process the pending data packets or data of the terminal device in sequence, and the second trigger information is used to trigger the terminal device to use the second protocol stack to maintain the data packet sequence of the terminal device.
[0163] Therefore, the switching method of the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0164] Optionally, in an embodiment of the present application, the data to be processed includes first data, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack of the terminal device to sequentially process the data packet or data to be processed of the terminal device, including: the terminal device uses the first protocol stack to sequentially process the first data; the method also includes: the terminal device uses the first protocol stack to encrypt the first data that has been processed in sequence or the data packet including the first data; the terminal device sends the encrypted data packet including the first data to the first access network device and / or the second access network device.
[0165] Optionally, in an embodiment of the present application, the data packet to be processed includes a first data packet, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack of the terminal device to sequentially process the data packet or data to be processed of the terminal device, including: before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device receives the first data packet sent by the first access network device and / or the second access network device; the terminal device uses the first protocol stack to decrypt the first data packet or the data portion in the first data packet; the terminal device uses the first protocol stack to sequentially process the decrypted first data packet.
[0166] Optionally, in an embodiment of the present application, the data to be processed includes second data, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack of the terminal device to sequentially process the data packet or data to be processed of the terminal device, including: the terminal device uses the first protocol stack to sequentially process the second data; the method also includes: the terminal device uses the second protocol stack to encrypt the second data or the data packet including the second data after sequential processing; the terminal device sends the encrypted data packet including the second data to the second network device.
[0167] Optionally, in an embodiment of the present application, the data packet to be processed includes a second data packet, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack of the terminal device to sequentially process the data packet or data to be processed of the terminal device, including: the terminal device receives the second data packet sent by the second network device; the terminal device uses the second protocol stack to decrypt the second data packet or the data portion of the second data packet; the terminal device uses the first protocol stack to sequentially process the decrypted second data packet.
[0168] Optionally, in an embodiment of the present application, the method also includes: the terminal device receives the second trigger information sent by the first access network device and / or the second access network device; the terminal device uses the second protocol stack to maintain the order of the data packets of the terminal device according to the second trigger information.
[0169] Optionally, in an embodiment of the present application, the second trigger information is also used to instruct the terminal device to release the first protocol stack. The method further includes: the terminal device releases the first protocol stack according to the second trigger information.
[0170] Optionally, in an embodiment of the present application, the second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information DCI, and a bit in a data packet.
[0171] Optionally, in an embodiment of the present application, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is a secondary access network device in the multi-connection scenario.
[0172] It should be understood that the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0173] It should be understood that the interaction between the terminal device and the network device and the related characteristics and functions described by the terminal device correspond to the related characteristics and functions of the network device. And the relevant content has been described in detail in the above method 300, and for the sake of brevity, it will not be repeated here.
[0174] The above describes in detail the switching method according to the embodiment of the present application. Figures 11 to 16 , describing the technical features described in the device and method embodiments according to the embodiments of the present application are applicable to the following device embodiments.
[0175] Fig.11 Schematic block diagram of an access network device 600 according to an embodiment of the present application is shown. The access network device 600 is a first access network device, such as Fig.11 As shown, the access network device 600 includes:
[0176] The first trigger unit 610 is used to trigger the terminal device and / or the second access network device to configure a second protocol stack, and the second protocol stack is used to maintain the order of the packet data convergence protocol PDCP protocol data unit PDU between the second access network device and the terminal device and / or the security key of the data packet of the second access network device and the terminal device.
[0177] The sequential processing unit 620 is used to use the first protocol stack to process the to-be-processed data packets of the first access network device and the terminal device in sequence before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0178] Therefore, the access network device of the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0179] Optionally, in an embodiment of the present application, the data packet to be processed includes a first data packet, and the in-order processing unit 620 is specifically used to: receive the first data packet sent by the terminal device before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device; use the first protocol stack to decrypt the first data packet or the data part in the first data packet; and use the first protocol stack to process the decrypted first data packet in order.
[0180] Optionally, in an embodiment of the present application, the data packet to be processed includes a second data packet, and the in-order processing unit is specifically used to: receive the second data packet sent by the core network device before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device; use the first protocol stack to process the second data packet in order; the access network device also includes: a first encryption unit, used to encrypt the second data packet that has been processed in order or the data part of the second data packet using the first protocol stack.
[0181] Optionally, in an embodiment of the present application, the data packets to be processed include a third data packet, and the in-order processing unit is specifically used to: receive the third data packet or the data part of the third data packet sent by the second access network device and decrypt it using the second protocol stack by the second access network device before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device; and process the decrypted third data packet in order.
[0182] Optionally, in an embodiment of the present application, the data packets to be processed include a fourth data packet, and the in-order processing unit is specifically used to: receive the fourth data packet sent by the core network device before the first access network device triggers the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device; use the first protocol stack to process the fourth data packet in order; the access network device also includes: a second encryption unit, used to send the fourth data packet that has been processed in order to the second access network device, so that the second access network device uses the second protocol stack to encrypt the second data packet that has been processed in order or the data part of the second data packet.
[0183] Optionally, in an embodiment of the present application, the access network device also includes: a second trigger unit, used to trigger the terminal device and / or the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device when the first access network device determines that the first access network device has no data packets of the terminal device to process.
[0184] Optionally, in an embodiment of the present application, the second trigger unit is specifically used to: when the first access network device determines that the first access network device has no data packets of the terminal device to be processed, send first indication information to the terminal device, and the first indication information is used to instruct the terminal device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0185] Optionally, in an embodiment of the present application, the first indication information is also used to instruct the terminal device to release the first protocol stack.
[0186] Optionally, in an embodiment of the present application, the first indication information is any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information DCI, and bits in a data packet.
[0187] Optionally, in an embodiment of the present application, the second trigger unit is specifically the same as: when the first access network device determines that the first access network device has no data packets of the terminal device to be processed, the first access network device sends second indication information to the second access network device, and the second indication information is used to instruct the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0188] Optionally, in an embodiment of the present application, the access network device further includes: a determination unit, configured to determine that the first access network device has no data packets of the terminal device to process.
[0189] Optionally, in an embodiment of the present application, the determination unit is specifically used to: receive a third indication message sent by a core network device, the third indication message being used to indicate that the first access network device has no data packets from the terminal device to process; and determine, based on the third indication message, that the first access network device has no data packets from the terminal device to process.
[0190] Optionally, in an embodiment of the present application, the access network device also includes: a receiving unit, used to receive fourth indication information sent by the second access network device, the fourth indication information being used to instruct the terminal device to complete the configuration of the second protocol stack; a sending unit, used to send routing switching information to the core network device according to the fourth indication information, the routing switching information being used to instruct the core network device to switch the access network device responsible for maintaining the order of the data packets of the terminal device from the first access network device to the second access network device.
[0191] Optionally, in an embodiment of the present application, the first trigger unit is specifically used to: send a first trigger message to the second access network device, the first trigger message is used to request the second access network device to configure the second protocol stack; receive response information to the first trigger message sent by the second access network device; and send a second trigger message to the terminal device based on the response information, the second trigger message is used to instruct the terminal device to configure the second protocol stack.
[0192] Optionally, in an embodiment of the present application, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is an auxiliary access network device in the multi-connection scenario.
[0193] It should be understood that the access network device 600 according to the embodiment of the present application may correspond to the first access network device in the method embodiment of the present application, and the above and other operations and / or functions of each unit in the access network device 600 are respectively to implement Figure 4 and Figure 8 For the sake of brevity, the corresponding processes of the network devices in the method are not repeated here.
[0194] Fig.12 Schematic block diagram of an access network device 700 according to an embodiment of the present application is shown. The access network device 700 is a second access network device, such as Fig.12 As shown, the access network device 700 includes:
[0195] The first receiving unit 710 is used to receive first trigger information sent by a first access network device, where the first trigger information is used to trigger the second access network device to configure a second protocol stack, where the second protocol stack is used to maintain the order of data packets between the second access network device and the terminal device and / or the security key of the data packets between the second access network device and the terminal device.
[0196] The second receiving unit 720 is used to receive second trigger information sent by the first access network device, where the second trigger information is used to trigger the second access network device to use the second protocol stack to maintain the sequence of data packets of the terminal device.
[0197] Therefore, the access network device of the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0198] Optionally, in an embodiment of the present application, the access network device also includes: a third receiving unit, used to receive a first data packet that has been processed and encrypted in sequence and sent by the first access network device before the second access network device receives the second trigger information sent by the first access network device; and a first sending unit, used to forward the first data packet that has been processed and encrypted in sequence to the terminal device.
[0199] Optionally, in an embodiment of the present application, the access network device also includes: a fourth receiving unit, used to receive a second data packet sent by the first access network device and processed in sequence before the second access network device receives the second trigger information sent by the first access network device; a first encryption unit, used to encrypt the second data packet or a data portion in the second data packet using the second protocol stack; and a second sending unit, used to send the encrypted second data packet to the terminal device.
[0200] Optionally, in an embodiment of the present application, the access network device also includes: a fifth receiving unit, used to receive a third data packet sent by the terminal device before the second access network device receives the second trigger information sent by the first access network device; a third sending unit, used to forward the third data packet to the first access network device, so that the first access network device can decrypt and process the third data packet or the data portion in the third data packet in sequence.
[0201] Optionally, in an embodiment of the present application, the access network device also includes: a sixth receiving unit, used to receive a fourth data packet sent by the terminal device before the second access network device receives the second trigger information sent by the first access network device; a first decryption unit, used to use the second protocol stack to decrypt the fourth data packet or a data portion in the fourth data packet; and a fourth sending unit, used to send the decrypted fourth data packet to the first access network device, so that the first access network device can process the decrypted fourth data packet in sequence.
[0202] Optionally, in an embodiment of the present application, the access network device also includes: a seventh receiving unit, used to receive a first indication information sent by a terminal device, the first indication information being used to indicate that the terminal device has completed the configuration of the second protocol stack; a fifth sending unit, used to send routing switching information to a core network device according to the first indication information, or to trigger the first access network device to send routing switching information to a core network device according to the first indication information, the routing switching information being used to instruct the core network device to switch the access network device responsible for maintaining the order of the data packets of the terminal device from the first access network device to the second access network device.
[0203] Optionally, in an embodiment of the present application, the access network device also includes: an eighth receiving unit, used for the second access network device to receive second indication information sent by the first access network device after the seventh sending unit sends the routing switching information to the core network device, and the second indication information is used to indicate that the first access network device has no data or data packet of the terminal device to be processed.
[0204] Optionally, in an embodiment of the present application, the second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information DCI, and a bit in a data packet.
[0205] Optionally, in an embodiment of the present application, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is a secondary access network device in the multi-connection scenario.
[0206] It should be understood that the access network device 700 according to the embodiment of the present application may correspond to the second access network device in the method embodiment of the present application, and the above and other operations and / or functions of each unit in the access network device 700 are respectively to implement Figure 5 and Fig. 9 For the sake of brevity, the corresponding processes of the network devices in the method are not repeated here.
[0207] Fig.13 FIG. 8 is a schematic block diagram of a terminal device 800 according to an embodiment of the present application. Fig.13 As shown, the terminal device 800 includes:
[0208] A configuration unit 810 is used to configure a second protocol stack according to the first trigger information sent by the first access network device, where the second protocol stack is used to maintain the order of the data packets of the second access network device and the terminal device and / or the security key of the data packets of the second access network device and the terminal device;
[0209] The first in-order processing unit 820 is used to use the first protocol stack to process the pending data packets or data of the terminal device in order before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, and the second trigger information is used to trigger the terminal device to use the second protocol stack to maintain the order of the data packets of the terminal device.
[0210] Therefore, the terminal device in the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0211] Optionally, in an embodiment of the present application, the data packet to be processed includes first data, and the first in-order processing unit is specifically used to: use the first protocol stack to process the first data in order; the terminal device also includes: a first encryption unit, used to use the first protocol stack to encrypt the first data packet that has been processed in order or the data packet including the first data; a first sending unit, used to send the encrypted data packet including the first data to the first access network device.
[0212] Optionally, in an embodiment of the present application, the data packet to be processed includes a first data packet, and the first sequential processing unit is specifically used to: receive the first data packet sent by the first access network device before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device; use the first protocol stack to decrypt the first data packet or the data portion in the first data packet; and use the first protocol stack to perform sequential processing on the decrypted first data packet.
[0213] Optionally, in an embodiment of the present application, the data to be processed includes second data, and the first sequential processing unit is specifically used to: use the first protocol stack to process the second data in sequence; the terminal device also includes: a second encryption unit, used to use the second protocol stack to encrypt the second data after sequential processing or a data packet including the second data; a second sending unit, used to send the encrypted data packet including the second data to the second network device.
[0214] Optionally, in an embodiment of the present application, the data packet to be processed includes a second data packet, and the first sequential processing unit is used to: receive the second data packet sent by the second network device; use the second protocol stack to decrypt the second data packet or a data portion in the second data packet; and use the first protocol stack to perform sequential processing on the decrypted second data packet.
[0215] Optionally, in an embodiment of the present application, the terminal device also includes: a first receiving unit, used to receive the second trigger information sent by the first access network device and / or the second access network device; a second sequential processing unit, using the second protocol stack to maintain the order of data packets of the terminal device according to the second trigger information.
[0216] Optionally, in an embodiment of the present application, the second trigger information is also used to instruct the terminal device to release the first protocol stack, and the terminal device further includes: a releasing unit, configured to release the first protocol stack according to the second trigger information.
[0217] Optionally, in an embodiment of the present application, the second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling, downlink control information DCI, and a bit in a data packet.
[0218] Optionally, in an embodiment of the present application, the first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is an auxiliary access network device in the multi-connection scenario.
[0219] It should be understood that the terminal device 800 according to the embodiment of the present application may correspond to the terminal device in the method embodiment of the present application, and the above and other operations and / or functions of each unit in the terminal device 800 are respectively to implement Figures 5 to 8 as well as Fig.10 For the sake of brevity, the corresponding processes of the terminal device in the method are not repeated here.
[0220] like Fig.14As shown, the embodiment of the present application further provides an access network device 900, which can be Fig.11 The access network device 600 in Figures 4 to 8 The content of the first access network device corresponding to the method 300. The access network device 900 includes: an input interface 910, an output interface 920, a processor 930 and a memory 940, and the input interface 910, the output interface 920, the processor 930 and the memory 940 can be connected through a bus system. The memory 940 is used to store programs, instructions or codes. The processor 930 is used to execute the programs, instructions or codes in the memory 940 to control the input interface 910 to receive signals, control the output interface 920 to send signals, and complete the operations in the aforementioned method embodiment.
[0221] Therefore, the access network device of the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0222] It should be understood that in the embodiment of the present application, the processor 930 may be a central processing unit (CPU), and the processor 930 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0223] The memory 940 may include a read-only memory and a random access memory, and provides instructions and data to the processor 930. A portion of the memory 940 may also include a nonvolatile random access memory. For example, the memory 940 may also store information on the device type.
[0224] In the implementation process, the contents of the above method can be completed by the hardware integrated logic circuit in the processor 930 or the instructions in the form of software. The contents of the method disclosed in the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in the processor for execution. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 940, and the processor 930 reads the information in the memory 940 and completes the contents of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.
[0225] In a specific implementation manner, the sending unit of the access network device 600 may be composed of Fig.14 The output interface 920 in the access network device 600 can be implemented by Fig.14 The first trigger unit, the second trigger unit, the sequential processing unit, the determination unit, the first encryption unit and the second decryption unit of the access network device 600 can be implemented by Fig.14 The processor 930 in is implemented.
[0226] like Fig.15 As shown, the embodiment of the present application also provides an access network device 1000, which can be Fig.12 The access network device 700 in Figures 5 to 9 The content of the second access network device corresponding to the method 400. The access network device 1000 includes: an input interface 1010, an output interface 1020, a processor 1030 and a memory 1040, and the input interface 1010, the output interface 1020, the processor 1030 and the memory 1040 can be connected through a bus system. The memory 1040 is used to store programs, instructions or codes. The processor 1030 is used to execute the programs, instructions or codes in the memory 1040 to control the input interface 1010 to receive signals, control the output interface 1020 to send signals, and complete the operations in the aforementioned method embodiment.
[0227] Therefore, the access network device of the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0228] It should be understood that in the embodiment of the present application, the processor 1030 may be a central processing unit (CPU), and the processor 1030 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0229] The memory 1040 may include a read-only memory and a random access memory, and provide instructions and data to the processor 1030. A portion of the memory 1040 may also include a nonvolatile random access memory. For example, the memory 1040 may also store information on the device type.
[0230] In the implementation process, the contents of the above method can be completed by the hardware integrated logic circuit in the processor 1030 or the instructions in the form of software. The contents of the method disclosed in the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in the processor for execution. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1040, and the processor 1030 reads the information in the memory 1040 and completes the contents of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.
[0231] In a specific implementation manner, the first sending unit to the sixth sending unit of the access network device 700 may be composed of Fig.15 The output interface 1020 in the access network device 700 can be implemented by the first receiving unit to the sixth receiving unit. Fig.15 The first encryption unit and the first decryption unit of the access network device 700 can be implemented by Fig.15 The processor 1030 in is implemented.
[0232] like Fig.16 As shown, the embodiment of the present application also provides a terminal device 2000, which can be Fig.13 The terminal device 800 in Figures 5 to 8 as well as Fig.10The terminal device 2000 includes: an input interface 2010, an output interface 2020, a processor 2030 and a memory 2040, and the input interface 2010, the output interface 2020, the processor 2030 and the memory 2040 can be connected through a bus system. The memory 2040 is used to store programs, instructions or codes. The processor 2030 is used to execute the programs, instructions or codes in the memory 2040 to control the input interface 2010 to receive signals, control the output interface 2020 to send signals, and complete the operations in the above method embodiments.
[0233] Therefore, the terminal device in the embodiment of the present application continues to use the old protocol stack to maintain the order of data packets before the first access network device triggers the terminal device and / or the second access network device to fully use the new protocol stack, so that the data of the terminal device can be processed in time, thereby reducing the delay in data transmission during the switching of the terminal device.
[0234] It should be understood that in the embodiment of the present application, the processor 2030 may be a central processing unit (CPU), and the processor 2030 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0235] The memory 2040 may include a read-only memory and a random access memory, and provide instructions and data to the processor 2030. A portion of the memory 2040 may also include a non-volatile random access memory. For example, the memory 2040 may also store information on the device type.
[0236] In the implementation process, the contents of the above method can be completed by the hardware integrated logic circuit in the processor 2030 or the instructions in the form of software. The contents of the method disclosed in the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in the processor for execution. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 2040, and the processor 2030 reads the information in the memory 2040 and completes the contents of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.
[0237] In a specific implementation manner, the first sending unit and the second sending unit in the terminal device 800 may be composed of Fig.16 The output interface 2020 in the terminal device 800 can be implemented by Fig.16 The configuration unit, the first sequential processing unit, the first encryption unit, the first decryption unit, and the second sequential processing unit in the terminal device 800 can be implemented by Fig.16 The processor 2030 in is implemented.
[0238] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction 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 technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0239] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0240] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0241] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0242] 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.
[0243] If this function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.
[0244] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A switching method, characterized in that: include: The first access network device triggers the terminal device and the second access network device to configure a second protocol stack, where the second protocol stack is used to maintain the order of data packets between the second access network device and the terminal device and / or the security key of the data packets between the second access network device and the terminal device; Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to process the data packets to be processed of the terminal device in order, and The first access network device instructs the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device through the first indication information, The first indication information is any one of radio resource control RRC signaling, media access control MAC signaling or downlink control information DCI.
2. The method according to claim 1, characterized in that The data packets to be processed include first data packets, and before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to process the data packets to be processed of the terminal device in sequence, including: Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the first data packet sent by the terminal device; The first access network device decrypts the first data packet or a data portion in the first data packet using the first protocol stack; The first access network device uses the first protocol stack to sequentially process the decrypted first data packet.
3. The method according to claim 1, characterized in that The data packet to be processed includes a second data packet, and before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to process the data packets to be processed of the terminal device in sequence, including: Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the data portion of the second data packet sent by the core network device; The first access network device processes the second data packet in sequence using a first protocol stack; The method further comprises: The first access network device uses the first protocol stack to encrypt the second data packet or the data portion in the second data packet that has been processed in sequence.
4. The method according to claim 1, characterized in that: The data packets to be processed include a third data packet, and before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to process the data packets to be processed of the terminal device in sequence, including: Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the third data packet sent by the second access network device and decrypted by the second access network device using the second protocol stack; The first access network device processes the decrypted third data packet in sequence.
5. The method according to claim 1, characterized in that The to-be-processed data packets include a fourth data packet, and before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device uses the first protocol stack to process the to-be-processed data packets of the first access network device and the terminal device in sequence, including: Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, the first access network device receives the data portion of the fourth data packet sent by the core network device; The first access network device processes the fourth data packet in sequence using the first protocol stack; The method further comprises: The first access network device sends the fourth data packet that has been processed in sequence to the second access network device, so that the second access network device uses the second protocol stack to encrypt the fourth data packet that has been processed in sequence or a data portion in the fourth data packet.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: When the first access network device determines that the first access network device has no data or data packets of the terminal device to be processed, the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device through the first indication information.
7. The method according to claim 6, characterized in that The step of triggering the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device by the first access network device through the first indication information when the first access network device determines that the first access network device has no data or data packets of the terminal device to be processed includes: When the first access network device determines that the first access network device has no data or data packet of the terminal device to be processed, the first access network device sends the first indication information to the second access network device.
8. The method according to claim 6, characterized in that The method further comprises: The first access network device determines that the first access network device has no data or data packet of the terminal device to be processed.
9. The method according to claim 8, characterized in that The first access network device determines that the first access network device has no data or data packet of the terminal device to be processed, including: The first access network device receives second indication information sent by the core network device, where the second indication information is used to indicate that the first access network device has no data or data packet of the terminal device to be processed; The first access network device determines, based on the second indication information, that the first access network device has no data or data packet of the terminal device to be processed.
10. The method according to claim 9, characterized in that The first access network device receives second indication information sent by the core network device, including: After the first access network device sends routing switching information to the core network device, the first access network device receives the second indication information sent by the core network device, and the routing switching information is used to instruct the core network device to switch the access network device responsible for maintaining the order of the data packets of the terminal device from the first access network device to the second access network device.
11. The method according to claim 10, characterized in that The method further comprises: The first access network device receives third indication information sent by the second access network device, where the third indication information is used to instruct the terminal device to complete the configuration of the second protocol stack; The first access network device sends the routing switching information to the core network device according to the third indication information.
12. The method according to any one of claims 1 to 5, characterized in that The first access network device triggers the terminal device and the second access network device to configure the second protocol stack, including: The first access network device sends first trigger information to the second access network device, where the first trigger information is used to request the second access network device to configure the second protocol stack; The first access network device receives response information of the first trigger information sent by the second access network device; The first access network device sends second trigger information to the terminal device according to the response information, where the second trigger information is used to instruct the terminal device to configure the second protocol stack.
13. The method according to any one of claims 1 to 5, characterized in that The first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is an auxiliary access network device in the multi-connection scenario.
14. A switching method, characterized in that: include: The second access network device receives first trigger information sent by the first access network device, where the first trigger information is used to trigger the second access network device to configure a second protocol stack, where the second protocol stack is used to maintain the order of data packets between the second access network device and the terminal device and / or the security key of the data packets between the second access network device and the terminal device; The second access network device receives second trigger information sent by the first access network device, where the second trigger information is used to trigger the second access network device to use the second protocol stack to maintain the order of data packets of the terminal device. The second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling or downlink control information DCI.
15. The method according to claim 14, characterized in that The method further comprises: Before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives the first data packet sent by the first access network device after being processed in sequence and encrypted; The second access network device forwards the first data packet that has been processed and encrypted in sequence to the terminal device.
16. The method according to claim 14, characterized in that The method further comprises: Before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a second data packet sent by the first access network device and processed in sequence; The second access network device encrypts the second data packet or a data portion in the second data packet using the second protocol stack; The second access network device sends the encrypted second data packet to the terminal device.
17. The method according to claim 14, characterized in that The method further comprises: Before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a third data packet sent by the terminal device; The second access network device forwards the third data packet to the first access network device, so that the first access network device decrypts and processes the third data packet or a data portion in the third data packet in sequence.
18. The method according to claim 14, characterized in that The method further comprises: Before the second access network device receives the second trigger information sent by the first access network device, the second access network device receives a fourth data packet sent by the terminal device; The second access network device decrypts the fourth data packet or a data portion in the fourth data packet using the second protocol stack; The second access network device sends the decrypted fourth data packet to the first access network device, so that the first access network device processes the decrypted fourth data packet in sequence.
19. The method according to any one of claims 14 to 18, characterized in that The method further comprises: The second access network device receives first indication information sent by the terminal device, where the first indication information is used to indicate that the terminal device has completed configuration of the second protocol stack; The second access network device sends routing switching information to the core network device according to the first indication information, or The second access network device triggers the first access network device to send routing switching information to the core network device based on the first indication information, and the routing switching information is used to instruct the core network device to switch the access network device responsible for maintaining the order of the data packets of the terminal device from the first access network device to the second access network device.
20. The method according to claim 19, characterized in that The method further comprises: After the second access network device sends the routing switching information to the core network device, the second access network device receives second indication information sent by the first access network device, where the second indication information is used to indicate that the first access network device has no data or data packets of the terminal device to be processed.
21. The method according to any one of claims 14 to 18, characterized in that The first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is an auxiliary access network device in the multi-connection scenario.
22. A switching method, characterized in that: include: The terminal device configures a second protocol stack according to the first trigger information sent by the first access network device, wherein the second protocol stack is used to maintain the order of the data packets of the second access network device and the terminal device and / or the security key of the data packets of the second access network device and the terminal device; Before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to process the data packets or data of the terminal device in sequence, and the second trigger information is used to trigger the terminal device to use the second protocol stack to maintain the sequence of the data packets of the terminal device. The second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling or downlink control information DCI.
23. The method according to claim 22, characterized in that The data to be processed includes first data, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to sequentially process the data packets or data to be processed by the terminal device, including: The terminal device processes the first data in sequence using the first protocol stack; The method further comprises: The terminal device encrypts the first data processed in sequence or a data packet including the first data using the first protocol stack; The terminal device sends an encrypted data packet including the first data to the first access network device and / or the second access network device.
24. The method according to claim 22, characterized in that The data packet to be processed includes a first data packet, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to sequentially process the data packet or data to be processed by the terminal device, including: Before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device receives a first data packet sent by the first access network device and / or the second access network device; The terminal device decrypts the first data packet or a data portion in the first data packet using the first protocol stack; The terminal device uses the first protocol stack to process the decrypted first data packet in sequence.
25. The method according to claim 22, characterized in that The data to be processed includes second data, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to sequentially process the data packets or data to be processed by the terminal device, including: The terminal device processes the second data in sequence using the first protocol stack; The method further comprises: The terminal device encrypts the second data after sequential processing or a data packet including the second data using the second protocol stack; The terminal device sends an encrypted data packet including the second data to the second access network device.
26. The method according to claim 22, characterized in that The data packet to be processed includes a second data packet, and before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, the terminal device uses the first protocol stack to sequentially process the data packet or data to be processed of the terminal device, including: The terminal device receives the second data packet sent by the second access network device; The terminal device decrypts the second data packet or the data portion of the second data packet using the second protocol stack; The terminal device uses the first protocol stack to process the decrypted second data packet in sequence.
27. The method according to any one of claims 22 to 26, characterized in that The method further comprises: The terminal device receives the second trigger information sent by the first access network device and / or the second access network device; The terminal device uses the second protocol stack to maintain the order of the data packets of the terminal device according to the second trigger information.
28. The method according to claim 27, characterized in that The second trigger information is also used to instruct the terminal device to release the first protocol stack. The method further includes: The terminal device releases the first protocol stack according to the second trigger information.
29. The method according to any one of claims 22 to 26, characterized in that The first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is an auxiliary access network device in the multi-connection scenario.
30. An access network device, characterized in that: The access network device is a first access network device, comprising: A first triggering unit, used to trigger the terminal device and the second access network device to configure a second protocol stack, wherein the second protocol stack is used to maintain the order of the data packets of the second access network device and the terminal device and / or the security key of the data packets of the second access network device and the terminal device; An in-order processing unit, configured to use the first protocol stack to process in-order the to-be-processed data packets of the terminal device before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device; and a second triggering unit, configured to instruct the second access network device to use the second protocol stack to maintain the sequence of data packets of the terminal device through the first indication information; The first indication information is any one of radio resource control RRC signaling, media access control MAC signaling or downlink control information DCI.
31. The access network device according to claim 30, characterized in that: The data packet to be processed includes a first data packet, and the in-order processing unit is specifically used for: Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, receiving the first data packet sent by the terminal device; Decrypting the first data packet or a portion of data in the first data packet using the first protocol stack; The first protocol stack is used to sequentially process the decrypted first data packet.
32. The access network device according to claim 30, characterized in that: The data packet to be processed includes a second data packet, and the in-order processing unit is specifically used for: Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, receiving the data portion in the second data packet sent by the core network device; Processing the second data packet in sequence using the first protocol stack; The access network equipment also includes: The first encryption unit is used to encrypt the second data packet or the data part in the second data packet after being processed in sequence by using the first protocol stack.
33. The access network device according to claim 30, characterized in that: The data packet to be processed includes a third data packet, and the in-order processing unit is specifically used for: Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, receiving the third data packet sent by the second access network device and decrypted by the second access network device using the second protocol stack; The decrypted third data packet is processed in sequence.
34. The access network device according to claim 30, characterized in that: The data packet to be processed includes a fourth data packet, and the in-order processing unit is specifically used for: Before the first access network device triggers the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device, receiving the data portion in the fourth data packet sent by the core network device; Processing the fourth data packet in sequence using the first protocol stack; The access network equipment also includes: The second encryption unit is used to send the fourth data packet that has been processed in sequence to the second access network device, so that the second access network device uses the second protocol stack to encrypt the fourth data packet that has been processed in sequence or the data part in the fourth data packet.
35. The access network device according to any one of claims 30 to 34, characterized in that: The second trigger unit is specifically used to trigger the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device through the first indication information when the first access network device determines that the first access network device has no data packets or data of the terminal device to be processed.
36. The access network device according to claim 35, characterized in that: The second trigger unit is specifically used for: When the first access network device determines that the first access network device has no data packet or data of the terminal device to be processed, the first indication information is sent to the second access network device.
37. The access network device according to claim 35, characterized in that: The access network equipment also includes: A determination unit is used to determine that the first access network device has no data packet or data of the terminal device to be processed.
38. The access network device according to claim 37, characterized in that: The determining unit is specifically used for: Receiving second indication information sent by the core network device, where the second indication information is used to indicate that the first access network device has no data packet or data of the terminal device to be processed; According to the second indication information, it is determined that the first access network device has no data packet or data of the terminal device to be processed.
39. The access network device according to claim 38, characterized in that: The determining unit is specifically used for: After the first access network device sends routing switching information to the core network device, the second indication information sent by the core network device is received, and the routing switching information is used to instruct the core network device to switch the access network device responsible for maintaining the order of the data packets of the terminal device from the first access network device to the second access network device.
40. The access network device according to claim 39, characterized in that: The access network equipment also includes: A receiving unit, configured to receive third indication information sent by the second access network device, wherein the third indication information is used to instruct the terminal device to complete the configuration of the second protocol stack; A sending unit is used to send the routing switching information to the core network device according to the third indication information.
41. The access network device according to any one of claims 30 to 34, characterized in that: The first trigger unit is specifically used for: Sending first trigger information to the second access network device, where the first trigger information is used to request the second access network device to configure the second protocol stack; Receiving response information of the first trigger information sent by the second access network device; According to the response information, second trigger information is sent to the terminal device, where the second trigger information is used to instruct the terminal device to configure the second protocol stack.
42. The access network device according to any one of claims 30 to 34, characterized in that: The first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is an auxiliary access network device in the multi-connection scenario.
43. An access network device, characterized in that: The access network device is a second access network device, including: A first receiving unit, configured to receive first trigger information sent by a first access network device, wherein the first trigger information is used to trigger the second access network device to configure a second protocol stack, wherein the second protocol stack is used to maintain the order of data packets between the second access network device and the terminal device and / or the security key of the data packets between the second access network device and the terminal device; A second receiving unit is configured to receive second trigger information sent by the first access network device, wherein the second trigger information is used to trigger the second access network device to use the second protocol stack to maintain the order of the data packets of the terminal device. The second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling or downlink control information DCI.
44. The access network device according to claim 43, characterized in that: The access network equipment also includes: A third receiving unit, configured to receive a first data packet sent by the first access network device and processed in sequence and encrypted before the second access network device receives the second trigger information sent by the first access network device; The first sending unit is used to forward the first data packet that has been processed in sequence and encrypted to the terminal device.
45. The access network device according to claim 43, characterized in that: The access network equipment also includes: a fourth receiving unit, configured to receive a second data packet sent by the first access network device and processed in sequence before the second access network device receives the second trigger information sent by the first access network device; A first encryption unit, configured to encrypt the second data packet or a data portion in the second data packet using the second protocol stack; The second sending unit is used to send the encrypted second data packet to the terminal device.
46. The access network device according to claim 43, characterized in that: The access network equipment also includes: a fifth receiving unit, configured to receive a third data packet sent by the terminal device before the second access network device receives the second trigger information sent by the first access network device; The third sending unit is used to forward the third data packet to the first access network device, so that the first access network device can decrypt and process the third data packet or the data part in the third data packet in sequence.
47. The access network device according to claim 43, characterized in that: The access network equipment also includes: a sixth receiving unit, configured to receive a fourth data packet sent by the terminal device before the second access network device receives the second trigger information sent by the first access network device; A first decryption unit, configured to decrypt the fourth data packet or a data portion in the fourth data packet using the second protocol stack; The fourth sending unit is used to send the decrypted fourth data packet to the first access network device, so that the first access network device can process the decrypted fourth data packet in sequence.
48. The access network device according to any one of claims 43 to 47, characterized in that: The access network equipment also includes: A seventh receiving unit, configured to receive first indication information sent by a terminal device, where the first indication information is used to indicate that the terminal device has completed configuration of the second protocol stack; a fifth sending unit, configured to send routing switching information to a core network device according to the first indication information, or According to the first indication information, the first access network device is triggered to send routing switching information to the core network device, and the routing switching information is used to instruct the core network device to switch the access network device responsible for maintaining the order of the data packets of the terminal device from the first access network device to the second access network device.
49. The access network device according to claim 48, characterized in that: The access network equipment also includes: An eighth receiving unit is used to receive second indication information sent by the first access network device after the fifth sending unit sends the routing switching information to the core network device, wherein the second indication information is used to indicate that the first access network device has no data or data packet of the terminal device to be processed.
50. The access network device according to any one of claims 43 to 47, characterized in that: The first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is an auxiliary access network device in the multi-connection scenario.
51. A terminal device, characterized in that: include: A configuration unit, configured to configure a second protocol stack according to first trigger information sent by the first access network device, wherein the second protocol stack is used to maintain the order of data packets of the second access network device and the terminal device and / or the security key of the data packets of the second access network device and the terminal device; a first in-order processing unit, configured to use a first protocol stack to process in-order data packets or data of the terminal device before the terminal device receives second trigger information sent by the first access network device and / or the second access network device, wherein the second trigger information is used to trigger the terminal device to use the second protocol stack to maintain the order of the data packets of the terminal device; The second trigger information is any one of radio resource control RRC signaling, media access control MAC signaling or downlink control information DCI.
52. The terminal device according to claim 51, characterized in that: The data to be processed includes first data, and the first sequential processing unit is specifically used for: Processing the first data in sequence using the first protocol stack; The terminal device further includes: A first encryption unit, configured to encrypt the first data processed in sequence or a data packet including the first data using the first protocol stack; The first sending unit is used to send an encrypted data packet including the first data to the first access network device.
53. The terminal device according to claim 51, characterized in that: The data packet to be processed includes a first data packet, and the first in-order processing unit is specifically used for: Before the terminal device receives the second trigger information sent by the first access network device and / or the second access network device, receiving the first data packet sent by the first access network device; Decrypting the first data packet or a portion of data in the first data packet using the first protocol stack; The decrypted first data packet is processed in sequence using the first protocol stack.
54. The terminal device according to claim 51, characterized in that: The data to be processed includes second data, and the first sequential processing unit is specifically used for: Processing the second data in sequence using the first protocol stack; The terminal device further includes: A second encryption unit, configured to encrypt the second data after sequential processing or a data packet including the second data using the second protocol stack; The second sending unit is used to send the encrypted data packet including the second data to the second access network device.
55. The terminal device according to claim 51, characterized in that: The data packet to be processed includes a second data packet, and the first in-order processing unit is used for: Receiving the second data packet sent by the second access network device; Decrypting the second data packet or a data portion in the second data packet using the second protocol stack; The decrypted second data packet is processed in sequence using the first protocol stack.
56. The terminal device according to any one of claims 51 to 55, characterized in that: The terminal device further includes: A first receiving unit, configured to receive the second trigger information sent by the first access network device and / or the second access network device; The second in-order processing unit uses the second protocol stack to maintain the order of the data packets of the terminal device according to the second trigger information.
57. The terminal device according to claim 56, characterized in that: The second trigger information is further used to instruct the terminal device to release the first protocol stack, and the terminal device further includes: A releasing unit is configured to release the first protocol stack according to the second trigger information.
58. The terminal device according to any one of claims 51 to 55, characterized in that: The first access network device is a source access network device, and the second access network device is a target access network device; or the first access network device is a primary access network device in a multi-connection scenario, and the second access network device is an auxiliary access network device in the multi-connection scenario.
59. A network device, characterized in that: The network device includes: a processor, a memory, an input interface and an output interface; wherein, The processor, the memory, the input interface and the output interface are connected via a bus system; The memory is used to store a computer program that can be run on the processor; The processor is used to execute the computer program to control the input interface to receive signals and control the output interface to send signals, so as to perform the method according to any one of claims 1 to 13.
60. A network device, characterized in that: The network device includes: a processor, a memory, an input interface and an output interface; wherein, The processor, the memory, the input interface and the output interface are connected via a bus system; The memory is used to store a computer program that can be run on the processor; The processor is used to execute the computer program to control the input interface to receive signals and control the output interface to send signals, so as to perform the method according to any one of claims 14 to 21.
61. A terminal device, characterized in that: The terminal device includes: a processor, a memory, an input interface and an output interface; wherein, The processor, the memory, the input interface and the output interface are connected via a bus system; The memory is used to store a computer program that can be run on the processor; The processor is used to execute the computer program to control the input interface to receive signals and control the output interface to send signals, so as to execute the method according to any one of claims 22 to 29.
62. A computer storage medium storing a computer readable program, wherein the computer readable program, when executed by at least one processor, implements the method of any one of claims 1 to 13, any one of claims 14 to 21, or any one of claims 22 to 29.