A communication method, a communication device, and a communication system
By requesting and deducing the NCC of the target cell during cell handover, the terminal device can quickly obtain the updated key, solving the problem of key acquisition during cell handover and realizing secure and reliable communication handover.
Patent Information
- Application Number
- CN202510602167.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2026-11-10
AI Technical Summary
When a terminal device performs a cell handover, how can it effectively obtain the updated key to ensure secure communication when handing over to the target cell?
During cell handover, the terminal device requests an updated NCC from the access network equipment of the selected target cell, and uses the new NCC to deduce the updated key. Information is exchanged through message carriers such as RRC messages, MAC CE, or UCI to achieve key acquisition and rapid recovery of the handover process.
This ensures that terminal devices can quickly obtain key information when switching to the target cell, avoiding handover failures due to radio link failures and improving the reliability and efficiency of the handover process.
Smart Images

Figure CN123075422A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method, communication device, and communication system. Background Technology
[0002] In mobile communication systems, if a terminal device undergoes a cell handover and an access network device handover occurs, the terminal device typically needs to change its key. That is, the key used by the terminal device to communicate with the source access network device of the source cell is different from the key used by the terminal device to communicate with the target access network device of the target cell. By using different keys to encrypt and protect the data, secure communication can be achieved.
[0003] Therefore, how to effectively ensure that terminal devices obtain the updated key in order to achieve the purpose of switching to the target cell is an urgent problem to be solved. Summary of the Invention
[0004] This application discloses a communication method, communication device, and communication system. The method can request an update of the NCC from the access network equipment to which the selected target cell belongs during cell handover, use the new NCC to deduce the updated key, and complete the failure recovery process.
[0005] In a first aspect, this application provides a communication method that can be executed by a terminal device or a module (e.g., a chip) in the terminal device. The method includes: receiving pre-configuration information of candidate cells from a first access network device, the candidate cells including a second cell; selecting the second cell, the second cell belonging to a second access network device; sending a first message to the second access network device, the first message containing first information for requesting key information; and receiving first key information from the second access network device, the first key information for deducing a key for communication between the terminal device and the second access network device.
[0006] Implementing the method provided in the first aspect enables the terminal device to obtain first key information during the handover to the target cell (i.e., the second cell), deduce the first key based on the first key information, and then use the first key to perform the subsequent handover to the target cell. Furthermore, the terminal device does not need to perform the step of obtaining pre-configuration information after selecting the target cell and then handover to it; it can apply the pre-configuration information of the candidate cells already obtained, thereby quickly handover to the target cell after selection.
[0007] In conjunction with the method described in the first aspect, the selection of the second cell specifically includes: when a radio link failure is detected in the first cell, the second cell is selected, and the first cell belongs to the first access network device.
[0008] In this way, when the terminal device experiences a radio link failure with the source cell (i.e., the first cell), the terminal can select a cell from the candidate cells. If the second cell is selected, the terminal can send a first message to the second access network device to which the second cell belongs, requesting to obtain the first key information. This avoids the situation where the terminal device does not receive the first key information from the source access network device before the radio link failure with the source cell, which would prevent it from continuing the handover process to the second cell after the radio link failure with the source cell.
[0009] In conjunction with the method described in the first aspect, before selecting the second cell, the method further includes: receiving a first handover command from the first access network device, the first handover command being used to instruct the terminal device to hand over to the fourth cell, the first handover command not including key information; selecting the second cell specifically includes: selecting the second cell when handover to the fourth cell fails.
[0010] In this way, when the terminal device fails to switch to the fourth cell, the fourth cell is the same as the access network device to which the source cell (i.e. the first cell) belongs. The terminal can select a cell from the candidate cells. If the second cell is selected, the terminal can send a first message to the second access network device to which the second cell belongs to request the first key information. This can avoid the terminal device being unable to continue the process of switching to the second cell when it fails to switch within the station because it has not received the first key information from the source access network device.
[0011] In conjunction with the method described in the first aspect, after selecting the second cell, the method further includes: suspending or halting the data radio bearer with the second cell.
[0012] In this way, the terminal device does not need to clear the data in the cache, which makes it easier to quickly restore the wireless link with the second cell when switching to the second cell later.
[0013] In conjunction with the method described in the first aspect, after deriving the key for communication between the terminal device and the second access network device, the method further includes: restoring the data radio bearer with the second cell.
[0014] In conjunction with the method described in the first aspect, the first message is one of the following: Radio Resource Control (RRC) message, Medium Access Control (MAC) CE message, or Uplink Control Information (UCI) message.
[0015] In this way, the terminal device can send the first message to the second access network device through the existing message transmission carrier.
[0016] In conjunction with the method described in the first aspect, the first key information is carried in one of the following: a Radio Resource Control (RRC) message, a Medium Access Control (MAC) CE message, or a Downlink Control Information (DCI) message.
[0017] In this way, the terminal device can receive the first key information sent from the second access network device through the existing message transmission carrier.
[0018] In conjunction with the method described in the first aspect, the first key information includes the next-hop chain calculation of NCC.
[0019] Secondly, this application provides a communication method, which can be implemented by a second access network device or a module (e.g., a chip) in the second access network device. The method includes: sending pre-configuration information of candidate cells to a terminal device through a first access network device, the candidate cells including a second cell, the pre-configuration information of the candidate cells being used by the terminal device to select the second cell, the second cell belonging to the second access network device; receiving a first message from the terminal device, the first message containing first information, the first information being used to request key information; and sending first key information to the terminal device, the first key information being used to deduce the key for communication between the terminal device and the second access network device.
[0020] In conjunction with the method described in the second aspect, the first message is one of the following: Radio Resource Control (RRC) message, Medium Access Control Element (MAC) CE message, or Uplink Control Information (UCI) message.
[0021] In conjunction with the method described in the second aspect, the first key information is carried in one of the following: Radio Resource Control (RRC) message, Medium Access Control (MAC) CE, or Downlink Control Information (DCI).
[0022] In conjunction with the method described in the second aspect, sending the first key information to the terminal device specifically includes: after receiving the first message, determining that the first key information has been obtained, and sending the first key information to the terminal device.
[0023] In this way, the second access network device can send the first key information to the terminal device after receiving the first key information from the first access device.
[0024] In conjunction with the method described in the second aspect, sending the first key information to the terminal device specifically includes: after receiving the first message, determining that the first key information has not been obtained, sending a first request to the first access network device, receiving the first key information from the first access network device, and sending the first key information to the terminal device.
[0025] In this way, the second access network device can send a first request to the first access network device to request the first key information even if it has not received the first key information from the first access device, and then send the first key information returned by the first access device to the terminal device.
[0026] In conjunction with the method described in the second aspect, the first key information includes the next-hop chain calculation of NCC.
[0027] Thirdly, this application provides a communication device, which may be a network device or a chip / circuit therein. The communication device is used to perform the methods of the first aspect or any possible implementation thereof. The communication device includes units having the ability to perform the methods of the first aspect or any possible implementation thereof.
[0028] Fourthly, this application provides a communication device, which may be a network device or a chip / circuit therein. The communication device is used to perform the methods in the second aspect or any possible implementation thereof. The communication device includes units having the ability to perform the methods in the second aspect or any possible implementation thereof.
[0029] In the third or fourth aspect, the aforementioned communication device may include a transceiver unit and a processing unit. Further details regarding the transceiver unit and processing unit can be found in the device embodiments shown below. The beneficial effects of the third to fourth aspects can be referenced in the relevant descriptions of the first to second aspects, and will not be repeated here.
[0030] Fifthly, this application provides a communication device including a processor and an interface circuit. The interface circuit is used to acquire signals from other communication devices and transmit them to the processor or to output signals from the processor to other communication devices. The processor uses logic circuits or execution code instructions to cause the communication device to implement the methods described in any one of the first to second aspects.
[0031] In a sixth aspect, this application provides a communication device including a processor coupled to a memory storing instructions that, when executed by the processor, cause the communication device to perform the method described in any possible implementation of the first aspect, the second aspect, or any of the aspects described above.
[0032] In one possible implementation, the communication device further includes a memory. Optionally, the processor and memory are integrated (i.e., the memory is built-in memory). Optionally, the memory and processor are independently configured (i.e., the memory is external memory).
[0033] In a seventh aspect, this application provides a communication device that may include a processor and an interface circuit connected together. The interface circuit is used for exchanging (or sending / receiving or inputting / outputting) information or data, and the processor is used to execute program instructions that cause the communication device to perform the methods described in any possible implementation of the first aspect, the second aspect, or any of the aspects above. The interface circuit may be a communication interface or a transceiver. The transceiver may be a radio frequency module in the communication device, or a combination of a radio frequency module and an antenna, or an input / output interface of a chip or circuit.
[0034] Eighthly, this application provides a readable storage medium storing program instructions that, when run on a computer, cause the computer to perform the method described in any possible implementation of the first aspect, the second aspect, or any of the aspects described above.
[0035] Ninthly, this application provides a program product containing program instructions that, when run, cause the method described in any possible implementation of the first aspect, or the second aspect, or any of the aspects above to be executed.
[0036] Tenthly, this application provides an apparatus, which can be implemented as a chip or as a device, including a processor. The processor is used to read and execute a program stored in a memory to execute one or more of the first aspect, or the second aspect, or one or more of any possible implementations of any aspect, providing an information interaction method. Optionally, the apparatus further includes a memory connected to the processor via a circuit. Further optionally, the apparatus includes a communication interface to which the processor is connected. The communication interface is used to receive information to be processed, the processor obtains the information from the communication interface, processes the information, and outputs the processing result through the communication interface. The communication interface can be an input / output interface.
[0037] In one possible implementation, the processor and memory can be physically independent units, or the memory can be integrated with the processor.
[0038] Eleventhly, this application provides a communication system, which includes a network device (such as a base station) and a terminal; wherein the network device is used to perform the method described in the first aspect above, or any possible implementation of the first aspect, and the terminal is used to perform the method described in the second aspect above, or any possible implementation of the second aspect.
[0039] The technical effects achieved in the above aspects can be referred to each other or to the beneficial effects in the method embodiments shown below, which will not be repeated here. Attached Figure Description
[0040] Figure 1A A schematic diagram of a possible, non-limiting communication system architecture is shown.
[0041] Figure 1B This is a schematic diagram of the architecture of a communication system provided in an embodiment of this application;
[0042] Figure 2 This is a flowchart illustrating a cell handover method provided in an embodiment of this application;
[0043] Figure 3 This is a flowchart illustrating another cell handover method provided in an embodiment of this application;
[0044] Figure 4 This is a flowchart illustrating a communication method provided in an embodiment of this application;
[0045] Figure 5 This is a flowchart illustrating another communication method provided in an embodiment of this application;
[0046] Figure 6 This is a flowchart illustrating another communication method provided in an embodiment of this application;
[0047] Figure 7 This is a flowchart illustrating a non-contention-based random access method provided in an embodiment of this application;
[0048] Figure 8 This is a flowchart illustrating a contention-based random access method provided in an embodiment of this application;
[0049] Figure 9 This is a schematic diagram of the structure of the communication device provided in an embodiment of this application;
[0050] Figure 10 This is another structural schematic diagram of the communication device provided in the embodiments of this application;
[0051] Figure 11 This is another structural schematic diagram of the communication device provided in the embodiments of this application. Detailed Implementation
[0052] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0053] In the description of this application, the terms "first," "second," etc., are used only to distinguish different objects and do not limit the quantity or order of execution, nor do they imply that they are necessarily different. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0054] In the description of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one item", "one or more of the following", or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent: a, b, c; a and b; a and c; b and c; or a and b and c. Here, a, b, and c can be single or multiple.
[0055] In the description of this application, the words "exemplary" or "for example" are used to indicate that something is an example, illustration, or illustration. Any embodiment or design that is described as "exemplary," "for example," or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of the words "exemplary," "for example," or "for example" is intended to present the relevant concepts in a specific manner.
[0056] It is understood that in the description of this application, "when," "if," and "if" all refer to the device performing a corresponding action under certain objective circumstances, and are not time-limited, nor do they require the device to perform a judgment action when it is implemented, nor do they imply any other limitations. The device performing a corresponding action under certain objective circumstances includes: satisfying the objective circumstances, i.e., being able to perform the corresponding action; or satisfying both the objective circumstances and other circumstances, in order to perform the corresponding action.
[0057] In this application, the use of singular designations for elements is intended to represent "one or more" rather than "one and only one," unless otherwise specified.
[0058] In addition, the terms “system” and “network” are often used interchangeably in this article.
[0059] It is understood that in the various embodiments of this application, expressions such as "A corresponds to B", "A and B correspond", "A corresponds to B" or similar expressions indicate that B is associated with A, and B can be determined based on A. Determining B based on A does not mean that B is determined solely based on A; B can also be determined based on A and / or other information.
[0060] The embodiments of this application can be applied to various communication systems, such as: Global System for Mobile Communications (GSMA), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, 4th Generation (4G) mobile communication system, 4.5th Generation (4.5G) mobile communication system, 5th Generation (5G) mobile communication system, New Radio (NR) mobile communication system, and with the continuous development of communication technology, the technical solutions of the embodiments of this application can also be used in subsequent evolved communication systems, such as 6th Generation (6G) mobile communication system, 7th Generation (7G) mobile communication system, etc., and can also be applied to Universal Mobile Telecommunication System (UMTS), Ultra Wide Bandwidth (UWB) system, Wireless Fidelity (WiFi) system, Code Division Multiple Access (CDMA) system, Wireless Local Area Network (WLAN), etc.
[0061] refer to Figure 1A , Figure 1A A possible, non-limiting system schematic diagram is shown.
[0062] like Figure 1A As shown, the communication system 10 includes a wireless access network 100 and a core network 200. Optionally, the communication system 10 may also include an Internet 300. The wireless access network 100 may include at least one network device (such as...). Figure 1A 110a and 110b in the above), may also include at least one terminal device (such as Figure 1A(e.g., 120a-120j). Terminal devices connect to network devices wirelessly, and network devices connect to the core network wirelessly or via wired connections. Core network devices and network devices can be independent physical devices, or they can integrate the functions of core network devices and the logical functions of network devices onto the same physical device, or a single physical device can integrate some core network device functions and some network device functions. Terminal devices and network devices can be interconnected via wired or wireless connections. Figure 1A This is just an illustration; the communication system may also include other network devices, such as wireless repeaters and wireless backhaul devices. Figure 1A It has not yet been drawn in the middle.
[0063] Network equipment can be a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next-generation NodeB (gNB) in a 5G mobile communication system, a next-generation base station in a 6th-generation (6G) mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system. Network equipment can also be an open RAN (O-RAN or ORAN) or a cloud radio access network (CRAN). Network equipment can be a macro base station (such as...). Figure 1A 110a in the text), can also be a micro base station or an indoor station (such as... Figure 1A In 110b), it can also be a relay node or a donor node, etc. Optionally, in a device-to-device (D2D) scenario, the network device can also be a terminal device with the network device functions described in this application.
[0064] Furthermore, network equipment can also be modules or units that perform some of the functions of a base station. For example, it can be a central unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU), etc. In different systems, CU (or CU-CP and CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, in an ORAN system, CU can also be called O-CU (open CU), DU can also be called O-DU, CU-CP can also be called O-CU-CP, CU-UP can also be called O-CU-UP, and RU can also be called O-RU. For ease of description, this application uses CU, CU-CP, CU-UP, DU, and RU as examples. Any of the units among CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software and hardware modules.
[0065] In this embodiment, the network device can adopt a CU-DU separation architecture, which can also be called a distributed deployment architecture. For example, the network device can logically include one CU and one or more DUs. Each DU can be connected to the CU through an F1 interface, and information exchange between different DUs can be completed based on the forwarding of the CU. The CU and DU can be physically set together or physically separated, and there is no limitation. The CU can support the functions of RRC, PDCP, and Service Data Adaptation Protocol (SDAP); the DU can support the functions of RLC layer protocol, MAC layer protocol, and PHY layer protocol.
[0066] The embodiments of this application do not limit the specific technologies or device forms used in the network devices. For ease of description, a base station is used as an example of a network device in the following description. It is understood that a base station can be called a communication device. For example, a base station can be understood as a device with base station functions. For example, the device used to implement the functions of a base station can be a base station; or some components in a base station, such as, for example, CU and / or DU, etc. It can also be a device that can support the base station in implementing the functions, such as a chip system, hardware circuit, software module, or hardware circuit plus software module, which can be installed in a base station or can be used in conjunction with a base station. In the embodiments of this application, the chip system can be composed of chips, or can include chips and other discrete devices. Alternatively, "network device" can be understood as a device or apparatus with sensing capabilities, or a device or apparatus capable of performing artificial intelligence tasks. Among them, a device with sensing capabilities can also be called a sensing device, and a device capable of performing artificial intelligence tasks can also be called an artificial intelligence task execution device.
[0067] A terminal can also be referred to as user equipment (UE), terminal, access terminal, user unit, user station, mobile station, mobile station (MS), mobile terminal (MT), remote station, remote terminal, mobile device, user agent, or user device, etc. Terminals can be widely used in various scenarios, such as D2D, vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grids, smart furniture, smart offices, smart wearables, smart transportation, and smart cities. Terminals can be mobile phones, tablets, computers with wireless transceiver capabilities, wearable devices, vehicles, drones, helicopters, airplanes, ships, robots, robotic arms, smart home devices, etc. Terminal devices can provide users with voice and / or data connectivity.
[0068] In addition, terminal devices can be joint devices that transmit and receive digital signals over ordinary telephone lines, handheld devices with wireless connectivity, vehicle-mounted devices, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), mobile phones, tablets, laptops, PDAs, computers with wireless transceiver capabilities, mobile internet devices (MIDs), wearable devices, head-mounted displays (HMDs), virtual reality (VR) devices (such as VR glasses), augmented reality (AR) devices (such as AR glasses), mixed reality (MR) devices, wireless terminals in industrial control, processing devices connected to wireless modems, tactile terminal devices, vehicle-mounted devices, wireless terminals in self-driving vehicles, and remote medical devices. Wireless terminals in medical applications, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and roadside units (RSUs) of the aforementioned wireless terminal types, etc.
[0069] The embodiments of this application do not limit the specific technology or device form used in the terminal device. For ease of description, the UE is used as an example of the terminal device in the following description. It is understood that the terminal device can be called a communication device. For example, the terminal device can be understood as a device with terminal functions. For example, the device used to implement the terminal functions can be a terminal; it can also be a device that can support the terminal in implementing the functions, such as a chip system, hardware circuit, software module, or hardware circuit plus software module. This device can be installed in the terminal or can be used in conjunction with the terminal. Alternatively, "terminal" can be understood as a device or apparatus with sensing capabilities, or a device or apparatus capable of performing artificial intelligence tasks. Among them, a device with sensing capabilities can also be called a sensing device, and a device capable of performing artificial intelligence tasks can also be called an artificial intelligence task execution device.
[0070] Base stations and terminals can be fixed or mobile. They can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; and they can be deployed on aircraft, balloons, and satellites. The embodiments of this application do not limit the application scenarios of the base stations and terminals.
[0071] The roles of base stations and terminals can be relative, for example, Figure 1A The helicopter or drone 120i can be configured as a mobile base station. For terminals 120j accessing the wireless access network 100 via 120i, drone 120i is a base station; however, for base station 110a, 120i is a terminal, meaning that 110a and 120i communicate via a wireless air interface protocol. Of course, 110a and 120i can also communicate via a base station-to-base station interface protocol; in this case, 120i is also a base station relative to 110a. Therefore, both base stations and terminals can be collectively referred to as communication devices. Figure 1A The 110a and 110b in the text can be referred to as communication devices with base station functions. Figure 1A The 120a-120j in the text can be referred to as communication devices with terminal functions.
[0072] Communication between base stations and terminals, between base stations, and between terminals can be conducted using licensed spectrum, unlicensed spectrum, or both simultaneously. Communication can be conducted using spectrum below 6 GHz, spectrum above 6 GHz, or both simultaneously. The embodiments of this application do not limit the spectrum resources used for wireless communication.
[0073] Unless otherwise specified in this document, the terms "network device" and "terminal device" are used as the main entities in the description. Furthermore, a "network device" can be a sender or a receiver, and correspondingly, a "terminal" can be a receiver or a sender. For ease of description, the following explanation will use "network device" as the sender and "terminal" as the receiver.
[0074] In this application, "send" and "receive" indicate the direction of signal transmission. For example, "send information to XX" can be understood as the destination of the information being XX, and "send information" can include direct transmission or indirect transmission through other units or modules. "Receive information from YY" can be understood as the source of the information being YY, and "receive information" can include direct reception from YY or indirect reception from YY through other units or modules. Furthermore, "send" can also be understood as the "output" of a chip interface, and "receive" can be understood as the "input" of a chip interface. In other words, "send" or "receive" can occur between devices, such as a base station and a terminal transmitting or receiving data via an air interface. "Send" or "receive" can also occur within a device, such as transmitting or receiving data between components, modules, chips, software modules, or hardware modules within the device via a bus, wiring, or interface.
[0075] refer to Figure 1B , Figure 1B An exemplary schematic diagram of the architecture of a communication system is shown. The following text will use this as an example. Figure 1B An example of a communication system is shown to illustrate this. Figure 4 The diagram shows a flowchart of a communication method.
[0076] like Figure 1B As shown, the number and type of terminal devices 101 included in the communication system 20 are merely examples, and the embodiments of this application are not limited thereto. For example, the communication system 20 may also include more or fewer terminal devices 101 communicating with network devices 102, and the communication system 20 may also include more or fewer network devices 102 communicating with terminal devices 101. For the sake of simplicity, they are not all shown in the accompanying drawings.
[0077] In addition, in such Figure 1B Although only terminal device 101 and network device 102 are shown in the communication system 20, the communication system 20 may not be limited to including terminal device 101 and network device 102. For example, it may also include core network device or device for carrying virtualized network functions, etc., wherein the core network device communicates with terminal device 101 through network device 102.
[0078] It should be noted that, Figure 1B The number and types of network elements included in the system architecture shown are merely examples, and the embodiments of this application are not limited thereto. For example, it may also include more or fewer devices communicating with the gateway; for the sake of brevity, they are not described one by one in the accompanying drawings.
[0079] In mobile communication systems, the movement of a terminal device can lead to cell switching, which may involve key changes. For example, cell switching may involve switching access network equipment. When this happens (i.e., inter-site handover), the terminal device typically needs to change its key. This means that when communicating with the source and destination access network equipment, the terminal device uses different keys to encrypt and protect data, achieving secure communication. Alternatively, cell switching may not involve switching access network equipment. When the terminal device switches between different cells managed by the same access network equipment (i.e., intra-site handover), key changes may still be necessary. It should be understood that in some cell handover technologies, the terminal device needs to update its key when switching between different cells managed by the same access network equipment, while in others, it does not. In other words, whether a terminal device needs to change its key when switching cells is not necessarily related to whether it changes its access network equipment. The communication method provided in this application can be applied to various scenarios requiring key updates, such as cross-site handover requiring key updates, and intra-site handover requiring key updates. The methods for triggering cell handover include: handover techniques triggered by terminal equipment, such as Conditional Handover (CHO), and handover techniques triggered by access network equipment, such as Layer-triggered Mobility (LTM). This application does not limit the methods for triggering cell handover.
[0080] Figure 2 Taking the handover technology triggered by access network equipment as an example, we will show the process of a cell handover method. Figure 2 The UE shown initially serves Cell1, which is managed by gNB1 (also known as the serving access network device). The UE uses key Key1 for encrypted communication with the serving cell / serving access network device. As the UE moves, it switches to Cell2 / gNB2, and then uses Key2 to communicate with Cell2 / gNB2. Figure 2 As shown, the cell handover method may include some or all of the following steps:
[0081] S201: The UE communicates with gNB1 based on Key1.
[0082] It should be understood that the UE can use Key1 to perform encryption and integrity protection on communication data and signaling. Optionally, when encrypting data and signaling, the UE may use Key1 as a parameter to further generate a user plane processing key Kup and an RRC layer processing key Krrc. For user plane data, Kup is used for encryption and integrity protection, while Krrc is used for encryption and integrity protection. Similarly, for gNB1, gNB1 can also use Key1 as a parameter to further generate a user plane processing key Kup and a radio resource control layer processing key Krrc. For user plane data, Kup is used for encryption and integrity protection, while Krrc is used for encryption and integrity protection.
[0083] Optionally, the aforementioned key Key1 can be KgNB in new radio (NR) communication. The UE and gNB use KgNB to further deduce the key Kup used for user plane data and the key Krrc used for Radio Resource Control (RRC) layer signaling. The UE and gNB use Kup to perform security processing such as encryption and integrity protection on user plane data, and the UE and gNB use Krrc to perform security processing such as encryption and integrity protection on RRC signaling.
[0084] S202: gNB1 deduces the key Key2 for the target cell / target gNB.
[0085] In this cell handover, Cell1 can be called the source cell, gNB1 can be called the source gNB, Cell2 can be called the target cell, and gNB2 can be called the target gNB.
[0086] Optionally, Key2 can be derived based on the next hop (NH) parameter, which is provided by the Access and Mobility Management function (AMF). Optionally, the method by which gNB1 obtains NH from the AMF specifically includes: gNB1 sending a path handover request message to the AMF, and the AMF sending a path handover request response message to gNB1. This path handover request response message includes NH; optionally, the path handover request response message also includes a next hop chaining count (NCC). In this handover, the path handover request response message may include, for example, NH2 and NCC2. NH2 is used by gNB1 to derive Key2, and NCC2 is used by the UE to derive Key2.
[0087] S203: gNB1 sends a handover request message to gNB2, which includes Key2 and NCC2.
[0088] S204: gNB2 sends a handover request response message to gNB1. The handover request response message includes NCC2 and the configuration information of the target cell (i.e., Cell2).
[0089] S205: gNB1 sends a handover command to the UE, which includes the configuration information of NCC2 and the target cell (i.e., Cell2).
[0090] S206: The UE performs a handover according to the handover command and uses NCC2 to perform key deduction to obtain Key2.
[0091] It should be understood that when the UE performs encryption processing on data and signaling, it can use Key2 as a parameter to further generate the user plane processing key Kup and the RRC layer processing key Krrc.
[0092] S207: UE accesses Cell2 / gNB2.
[0093] As can be seen from the above introduction Figure 2 In the handover method shown, if the UE fails to handover to Cell2 / gNB2 as described in S207, or if the radio link between the UE and the source cell fails, the UE may be in a state of network disconnection.
[0094] based on Figure 2 The cell handover method shown further allows for cell selection when a UE experiences a handover failure or a radio link failure with the source cell. If the selected target cell is one of the pre-configured candidate cells, the UE can access that cell using its pre-configured information. This method can be called failure recovery, and details can be found below. Figure 3 This section introduces another cell handover method.
[0095] Figure 3 Taking the handover technology triggered by access network equipment as an example, we will show the process of another cell handover method. Figure 3The UE shown initially serves Cell1, which is managed by gNB1 (also known as the serving access network device). The UE uses key Key1 for encrypted communication with the serving cell / serving access network device. gNB1 may also manage other cells, such as Cell4. As the UE moves and switches to Cell2 / gNB2, it uses Key2 to communicate with Cell2 / gNB2. If the switch to Cell2 / gNB2 fails, Cell3 / gNB3 can be selected, and the UE uses Key3 to communicate with Cell3 / gNB3. Figure 3 As shown, the cell handover method may include some or all of the following steps:
[0096] Phase 1 (S301-S304): Obtain the pre-configuration information of candidate cells.
[0097] S301: The UE communicates with gNB1 based on Key1.
[0098] S301 is similar to S201. For an introduction to S301, please refer to the detailed description of S201 above. S301 will not be elaborated on here.
[0099] S302: gNB1 sends a handover request message to the candidate gNB, which is used to request the pre-configuration information of the candidate cell.
[0100] Correspondingly, the candidate gNB receives a handover request message from gNB1.
[0101] For example, Figure 3 The diagram shows candidate cells Cell2 and Cell3, and candidate gNBs gNB2 and gNB3. gNB1 can send a handover request message to gNB2, and gNB1 can also send a handover request message to gNB3.
[0102] It should be understood that the embodiments of this application can be applied to handover technologies triggered by terminal devices (such as CHO) and handover technologies triggered by access network devices (such as LTM). Optionally, the pre-configuration information of the candidate cell requested in the handover request message can be related to the handover technology used. For example, the pre-configuration information used for the request can be Conditional Handover (CHO) pre-configuration information or L1 / L2 Triggered Mobility (LTM) pre-configuration information. The embodiments of this application do not limit the specific handover technology used or the specific content of the pre-configuration information.
[0103] S303: The candidate gNB sends a handover request response message to gNB1. This handover request response message is used to provide pre-configuration information of the candidate cell.
[0104] Correspondingly, gNB1 receives the handover request response message from the candidate gNB.
[0105] It should be understood that the embodiments of this application can be applied to handover technologies triggered by terminal devices (such as CHO) and handover technologies triggered by access network devices (such as LTM). Optionally, the specific content of the pre-configuration information may be related to the handover technology used. For example, the pre-configuration information may be pre-configuration information for Conditional Handover (CHO) or pre-configuration information for L1 / L2 Triggered Mobility (LTM). The embodiments of this application do not limit the handover technology used or the specific content of the pre-configuration information.
[0106] S304: gNB1 sends the pre-configuration information of the candidate cell to the UE.
[0107] Accordingly, the UE receives pre-configuration information from candidate cells in gNB1.
[0108] Phase 2 (S305-S310): Recovery after switching failure.
[0109] S305: gNB1 sends a cell handover command to the UE, which indicates that the UE should switch to Cell2.
[0110] This handover uses Cell2 as the target cell from the candidate cells and takes gNB2 as the target base station as an example. It should be understood that the cell handover command includes the identifier of Cell2 and the new NCC required for the UE to deduce the new key, namely NCC2.
[0111] This handover example uses the need to update the key. In one example, when a key update is required, it may be a cross-site handover (i.e., switching cells managed by different access network devices). In a cross-site handover scenario, gNB1 sends a cell handover command to the UE, including the NCC required for the UE to deduce the new key, such as NCC2 required to deduce Key2. Figure 3 The first example is shown for now and should not be construed as a limitation of this application. In another example, when a key update is required, it may also be in the scenario of intra-site handover (i.e., switching between different cells managed by the same access network device). In the intra-site handover scenario, gNB1 sends a cell handover command to the UE, which includes the NCC required for the UE to deduce the new key. Optionally, the value of this NCC is the same as the value of the stored NCC, for example, both are NCC1.
[0112] It should be understood that the cell handover command sent by gNB1 to the UE may not include NCC. When the cell handover command does not include NCC, the UE may not need to update the key during this cell handover.
[0113] S306: gNB1 derived Key2 and Key3 based on NH2.
[0114] In this switchover, gNB1 deduced the keys including the keys corresponding to candidate Cells / candidate gNBs, such as Key2 corresponding to Cell2 and Key3 corresponding to Cell3.
[0115] It should be understood that before gNB1 deduces the Key2 and Key3 required for the candidate Cell, gNB1 will obtain NH2 from AMF in advance. NH2 is used by gNB1 to perform key deduction to obtain Key2 and Key3.
[0116] S307: gNB1 sends Key2 and Key3 to the candidate gNB.
[0117] Optionally, the execution order of S306-S307 and S304-S305 is not restricted. For example, S306-S307 can be executed before S304, or after S304 and before S305.
[0118] S308: The UE derives Key2 based on NCC2.
[0119] It should be understood that S308 can be executed after S305.
[0120] S309: Cell2 handover failed. Cell selection was performed and Cell3 was selected. Key3 was deduced based on NCC2.
[0121] It should be understood that when the UE selects a cell, it can choose a target cell from the pre-configuration information of the candidate cells received in S304 above, for example, selecting Cell3. After the UE selects Cell3, it can apply the pre-configuration information of Cell3.
[0122] It should be understood that after selecting Cell3, the UE also needs to deduce Key3 from the NCC2 obtained in the aforementioned S305. Key3 is used for encryption when communicating with Cell3.
[0123] S310: UE accesses the target cell (i.e., Cell3).
[0124] Based on the preceding text Figure 3As can be seen from the description of another cell handover method, when the UE experiences a radio link failure with the source cell (e.g., Cell1) or the UE fails to hand over to the target cell (e.g., Cell2), cell selection can be performed. For example, the target cell (e.g., Cell3) can be selected from the candidate cells, and the pre-configuration information of the target cell (e.g., Cell3) and a new key can be used to access Cell3, only for the purpose of successfully performing failure recovery.
[0125] However, in Figure 3 In another cell handover process, if the UE does not obtain the new key information (i.e., the new NCC) required for the handover, it cannot update the key and cannot continue. Figure 3 The failure recovery process shown involves the UE performing an RRC reconstruction with the selected cell. This RRC reconstruction process allows the UE to regain the cell's configuration information and the new key to be used. This process causes a temporary interruption in communication between the UE and the access network equipment, resulting in a degraded service experience for the UE. Specifically, the UE may fail to obtain the new key information (i.e., the new NCC) required for handover, making it unable to update the key and continue the process. Figure 3 The failure recovery scenarios are shown below:
[0126] Scenario 1: Before the UE receives the cell handover command (e.g., during execution) Figure 3 Before step S305, if the radio link with the source cell (e.g., Cell1) fails, the UE does not receive a new NCC (e.g., NCC2) sent by the source access network device (e.g., gNB1). The UE then needs to perform cell selection. If the selected cell requires a key update, for example, if the access network device of the selected cell is different from that of the source cell (e.g., if Cell2 is selected, Cell2 is managed by gNB2, and Cell1 is managed by gNB1), in this case, the UE needs to update the key but has not received the new NCC, cannot perform the key update, and cannot access the selected cell. Therefore, the failure recovery process cannot be effectively executed.
[0127] Scenario 2: The cell handover command received by the UE does not include the new NCC, and this handover does not require updating the key (e.g., executing...). Figure 3 When S305 is shown, this S305 instructs the UE to switch to Cell4 (excluding NCC2). If the UE fails to switch to Cell4, the UE then performs cell selection. If the selected cell requires a key update, for example, if the access network equipment of the selected cell is different from that of the source cell (e.g., if Cell3 is selected, Cell3 is managed by gNB3, and Cell1 is managed by gNB1), in this case, the UE needs to update the key but has not received the new key information, cannot perform the key update, and cannot access the selected cell. Therefore, the failure recovery process cannot be effectively executed.
[0128] Therefore, to address the technical problem of how a UE can perform a failure recovery process—that is, how to access a cell managed by an access network device—when it has not obtained an updated NCC, this application provides a communication method, communication device, and system. The method includes: during the failure recovery process, the UE requests updated key information from the access network device to which the selected cell belongs, and then receives the new key information. This method allows the UE to subsequently use the new key information to deduce a new key, thereby completing the failure recovery process.
[0129] In combination with the above Figure 1A-Figure 1B The system architecture shown below is followed by a description of a communication method provided in this application.
[0130] See Figure 4 , Figure 4 This is a flowchart illustrating a communication method provided in an embodiment of this application. In this embodiment, the functions performed by the terminal device can also be performed by modules (e.g., chips, chip systems, integrated circuits, or control units) within the terminal device. Similarly, the functions performed by the access network device in this application can also be performed by modules (e.g., chips, chip systems, integrated circuits, or control units) within the access network device. Likewise, the functions performed by the second access network device in this application can also be performed by modules (e.g., chips, chip systems, integrated circuits, or control units) within the second access network device.
[0131] like Figure 4 As shown, the communication method may include the following steps:
[0132] S401: The first access network device sends the pre-configuration information of the candidate cells (including the pre-configuration information of the second cell) to the terminal device.
[0133] Accordingly, the terminal device receives pre-configuration information of candidate cells from the first access network device, which includes configuration information of the second cell. The first access network device is the source access network device of the terminal device, and the first cell managed by the first access network device is the source cell accessed by the terminal device.
[0134] It should be understood that before sending the pre-configuration information of the candidate cell to the terminal device, the first access network device needs to obtain the pre-configuration information of the candidate cell. Specifically, it can request the pre-configuration information from at least one access network device to which the cell belongs. The specific steps for the first access network device to obtain the pre-configuration information of the candidate cell can be referred to the description of S302-S303 above, and will not be repeated here.
[0135] It should be understood that Figure 4The method embodiments shown are applicable to cell handover technologies (e.g., LTM) triggered by access network equipment, and also to cell handover technologies (e.g., CHO) triggered by terminal equipment.
[0136] Optionally, the specific content of the pre-configuration information of the candidate cell may be related to the handover technology used. For example, the pre-configuration information may be L1 / L2 triggered mobility management (LTM) pre-configuration information or conditional handover (CHO) pre-configuration information. This application does not limit the handover technology used or the specific content of the pre-configuration information.
[0137] Optionally, the pre-configuration information of the candidate cell may include the Physical Cell ID (PCI) and downlink frequency, or may also include dedicated PRACH resources, trigger thresholds (such as RSRP / RSRQ / SINR thresholds), and pre-compensation values (Timing Advance, TA), etc. This application embodiment does not limit this.
[0138] S402: The terminal device selects the second cell.
[0139] Specifically, when selecting a cell, the terminal device can choose from candidate cells and apply the pre-configured information of the selected candidate cell. The selected candidate cell can also be called the target cell, and the access network device to which the selected candidate cell belongs can also be called the target access network device. For example, if a second cell is selected, then the second cell can also be called the target cell, and the second access network device can also be called the target access network device.
[0140] Optionally, the terminal device may perform cell selection and choose a second cell when it detects a radio link failure in the source cell, or the terminal device may perform cell selection and choose a second cell when the cell handover fails. The cell handover may be an intra-site handover, such as handover to a fourth cell managed by the source access network device.
[0141] Optionally, during the process of selecting a second cell, the terminal device can also determine whether a key update is required for the selected cell. For example, it can determine whether a key update is required based on whether the behavior identifier corresponding to the selected cell is the same as the behavior identifier corresponding to the source cell. For instance, the behavior identifier corresponding to the source cell is denoted as A, and the behavior identifier corresponding to the selected cell is denoted as B. If A and B are different, the terminal device determines that a key update is required; if A and B are the same, the terminal device determines that a key update is not required. It should be understood that the behavior identifier corresponding to the cell is not the cell's identity identifier. The behavior identifier corresponding to the cell can be configured to the terminal device UE in the aforementioned S401. It should be understood that the name of the behavior identifier can also be a key update identifier, a PDCP layer re-establishment identifier, or other identifier names. There is no limitation here, and it can simply be called an identifier.
[0142] Optionally, the specific method for terminal device cell selection includes: the terminal device performs signal measurement on detectable cells, and if the measurement result of a certain cell meets the camping conditions, the terminal device can select that cell.
[0143] It should be understood that after selecting a second cell, the terminal device suspends or pauses the data radio bearer with the second cell. Specifically, suspending or pausing the data radio bearer with the second cell means ceasing the use of that data radio bearer for data transmission.
[0144] S403: The terminal device sends a first message (containing first information) to the second access network device to which the second cell belongs.
[0145] Accordingly, the second access network device receives a first message sent by the terminal device, which contains first information. The first information is used to request key information, and the key information is NCC, specifically NCC2.
[0146] Optionally, before sending the first message to the second access network device to which the second cell belongs, the terminal device may initiate random access to the second cell. This random access can be one of the following: Contention-Free Random Access (CFRA) or Contention-Based Random Access (CBRA). For details regarding these two random access processes, please refer to the following sections. Figures 7-8 The details of this will not be elaborated here.
[0147] Optionally, during the random access initiation process, the terminal device may send a first message to the second access network device using an uplink grant resource (UL grant). This uplink grant resource can be obtained in one of two ways: during the terminal device's access to the second cell via CFRA, the UL grant is included in message 2 (MSG2) sent by the second access network device to the terminal device; or, during the terminal device's access to the second cell via CBRA, the UL grant is included in message 2 (MSG2) sent by the second access network device to the terminal device.
[0148] Optionally, if the random procedure performed by the terminal device is CFRA, the first message can be one of the following: Layer 1 signaling, Layer 2 signaling, or Layer 3 signaling. For example, the Layer 3 signaling can be a Radio Resource Control (RRC) message, the Layer 2 signaling can be a Media Access Control (MAC) CE message, and the Layer 1 signaling can be Uplink Control Information (UCI).
[0149] Optionally, if the random access procedure performed by the terminal device is CBRA, the first message can be carried in CBRA message 3 (MSG3), which includes one of the following: Layer 1 signaling, Layer 2 signaling, or Layer 3 signaling. For example, the Layer 3 signaling can be an RRC message, the Layer 2 signaling can be a MAC CE, and the Layer 1 signaling can be a UCI.
[0150] It should be understood that when the first information is an RRC message, it can specifically be an RRC establishment / recovery / reconstruction request message, or it can be a non-RRC establishment / recovery / reconstruction request message. When the first message is an RRC establishment / recovery / reconstruction request message, it differs from the original RRC establishment / recovery / reconstruction request message in that it includes the first information, while the original RRC establishment / recovery / reconstruction request message does not. The first information is used to request key information. Furthermore, the functions of RRC establishment / recovery / reconstruction request messages that include the first information differ from those that do not. For example, RRC establishment / recovery / reconstruction request messages that include the first information are used to request key information, while RRC establishment / recovery / reconstruction request messages that do not include the first information not only request key information but also trigger the access network device to perform more tasks related to RRC establishment.
[0151] S404: The second access network device sends the first key information to the terminal device.
[0152] Accordingly, the terminal device receives the first key information sent by the second access network device. This first key information is specifically NCC2.
[0153] Optionally, if the random process performed by the terminal device is CFRA, the first key information can be carried in one of the following: Layer 1 signaling, Layer 2 signaling, or Layer 3 signaling. For example, Layer 3 signaling can be an RRC message, Layer 2 signaling can be a MAC CE, and Layer 1 signaling can be Downlink Control Information (DCI).
[0154] Optionally, if the random procedure performed by the terminal device is CBRA, the first key information can be carried in CBRA message 4 (MSG4). CBRA message 4 includes one of the following: Layer 1 signaling, Layer 2 signaling, or Layer 3 signaling. For example, the Layer 3 signaling can be an RRC message, the Layer 2 signaling can be a MAC CE, and the Layer 1 signaling can be a DCI.
[0155] Optionally, if the second access network device has already received the first key information and the first key sent by the source access network device (e.g., the first access network device to which the first cell belongs) before receiving the first message sent by the terminal device, then after S403, the second access network device can directly execute S405. If the second access network device has not received the first key information and the first key sent by the source access network device (first access network device) before receiving the first message sent by the terminal device, then after receiving the first message sent by the terminal device, the second access network device needs to first send a first request to the first access network device to which the first cell belongs. This first request is used to request the key information and the key, and then execute S405.
[0156] S405: The terminal device deduces the first key based on the first key information.
[0157] In some embodiments, the first key information received by the terminal device can be used to deduce the first key used by the second cell. Then, the terminal device can access the second cell and communicate with the second cell based on the first key.
[0158] It should be understood that the method for key deduction of access network equipment and terminal equipment in this application embodiment is not limited. For example, two key deduction methods, horizontal deduction and vertical deduction, can be used. For examples, please refer to the relevant description below.
[0159] For the terminal device, the newly received first key information (e.g., NCC2) is compared with the previously received and stored NCC1. If they are the same, horizontal deduction is performed; if they are different, vertical deduction is performed. When the deduction method is determined to be vertical deduction, a new NH can be determined based on the previous NH, and Key2 can be deduced by combining the Physical Cell ID (PCI) and / or downlink frequency of the target cell (e.g., the second cell). When the deduction method is determined to be horizontal deduction, Key2 can be deduced by combining the PCI and / or downlink frequency of the target cell with Key1. Here, NCC2 is the aforementioned first key information, Key2 is the first key used by the terminal device when communicating with the target cell (second cell), Key1 is the key used by the terminal device when communicating with the source cell (first cell), and NCC1 is the key information used by the terminal device when communicating with the source cell (first cell). Key1 can be referred to as the kgNB when the UE communicates with the first cell, and Key2 can be referred to as the kgNB when the UE communicates with the second cell.
[0160] For access network equipment (i.e., the source access network equipment to which the source cell of the terminal equipment belongs), when the access network equipment has an unused {NH, NCC} parameter pair, it uses vertical inference; when the access network equipment does not have an unused {NH, NCC} parameter pair, it uses horizontal inference. The {NH, NCC} parameter pair can be provided to the source access network equipment by the AMF. When the inference method is determined to be vertical inference, Key2 can be obtained by combining the Physical Cell ID (PCI) and / or downlink frequency of the target cell (e.g., the second cell) with NH2 corresponding to NCC2. When the inference method is determined to be horizontal inference, Key2 can be obtained by combining the PCI and / or downlink frequency of the target cell with Key1. In this context, NCC2 refers to the aforementioned first key information, Key2 is the first key used by the terminal device when communicating with the target cell (second cell), Key1 is the key used by the terminal device when communicating with the source cell (first cell), and NCC1 is the key information used by the terminal device when communicating with the source cell (first cell). Key1 can be referred to as the kgNB when the UE communicates with the first cell, and Key2 can be referred to as the kgNB when the UE communicates with the second cell.
[0161] S406: Terminal equipment accesses the second cell.
[0162] Since the candidate cell includes the second cell, the terminal device can use the pre-configured information of the second cell, use the first key to access the second cell, and when communicating with the second access network device to which the second cell belongs, it can perform data encryption, integrity protection and other processing to achieve the effect of secure communication.
[0163] above Figure 4 The method embodiments shown include many possible implementation schemes, which will be discussed below. Figures 5 to 8 Some of the implementation schemes will be illustrated with examples. It should be noted that... Figures 5 to 8 For any unexplained related concepts, operations, or logical relationships, please refer to [link / reference]. Figure 4 The corresponding description in the illustrated embodiment.
[0164] Figure 5 This is a flowchart illustrating another communication method provided in an embodiment of this application.
[0165] The following is a detailed description of the process, with the terminal device as UE, the source cell accessed by the terminal device as Cell1 (also known as the first cell), the source access network device of the terminal device as gNB1 (also known as the first access network device), the target cell for the terminal device to be handed over as Cell2 (also known as the second cell), and the target access network device for the terminal device to be handed over as gNB2 (also known as the second access network device).
[0166] like Figure 5 As shown, the communication method may include some or all of the following steps:
[0167] Phase 1 (S501-S504): Pre-configuration. For detailed information on S501-S504, please refer to the previous description of S301-S304.
[0168] S501: The UE communicates with gNB1 based on Key1.
[0169] S502: gNB1 sends a handover request message to the candidate gNB. This handover request message is used to request the pre-configuration information of the candidate cell.
[0170] Correspondingly, the candidate gNB receives a handover request message from gNB1.
[0171] For example, Figure 5 The diagram shows that candidate cells include Cell2 and candidate gNBs include gNB2. gNB1 can send a handover request message to gNB2, which belongs to Cell2. Optionally, candidate cells may also include Cell3 and candidate gNBs may also include gNB3, and gNB1 can also send a handover request message to gNB3, which belongs to Cell3.
[0172] It should be understood that when a candidate cell is selected by the cell selection process, the candidate cell can also be called the target cell.
[0173] S503: The candidate gNB sends a handover request response message to gNB1. This handover request response message is used to provide pre-configuration information of the candidate cell.
[0174] Correspondingly, gNB1 receives the handover request response message from the candidate gNB.
[0175] S504: gNB1 sends the pre-configuration information of the candidate cell to the UE.
[0176] Accordingly, the UE receives pre-configuration information from candidate cells in gNB1.
[0177] Phase 2 (S505-S506): Recovery after failure of the radio link with the source cell.
[0178] S505: gNB1 retrieves {NH2,NCC2}.
[0179] It should be understood that before gNB1 derives the Key2 required for the candidate cell, gNB1 will obtain the NCC and NH (i.e., NCC2 and NH2) used by the candidate cell for UE handover from the AMF in advance. NH2 is used by gNB1 to perform key deduction, and NCC2 is the key information required for UE to derive Key2.
[0180] S506: gNB1 is derived from NH2 to determine Key2.
[0181] As described above, the method for key deduction of gNB in this application embodiment is not limited. For example, two key deduction methods, horizontal deduction and vertical deduction, can be used.
[0182] For a detailed introduction to S505-S506, please refer to the previous description of S306.
[0183] S507: gNB1 sends Key2, NCC2 to the candidate gNB.
[0184] It should be understood that when the candidate gNB includes gNB2, gNB1 sends Key2 and NCC2 to gNB2; when the candidate gNB also includes gNB3, gNB1 also sends Key3 and NCC2 to gNB3.
[0185] S508: If the UE detects a radio link failure in Cell1, it will trigger cell selection.
[0186] For specific methods on selecting a community, please refer to the previous introduction to S403, which will not be repeated here.
[0187] S509: UE selects Cell2.
[0188] It should be understood that the UE will select a cell from the candidate cells, for example, after cell selection, it will select Cell2 from the candidate cells.
[0189] It should be understood that after selecting Cell2, the UE did not obtain NCC2 and did not deduce Key2 based on NCC2. Therefore, the UE suspended or paused the data radio bearer with Cell2.
[0190] S510: Pre-configuration information corresponding to Cell2 for UE application, excluding the derivation key.
[0191] It should be understood that the UE had already experienced a radio link failure with Cell1 before obtaining the NCC2 required for switching Cell2. Therefore, when the UE applied the pre-configuration information corresponding to Cell2, it could not perform key deduction because it had not obtained the NCC2.
[0192] S511: The UE sends a random access request message to gNB2.
[0193] Optionally, the random access method can be one of the following: Contention-Free Random Access (CFRA) or Contention-Based Random Access (CBRA). For details on these two random access procedures, please refer to the following sections. Figures 7-8 The details of this will not be elaborated here.
[0194] S512: gNB2 sends a random access response message to the UE.
[0195] It should be understood that, regardless of whether it is CFRA or CBRA, the random access response message sent by gNB2 to the UE includes uplink grant resources (UL grant), and optionally, timing advance (TA).
[0196] S513: The UE sends a first message to gNB2. The first message includes first information, which is used to request key information.
[0197] Accordingly, gNB2 receives the first message from the UE.
[0198] It should be understood that after gNB2 receives the first message from the UE, if it determines that the first key information has been obtained (i.e., the aforementioned S507 has been executed), it sends the first key information to the terminal device (i.e., S514 will be executed later); if it determines that the first key information has not been obtained (i.e., the aforementioned S507 has not been executed), gNB2 first sends a first request, and after receiving the first key information from gNB1, it sends the first key information to the terminal device (i.e., S514 will be executed later).
[0199] Optionally, the UE may use uplink grant resources (UL grant) to send the first message to gNB2.
[0200] Optionally, if the random procedure performed by the UE is CFRA, the first message can be one of the following: Layer 1 signaling, Layer 2 signaling, or Layer 3 signaling. For example, the Layer 3 signaling can be a Radio Resource Control (RRC) message, the Layer 2 signaling can be a Media Access Control Element (MAC CE), and the Layer 1 signaling can be Uplink Control Information (UCI).
[0201] Optionally, if the random procedure performed by the UE is CBRA, the first message can be carried in CBRA message 3 (MSG3). CBRA message 3 includes one of the following: Layer 1 signaling, Layer 2 signaling, or Layer 3 signaling. For example, the Layer 3 signaling can be an RRC message, the Layer 2 signaling can be a MAC CE, and the Layer 1 signaling can be a UCI.
[0202] S514: gNB2 sends the first key information (NCC2) to the UE.
[0203] Optionally, if the random procedure performed by the UE is CFRA, the first key information can be carried in one of the following: Layer 1 signaling, Layer 2 signaling, or Layer 3 signaling. For example, the Layer 3 signaling can be an RRC message, the Layer 2 signaling can be a MACCE, and the Layer 1 signaling can be Downlink Control Information (DCI).
[0204] Optionally, if the random procedure performed by the UE is CBRA, the first key information can be carried in CBRA message 4 (MSG4). CBRA message 4 includes one of the following: Layer 1 signaling, Layer 2 signaling, or Layer 3 signaling. For example, Layer 3 signaling can be an RRC message, Layer 2 signaling can be a MAC CE, and Layer 1 signaling can be a DCI.
[0205] S515: The UE derives Key2 based on NCC2.
[0206] For the method of UE key derivation, please refer to the detailed introduction of S405 above, which will not be repeated here.
[0207] As described above, the method for key deduction of the UE in this application embodiment is not limited. For example, two key deduction methods, horizontal deduction and vertical deduction, can be used.
[0208] S516: The UE sends an RRC reconfiguration complete message to gNB2.
[0209] As can be seen, the application Figure 5 After the communication method shown, if the terminal device experiences a wireless link failure with the source cell during cell handover, the terminal device can still obtain the key information required to handover to the target cell (which is different from the access network device of the source cell), and then continue to perform the failure recovery process, so that the terminal device can successfully access the target cell and ensure the smoothness of terminal services.
[0210] The foregoing Figure 5 Only one possible implementation scheme has been introduced. The following section will combine... Figure 6 Let me introduce one possible implementation scheme. Figure 6 For any unexplained related concepts, operations, or logical relationships, please refer to [link / reference]. Figures 4-5 The corresponding description in the illustrated embodiment.
[0211] Figure 6 This is a flowchart illustrating another communication method provided in an embodiment of this application.
[0212] The following is a detailed description of the process, with the terminal device as the UE, the source cell accessed by the terminal device as Cell1 (also known as the first cell), the source access network device of the terminal device as gNB1 (also known as the first access network device), the cell associated with gNB1 as Cell4, the target cell for the handover of the terminal device as Cell2 (also known as the second cell), and the target access network device for the handover of the terminal device as gNB2 (also known as the second access network device).
[0213] like Figure 6 As shown, the communication method may include some or all of the following steps:
[0214] Phase 1 (S601-S604): Pre-configuration. For detailed information on S601-S604, please refer to the previous description of S301-S304.
[0215] S601: The UE communicates with gNB1 based on Key1.
[0216] S602: gNB1 sends a handover request message to the candidate gNB. This handover request message is used to request the pre-configuration information of the candidate cell.
[0217] S603: The candidate gNB sends a handover request response message to gNB1. This handover request response message is used to provide pre-configuration information of the candidate cell.
[0218] S604: gNB1 sends the pre-configuration information of the candidate cell to the UE.
[0219] Similar to the descriptions of S501-S504, S601-S604 can be found in the previous descriptions of S501-S504 for detailed information on S601-S604, which will not be repeated here.
[0220] Phase 2 (S605-S606): Recovery after in-station handover failure.
[0221] S605: gNB1 retrieves {NH2,NCC2}.
[0222] S606: gNB1 is derived from NH2 to determine Key2.
[0223] S607: gNB1 sends Key2, NCC2 to the candidate gNB.
[0224] S605-S607 are similar to the aforementioned S505-S507. For a detailed introduction to S605-S607, please refer to the previous description of S505-S507, which will not be repeated here.
[0225] S608: gNB1 sends a cell handover command to the UE (including the identifier of Cell4, but excluding NCC2), which is used to indicate the handover to Cell4.
[0226] It should be understood that this handover is based on the assumption that no key update is required. For example, the cell handover command received by the UE indicates a handover to Cell4, where the access network equipment to which Cell4 belongs is the same as that to which Cell1 belongs (e.g., both Cell1 and Cell4 are managed by gNB1). The handover command does not include new key information (e.g., NCC2). Optionally, the handover command may include old key information (e.g., NCC1).
[0227] S609: If the UE fails to switch to Cell4, cell selection is triggered.
[0228] For specific methods on selecting a community, please refer to the previous introduction to S403, which will not be repeated here.
[0229] S610: UE selects Cell2.
[0230] S611: Pre-configuration information corresponding to Cell2 for UE application, excluding the derivation key.
[0231] S612: The UE sends a random access request message to gNB2.
[0232] S613: gNB2 sends a random access response message to the UE.
[0233] S614: The UE sends a first message to gNB2. The first message includes first information, which is used to request key information.
[0234] Accordingly, gNB2 receives the first message from the UE.
[0235] It should be understood that after gNB2 receives the first message from the UE, if it determines that the first key information has been obtained (i.e., the aforementioned S607 has been executed), it sends the first key information to the terminal device (i.e., S615 will be executed later); if it determines that the first key information has not been obtained (i.e., the aforementioned S607 has not been executed), gNB2 first sends a first request, and after receiving the first key information from gNB1, it sends the first key information to the terminal device (i.e., S615 will be executed later).
[0236] S615: gNB2 sends the first key information (NCC2) to the UE.
[0237] S616: The UE derives Key2 based on NCC2.
[0238] S617: The UE sends an RRC reconfiguration complete message to gNB2.
[0239] S610-S617 are similar to S509-S516 mentioned above. For a detailed introduction to S610-S617, please refer to the description of S509-S516 above. They will not be repeated here.
[0240] As can be seen, the application Figure 6 After the communication method shown, if the terminal device fails to switch cells within the station during the cell handover process, the terminal device can still obtain the key information required to switch to the target cell (which is different from the access network device of the source cell), and then continue to perform the failure recovery process, so that the terminal device can successfully access the target cell and ensure the smoothness of terminal services.
[0241] Next, combined Figure 7 This section introduces the non-contested random access process.
[0242] like Figure 7 As shown, the non-contentionable random access procedure includes the following steps:
[0243] S701: The second access network device sends random access resources (including preamble) to the terminal device.
[0244] S702: The terminal device sends a random access request (including a preamble) to the second access network device.
[0245] It should be understood that before the terminal device sends the preamble, the terminal device will measure multiple downlink beam directions. Taking the beam direction as being related to the Synchronization Signal and Physical Broadcast Channel Block (SSB) as an example, the terminal device measures the SSBs of four beam directions: SSB#1, SSB#2, SSB#3, and SSB#4. If it considers the channel quality of the beam direction of SSB#3 to be better, it will select the time-frequency resource corresponding to SSB#3 to send the preamble. After the second access network device receives the preamble on the above time-frequency resource, it will know that when communicating with the terminal device, it should use the beam direction corresponding to SSB#3.
[0246] S703: The second access network device sends a random access response (including TA and UL Grant) to the terminal device.
[0247] It should be understood that the random access response message can be sent via the beam direction indicated by the terminal device in S702.
[0248] It should be understood that through the random access process, the second access network device can calculate the TA of the terminal device by receiving the preamble, and in S703, indicate the TA to the terminal device. The terminal device then uses the indicated TA to adjust the uplink transmission time.
[0249] It should be understood that the random access response message also includes a UL Grant, which the terminal device can use to send uplink messages.
[0250] Next, combined Figure 8 This paper introduces a competition-based random access procedure.
[0251] like Figure 8 As shown, the contention-based random access procedure includes the following steps:
[0252] S801: The terminal device sends a random access request (including a preamble) to the second access network device.
[0253] It should be understood that S801 is similar to the aforementioned S702, except that in S801, the terminal device does not use the random access resources dedicated to the terminal device, while in S702, the terminal device uses the random access resources dedicated to the terminal device.
[0254] S802: The second access network device sends a random access response (including TA and UL Grant) to the terminal device.
[0255] S802 is similar to the aforementioned S703, and will not be described in detail here.
[0256] S803: The terminal device sends its identity identifier to the second access network device.
[0257] The terminal device can use the UL Grant in the random access response message to send the terminal device's identifier to the second access network device.
[0258] S804: The second access network device sends the contention resolution field and the identity identifier of the terminal device to the terminal device.
[0259] The second access network device sends the identity information corresponding to the terminal device to the terminal device. If the terminal device determines that the identity information in S804 matches the identity information in S803, it considers the random access to be successful.
[0260] The foregoing details the method provided in this application. To facilitate the implementation of the above-described solutions in the embodiments of this application, corresponding apparatus or devices are also provided in the embodiments of this application.
[0261] This application divides access network equipment and terminal equipment into functional modules according to the above-described method embodiments. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application is illustrative and represents only one logical functional division; other division methods may be used in actual implementation. The following will combine... Figures 9 to 11 The communication device of the embodiments of this application is described in detail.
[0262] See Figure 9 , Figure 9 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application. Figure 9 As shown, the communication device may include a transceiver unit 30 and a processing unit 40.
[0263] In some embodiments of this application, the communication device may be the access network device shown above or a chip or circuit disposed in the access network device. That is, the communication device may be used to perform the steps or functions performed by the second access network device in the method embodiments described above.
[0264] In one design, the transceiver unit 30 is used to: send pre-configuration information of candidate cells to the access network device, the candidate cells including a second cell managed by the second access network device, and the pre-configuration information of the candidate cells is used by the terminal device to select the second cell.
[0265] In one design, the transceiver unit 30 is used to: receive a first message from a terminal device, the first message containing first information, the first information being used to request key information; send the first key information to the terminal device; the first key information being used by the terminal device to deduce the key for communication between the terminal device and the access network device.
[0266] In one design, the transceiver unit 30 is used to: receive first key information from the access network device.
[0267] For example, the first key information is carried by one of the layer 1 signaling, layer 2 signaling, and layer 3 signaling.
[0268] In one possible implementation, the transceiver unit 30 is specifically configured to: if it determines that the first key information has been obtained, send the first key information to the terminal device; if it determines that the first key information has not been obtained, first send a first request to the access network device, and then send the first key information to the terminal device after receiving the first key information from the access network device.
[0269] In this embodiment of the application, the description of the pre-configuration information of the candidate cell, the first key information, and the first key, etc., can be found above. Figures 4 to 6 The descriptions in the method embodiments shown will not be repeated here.
[0270] It is understood that the specific descriptions of the transceiver unit and processing unit shown in the embodiments of this application are merely examples. For the specific functions or execution steps of the transceiver unit and processing unit, please refer to the above descriptions. Figures 4 to 6 The method embodiments shown are not described in detail here. Furthermore, the technical effects of the embodiments of this application are explained in the foregoing. Figures 4 to 6 The technical effects of the method embodiments shown are not elaborated here for the sake of simplicity.
[0271] Reuse Figure 9 In other embodiments of this application, the communication device may be the terminal device shown above or a chip or circuit disposed in the terminal device. That is, the communication device may be used to perform the steps or functions performed by the terminal device in the method embodiments above.
[0272] In one design, the transceiver unit 30 is used to: receive pre-configuration information of candidate cells from the access network equipment.
[0273] In one design, the transceiver unit 30 is used to: send a first message to a second access network device, the first message containing first information, the first information being used to request key information.
[0274] In one design, the transceiver unit 30 is used to: receive first key information sent from a second access network device, the first key information being used to deduce the key for communication between the terminal device and the second access network device.
[0275] The processing unit 40 is used to: after receiving the first key information, perform deduction based on the first key information to obtain the first key corresponding to the second cell, wherein the second cell belongs to the second access network device, and the first key is the key for communication between the terminal device and the second access network device.
[0276] For example, the pre-configuration information of candidate cells is used by the terminal device to select a cell for handover among the candidate cells.
[0277] For example, the pre-configuration information does not include the first key information.
[0278] For example, the first information is carried by one of the Layer 1 signaling, Layer 2 signaling, and Layer 3 signaling.
[0279] In one possible implementation, the processing unit 40 is further configured to: select a second cell from the candidate cells when it is determined that the radio link with the source cell (first cell) has failed or when the intra-site handover (the handover from the first cell to the fourth cell, where both the first cell and the fourth cell belong to the access network equipment) has failed, wherein the second cell belongs to the third access network equipment.
[0280] For example, the second message may also include an integrity message authentication code and / or the identifier of the terminal device.
[0281] It is understood that the specific descriptions of the transceiver unit and processing unit shown in the embodiments of this application are merely examples. For the specific functions or execution steps of the transceiver unit and processing unit, please refer to the above descriptions. Figures 4 to 6 The method embodiments shown are not described in detail here. Furthermore, the technical effects of the embodiments of this application are explained in the foregoing. Figures 4 to 6 The technical effects of the method embodiments shown are not elaborated here for the sake of simplicity.
[0282] It is understood that the specific descriptions of the transceiver unit and processing unit shown in the embodiments of this application are merely examples. For the specific functions or execution steps of the transceiver unit and processing unit, please refer to the above descriptions. Figures 4 to 6 The method embodiments shown are not described in detail here. Furthermore, the technical effects of the embodiments of this application are explained in the foregoing. Figures 4 to 6 The technical effects of the method embodiments shown are not elaborated here for the sake of simplicity.
[0283] The access network device and terminal device according to embodiments of this application have been described above. The following describes possible product forms of the access network device and terminal device. It should be understood that any device possessing the above-described features... Figure 9 Any form of access network equipment or terminal equipment that performs the functions described herein falls within the protection scope of the embodiments of this application. It should also be understood that the following description is merely illustrative and does not limit the product form of the communication device in the embodiments of this application to this specific example.
[0284] In one possible implementation, Figure 9 In the communication device shown, the processing unit 40 can be one or more processors, and the transceiver unit 30 can be a transceiver, or the transceiver unit 30 can also be a transmitting unit and a receiving unit. The transmitting unit can be a transmitter, and the receiving unit can be a receiver. The transmitting unit and the receiving unit are integrated into one device, such as a transceiver. In the embodiments of this application, the processor and the transceiver can be coupled, etc., and the connection method between the processor and the transceiver is not limited in the embodiments of this application. In the process of executing the above method, the process of sending information in the above method can be understood as the process of the processor outputting the above information. When outputting the above information, the processor outputs the above information to the transceiver so that the transceiver can transmit it. After the above information is output by the processor, it may need to undergo other processing before reaching the transceiver. Similarly, the process of receiving information in the above method can be understood as the process of the processor receiving the input above information. When the processor receives the input information, the transceiver receives the above information and inputs it into the processor. Furthermore, after the transceiver receives the above information, the above information may need to undergo other processing before being input into the processor.
[0285] See Figure 10 , Figure 10 This is another structural schematic diagram of the communication device provided in the embodiments of this application. For example... Figure 10 As shown, the communication device provided in this application embodiment can be used to implement the methods described in the above method embodiments, and the description in the above method embodiments can be referred to. The communication device can be an access network device, a terminal device, or a chip therein. For example, the communication device includes one or more processors 1001 and transceivers 1002. The communication device may further include a memory 1003. In one implementation, the communication device further includes an input / output device (...). Figure 10 (Not indicated).
[0286] The processor 1001 is mainly used to process communication protocols and communication data, control the entire communication device, execute software programs, and process the data of the software programs. The memory 1003 is mainly used to store software programs and data. The transceiver 1002 may include control circuitry and an antenna. The control circuitry is mainly used for converting baseband signals to radio frequency signals and processing radio frequency signals. The antenna is mainly used for transmitting and receiving radio frequency signals in the form of electromagnetic waves. Input / output devices, such as touchscreens, displays, and keyboards, are mainly used to receive user input data and output data to the user.
[0287] When the communication device is powered on, the processor 1001 can read the software program in the memory 1003, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be transmitted wirelessly, the processor 1001 performs baseband processing on the data to be transmitted and outputs the baseband signal to the radio frequency (RF) circuit. The RF circuit processes the baseband signal and transmits the RF signal outward in the form of electromagnetic waves through the antenna. When data is sent to the communication device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor 1001. The processor 1001 converts the baseband signal into data and processes the data.
[0288] In another implementation, the radio frequency circuitry and antenna can be set up independently of the processor performing baseband processing. For example, in a distributed scenario, the radio frequency circuitry and antenna can be arranged remotely, independent of the communication device.
[0289] The processor 1001, transceiver 1002, and memory 1003 can be connected via a communication bus.
[0290] For example, when the communication device is used to perform the above... Figure 4 When the access network device performs the steps, methods, or functions shown in the embodiment, the transceiver 1002 can be used to perform... Figure 4 Steps S403, S404, S406, and / or other processes used in the techniques described herein.
[0291] For example, when the communication device is used to perform the above... Figure 4 When the terminal device executes a step, method, or function in the illustrated embodiment, the processor 1001 can be used to generate... Figure 4 In steps S402, S405, and / or other processes for performing the techniques described herein; transceiver 1002 can be used to perform Figure 4 Steps S401, S403, S404, S406, and / or other processes used in the techniques described herein.
[0292] For example, when the communication device is used to perform the above... Figure 5 When the access network device performs a step, method, or function as shown in the embodiment, the transceiver 1002 can be used to perform it. Figure 5 Steps S502, S503, S507, S511-S514, S516, and / or other processes used in the techniques described herein.
[0293] For example, when the communication device is used to perform the above... Figure 5 When the terminal device executes a step, method, or function in the illustrated embodiment, the processor 1001 can be used to execute... Figure 5 Steps S508-S510, S515, and / or other processes used to perform the techniques described herein; transceiver 1002 can be used to perform Figure 5 Steps S501, S504, S511-S514, S516, and / or other processes used in the techniques described herein.
[0294] For example, when the communication device is used to perform the above... Figure 6 When the access network device performs a step, method, or function as shown in the embodiment, the transceiver 1002 can be used to perform it. Figure 6 Steps S602, S603, S607, S612-S615, S517, and / or other processes used in the techniques described herein.
[0295] For example, when the communication device is used to perform the above... Figure 6 When the terminal device executes a step, method, or function in the illustrated embodiment, the processor 1001 can be used to execute... Figure 6 Steps S609-S611, S616, and / or other processes used to perform the technology described herein; transceiver 1002 can be used to perform Figure 6 Steps S601, S604, S612-S615, S617, and / or other processes used in the techniques described herein.
[0296] In any of the above implementations, the processor 1001 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing receiving and transmitting functions may be separate or integrated. The aforementioned transceiver circuit, interface, or interface circuit can be used for reading and writing code / data, or it can be used for transmitting or relaying signals.
[0297] In any of the above implementations, the processor 1001 may store instructions, which may be computer programs. These computer programs, running on the processor 1001, cause the communication device to execute the methods described in the above method embodiments. The computer program may be embedded in the processor 1001; in this case, the processor 1001 may be implemented in hardware.
[0298] In one implementation, the communication device may include a circuit that can perform the functions of transmitting, receiving, or communicating in the aforementioned method embodiments. The processor and transceiver described in this application can be implemented on integrated circuits (ICs), analog ICs, radio frequency integrated circuits (RFICs), mixed-signal ICs, application-specific integrated circuits (ASICs), printed circuit boards (PCBs), electronic devices, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal-oxide semiconductors (CMOS), n-metal-oxide-semiconductor (NMOS), positive-channel metal-oxide semiconductors (PMOS), bipolar junction transistors (BJTs), bipolar CMOS (BiCMOS), silicon-germanium (SiGe), gallium arsenide (GaAs), etc.
[0299] It is understood that the communication device shown in the embodiments of this application may also have more than Figure 10 This application does not limit the use of other components or other related elements. The methods performed by the processor and transceiver shown above are merely examples; for the specific steps performed by the processor and transceiver, please refer to the description of the method embodiments above.
[0300] In another possible implementation Figure 9 In the communication device shown, the processing unit 40 can be one or more logic circuits, and the transceiver unit 30 can be an input / output interface, or a communication interface, or an interface circuit, or an interface, etc. Alternatively, the transceiver unit 30 can also be a transmitting unit and a receiving unit. The transmitting unit can be an output interface, and the receiving unit can be an input interface. The transmitting unit and the receiving unit are integrated into one unit, such as an input / output interface.
[0301] See Figure 11 , Figure 11 This is yet another structural schematic diagram of the communication device provided in the embodiments of this application. For example... Figure 11 As shown, Figure 11The communication device shown includes logic circuitry 901 and interface 902. That is, the processing unit 40 can be implemented using logic circuitry 901, and the transceiver unit 30 can be implemented using interface 902. The logic circuitry 901 can be a chip, processing circuit, integrated circuit, or system-on-chip (SoC) chip, etc., and the interface 902 can be a communication interface, input / output interface, pins, etc. For example, Figure 11 The above-mentioned communication device is used as an example of a chip, which includes a logic circuit 901 and an interface 902.
[0302] In this embodiment, the logic circuit and the interface can also be coupled to each other. The specific connection method between the logic circuit and the interface is not limited in this embodiment.
[0303] For example, when the communication device is used to perform the above... Figure 4 When the second access network device executes the steps, methods, or functions in the method embodiment shown, logic circuit 901 is used to determine the first key; interface 902 is used to send pre-configuration information of multiple candidate cells and the first key information; interface 902 is used to send the first key, which is the key for communication between the terminal device and the second access network device.
[0304] For example, when the communication device is used to perform the above... Figure 4 When the terminal device executes a step, method, or function in the method embodiment shown, logic circuit 901 is used to determine whether the first key information has been obtained; interface 902 is used to receive the first information.
[0305] In this embodiment of the application, the description of the first key information, first information, etc., can be found above. Figure 4 The method embodiments shown are described in detail here, and will not be repeated here. It is understood that for a more detailed explanation of the logic circuit 901 and interface 902, please refer to [the relevant documentation / reference needed]. Figure 9 The descriptions of the processing unit and transceiver unit shown will not be repeated here.
[0306] It is understood that the communication device shown in the embodiments of this application can implement the method provided in the embodiments of this application in hardware form or in software form, etc., and the embodiments of this application do not limit it in this way.
[0307] for Figure 11 For specific implementations of the various embodiments shown, please refer to the above embodiments, which will not be described in detail here.
Claims
1. A communication method, characterized in that, The method includes: Receive pre-configuration information of candidate cells from a first access network device, wherein the candidate cells include a second cell; Select the second cell, which belongs to the second access network device; Send a first message to the second access network device. The first message contains first information, which is used to request key information. The device receives first key information from the second access network device, which is used to deduce the key for communication between the terminal device and the second access network device.
2. The method according to claim 1, characterized in that, Selecting the second cell specifically includes: When a wireless link failure is detected in the first cell, the second cell is selected, and the first cell belongs to the first access network device.
3. The method according to claim 1 or 2, characterized in that, Before selecting the second cell, the method further includes: receiving a first handover command from the first access network device, the first handover command being used to instruct the terminal device to handover to the fourth cell, the first handover command not including key information; Selecting the second cell specifically includes: when switching to the fourth cell fails, selecting the second cell.
4. The method according to any one of claims 1-3, characterized in that, After selecting the second cell, the method further includes: Suspend or pause the data radio bearer with the second cell.
5. The method according to any one of claims 1-4, characterized in that, After deriving the key for communication between the terminal device and the second access network device, the method further includes: Restore the data radio bearer with the second cell.
6. The method according to any one of claims 1-5, characterized in that, The first message is one of the following: Radio Resource Control (RRC) messages, Media Access Control Element (MAC CE) Or uplink control information (UCI).
7. The method according to any one of claims 1-6, characterized in that, The first key information is carried in one of the following: Radio Resource Control (RRC) messages, Media Access Control Element (MAC CE) Or Downlink Control Information (DCI).
8. The method according to any one of claims 1-7, characterized in that, The first key information includes the next-hop chain calculation NCC.
9. A communication method, characterized in that, The method includes: The first access network device sends pre-configuration information of candidate cells to the terminal device. The candidate cells include a second cell. The pre-configuration information of the candidate cells is used by the terminal device to select the second cell, which belongs to the second access network device. Receive a first message from the terminal device, the first message containing first information, the first information being used to request key information; Send first key information to the terminal device, the first key information being used to deduce the key for communication between the terminal device and the second access network device.
10. The method according to claim 9, characterized in that, The first message is one of the following: Radio Resource Control (RRC) messages, Media Access Control Element (MAC CE) Or uplink control information (UCI).
11. The method according to claim 9 or 10, characterized in that, The first key information is carried in one of the following: Radio Resource Control (RRC) messages, Media Access Control Element (MAC CE) Or Downlink Control Information (DCI).
12. The method according to any one of claims 9-11, characterized in that, Sending the first key information to the terminal device specifically includes: after receiving the first message, determining that the first key information has been obtained, and sending the first key information to the terminal device.
13. The method according to any one of claims 9-12, characterized in that, Sending the first key information to the terminal device specifically includes: after receiving the first message, determining that the first key information has not been obtained, sending a first request to the first access network device, receiving the first key information from the first access network device, and sending the first key information to the terminal device.
14. The method according to any one of claims 9-13, characterized in that, The first key information includes the next-hop chain calculation NCC.
15. A communication device, characterized in that, Includes modules or units for performing the method according to any one of claims 1-14.
16. A communication device, characterized in that, The device includes a processor and an interface circuit, wherein the interface circuit is used to acquire signals from other communication devices and transmit them to the processor or to output signals from the processor to other communication devices, and the processor is used through logic circuits or executing code instructions to cause the communication device to implement the method as described in any one of claims 1-14.
17. A readable storage medium, characterized in that, Used to store computer programs or instructions, which are executed by one or more processors, causing an apparatus including the one or more processors to perform the method as described in any one of claims 1-14.
18. A communication system, characterized in that, include: A terminal device for performing the method of any one of claims 1-8, and a second access network device for performing the method of any one of claims 9-14.
