[go: up one dir, main page]

WO2025213372A1 - Wireless communication method and communication device - Google Patents

Wireless communication method and communication device

Info

Publication number
WO2025213372A1
WO2025213372A1 PCT/CN2024/086894 CN2024086894W WO2025213372A1 WO 2025213372 A1 WO2025213372 A1 WO 2025213372A1 CN 2024086894 W CN2024086894 W CN 2024086894W WO 2025213372 A1 WO2025213372 A1 WO 2025213372A1
Authority
WO
WIPO (PCT)
Prior art keywords
master node
count value
cell
candidate
communication device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/086894
Other languages
French (fr)
Chinese (zh)
Inventor
林雪
尤心
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to PCT/CN2024/086894 priority Critical patent/WO2025213372A1/en
Publication of WO2025213372A1 publication Critical patent/WO2025213372A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Definitions

  • the present application relates to the field of communication technology, and more particularly, to a wireless communication method and a communication device.
  • MCG LTM master cell group L1/L2 triggered mobility
  • the present application provides a wireless communication method and a communication device.
  • the following introduces various aspects involved in the present application.
  • a wireless communication method comprising: a terminal device receiving one or more count values sent by a first master node;
  • the one or more count values are used to determine the auxiliary key when the terminal device performs the first switching process, the auxiliary key is used for the terminal device to communicate with the auxiliary node, and the first switching process is the MCG LTM process.
  • a wireless communication method comprising: a first master node sends one or more count values to a terminal device; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first switching process, the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.
  • a wireless communication method comprising: a second master node sends a first message to a first master node, the first master node is a source master node of a terminal device when performing a first switching process, the second master node is a master node to which at least one candidate cell associated with the first switching process belongs, the first message includes at least one count value, the at least one count value is used to determine a secondary key associated with the at least one candidate cell, the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.
  • a wireless communication method comprising: a secondary node receiving one or more secondary keys sent by a second primary node, the one or more secondary keys being associated with at least one candidate cell under the second primary node, or the one or more secondary keys being associated with a target cell under the second primary node, the secondary key being used by a terminal device to communicate with the secondary node after executing a first switching process, the second primary node being the primary node to which the at least one candidate cell belongs, and the first switching process being an MCG LTM process.
  • a communication device which is a terminal device, and the communication device includes: a receiving unit for receiving one or more count values sent by a first master node; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first switching process, and the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.
  • a communication device which is a first master node, and the communication device includes: a first sending unit, used to send one or more count values to a terminal device; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first switching process, and the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.
  • a communication device which is a second master node, and the communication device includes: a first sending unit, used to send a first message to the first master node, the first master node is the source master node of the terminal device when performing a first switching process, the second master node is the master node to which at least one candidate cell associated with the first switching process belongs, the first message includes at least one count value, the at least one count value is used to determine the secondary key associated with the at least one candidate cell, the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.
  • a communication device which is a secondary node
  • the communication device includes: a first receiving unit, used to receive one or more secondary keys sent by a second main node, the one or more secondary keys are associated with at least one candidate cell under the second main node, or the one or more secondary keys are associated with a target cell under the second main node, the secondary key is used by the terminal device to communicate with the secondary node after executing a first switching process, the second main node is the main node to which the at least one candidate cell belongs, and the first switching process is an MCG LTM process.
  • a communication device comprising a processor, a memory, and a communication interface, wherein the memory is used to store one or more computer programs, and the processor is used to call the computer program in the memory so that the communication device executes some or all of the steps described in the methods of the above aspects.
  • an embodiment of the present application provides a communication system, which includes the above-mentioned communication device.
  • the system may also include other devices that interact with the communication device in the solution provided in the embodiment of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute part or all of the steps in the methods of the above aspects.
  • embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to perform some or all of the steps of the methods described in each of the above aspects.
  • the computer program product may be a software installation package.
  • an embodiment of the present application provides a chip, which includes a memory and a processor.
  • the processor can call and run a computer program from the memory to implement some or all of the steps described in the methods of the above aspects.
  • the auxiliary key when the terminal device executes the MCG LTM process, can be determined based on one or more count values sent by the first master node, thereby saving signaling overhead.
  • FIG1 is an exemplary diagram of a system architecture of a wireless communication system to which an embodiment of the present application may be applied.
  • FIG. 2 is a schematic diagram of the LTM process.
  • FIG3 is a schematic diagram of key deduction during the Xn switching process.
  • FIG4 is a schematic diagram of key update during the Xn switching process.
  • FIG5 is a schematic diagram of a control plane networking method in a dual-connection scenario.
  • FIG6 is a schematic diagram of a user plane protocol stack on a network device side in a dual-connectivity scenario.
  • FIG7 is a schematic diagram of the user plane protocol stack on the terminal device side in a dual-connection scenario.
  • FIG8 is a schematic diagram of the implementation process of the security mechanism during the secondary node addition/modification process.
  • FIG9 is a flow chart of a wireless communication method provided in an embodiment of the present application.
  • FIG10 is a flow chart of a wireless communication method provided in another embodiment of the present application.
  • FIG11 is a flowchart of a wireless communication method provided in another embodiment of the present application.
  • FIG12 is a schematic structural diagram of a communication device provided in an embodiment of the present application.
  • FIG13 is a schematic structural diagram of a communication device provided in another embodiment of the present application.
  • FIG14 is a schematic structural diagram of a communication device provided in yet another embodiment of the present application.
  • FIG15 is a schematic structural diagram of a communication device provided in yet another embodiment of the present application.
  • FIG16 is a schematic structural diagram of a communication device provided in an embodiment of the present application.
  • FIG1 is a diagram illustrating an exemplary system architecture of a wireless communication system 100 to which embodiments of the present application may be applied.
  • the wireless communication system 100 may include a network device 110 and a terminal device 120.
  • the network device 110 may be a device that communicates with the terminal device 120.
  • the network device 110 may provide communication coverage for a specific geographic area and may communicate with the terminal device 120 within the coverage area.
  • FIG1 exemplarily shows a network device and two terminal devices.
  • the wireless communication system 100 may include multiple network devices and each network device may include another number of terminal devices within its coverage area, which is not limited in this embodiment of the present application.
  • the wireless communication system 100 may further include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiment of the present application.
  • network entities such as a network controller and a mobility management entity, which is not limited in the embodiment of the present application.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems, such as the fifth generation (5G) system or NR, the long term evolution (LTE) system, the LTE frequency division duplex (FDD) system, and the LTE time division duplex (TDD) system.
  • the technical solutions provided in this application can also be applied to future communication systems, such as the sixth generation mobile communication system and satellite communication systems.
  • the terminal device in the embodiments of the present application may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), mobile terminal (MT), remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.
  • UE user equipment
  • MS mobile station
  • MT mobile terminal
  • remote station remote terminal
  • mobile device user terminal
  • terminal wireless communication device
  • user agent or user device may refer to a device that provides voice and/or data connectivity to a user and can be used to connect people, objects and machines, such as a handheld device with wireless connection function, a vehicle-mounted device, etc.
  • the terminal device in the embodiment of the present application can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
  • the UE can be used to act as a base station.
  • the UE It can act as a scheduling entity that provides sidelink signals between UEs in V2X or D2D, etc.
  • a cell phone and a car can communicate with each other using sidelink signals.
  • Cell phones and smart home devices can also communicate with each other without relaying the communication signals through a base station.
  • the network device in the embodiments of the present application may be a device for communicating with a terminal device.
  • the network device may also be referred to as an access network device or a radio access network device.
  • the network device may be a base station.
  • the network device in the embodiments of the present application may refer to a radio access network (RAN) node (or device) that connects a terminal device to a wireless network.
  • RAN radio access network
  • a base station may broadly cover various names as follows, or replace the following names, such as: NodeB, evolved NodeB (eNB), next generation NodeB (gNB), relay station, transmitting and receiving point (TRP), transmitting point (TP), master station MeNB, secondary station SeNB, multi-standard radio (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), positioning node, etc.
  • a base station may be a macro base station, a micro base station, a relay node, a donor node, or the like, or a combination thereof.
  • the base station may also refer to a communication module, modem or chip provided in the aforementioned device or apparatus.
  • the base station may also be a mobile switching center and a device-to-device D2D, vehicle-to-everything (V2X), machine-to-machine (M2M) communication device that performs the base station function, a network side device in a 6G network, a device that performs the base station function in a future communication system, etc.
  • the base station may support networks with the same or different access technologies. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network equipment.
  • Base stations can be fixed or mobile.
  • a helicopter or drone can be configured to act as a mobile base station, and one or more cells can move based on the location of the mobile base station.
  • a helicopter or drone can be configured to act as a device that communicates with another base station.
  • the network device in the embodiments of the present application may refer to a CU or a DU, or the network device may include a CU and a DU.
  • the gNB may also include an AAU.
  • the network equipment and terminal devices can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed in the air on aircraft, balloons, and satellites.
  • the embodiments of this application do not limit the scenarios in which the network equipment and terminal devices are located.
  • the 3rd Generation Partnership Project (3GPP) supports LTM.
  • LTM LTM process
  • the LTM process may include an LTM preparation phase, an LTM execution phase, and an LTM completion phase.
  • Steps S210 and S230 in FIG. 2 belong to the LTM preparation phase.
  • the terminal device reports a measurement result to the network device.
  • the measurement result may be a layer 3 measurement result.
  • the network device may then determine to initiate an LTM process based on the measurement result reported by the terminal device and trigger candidate cell preparation.
  • the network device sends a radio resource control (RRC) message containing an LTM configuration (or LTM candidate configuration) to the terminal device.
  • RRC radio resource control
  • the network device may send an RRC reconfiguration message to the terminal device to indicate the LTM configuration.
  • the LTM configuration sent by the network device to the terminal device may include configurations of one or more candidate cells.
  • the terminal device may store the LTM configuration indicated by the network device.
  • step S230 the terminal device sends an RRC reconfiguration complete message to the network device.
  • step S240a and step S240b after the terminal device completes the LTM preparation phase, it may perform uplink/downlink synchronization with the candidate cell in advance to shorten the interruption delay during the switching process.
  • Step S250 , step S260 , and step S270 (optional) in FIG2 belong to the LTM execution phase.
  • step S250 the terminal device performs layer 1 measurement on each candidate cell and reports the layer 1 measurement result to the network device. After receiving the layer 1 measurement result reported by the terminal device, the network device can determine the target cell based on the layer 1 measurement result.
  • step S260 the network device sends a cell handover command to the terminal device, instructing the terminal device to switch to the target cell.
  • the network device may instruct the terminal device to switch to the target cell via a medium access control element (MAC CE).
  • MAC CE medium access control element
  • the terminal device may detach from the source cell and apply the configuration of the target cell.
  • the terminal device may further perform step S270 during the LTM execution phase.
  • step S270 the terminal device initiates a random access procedure to the target cell.
  • Step S280 in Figure 2 belongs to the LTM completion phase.
  • the terminal device indicates that the LTM is completed.
  • the terminal device may send an indication of successful LTM completion to the target cell.
  • key derivation is typically performed during the Xn handover process to ensure secure data transmission between the terminal device and the access and mobility management function (AMF) network element.
  • AMF access and mobility management function
  • Both the terminal device and network equipment (such as the gNB) must perform key derivation to ensure data transmission security.
  • the following describes the key derivation process using network equipment as an example, using Figure 3 as an example.
  • the key derivation method on the terminal device side is similar to that on the network device side and will not be further described.
  • next hop chaining counter (NCC) value if the next hop chaining counter (NCC) value does not change, the gNB performs horizontal derivation to update the key K gNB . If the NCC value changes, the AMF performs vertical derivation to update the next hop (NH) parameter. Whether the NCC value changes can depend on the terminal device state. For example, if the terminal device requires handover, the NCC value is updated by 1.
  • NCCx the NCC value x can be denoted as NCCx.
  • NCC0 an NCC value of 0
  • NCC1 an NCC value of 1
  • NHx the NH parameter obtained by the x-th vertical deduction
  • NHx such as NH1, NH2, NH3, and so on.
  • the gNB can derive the initial key KgNB based on the key KAMF and the non-access stratum (NAS) uplink count.
  • the initial key KgNB serves as NH0.
  • This NH0 is associated with NCC0 as a ⁇ NH, NCC ⁇ pair.
  • the gNB can generate the key KNG-RAN* based on the initial key KgNB (denoted as key KgNB1 ), the physical cell identifier (PCI) of the cell where the terminal device is currently residing, and the carrier frequency (e.g., the downlink carrier frequency).
  • KNG -RAN * is then used as the key KgNB2 .
  • the key KgNB2 is used to derive keys for data integrity protection and encryption. If horizontal derivation is continued, the gNB can derive the key KgNB3 based on the key KgNB2 , the PCI of the cell where the terminal device is currently residing, and the carrier frequency. The key KgNB3 is used to derive new keys for data integrity protection and encryption. And so on, the key K gNB is iteratively updated to ensure communication security.
  • NCC Value is updated from NCC0 to NCC1, the AMF network element performs vertical deduction to deduce NH1 based on the key K AMF and NH0.
  • NH1 is associated with NCC1 as a new pair ⁇ NH, NCC ⁇ , which the AMF network element uses to perform horizontal deduction based on NCC1.
  • NCC1 is updated to NCC2, the AMF network element continues to perform vertical deduction to deduce NH2 based on the key K AMF and NH1.
  • NH2 is associated with NCC2 as a new pair ⁇ NH, NCC ⁇ , which the AMF network element uses to perform horizontal deduction based on NCC2. And so on.
  • K gNB as the key used by the source base station (S-gNB)
  • K NG-RAN* as the key used by the target base station (T-gNB)
  • the S-gNB sends a handover request (HO request) message to the T-gNB.
  • the handover request message includes information such as the S-gNB's derived key K NG-RAN* , NCC, and security algorithms.
  • the T-gNB uses the key K NG-RAN* as the current key K gNB of the target base station and associates the NCC with the K gNB .
  • the T-gNB sends a handover command (HO command) message to the terminal device (UE).
  • the handover command message includes information such as the NCC and security algorithms.
  • step S404 the UE performs key derivation based on the received NCC to obtain the key K gNB* used by the UE.
  • step S405 if the UE successfully accesses the target cell, the UE sends a handover complete (HO complete) message to the T-gNB to indicate that the handover is complete.
  • HO complete handover complete
  • step S406 after receiving the handover completion message sent by the UE, the T-gNB sends a path switch request message to the AMF.
  • step S408 the AMF sends a path switch acknowledgment message (path switch ack) to the T-gNB.
  • the acknowledgment message includes the updated ⁇ NH, NCC ⁇ in step S407.
  • step S409 the T-gNB stores the received ⁇ NH, NCC ⁇ for further handover.
  • the UE may perform an intra-cell HO procedure in the candidate cell of the T-gNB.
  • the source base station can perform the following operations:
  • KNG-RAN* Generate KNG-RAN* based on the target PCI and target downlink frequency.
  • the key can be derived based on NH; if there is no unused ⁇ NH, NCC ⁇ , the key is derived based on KgNB .
  • the generated K NG-RAN* and the corresponding NCC are forwarded to the target base station.
  • the target base station can perform the following operations:
  • the target base station will use the received K NG-RAN* as the K gNB for communicating with the terminal device; associate the K gNB with the NCC; include the NCC in the handover command and send it to the terminal device through the source base station; after the handover is completed, the target base station sends a path switch request to the AMF.
  • the terminal device can perform the following operations:
  • KgNB* is generated based on the KgNB and target cell PCI and downlink frequency.
  • NH is generated based on KAMF.
  • KgNB* is generated based on NH and the target cell PCI and downlink frequency.
  • the UE uses the generated KgNB * to communicate with the target base station.
  • the methods provided in the embodiments of the present application can be used in various DC architectures.
  • dual connectivity between a fourth-generation (4G) communication system and a fifth-generation (5G) communication system dual connectivity between a 5G communication system and a 4G communication system, or dual connectivity between a 5G communication system and a 5G communication system, or a 5G communication system and a future communication system, where the fifth-generation communication system may also be referred to as an NR system.
  • the methods provided in the embodiments of the present application are not limited to application in a DC architecture, and may also be applied to other system architectures, such as a single-connection architecture.
  • a terminal device is simultaneously connected to two cell sets.
  • One of these cell sets is called a master cell group (MCG), which includes at least one primary cell (PCell) and, optionally, at least one secondary cell (SCell).
  • MCG master cell group
  • SCell secondary cell
  • SCG secondary cell group
  • PSCell primary secondary cell
  • SCell secondary cell group
  • the dual-connection architecture of NR-DC is shown in Figure 5.
  • the terminal device communicates with MN and SN at the same time.
  • MN and SN are connected through the Xn interface, and MN is connected to the core network device through the NG interface.
  • SN is also connected to the core network device through the NG interface.
  • the master node acts as the "anchor” and is responsible for exchanging control plane data with the core network.
  • both control plane data and user plane data can be exchanged between the terminal device and two network nodes.
  • the terminal device establishes signaling radio bearer 0 (SRB0), SRB1, and SRB2 signaling connections with the mobile node, and can also establish an SRB3 signaling connection with the node node.
  • each access network device in a DC has a different radio link control (RLC)/medium access control (MAC) entity.
  • RLC radio link control
  • MAC medium access control
  • DRBs data radio bearers
  • MCG Bearer master cell group bearer
  • SCG Bearer secondary cell group bearer
  • split bearer also known as forked bearer or split bearer
  • the primary cell group bearer (MCG Bearer) is an RLC/MAC entity for this DRB located only in the master node.
  • MCG Bearer the primary cell group bearer
  • QoS quality of service
  • the mobile node transmits the data processed by the MN's packet data convergence protocol (PDCP) entity to the MN's RLC entity and MAC entity for processing.
  • PDCP packet data convergence protocol
  • a node when a node receives QoS flows from the core network, if the data in the QoS flows is service data corresponding to the MCG Bearer, the node transmits the data processed by the SN's PDCP entity to the MN via the interface between the MNs (e.g., Xn interface, X2 interface, or F1 interface). The data is then further processed by the MN's RLC entity and MAC entity.
  • the secondary cell group carrying SCG Bearer means that the RLC/MAC entity of the DRB is only located in the secondary node.
  • the MN After the MN receives QoS flows from the core network, if the data in the QoS flows is the service data corresponding to the SCG Bearer, the MN will transmit the data processed by the MN's PDCP entity to the SN through the interface between the MN and the SN (for example, the Xn interface, the X2 interface, or the F1 interface). Then, the RLC entity and MAC entity of the SN will further process the data.
  • the SN After the SN receives QoS flows from the core network, if the data in the QoS flows is the service data corresponding to the SCG Bearer, the SN will transmit the data processed by the SN's PDCP entity to the SN's RLC entity and MAC entity for processing.
  • Split Bearer means that the RLC/MAC entity of the DRB exists in both the primary node and the secondary node.
  • the MN transmits part of the data processed by the MN's PDCP entity to the RLC entity and MAC entity of the SN through the interface between the MN and the SN (for example, the Xn interface or the X2 interface or the F1 interface), while the other part of the data or the same data is transmitted to the RLC entity and MAC entity of the MN, so that the RLC/MAC entity of the MN and the RLC/MAC entity of the SN can process the data at the same time.
  • the SN transmits part of the data processed by the SN's PDCP entity to the RLC entity and MAC entity of the MN through the interface between the MN and the SN (for example, the Xn interface or the X2 interface or the F1 interface), while the other part of the data or the same data is transmitted to the RLC entity and MAC entity of the MN.
  • the RLC entity and MAC entity of the SN are given, and then the RLC/MAC entity of the MN and the RLC/MAC entity of the SN can process the data at the same time.
  • MCG and SCG there is no distinction between different nodes within the terminal device, but due to the role of the cell group, it is still necessary to distinguish between MCG and SCG.
  • the main difference between MCG and SCG comes from the different radio bearer aggregation protocol layers (i.e., the difference between RLC and MAC), as shown in Figure 7.
  • PDCP layer processing and above may occur at either the mobile node (MN) or the network node (SN).
  • MN mobile node
  • SN network node
  • the input factors used to generate encryption/security keys include the mobile node key (K gNB ) and the SN counter value.
  • K gNB mobile node key
  • the SN counter is maintained by the mobile node, for example, in a monotonically increasing manner. The SN and UE do not need to store the SN counter.
  • the security mechanism during SN addition/modification is described in detail below, in conjunction with Figure 8.
  • step S801 an RRC connection is established between the UE and the MN.
  • step S802 the MN sends an SN addition/modification request message to the SN, which includes KSN , terminal equipment security capabilities (UE security capabilities), and user plane (UP) security policy.
  • KSN terminal equipment security capabilities
  • UE security capabilities terminal equipment security capabilities
  • UP user plane
  • the MN may generate K SN based on K gNB and the SN counter.
  • step S803 SN performs capability negotiation and algorithm selection.
  • step S804 the SN sends an SN addition/modification request acknowledgment message to the MN.
  • the acknowledgment message includes the selected algorithms of the SN.
  • step S805 the MN sends an RRC connection reconfiguration message to the UE.
  • the reconfiguration message includes the SN Counter and the selected algorithms.
  • the UE may generate K SN based on K gNB and SN counter.
  • step S806 the UE sends an RRC connection reconfiguration complete message (RRC connection reconfiguration complete) to the MN.
  • step S807 the MN and the SN communicate to confirm that the SN reconfiguration is complete.
  • step S808 the UE activates encryption and integrity protection.
  • step S809 the SN activates ciphering and integrity protection.
  • step S810 the UE performs a random access procedure in the SN cell.
  • R18 LTM only supports intra-central unit (intra-CU) LTM.
  • Intra-CU intra-central unit
  • R18 LTM has the following limitations: Executing MCG LTM requires releasing the SCG; executing SCG LTM cannot involve affecting the mobile node (SCG LTM without MN involvement).
  • LTM can support inter-central unit (inter-CU) LTM.
  • inter-CU inter-central unit
  • CU when DC is not configured, priority is given to the case when CU is acting as MN when DC is not configured.
  • a secondary priority support the case when NR-DC is configured and CU is acting as SN and MCG is unchanged.
  • NR-DC when NR-DC is configured, CU is acting as MN and SCG is unchanged or SCG is released.
  • LTM e.g., inter-CU LTM and intra-CU LTM
  • the design of LTM needs to consider the signaling overhead of the LTM process.
  • the terminal device may need to communicate with a secondary node using a secondary key.
  • determining the secondary key during MCG LTM is a challenge.
  • Signaling overhead also needs to be considered when determining the secondary key.
  • the auxiliary key can be determined based on one or more count values sent by the first master node, thereby saving signaling overhead.
  • FIG9 is a flow chart illustrating a wireless communication method according to an embodiment of the present application. The method illustrated in FIG9 is described from the perspective of a terminal device and a first master node.
  • the terminal device mentioned herein may be, for example, the terminal device 120 shown in FIG1 .
  • the first master node mentioned herein may be a source master node (S-MN), which may be, for example, a gNB or an eNB.
  • S-MN source master node
  • a terminal device receives one or more count values sent by a first master node.
  • the one or more count values are used to determine a secondary key (SK) when the terminal device performs a first handover process, which is an MCG LTM process.
  • the secondary key can be used to communicate between the terminal device and the secondary node.
  • the above determination of the secondary key may refer to the first determination of the secondary key, or may refer to a subsequent update of the secondary key.
  • the one or more count values may be secondary key count values (sk-counter).
  • the secondary key may be referred to as SK gNB ; if the first master node is an eNB, the secondary key may be referred to as SK eNB .
  • the first switching process may be used to: perform cell switching within a CU (i.e., the first switching process is intra-CU MCG LTM); or, perform cell switching between CUs (i.e., the first switching process is inter-CU MCG LTM).
  • the above-mentioned method for determining the secondary key can also be applied to scenarios where the SCG is not released.
  • the scenario where the SCG is not released may include any of the following: remaining unchanged (maintaining the current SCG); replacing with an SCG other than the current SCG; or adding an SCG other than the current SCG. Since the SCG does not need to be released, the signaling overhead caused by repeatedly providing SCG configuration can be saved.
  • the terminal device may further determine a secondary key based on the primary key and a target count value, wherein the target count value may be a count value among the one or more count values.
  • the target count value may be a count value among the one or more count values corresponding to the target cell, or the target count value may be a count value among the one or more count values corresponding to the master node to which the target cell belongs.
  • the target count value may also be a count value corresponding to one or more candidate cells.
  • the terminal device may generate the primary key.
  • the terminal device may perform a target operation.
  • the target operations mentioned here may include one or more of the following: for the first bearer, reestablish or create a new PDCP entity; for the first bearer, reestablish or create a new RLC entity; for the second bearer, reestablish or create a new PDCP entity; for the second bearer, reestablish or create a new RLC entity; delete the PDCP entity corresponding to the third bearer; delete the RLC entity corresponding to the third bearer; for the signaling radio bearer (such as SRB1, SRB2, etc.), discard the PDCP service data unit (SDU) (i.e., perform a PDCP SDU discard operation).
  • SDU PDCP service data unit
  • the first bearer mentioned above is a bearer using a master key (i.e., a bearer with KeyToUse configured as master), and the second bearer is a bearer using a secondary key (i.e., a bearer with KeyToUse configured as secondary).
  • the third bearer mentioned above satisfies: the configuration information of the third bearer is included in the configuration information of the source cell, and the configuration information of the third bearer is not included in the configuration information of the target cell.
  • the target operation may be performed if a first condition is satisfied, the first condition including a master key update and/or a PDCP termination point change.
  • the target operation includes reestablishing or creating a new PDCP entity for the first bearer and/or reestablishing or creating a new RLC entity for the first bearer.
  • the target operation is performed if the first condition is satisfied, the first condition including the master key update and/or the PDCP termination point change.
  • the above method for determining the secondary key can also be applied to scenarios where the LTM candidate cell configuration is not released. Since the LTM candidate cell configuration can be retained by the terminal device to support the terminal device to perform continuous cell handover, the signaling overhead caused by repeatedly providing the LTM candidate cell configuration can be reduced.
  • one or more count values may be carried in a handover command, which is used to instruct the terminal device to switch to the target cell (the target cell may refer to the cell that the terminal device wants to access) during the first handover process.
  • the handover command may be an LTM cell switch command (LTM cell switch command).
  • LTM cell switch command LTM cell switch command
  • the handover command may be carried in a MAC CE, and therefore the handover command may sometimes be referred to as an LTM cell switch MAC CE. It should be understood that since the data volume of the one or more count values is relatively small, when the one or more count values are carried in the handover command during the first handover process, it helps to save signaling overhead.
  • one or more count values may also be carried in the first configuration information (such as LTM configuration information), and the first configuration information includes configuration information of one or more candidate cells, and the configuration information of one or more candidate cells is used for the terminal device to perform the first switching process.
  • the one or more count values may be included in the LTM candidate cell configuration, for example. Since the LTM candidate cell configuration can be retained by the terminal device to support the terminal device to perform continuous cell switching. Therefore, including the one or more count values in the LTM candidate cell configuration can avoid repeated configuration of the one or more count values, thereby saving signaling overhead.
  • the following is a detailed introduction to the carrying method of the count value with reference to examples.
  • the count value is carried in the switch command
  • the handover command may include a count value (e.g., a target count value).
  • the one or more count values include a target count value, the target count value corresponds to the target cell, or the target count value corresponds to the master node to which the target cell belongs.
  • the second master node may send at least one count value to the first master node to determine the secondary key associated with at least one candidate cell.
  • the first master node mentioned here may be, for example, the first master node shown in FIG9.
  • the second master node mentioned here may be a candidate master node (candidate MN, C-MN), that is, at least one candidate cell.
  • the second master node can be, for example, a gNB or an eNB.
  • the second master node sends a first message to the first master node.
  • the first master node is the source master node of the terminal device when performing a first handover process
  • the second master node is the master node to which at least one candidate cell associated with the first handover process belongs
  • the first message includes at least one count value
  • the at least one count value is used to determine a secondary key associated with the at least one candidate cell.
  • the first handover process is an MCG LTM process.
  • each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value; or, the first message includes the count value corresponding to the target cell under the second master node.
  • the first message includes a count value (sk-counter) corresponding to each candidate cell; in this implementation, the count value is configured with the MCG LTM candidate cell as the granularity (each MCG LTM candidate cell corresponds to a count value).
  • the first message contains a count value, that is, all candidate cells under the second master node correspond to the same count value; in this implementation method, the configuration granularity of the count value is each second master node (each C-MN corresponds to a count value).
  • the first master node before the first master node receives the first message sent by the second master node, it also includes: the first master node sends a second message to the second master node, and the second message is used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, and all candidate cells correspond to one count value; the count value of the target cell.
  • the second message includes information of the target cell.
  • the target cell information may be a target cell PCI or a target cell ID.
  • the second message is sent during the LTM preparation phase of the first switching process; or, the second message is sent in response to the terminal device successfully accessing the first master node (i.e., the terminal device successfully accesses the current first master node from other MNs); or, the second message is sent after the first master node determines the target cell and before sending the switching command.
  • the second message is sent after the first master node determines the target cell and before sending the switching command, including: the second message is sent after the CU of the first master node receives the second indication information sent by the DU of the first master node, and the second indication information includes information about the target cell.
  • the method further includes: the CU of the first master node sends at least one count value to the DU of the first master node.
  • the DU of the first master node is one of the following DUs: the current DU of the terminal device; the DU where the target cell is located, wherein the first switching process is used to perform inter-DU switching within the CU; all DUs under the first master node including candidate cells.
  • the CU of the first master node may send at least one count value to the current DU of the terminal device.
  • the CU of the first master node may send at least one count value to the DU where the target cell is located.
  • the CU of the first master node may send at least one count value to all DUs under the first master node that include candidate cells.
  • the handover command is sent if the target cell does not belong to the first master node.
  • the DU of the first master node can determine whether the target cell and the current serving cell belong to the same master node or cell group. If not, the DU of the first master node can include a count value associated with the target cell/the master node to which the target cell belongs in the switching command.
  • the third indication information is sent when the target cell does not belong to the first master node.
  • the count value is carried in the first configuration information
  • one or more count values can be configured in the first configuration information (e.g., LTM Config).
  • LTM Config The configuration granularity of the count value is described in detail below.
  • the count value can be configured at the granularity of a candidate master node or candidate cell group.
  • each candidate master node corresponds to a count value, or each candidate master node corresponds to a set of count values (the set of count values can be, for example, a list of count values); as another example, each candidate cell group corresponds to a count value, or each candidate cell group corresponds to a set of count values.
  • each candidate cell can correspond to a candidate cell group identifier or a candidate master node identifier, and the terminal device can determine the count value based on the master node or cell group to which the target cell belongs.
  • the count value may be configured based on the granularity of the candidate cells. For example, each candidate cell corresponds to a count value; or, for another example, the configuration information of each candidate cell includes a count value.
  • the count value may be configured at the granularity of all candidate cells. For example, all candidate cells correspond to one count value, that is, all candidate cells correspond to the same count value.
  • the first configuration information may include MCG configuration information and/or SCG configuration information. In other implementations, the first configuration information may also include one or more of the following: identifiers of one or more candidate cells; identifiers of cell groups corresponding to one or more candidate cells.
  • the configuration information of the SCG includes one or more of the following: configuration information of the source SCG; configuration information of other SCGs except the configuration information of the source SCG.
  • the terminal device may determine the secondary key based on a target count value from one or more count values.
  • the target count value mentioned herein may satisfy one of the following conditions: corresponding to a target cell from one or more candidate cells; corresponding to a master node to which the target cell belongs; belonging to a first count value set, the first count value set corresponding to the master node to which the target cell belongs (i.e., each master node corresponds to a count value set); belonging to a second count value set, the second count value set corresponding to the target cell (i.e., each candidate cell corresponds to a count value set); included in the configuration information of the target cell; being a count value corresponding to one or more candidate cells, with one count value corresponding to all candidate cells from the one or more candidate cells.
  • the target count value may be determined as follows: selecting a count value corresponding to the target cell from one or more candidate cells; selecting a count value corresponding to the master node to which the target cell belongs; selecting an unused count value from the first count value set corresponding to the master node to which the target cell belongs; selecting an unused count value from the second count value set corresponding to the target cell; applying a count value from the target cell configuration information; applying a count value corresponding to one or more candidate cells, with one count value corresponding to all candidate cells from the one or more candidate cells.
  • the terminal device may send an RRC reconfiguration complete message to the target cell, which includes the target count value. This ensures that the target count values on the terminal device and the network device are consistent, thereby improving the reliability and security of data transmission.
  • the switching command transmitted during the first switching process may include first indication information, and the first indication information is used to indicate one or more of the following: the terminal device needs to update the master key; the terminal device needs to update the secondary key.
  • the first indication information is 1 bit.
  • the 1-bit first indication information can be used to instruct the terminal device to update the primary key (such as K gNB ) and the secondary key (such as SK gNB ); in another implementation, the 1-bit first indication information can also be used to instruct the terminal device to update only the secondary key (such as SK gNB ).
  • the first master node may receive at least one count value sent by the second master node to determine a secondary key associated with at least one candidate cell.
  • the first master node receives a first message sent by the second master node, the second master node being the master node to which at least one candidate cell belongs, the first message including at least one count value, and the at least one count value being used to determine a secondary key associated with the at least one candidate cell.
  • each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value; or, the first message includes the count value corresponding to the target cell under the second master node.
  • the first message includes a count value (sk-counter) corresponding to each candidate cell; in this implementation, the count value is configured with the MCG LTM candidate cell as the granularity (each MCG LTM candidate cell corresponds to a count value).
  • the first message contains a count value, that is, all candidate cells under the second master node correspond to the same count value; in this implementation method, the configuration granularity of the count value is each second master node (each C-MN corresponds to a count value).
  • the first master node before the first master node receives the first message sent by the second master node, it also includes: the first master node sends a second message to the second master node, and the second message is used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, and all candidate cells correspond to one count value; the count value of the target cell.
  • the second message is sent during the LTM preparation phase of the first switching process; or, the second message is sent in response to the terminal device successfully accessing the first master node.
  • the at least one count value may be used to update a secondary key associated with an MCG LTM candidate cell.
  • the secondary key may be a key of a secondary node (SN), a primary secondary cell (PSCell), or a secondary cell group (SCG). It should be understood that the SN/PSCell/SCG may be the source SN/PSCell/SCG or another SN/PSCell/SCG.
  • the configuration granularity of the count value is different, and the way in which the CU of the first master node sends the count value to the DU may be different. For example, if all candidate cells correspond to one count value, the CU of the first master node may send the one count value to the DU of the first master node. For another example, if each candidate master node/candidate cell group corresponds to one count value, the CU of the first master node may send at least one count value and the candidate master node information or primary cell group information corresponding to the at least one count value to the DU of the first master node.
  • each A candidate cell/target cell corresponds to a count value
  • the CU of the first master node may send at least one count value and one or more candidate cell/target cell information (such as cell ID) corresponding to the at least one count value to the DU of the first master node.
  • the second master node after the second master node sends the first message to the first master node, it also includes: the second master node receives a third message sent by the first master node, and the third message includes one of the following: a master key associated with at least one candidate cell; or a master key associated with a target cell in at least one candidate cell.
  • the second master node may determine a secondary key associated with at least one candidate cell based on a primary key associated with at least one candidate cell and at least one count value; and the second master node sends the secondary key associated with at least one candidate cell to the secondary node.
  • the second master node may determine a secondary key associated with the target cell based on a primary key associated with the target cell and a count value corresponding to the target cell; and the second master node may send the secondary key associated with the target cell to the secondary node.
  • the count value corresponding to the target cell may be, for example, one of the at least one count value.
  • each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value.
  • the first master node before the first master node receives the first message sent by the second master node, it also includes: the first master node sends a second message to the second master node, and the second message is used to request the second master node to provide the count value of the candidate cells under the second master node (for example, it can be the count value corresponding to each candidate cell, or the count value corresponding to all cells, and all candidate cells correspond to one count value).
  • one or more count values in the embodiments of the present application can be configured in the candidate cell list or outside the candidate cell list.
  • the count value can be configured outside the candidate cell list, as an example, the count value can be configured in the LTM-config information element, and the specific configuration method is as follows:
  • Figure 11 is a schematic flow chart of a wireless communication method provided by another embodiment of the present application. The method shown in Figure 11 is described from the perspective of a second master node and a secondary node.
  • the second master node mentioned here can be, for example, the second master node shown in Figure 10.
  • the secondary node mentioned here can be either a gNB or an eNB.
  • the secondary node receives one or more secondary keys sent by the second primary node.
  • the one or more secondary keys are associated with at least one candidate cell under the second primary node, or the one or more secondary keys are associated with a target cell under the second primary node.
  • the secondary keys are used by the terminal device to communicate with the secondary node after executing a first handover process.
  • the second primary node is the primary node to which the at least one candidate cell belongs, and the first handover process is an MCG LTM process.
  • the second master node may first send a secondary key corresponding to at least one candidate cell to the secondary node. After the terminal device successfully accesses the second master node or receives an instruction from the secondary node, the second master node may send fourth indication information to the secondary node, where the fourth indication information is used to instruct the secondary node to use a target secondary key from among the secondary keys associated with the at least one candidate cell.
  • the second master node may send fifth indication information to the secondary node after the terminal device successfully accesses the second master node or receives an indication from the secondary node, where the fifth indication information includes a secondary key corresponding to the target cell.
  • Example 1 the counter value (sk-counter) is carried in the switch command (LTM cell switch command).
  • the wireless communication method in this application is described in detail from the perspective of the network side and the terminal device (UE) side.
  • the network side includes a candidate master node (C-MN) and a source master node (S-MN).
  • the wireless communication method on the network side may include the following steps:
  • Step 1.01 The C-MN sends a first message to the S-MN.
  • the first message includes: an sk-counter associated with at least one candidate cell.
  • the C-MN includes four MCG LTM candidate cells, and the first message includes the sk-counter corresponding to each candidate cell.
  • the granularity of sk-counter configuration is for each MCG LTM candidate cell.
  • the first message contains one sk-counter, meaning all candidate cells under the C-MN correspond to the same sk-counter.
  • the sk-counter configuration granularity is per C-MN.
  • the first message includes the sk-counter corresponding to the target cell, and the target cell information is included in the second message.
  • sk-counter is used to update the key of the SN/PSCell/SCG associated with the MCG LTM candidate cell.
  • the associated SN/PSCell/SCG can be the source SN/PSCell/SCG or other SN/PSCell/SCG.
  • step 1.02 based on step 1.01, the C-MN receives a second message from the S-MN before sending the first message to the S-MN.
  • the second message is used to request the C-MN to provide sk-counter configuration; optionally, the second message also includes target cell information, such as the target cell PCI/target cell ID.
  • Step 1.03 Based on step 1.02, the time period during which the S-MN sends the second message to the C-MN includes:
  • the S-MN-DU determines the target cell based on the L1 measurement results reported by the UE and sends a second indication message to the S-MN-CU.
  • the second indication message includes target cell information, such as the target cell ID.
  • the S-MN-CU After receiving the second indication message, the S-MN-CU sends a second message to the C-MN corresponding to the target cell.
  • the S-MN-DU determines whether the target cell and the current serving cell belong to the same MN/cell group. If not, the S-MN-DU sends the second indication message to the S-MN-CU.
  • Step 1.04 Based on step 1.01, after receiving the first message, the S-MN-CU sends the sk-counter or sk-counter + candidate/target cell ID or sk-counter + candidate cell group information (corresponding to the three different configuration granularities in step 1.01) to the S-MN-DU:
  • the S-MN-CU sends the sk-counter configuration to the currently served DU; optionally, when intra-CU inter-DU LTM occurs in the UE, the S-MN-CU sends the sk-counter configuration to the target DU.
  • the S-MN-CU sends the sk-counter configuration to all DUs configured with LTM candidate cells under the S-MN.
  • step 1.05 based on step 1.04, the S-MN-DU determines whether the target cell and the current serving cell belong to the same MN/cell group. If not, the S-MN-DU includes the sk-counter associated with the target cell/MN to which the target cell belongs in the LTM cell switch MAC CE.
  • Step 1.06 Based on step 1.01, the S-MN-DU sends a third indication message to the S-MN-CU.
  • the third indication message includes at least the candidate cell ID corresponding to the target cell.
  • the S-MN-CU determines whether to update the sk-counter/the sk-counter associated with the target cell and sends feedback to the S-MN-DU.
  • the S-MN-DU determines whether the target cell and the current serving cell belong to the same MN/cell group. If not, the S-MN-DU sends the third indication message to the S-MN-CU. If the feedback message includes the sk-counter, the S-MN-DU includes the sk-counter associated with the target cell/the MN to which the target cell belongs in the LTM cell switch MAC CE.
  • Example 1 the wireless communication method on the UE side may include the following steps:
  • step 1.11 the UE receives the LTM cell switch MAC CE. If the LTM cell switch MAC CE contains the sk-counter, the UE's actions include:
  • PDCP SDU discard is executed. Further, PDCP SDU discard is executed based on network instructions. Further, SRB is SRB1/SRB2.
  • Example 2 the counter value (sk-counter) is carried in the LTM configuration information.
  • the wireless communication method in this application is described in detail on the network side and the terminal device (UE) side.
  • the network side includes a candidate master node (C-MN) and a source master node (S-MN).
  • the wireless communication method on the network side may include the following steps:
  • Step 2.01 The S-MN sends an LTM configuration to the UE.
  • the LTM configuration includes at least:
  • each candidate cell group is associated with a sk-counter or sk-counter list
  • Each candidate cell is associated with a sk-counter.
  • the sk-counter is included in the configuration of each candidate cell.
  • the sk-counter is configured outside the candidate cell list.
  • the LTM configuration information may be an LTM-config information element, which may include the following:
  • Step 2.02 Before sending the LTM configuration to the UE, the S-MN receives a first message sent by the C-MN, where the first message includes: an sk-counter associated with at least one candidate cell.
  • a C-MN includes four LTM candidate cells, and the first message includes the sk-counter corresponding to each candidate cell. It can be understood that the configuration granularity of sk-counter is per LTM candidate cell.
  • a C-MN includes four LTM candidate cells, and the first message contains a sk-counter, that is, all candidate cells under the C-MN correspond to the same sk-counter; it can be understood that the configuration granularity of the sk-counter is per C-MN.
  • step 2.03 based on step 2.02, the C-MN receives a second message from the S-MN before sending the first message to the S-MN.
  • the second message is used to request the C-MN to provide sk-counter configuration.
  • the time period during which the S-MN sends the second message to the C-MN includes: the LTM preparation phase.
  • Example 2 the wireless communication method on the UE side may include the following steps:
  • the UE determines the target cell by receiving the LTM cell switch MAC CE or evaluating the execution conditions of the candidate cells. If the LTM cell switch MAC CE contains key update information, or the target cell belongs to a different MN/cell group than the current serving cell, the UE's actions include:
  • a) Generate the target cell's KgNB , determine the sk-counter, and update the sk- gNB based on the target cell's KgNB and sk-counter. Alternatively, determine the sk-counter and update the sk- gNB based on the current KgNB and sk-counter.
  • the method of determining the sk-counter includes one or more of the following:
  • SRB For SRB, execute PDCP SDU discard. Further, execute PDCP SDU discard based on network indication. Further, SRB is SRB1/SRB2.
  • step 2.12 the UE sends an RRC reconfiguration complete message to the target cell.
  • the RRC reconfiguration complete message includes the sk-counter used.
  • Step 2.13 LTM cell switch MAC CE contains key update information.
  • the LTM cell switch MAC CE includes first indication information.
  • the first indication information can be 1 bit. When the indication information is 1, it indicates that the UE needs to perform a key update.
  • the 1-bit indication information is used to instruct the UE to update the K gNB and SK gNB . In another implementation, the 1-bit indication information is used to instruct the UE to update the SK gNB .
  • the MN may include, for example, a C-MN, a T-MN, etc. Specifically, the following steps may be included:
  • the C-MN receives a third message sent by the S-MN.
  • the third message includes key information of at least one candidate cell/target cell.
  • the key information includes at least KNG-RAN* (the key derived by the S-MN).
  • the C-MN generates KSN based on the KNG-RAN* and sk-counter of the candidate cell and sends it to the SN.
  • the C-MN after the UE successfully accesses or receives an indication from the S-MN, the C-MN sends fourth indication information to the SN, where the fourth indication information at least includes the K SN corresponding to the target cell.
  • the C-MN sends a KSN corresponding to at least one candidate cell to the SN, and after the UE successfully accesses or after the S-MN instructs, sends fourth indication information to the SN, where the fourth indication information is used to instruct the SN which KSN to use.
  • a candidate cell configuration may be used for a UE to execute MCG LTM.
  • the candidate cell configuration includes an MCG configuration and, optionally, an SCG configuration.
  • the SCG configuration may be a source PSCell/SCG configuration (e.g., applicable to an inter-CU MCG LTM with SCG unchanged scenario) or another PSCell/SCG configuration (e.g., applicable to an inter-CU MCG LTM with SCG change scenario).
  • the network in order to avoid the complexity caused by the need to simultaneously update the MN key and the SN key when executing inter-CU MCG LTM with SCG unchanged, the network can be restricted from including the SN terminated bearer configuration in the current configuration and/or LTM candidate cell configuration.
  • FIG12 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • the communication device 1200 shown in FIG12 may be a terminal device, and the communication device 1200 may include a receiving unit 1210.
  • the receiving unit 1210 is configured to receive one or more count values sent by a first master node; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first handover process, the secondary key being used for communication between the terminal device and the secondary node, and the first handover process being an MCG LTM process.
  • the one or more count values are carried in a handover command, and the handover command is used to instruct the terminal device to switch to the target cell during the first handover process.
  • the one or more count values are carried in first configuration information, and the first configuration information includes configuration information of one or more candidate cells, and the configuration information of the one or more candidate cells is used by the terminal device to perform the first switching process.
  • each of the one or more candidate master nodes corresponds to a count value; or each of the one or more candidate master nodes corresponds to a set of count values; or each of the one or more candidate cells corresponds to a count value; or the configuration information of each of the one or more candidate cells includes a count value; or all of the one or more candidate cells correspond to a count value; wherein, the one or more candidate cells belong to the one or more candidate master nodes.
  • the configuration information of the one or more candidate cells includes one or more of the following: configuration information of MCG; configuration information of secondary cell group SCG.
  • the configuration information of the SCG includes one or more of the following: configuration information of the source SCG; configuration information of other SCGs except the configuration information of the source SCG.
  • the secondary key is determined by the terminal device based on a target count value among the one or more count values, and the target count value satisfies one of the following conditions: corresponds to a target cell among the one or more candidate cells; corresponds to a master node to which the target cell belongs; belongs to a first count value set, and the first count value set corresponds to the master node to which the target cell belongs; belongs to a second count value set, and the second count value set corresponds to the target cell; is included in the configuration information of the target cell; corresponds to all candidate cells among the one or more candidate cells.
  • the communication device further includes: a sending unit, configured to send an RRC reconfiguration complete message to the target cell, wherein the RRC reconfiguration complete message includes the target count value.
  • a sending unit configured to send an RRC reconfiguration complete message to the target cell, wherein the RRC reconfiguration complete message includes the target count value.
  • the switching command transmitted during the first switching process includes first indication information, and the first indication information is used to indicate one or more of the following: the terminal device needs to update the master key; the terminal device needs to update the secondary key.
  • the first configuration information further includes one or more of the following: identifiers of the one or more candidate cells; identifiers of cell groups corresponding to the one or more candidate cells.
  • the communication device further includes: a determination unit, configured to determine the secondary key based on the master key and the target count value after the terminal device receives one or more count values sent by the first master node, wherein the target count value is a count value among the one or more count values.
  • a determination unit configured to determine the secondary key based on the master key and the target count value after the terminal device receives one or more count values sent by the first master node, wherein the target count value is a count value among the one or more count values.
  • the communication device further includes: a generating unit, configured to generate the master key before the terminal device determines the secondary key according to the master key and the target count value.
  • a generating unit configured to generate the master key before the terminal device determines the secondary key according to the master key and the target count value.
  • the communication device after the terminal device receives one or more count values sent by the first master node, the communication device also includes: the terminal device performs a target operation, and the target operation includes one or more of the following: for the first bearer, rebuilding or creating a packet data convergence protocol PDCP entity; for the first bearer, rebuilding or creating a radio link control RLC entity; for the second bearer, rebuilding or creating a PDCP entity; for the second bearer, rebuilding or creating a RLC entity; deleting the PDCP entity corresponding to the third bearer; deleting the RLC entity corresponding to the third bearer; for the signaling radio bearer, discarding the PDCP service data unit SDU; wherein, the first bearer is a bearer using a primary key, and the second bearer is a bearer using a secondary key; wherein, the configuration information of the third bearer is included in the configuration information of the source cell, and the configuration information of the third bearer is not included in the configuration information of the target cell.
  • the target operation
  • the target operation is performed when a first condition is met, where the first condition includes that a master key needs to be updated and/or a PDCP endpoint changes.
  • the first switching process is used to: perform cell switching within a centralized unit CU; or perform cell switching between CUs.
  • the SCG of the terminal device satisfies one of the following: remains unchanged; is replaced with an SCG other than the current SCG; or, an SCG other than the current SCG is added.
  • the receiving unit 1210 may be the processor 1610.
  • the communication device 1200 may further include a transceiver 1620 and a memory 1630, as specifically shown in FIG16 .
  • FIG13 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • the communication device 1300 shown in FIG13 may be a first master node, and the communication device 1300 may include a first sending unit 1310.
  • the first sending unit 1310 is configured to send one or more count values to a terminal device; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first handover process, the secondary key being used for communication between the terminal device and the secondary node, and the first handover process being an MCG LTM process.
  • the one or more count values are carried in a handover command, and the handover command is used to instruct the terminal device to switch to the target cell during the first handover process.
  • the communication device also includes: a first receiving unit, used to receive a first message sent by a second master node, the second master node is the master node to which at least one candidate cell belongs, the first message includes at least one count value, and the at least one count value is used to determine the secondary key associated with the at least one candidate cell.
  • a first receiving unit used to receive a first message sent by a second master node
  • the second master node is the master node to which at least one candidate cell belongs
  • the first message includes at least one count value
  • the at least one count value is used to determine the secondary key associated with the at least one candidate cell.
  • each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value; or, the first message includes a count value corresponding to the target cell under the second master node.
  • the communication device also includes: a second sending unit, used to send a second message to the second master node before the first master node receives the first message sent by the second master node, the second message being used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, each candidate cell corresponding to one count value; the count value of the target cell.
  • a second sending unit used to send a second message to the second master node before the first master node receives the first message sent by the second master node, the second message being used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, each candidate cell corresponding to one count value; the count value of the target cell.
  • the second message includes information of the target cell.
  • the second message is sent during the LTM preparation phase of the first switching process; or, the second message is sent in response to the terminal device successfully accessing the first master node; or, the second message is sent after the first master node determines the target cell and before sending the switching command.
  • the second message is sent after the first master node determines the target cell and before sending the switching command, including: the second message is sent after the centralized unit CU of the first master node receives the second indication information sent by the distributed unit DU of the first master node, and the second indication information contains the information of the target cell.
  • the communication device further includes: a third sending unit, configured to send the at least one count value to the DU of the first master node using the CU after the first master node receives the first message sent by the second master node.
  • a third sending unit configured to send the at least one count value to the DU of the first master node using the CU after the first master node receives the first message sent by the second master node.
  • the DU of the first master node is one of the following DUs: the current DU of the terminal device; the DU where the target cell is located, wherein the first switching process is used to perform inter-DU switching within the CU; the candidate cell under the first master node All DU.
  • the handover command is sent when the target cell does not belong to the first master node.
  • the communication device also includes: a fourth sending unit, used to use the DU to send third indication information to the CU of the first master node, the third indication information including information of the target cell; the DU of the first master node receives feedback information sent by the CU of the first master node for the third indication information, and the feedback information includes one of the following: the count value corresponding to the target cell; the count value corresponding to the master node to which the target cell belongs.
  • the third indication information is sent when the target cell does not belong to the first master node.
  • the one or more count values are carried in first configuration information, and the first configuration information includes configuration information of one or more candidate cells, and the configuration information of the one or more candidate cells is used by the terminal device to perform the first switching process.
  • each of the one or more candidate master nodes corresponds to a count value; or each of the one or more candidate master nodes corresponds to a set of count values; or each of the one or more candidate cells corresponds to a count value; or the configuration information of each of the one or more candidate cells includes a count value; or all of the one or more candidate cells correspond to a count value; wherein, the one or more candidate cells belong to the one or more candidate master nodes.
  • the configuration information of the one or more candidate cells includes one or more of the following: configuration information of MCG; configuration information of secondary cell group SCG.
  • the configuration information of the SCG includes one or more of the following: configuration information of the source SCG; configuration information of other SCGs except the configuration information of the source SCG.
  • the switching command transmitted during the first switching process includes first indication information, and the first indication information is used to indicate one or more of the following: the terminal device needs to update the master key; the terminal device needs to update the secondary key.
  • the first configuration information further includes one or more of the following: identifiers of the one or more candidate cells; identifiers of cell groups corresponding to the one or more candidate cells.
  • the communication device also includes: a second receiving unit, used to receive a first message sent by a second master node, the second master node is the master node to which at least one candidate cell belongs, the first message includes at least one count value, and the at least one count value is used to determine the secondary key associated with the at least one candidate cell.
  • a second receiving unit used to receive a first message sent by a second master node, the second master node is the master node to which at least one candidate cell belongs, the first message includes at least one count value, and the at least one count value is used to determine the secondary key associated with the at least one candidate cell.
  • each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value.
  • the communication device also includes: a fifth sending unit, used to send a second message to the second master node before the first master node receives the first message sent by the second master node, and the second message is used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, and all candidate cells correspond to one count value; the count value of the target cell.
  • a fifth sending unit used to send a second message to the second master node before the first master node receives the first message sent by the second master node
  • the second message is used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, and all candidate cells correspond to one count value; the count value of the target cell.
  • the second message is sent during the LTM preparation phase of the first switching process; or, the second message is sent in response to the terminal device successfully accessing the first master node.
  • the first switching process is used to: perform cell switching within a CU; or perform cell switching between CUs.
  • the SCG of the terminal device satisfies one of the following: remains unchanged; is replaced with an SCG other than the current SCG; or, an SCG other than the current SCG is added.
  • the first sending unit 1310 may be the processor 1610.
  • the communication device 1300 may further include a transceiver 1620 and a memory 1630, as specifically shown in FIG16 .
  • Figure 14 is a structural diagram of a communication device provided in an embodiment of the present application.
  • the communication device 1400 shown in Figure 14 can be a second master node, and the communication device 1400 can include a first sending unit 1410.
  • the first sending unit 1410 is used to send a first message to the first master node, the first master node is the source master node of the terminal device when performing the first switching process, the second master node is the master node to which at least one candidate cell associated with the first switching process belongs, the first message includes at least one count value, the at least one count value is used to determine the secondary key associated with the at least one candidate cell, the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.
  • each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value; or, the first message includes a count value corresponding to the target cell under the second master node.
  • the communication device also includes: a first receiving unit, used to receive a second message sent by the first master node before the second master node sends the first message to the first master node, the second message being used to request the second master node to provide one or more of the following: a count value of each candidate cell under the second master node; a count value of all candidate cells under the second master node, wherein all candidate cells correspond to one count value; and a count value of the target cell.
  • a first receiving unit used to receive a second message sent by the first master node before the second master node sends the first message to the first master node, the second message being used to request the second master node to provide one or more of the following: a count value of each candidate cell under the second master node; a count value of all candidate cells under the second master node, wherein all candidate cells correspond to one count value; and a count value of the target cell.
  • the second message includes information of the target cell.
  • the second message is sent during the LTM preparation phase of the first switching process; or the second message is sent in response to The terminal device successfully accesses the first master node and sends the second message; or, the first master node sends the second message after determining the target cell and before sending the switching command.
  • the communication device also includes: a second receiving unit, used to receive a third message sent by the first master node after the second master node sends the first message to the first master node, and the third message includes one of the following: a master key associated with the at least one candidate cell; or a master key associated with the target cell in the at least one candidate cell.
  • a second receiving unit used to receive a third message sent by the first master node after the second master node sends the first message to the first master node, and the third message includes one of the following: a master key associated with the at least one candidate cell; or a master key associated with the target cell in the at least one candidate cell.
  • the communication device further includes: a first determination unit, configured to determine a secondary key associated with the at least one candidate cell based on a primary key associated with the at least one candidate cell; and the second primary node sends the secondary key associated with the at least one candidate cell to the secondary node.
  • a first determination unit configured to determine a secondary key associated with the at least one candidate cell based on a primary key associated with the at least one candidate cell
  • the second primary node sends the secondary key associated with the at least one candidate cell to the secondary node.
  • the communication device further includes: a second sending unit, configured to send fourth indication information to the secondary node, wherein the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell.
  • a second sending unit configured to send fourth indication information to the secondary node, wherein the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell.
  • the communication device also includes: a second determination unit, used to determine the secondary key associated with the target cell based on the primary key associated with the target cell and the count value corresponding to the target cell; and a third sending unit, used to send the secondary key associated with the target cell to the secondary node.
  • a second determination unit used to determine the secondary key associated with the target cell based on the primary key associated with the target cell and the count value corresponding to the target cell
  • a third sending unit used to send the secondary key associated with the target cell to the secondary node.
  • the first switching process is used to perform cell switching between centralized units CU.
  • the secondary cell group SCG of the terminal device satisfies one of the following: remains unchanged; is replaced with an SCG other than the current SCG; or, an SCG other than the current SCG is added.
  • the first sending unit 1410 may be a processor 1610.
  • the communication device 1400 may further include a transceiver 1620 and a memory 1630, as specifically shown in FIG16 .
  • Figure 15 is a structural diagram of a communication device provided in an embodiment of the present application.
  • the communication device 1500 shown in Figure 15 can be a secondary node, and the communication device 1500 can include a first receiving unit 1510.
  • the first receiving unit 1510 is used to receive one or more secondary keys sent by the second master node, and the one or more secondary keys are associated with at least one candidate cell under the second master node, or the one or more secondary keys are associated with the target cell under the second master node, and the secondary key is used for the terminal device to communicate with the secondary node after executing the first switching process, the second master node is the master node to which the at least one candidate cell belongs, and the first switching process is an MCG LTM process.
  • the communication device further includes: a second receiving unit, configured to receive fourth indication information sent by the second master node, wherein the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell.
  • a second receiving unit configured to receive fourth indication information sent by the second master node, wherein the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell.
  • the first switching process is used to perform cell switching between centralized units CU.
  • the secondary cell group SCG of the terminal device satisfies one of the following: remains unchanged; is replaced with an SCG other than the current SCG; or, an SCG other than the current SCG is added.
  • the first receiving unit 1510 may be a processor 1610.
  • the communication device 1500 may further include a transceiver 1620 and a memory 1630, as specifically shown in FIG16 .
  • Figure 16 is a schematic block diagram of a communication device according to an embodiment of the present application.
  • the dashed lines in Figure 16 indicate that the unit or module is optional.
  • Device 1600 may be used to implement the method described in the above method embodiment.
  • Device 1600 may be a chip, a terminal device, or a network device.
  • the device 1600 may include one or more processors 1610.
  • the processor 1610 may support the device 1600 to implement the method described in the above method embodiment.
  • the processor 1610 may be a general-purpose processor or a special-purpose processor.
  • the processor may be a central processing unit (CPU).
  • the processor may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the apparatus 1600 may further include one or more memories 1620.
  • the memories 1620 store programs that can be executed by the processor 1610, causing the processor 1610 to perform the methods described in the above method embodiments.
  • the memories 1620 may be independent of the processor 1610 or integrated into the processor 1610.
  • the apparatus 1600 may further include a transceiver 1630.
  • the processor 1610 may communicate with other devices or chips via the transceiver 1630.
  • the processor 1610 may transmit and receive data with other devices or chips via the transceiver 1630.
  • the present application also provides a computer-readable storage medium for storing a program.
  • the computer-readable storage medium can be applied to a terminal device or network device provided in the present application, and the program enables a computer to execute the method performed by the terminal device or network device in each embodiment of the present application.
  • the present application also provides a computer program product.
  • the computer program product includes a program.
  • the computer program product can be applied to a terminal device or network device provided in the present application, and the program causes a computer to execute the method performed by the terminal device or network device in each embodiment of the present application.
  • the present application also provides a computer program.
  • the computer program can be applied to the terminal device or network device provided in the present application, and the computer program enables the computer to execute the methods performed by the terminal device or network device in each embodiment of the present application. Law.
  • the term "indication” may refer to a direct indication, an indirect indication, or an indication of an association.
  • “A indicates B” may refer to a direct indication of B, e.g., B can obtain information through A; it may refer to an indirect indication of B, e.g., A indicates C, e.g., B can obtain information through C; or it may refer to an association between A and B.
  • B corresponding to A means that B is associated with A and B can be determined based on A.
  • determining B based on A does not mean determining B based solely on A, but B can also be determined based on A and/or other information.
  • the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and indication, configuration and configuration, etc.
  • the term “include” can refer to direct inclusion or indirect inclusion.
  • the term “include” in the embodiments of this application can be replaced with “indicates” or “is used to determine.”
  • “A includes B” can be replaced with “A indicates B” or "A is used to determine B.”
  • pre-definition or “pre-configuration” may be implemented by pre-storing corresponding codes, tables, or other methods that can be used to indicate relevant information in a device (e.g., a terminal device and a network device).
  • a device e.g., a terminal device and a network device.
  • pre-definition may refer to information defined in a protocol.
  • the “protocol” may refer to a standard protocol in the communications field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not limit this.
  • the term "and/or” is simply a description of the association relationship between related objects, indicating that three relationships can exist.
  • a and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
  • the character "/" in this document generally indicates that the related objects are in an "or” relationship.
  • the size of the serial numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are merely schematic.
  • the division of the units is merely a logical function division.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof.
  • all or part of the embodiments can be implemented in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium can be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated.
  • the available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

Landscapes

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

Abstract

Provided are a wireless communication method and a communication device. The method comprises: a terminal device receives one or more count values sent by a first master node, wherein the one or more count values are used for determining a secondary key when the terminal device performs a first handover procedure, the secondary key is used for communication between the terminal device and a secondary node, and the first handover procedure is an MCG LTM procedure.

Description

无线通信方法和通信设备Wireless communication method and communication device 技术领域Technical Field

本申请涉及通信技术领域,并且更为具体地,涉及一种无线通信方法和通信设备。The present application relates to the field of communication technology, and more particularly, to a wireless communication method and a communication device.

背景技术Background Art

在双连接(dual connection,DC)场景下,某些通信系统(如新无线(new radio,NR)系统)支持主小区组的层1/层2触发的移动性(master cell group L1/L2 triggered mobility,MCG LTM),如何更好地支持MCG LTM过程是需要解决的问题。In the dual connection (DC) scenario, some communication systems, such as the new radio (NR) system, support master cell group L1/L2 triggered mobility (MCG LTM). How to better support the MCG LTM process is an issue that needs to be addressed.

发明内容Summary of the Invention

本申请提供一种无线通信方法和通信设备。下面对本申请涉及的各个方面进行介绍。The present application provides a wireless communication method and a communication device. The following introduces various aspects involved in the present application.

第一方面,提供了一种无线通信方法,包括:终端设备接收第一主节点发送的一个或多个计数值;In a first aspect, a wireless communication method is provided, comprising: a terminal device receiving one or more count values sent by a first master node;

其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。The one or more count values are used to determine the auxiliary key when the terminal device performs the first switching process, the auxiliary key is used for the terminal device to communicate with the auxiliary node, and the first switching process is the MCG LTM process.

第二方面,提供了一种无线通信方法,包括:第一主节点向终端设备发送一个或多个计数值;其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。In a second aspect, a wireless communication method is provided, comprising: a first master node sends one or more count values to a terminal device; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first switching process, the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.

第三方面,提供了一种无线通信方法,包括:第二主节点向第一主节点发送第一消息,所述第一主节点为终端设备在执行第一切换过程时的源主节点,所述第二主节点为所述第一切换过程关联的至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。In a third aspect, a wireless communication method is provided, comprising: a second master node sends a first message to a first master node, the first master node is a source master node of a terminal device when performing a first switching process, the second master node is a master node to which at least one candidate cell associated with the first switching process belongs, the first message includes at least one count value, the at least one count value is used to determine a secondary key associated with the at least one candidate cell, the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.

第四方面,提供了一种无线通信方法,包括:辅节点接收第二主节点发送的一个或多个辅密钥,所述一个或多个辅密钥与所述第二主节点下的至少一个候选小区关联,或者,所述一个或多个辅密钥与所述第二主节点下的目标小区关联,所述辅密钥用于终端设备在执行第一切换过程之后与所述辅节点进行通信,所述第二主节点为所述至少一个候选小区所属的主节点,所述第一切换过程为MCG LTM过程。In a fourth aspect, a wireless communication method is provided, comprising: a secondary node receiving one or more secondary keys sent by a second primary node, the one or more secondary keys being associated with at least one candidate cell under the second primary node, or the one or more secondary keys being associated with a target cell under the second primary node, the secondary key being used by a terminal device to communicate with the secondary node after executing a first switching process, the second primary node being the primary node to which the at least one candidate cell belongs, and the first switching process being an MCG LTM process.

第五方面,提供了一种通信设备,所述通信设备为终端设备,所述通信设备包括:接收单元,用于接收第一主节点发送的一个或多个计数值;其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。In a fifth aspect, a communication device is provided, which is a terminal device, and the communication device includes: a receiving unit for receiving one or more count values sent by a first master node; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first switching process, and the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.

第六方面,提供了一种通信设备,所述通信设备为第一主节点,所述通信设备包括:第一发送单元,用于向终端设备发送一个或多个计数值;其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。In the sixth aspect, a communication device is provided, which is a first master node, and the communication device includes: a first sending unit, used to send one or more count values to a terminal device; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first switching process, and the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.

第七方面,提供了一种通信设备,所述通信设备为第二主节点,所述通信设备包括:第一发送单元,用于向第一主节点发送第一消息,所述第一主节点为终端设备在执行第一切换过程时的源主节点,所述第二主节点为所述第一切换过程关联的至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。In the seventh aspect, a communication device is provided, which is a second master node, and the communication device includes: a first sending unit, used to send a first message to the first master node, the first master node is the source master node of the terminal device when performing a first switching process, the second master node is the master node to which at least one candidate cell associated with the first switching process belongs, the first message includes at least one count value, the at least one count value is used to determine the secondary key associated with the at least one candidate cell, the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.

第八方面,提供了一种通信设备,所述通信设备为辅节点,所述通信设备包括:第一接收单元,用于接收第二主节点发送的一个或多个辅密钥,所述一个或多个辅密钥与所述第二主节点下的至少一个候选小区关联,或者,所述一个或多个辅密钥与所述第二主节点下的目标小区关联,所述辅密钥用于终端设备在执行第一切换过程之后与所述辅节点进行通信,所述第二主节点为所述至少一个候选小区所属的主节点,所述第一切换过程为MCG LTM过程。In the eighth aspect, a communication device is provided, which is a secondary node, and the communication device includes: a first receiving unit, used to receive one or more secondary keys sent by a second main node, the one or more secondary keys are associated with at least one candidate cell under the second main node, or the one or more secondary keys are associated with a target cell under the second main node, the secondary key is used by the terminal device to communicate with the secondary node after executing a first switching process, the second main node is the main node to which the at least one candidate cell belongs, and the first switching process is an MCG LTM process.

第九方面,提供了一种通信设备,包括处理器、存储器以及通信接口,所述存储器用于存储一个或多个计算机程序,所述处理器用于调用所述存储器中的计算机程序使得所述通信设备执行上述各个方面的方法中所描述的部分或全部步骤。In the ninth aspect, a communication device is provided, comprising a processor, a memory, and a communication interface, wherein the memory is used to store one or more computer programs, and the processor is used to call the computer program in the memory so that the communication device executes some or all of the steps described in the methods of the above aspects.

第十方面,本申请实施例提供了一种通信系统,该系统包括上述的通信设备。在另一种可能的设计 中,该系统还可以包括本申请实施例提供的方案中与该通信设备进行交互的其他设备。In a tenth aspect, an embodiment of the present application provides a communication system, which includes the above-mentioned communication device. In another possible design In the embodiment, the system may also include other devices that interact with the communication device in the solution provided in the embodiment of the present application.

第十一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得计算机执行上述各个方面的方法中的部分或全部步骤。In the eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute part or all of the steps in the methods of the above aspects.

第十二方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行上述各个方面的方法中的部分或全部步骤。在一些实现方式中,该计算机程序产品可以为一个软件安装包。In a twelfth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to perform some or all of the steps of the methods described in each of the above aspects. In some implementations, the computer program product may be a software installation package.

第十三方面,本申请实施例提供了一种芯片,该芯片包括存储器和处理器,处理器可以从存储器中调用并运行计算机程序,以实现上述各个方面的方法中所描述的部分或全部步骤。In the thirteenth aspect, an embodiment of the present application provides a chip, which includes a memory and a processor. The processor can call and run a computer program from the memory to implement some or all of the steps described in the methods of the above aspects.

本申请实施例中,当终端设备执行MCG LTM过程时,可以根据第一主节点发送的一个或多个计数值确定辅密钥,从而能够节省信令开销。In an embodiment of the present application, when the terminal device executes the MCG LTM process, the auxiliary key can be determined based on one or more count values sent by the first master node, thereby saving signaling overhead.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是可应用本申请实施例的无线通信系统的系统架构的示例图。FIG1 is an exemplary diagram of a system architecture of a wireless communication system to which an embodiment of the present application may be applied.

图2是LTM过程示意图。Figure 2 is a schematic diagram of the LTM process.

图3是Xn切换过程中的密钥推演的示意图。FIG3 is a schematic diagram of key deduction during the Xn switching process.

图4是Xn切换过程中的密钥更新的示意图。FIG4 is a schematic diagram of key update during the Xn switching process.

图5是双连接场景下控制面的组网方式的示意图。FIG5 is a schematic diagram of a control plane networking method in a dual-connection scenario.

图6是双连接场景下网络设备侧的用户面协议栈的示意图。FIG6 is a schematic diagram of a user plane protocol stack on a network device side in a dual-connectivity scenario.

图7是双连接场景下终端设备侧的用户面协议栈的示意图。FIG7 is a schematic diagram of the user plane protocol stack on the terminal device side in a dual-connection scenario.

图8是辅节点添加/修改过程中的安全机制的实现过程的示意图。FIG8 is a schematic diagram of the implementation process of the security mechanism during the secondary node addition/modification process.

图9是本申请一实施例提供的无线通信方法的流程示意图。FIG9 is a flow chart of a wireless communication method provided in an embodiment of the present application.

图10是本申请另一实施例提供的无线通信方法的流程示意图。FIG10 is a flow chart of a wireless communication method provided in another embodiment of the present application.

图11是本申请又一实施例提供的无线通信方法的流程示意图。FIG11 is a flowchart of a wireless communication method provided in another embodiment of the present application.

图12是本申请一实施例提供的通信设备的结构示意图。FIG12 is a schematic structural diagram of a communication device provided in an embodiment of the present application.

图13是本申请另一实施例提供的通信设备的结构示意图。FIG13 is a schematic structural diagram of a communication device provided in another embodiment of the present application.

图14是本申请又一实施例提供的通信设备的结构示意图。FIG14 is a schematic structural diagram of a communication device provided in yet another embodiment of the present application.

图15是本申请又一实施例提供的通信设备的结构示意图。FIG15 is a schematic structural diagram of a communication device provided in yet another embodiment of the present application.

图16是本申请实施例提供的通信装置的示意性结构图。FIG16 is a schematic structural diagram of a communication device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

通信系统架构Communication system architecture

图1是可应用本申请实施例的无线通信系统100的系统架构示例图。该无线通信系统100可以包括网络设备110和终端设备120。网络设备110可以是与终端设备120通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备120进行通信。FIG1 is a diagram illustrating an exemplary system architecture of a wireless communication system 100 to which embodiments of the present application may be applied. The wireless communication system 100 may include a network device 110 and a terminal device 120. The network device 110 may be a device that communicates with the terminal device 120. The network device 110 may provide communication coverage for a specific geographic area and may communicate with the terminal device 120 within the coverage area.

图1示例性地示出了一个网络设备和两个终端设备,可选地,该无线通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。FIG1 exemplarily shows a network device and two terminal devices. Optionally, the wireless communication system 100 may include multiple network devices and each network device may include another number of terminal devices within its coverage area, which is not limited in this embodiment of the present application.

可选地,该无线通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。Optionally, the wireless communication system 100 may further include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiment of the present application.

应理解,本申请实施例的技术方案可以应用于各种通信系统,例如:第五代(5th generation,5G)系统或NR、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)等。本申请提供的技术方案还可以应用于未来的通信系统,如第六代移动通信系统,又如卫星通信系统,等等。It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, such as the fifth generation (5G) system or NR, the long term evolution (LTE) system, the LTE frequency division duplex (FDD) system, and the LTE time division duplex (TDD) system. The technical solutions provided in this application can also be applied to future communication systems, such as the sixth generation mobile communication system and satellite communication systems.

本申请实施例中的终端设备也可以称为用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台(mobile station,MS)、移动终端(mobile terminal,MT)、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本申请实施例中的终端设备可以是指向用户提供语音和/或数据连通性的设备,可以用于连接人、物和机,例如具有无线连接功能的手持式设备、车载设备等。本申请的实施例中的终端设备可以是手机(mobile phone)、平板电脑(Pad)、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。可选地,UE可以用于充当基站。例如,UE 可以充当调度实体,其在V2X或D2D等中的UE之间提供侧行链路信号。比如,蜂窝电话和汽车利用侧行链路信号彼此通信。蜂窝电话和智能家居设备之间通信,而无需通过基站中继通信信号。The terminal device in the embodiments of the present application may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), mobile terminal (MT), remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiments of the present application may refer to a device that provides voice and/or data connectivity to a user and can be used to connect people, objects and machines, such as a handheld device with wireless connection function, a vehicle-mounted device, etc. The terminal device in the embodiment of the present application can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. Optionally, the UE can be used to act as a base station. For example, the UE It can act as a scheduling entity that provides sidelink signals between UEs in V2X or D2D, etc. For example, a cell phone and a car can communicate with each other using sidelink signals. Cell phones and smart home devices can also communicate with each other without relaying the communication signals through a base station.

本申请实施例中的网络设备可以是用于与终端设备通信的设备,该网络设备也可以称为接入网设备或无线接入网设备,如网络设备可以是基站。本申请实施例中的网络设备可以是指将终端设备接入到无线网络的无线接入网(radio access network,RAN)节点(或设备)。基站可以广义的覆盖如下中的各种名称,或与如下名称进行替换,比如:节点B(NodeB)、演进型基站(evolved NodeB,eNB)、下一代基站(next generation NodeB,gNB)、中继站、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、主站MeNB、辅站SeNB、多制式无线(MSR)节点、家庭基站、网络控制器、接入节点、无线节点、接入点(access point,AP)、传输节点、收发节点、基带单元(base band unit,BBU)、射频拉远单元(Remote Radio Unit,RRU)、有源天线单元(active antenna unit,AAU)、射频头(remote radio head,RRH)、集中单元(central unit,CU)、分布单元(distributed unit,DU)、定位节点等。基站可以是宏基站、微基站、中继节点、施主节点或类似物,或其组合。基站还可以指用于设置于前述设备或装置内的通信模块、调制解调器或芯片。基站还可以是移动交换中心以及设备到设备D2D、车辆外联(vehicle-to-everything,V2X)、机器到机器(machine-to-machine,M2M)通信中承担基站功能的设备、6G网络中的网络侧设备、未来的通信系统中承担基站功能的设备等。基站可以支持相同或不同接入技术的网络。本申请的实施例对网络设备所采用的具体技术和具体设备形态不做限定。The network device in the embodiments of the present application may be a device for communicating with a terminal device. The network device may also be referred to as an access network device or a radio access network device. For example, the network device may be a base station. The network device in the embodiments of the present application may refer to a radio access network (RAN) node (or device) that connects a terminal device to a wireless network. A base station may broadly cover various names as follows, or replace the following names, such as: NodeB, evolved NodeB (eNB), next generation NodeB (gNB), relay station, transmitting and receiving point (TRP), transmitting point (TP), master station MeNB, secondary station SeNB, multi-standard radio (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), positioning node, etc. A base station may be a macro base station, a micro base station, a relay node, a donor node, or the like, or a combination thereof. The base station may also refer to a communication module, modem or chip provided in the aforementioned device or apparatus. The base station may also be a mobile switching center and a device-to-device D2D, vehicle-to-everything (V2X), machine-to-machine (M2M) communication device that performs the base station function, a network side device in a 6G network, a device that performs the base station function in a future communication system, etc. The base station may support networks with the same or different access technologies. The embodiments of the present application do not limit the specific technology and specific device form adopted by the network equipment.

基站可以是固定的,也可以是移动的。例如,直升机或无人机可以被配置成充当移动基站,一个或多个小区可以根据该移动基站的位置移动。在其他示例中,直升机或无人机可以被配置成用作与另一基站通信的设备。Base stations can be fixed or mobile. For example, a helicopter or drone can be configured to act as a mobile base station, and one or more cells can move based on the location of the mobile base station. In other examples, a helicopter or drone can be configured to act as a device that communicates with another base station.

在一些部署中,本申请实施例中的网络设备可以是指CU或者DU,或者,网络设备包括CU和DU。gNB还可以包括AAU。In some deployments, the network device in the embodiments of the present application may refer to a CU or a DU, or the network device may include a CU and a DU. The gNB may also include an AAU.

网络设备和终端设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和卫星上。本申请实施例中对网络设备和终端设备所处的场景不做限定。The network equipment and terminal devices can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed in the air on aircraft, balloons, and satellites. The embodiments of this application do not limit the scenarios in which the network equipment and terminal devices are located.

应理解,本申请中的通信设备的全部或部分功能也可以通过在硬件上运行的软件功能来实现,或者通过平台(例如云平台)上实例化的虚拟化功能来实现。It should be understood that all or part of the functions of the communication device in this application can also be implemented through software functions running on hardware, or through virtualization functions instantiated on a platform (such as a cloud platform).

LTMLTM

为了进一步缩短切换时延,保障业务的连续性,第三代合作伙伴计划(3rd generation partnership project,3GPP)支持LTM。为了便于理解,下面先结合图2对LTM过程进行介绍。To further shorten handover latency and ensure service continuity, the 3rd Generation Partnership Project (3GPP) supports LTM. For ease of understanding, the following describes the LTM process with reference to Figure 2.

如图2所示,LTM过程可以包括LTM准备阶段、LTM执行阶段和LTM完成阶段。As shown in FIG2 , the LTM process may include an LTM preparation phase, an LTM execution phase, and an LTM completion phase.

图2中的步骤S210和步骤S230属于LTM准备阶段。Steps S210 and S230 in FIG. 2 belong to the LTM preparation phase.

在步骤S210,终端设备向网络设备上报测量结果。该测量结果可以是层3的测量结果。之后,网络设备可以基于终端设备上报的测量结果确定发起LTM过程,并触发候选小区准备。In step S210, the terminal device reports a measurement result to the network device. The measurement result may be a layer 3 measurement result. The network device may then determine to initiate an LTM process based on the measurement result reported by the terminal device and trigger candidate cell preparation.

在步骤S220,网络设备向终端设备发送包含LTM配置(或称,LTM候选配置)的无线资源控制(radio resource control,RRC)消息。例如,网络设备可以向终端设备发送RRC重配置(RRC reconfiguration)消息以指示LTM配置。网络设备向终端设备发送的LTM配置中可以包含一个或多个候选小区的配置。在接收到LTM配置之后,终端设备可以存储网络设备指示的LTM配置。In step S220, the network device sends a radio resource control (RRC) message containing an LTM configuration (or LTM candidate configuration) to the terminal device. For example, the network device may send an RRC reconfiguration message to the terminal device to indicate the LTM configuration. The LTM configuration sent by the network device to the terminal device may include configurations of one or more candidate cells. After receiving the LTM configuration, the terminal device may store the LTM configuration indicated by the network device.

在步骤S230,终端设备向网络设备发送RRC重配置完成(RRC reconfiguration complete)消息。In step S230, the terminal device sends an RRC reconfiguration complete message to the network device.

在一些实施例中,参见步骤S240a和步骤S240b,终端设备完成LTM准备阶段之后,可以提前与候选小区进行上行/下行同步,以缩短切换过程中的中断时延。In some embodiments, referring to step S240a and step S240b, after the terminal device completes the LTM preparation phase, it may perform uplink/downlink synchronization with the candidate cell in advance to shorten the interruption delay during the switching process.

图2中的步骤S250、步骤S260以及步骤S270(可选)属于LTM执行阶段。Step S250 , step S260 , and step S270 (optional) in FIG2 belong to the LTM execution phase.

在步骤S250,终端设备对各个候选小区进行层1测量,并向网络设备上报层1测量结果。网络设备接收终端设备上报的层1测量结果之后,可以基于层1测量结果确定目标小区。In step S250, the terminal device performs layer 1 measurement on each candidate cell and reports the layer 1 measurement result to the network device. After receiving the layer 1 measurement result reported by the terminal device, the network device can determine the target cell based on the layer 1 measurement result.

在步骤S260,网络设备向终端设备发送小区切换命令,以指示终端设备切换至目标小区。例如,网络设备可以通过媒体接入控制控制单元(medium access control control element,MAC CE)指示终端设备切换至目标小区。终端设备接收小区切换命令之后,可以与源小区分离(detach from source cell),并应用目标小区的配置。In step S260, the network device sends a cell handover command to the terminal device, instructing the terminal device to switch to the target cell. For example, the network device may instruct the terminal device to switch to the target cell via a medium access control element (MAC CE). After receiving the cell handover command, the terminal device may detach from the source cell and apply the configuration of the target cell.

在一些实施例中,如果终端设备当前没有目标小区的有效定时提前(timing advance,TA)或传输配置指示(transmission configuration indicator,TCI)状态标识,那么终端设备在LTM执行阶段还可以执行步骤S270。在步骤S270,终端设备向目标小区发起随机接入过程。In some embodiments, if the terminal device does not currently have a valid timing advance (TA) or transmission configuration indicator (TCI) status flag for the target cell, the terminal device may further perform step S270 during the LTM execution phase. In step S270, the terminal device initiates a random access procedure to the target cell.

图2中的步骤S280属于LTM完成阶段。在步骤S280,终端设备指示LTM完成。例如,终端设备可以向目标小区发送LTM成功完成的指示信息。 Step S280 in Figure 2 belongs to the LTM completion phase. In step S280, the terminal device indicates that the LTM is completed. For example, the terminal device may send an indication of successful LTM completion to the target cell.

Xn切换过程中的密钥推演Key deduction during Xn switching

为了保证通信安全,在Xn切换过程中,通常会进行密钥推演,以保证终端设备与接入和移动管理功能(access and mobility management function,AMF)网元之间能够安全地进行数据传输。终端设备和网络设备(如gNB)都需要执行密钥推演,以确保数据传输的安全。下面结合图3,以网络设备侧的密钥推演为例,介绍密钥推演流程。终端设备侧的密钥推演方式与网络设备侧的密钥推演方式类似,后文不再赘述。To ensure communication security, key derivation is typically performed during the Xn handover process to ensure secure data transmission between the terminal device and the access and mobility management function (AMF) network element. Both the terminal device and network equipment (such as the gNB) must perform key derivation to ensure data transmission security. The following describes the key derivation process using network equipment as an example, using Figure 3 as an example. The key derivation method on the terminal device side is similar to that on the network device side and will not be further described.

如图3所示,如果下一跳链计数器(next hop chaining count,NCC)的取值没有改变,则gNB执行水平推演,以更新密钥KgNB。如果NCC的取值改变,则AMF网元执行垂直推演,以更新下一跳(next hop,NH)参数。NCC的取值是否改变可以取决于终端设备的状态,例如终端设备需要切换,NCC的取值更新加1。As shown in Figure 3, if the next hop chaining counter (NCC) value does not change, the gNB performs horizontal derivation to update the key K gNB . If the NCC value changes, the AMF performs vertical derivation to update the next hop (NH) parameter. Whether the NCC value changes can depend on the terminal device state. For example, if the terminal device requires handover, the NCC value is updated by 1.

为方便表述,NCC的取值为x可以记为NCCx,例如NCC的取值为0可以记为NCC0、NCC的取值为1可以记为NCC1,依次类推。初始的NH参数记为NH0,第x次垂直推演得到的NH参数可以记为NHx,如NH1、NH2、NH3等,依次类推。For ease of presentation, the NCC value x can be denoted as NCCx. For example, an NCC value of 0 can be denoted as NCC0, an NCC value of 1 can be denoted as NCC1, and so on. The initial NH parameter is denoted as NH0, and the NH parameter obtained by the x-th vertical deduction can be denoted as NHx, such as NH1, NH2, NH3, and so on.

水平推演:以NCC0为例,gNB可以根据密钥KAMF和非接入层(non-access stratum,NAS)上行计数值(NAS uplink count),推演初始(initial)密钥KgNB。初始密钥KgNB作为NH0。该NH0与NCC0关联,作为一对{NH,NCC}。若要执行水平推演,则gNB可以根据初始密钥KgNB(记为密钥KgNB1)、终端设备当前驻留的小区的物理小区标识(physical cell identifier,PCI)以及载频(例如下行载频(DL frequency)),生成密钥KNG-RAN*,并将KNG-RAN*作为密钥KgNB2。密钥KgNB2可用于推演用于数据完整性保护和加密的密钥。如果继续执行水平推演,则gNB可以根据密钥KgNB2、终端设备当前驻留的小区的PCI以及载频,推演密钥KgNB3。密钥KgNB3可用于推演新的用于数据完整性保护和加密的密钥。依此类推,从而迭代更新密钥KgNB,以确保通信安全。Horizontal derivation: Taking NCC0 as an example, the gNB can derive the initial key KgNB based on the key KAMF and the non-access stratum (NAS) uplink count. The initial key KgNB serves as NH0. This NH0 is associated with NCC0 as a {NH, NCC} pair. If horizontal derivation is performed, the gNB can generate the key KNG-RAN* based on the initial key KgNB (denoted as key KgNB1 ), the physical cell identifier (PCI) of the cell where the terminal device is currently residing, and the carrier frequency (e.g., the downlink carrier frequency). KNG -RAN * is then used as the key KgNB2 . The key KgNB2 is used to derive keys for data integrity protection and encryption. If horizontal derivation is continued, the gNB can derive the key KgNB3 based on the key KgNB2 , the PCI of the cell where the terminal device is currently residing, and the carrier frequency. The key KgNB3 is used to derive new keys for data integrity protection and encryption. And so on, the key K gNB is iteratively updated to ensure communication security.

垂直推演:如果NCC的取值更新,从NCC0自增为NCC1,则AMF网元执行垂直推演,以根据密钥KAMF和NH0,推演NH1。NH1与NCC1关联,作为新的一对{NH,NCC},用于AMF网元在NCC1的基础上执行水平推演。如果NCC1更新为NCC2,则AMF网元继续执行垂直推演,以根据密钥KAMF和NH1,推演NH2。NH2与NCC2关联,作为新的一对{NH,NCC},用于AMF网元在NCC2的基础上执行水平推演。依此类推。Vertical deduction: If the NCC value is updated from NCC0 to NCC1, the AMF network element performs vertical deduction to deduce NH1 based on the key K AMF and NH0. NH1 is associated with NCC1 as a new pair {NH, NCC}, which the AMF network element uses to perform horizontal deduction based on NCC1. If NCC1 is updated to NCC2, the AMF network element continues to perform vertical deduction to deduce NH2 based on the key K AMF and NH1. NH2 is associated with NCC2 as a new pair {NH, NCC}, which the AMF network element uses to perform horizontal deduction based on NCC2. And so on.

Xn切换过程中的密钥更新Key update during Xn switching

为了保证通信安全,在上述密钥推演的基础上,可以对Xn切换过程进行密钥更新。下面以KgNB为源基站(S-gNB)使用的密钥,KNG-RAN*为目标基站(T-gNB)使用的密钥为例,结合图4详细描述密钥更新流程。To ensure communication security, key update can be performed during the Xn handover process based on the key derivation described above. The following describes the key update process in detail, using K gNB as the key used by the source base station (S-gNB) and K NG-RAN* as the key used by the target base station (T-gNB), in conjunction with Figure 4.

参见图4,在步骤S401,S-gNB向T-gNB发送一个切换请求(HO request)消息,该切换请求消息包括S-gNB的推演密钥KNG-RAN*,NCC和安全算法(security algorithms)等信息。Referring to Figure 4, in step S401, the S-gNB sends a handover request (HO request) message to the T-gNB. The handover request message includes information such as the S-gNB's derived key K NG-RAN* , NCC, and security algorithms.

在步骤S402,T-gNB将密钥KNG-RAN*作为目标基站的当前使用密钥KgNB,并将NCC与该KgNB关联。In step S402, the T-gNB uses the key K NG-RAN* as the current key K gNB of the target base station and associates the NCC with the K gNB .

在步骤S403,T-gNB向终端设备(UE)发送切换命令(HO command)消息。该切换命令消息包括NCC和安全算法(security algorithms)等信息。In step S403, the T-gNB sends a handover command (HO command) message to the terminal device (UE). The handover command message includes information such as the NCC and security algorithms.

在步骤S404,UE基于收到的NCC进行密钥推演,以获取UE使用的密钥KgNB*In step S404, the UE performs key derivation based on the received NCC to obtain the key K gNB* used by the UE.

在步骤S405,如果UE成功接入目标小区,则UE向T-gNB发送切换完成(HO complete)消息表示切换完成。In step S405, if the UE successfully accesses the target cell, the UE sends a handover complete (HO complete) message to the T-gNB to indicate that the handover is complete.

在步骤S406,T-gNB在收到UE发送的切换完成消息之后,T-gNB向AMF发送路径切换请求(path switch request)消息。In step S406, after receiving the handover completion message sent by the UE, the T-gNB sends a path switch request message to the AMF.

在步骤S407,AMF收到路径切换请求消息之后,可以将NCC更新为NCC+1(NCC=NCC+1),以及进行NH计算,并作为新的一对{NH,NCC}。In step S407, after receiving the path switch request message, the AMF may update the NCC to NCC+1 (NCC=NCC+1), and perform NH calculation as a new pair {NH, NCC}.

在步骤S408,AMF向T-gNB发送路径切换的确认消息(path switch ack),该确认消息包括步骤S407更新后的{NH,NCC}。In step S408, the AMF sends a path switch acknowledgment message (path switch ack) to the T-gNB. The acknowledgment message includes the updated {NH, NCC} in step S407.

在步骤S409,T-gNB存储收到的{NH,NCC},以用于进一步切换。In step S409, the T-gNB stores the received {NH, NCC} for further handover.

在步骤S410,UE可以在T-gNB的候选小区中,进行小区内切换过程(intra-cell HO procedure)。In step S410, the UE may perform an intra-cell HO procedure in the candidate cell of the T-gNB.

需要说明的是,在上述密钥更新流程中,源基站可以执行如下操作:It should be noted that in the above key update process, the source base station can perform the following operations:

基于目标PCI以及目标下行频率生成KNG-RAN*;作为一个示例,如果有未使用的{NH,NCC},可以基于NH衍生密钥;如果没有未使用的{NH,NCC},基于KgNB衍生密钥。Generate KNG-RAN* based on the target PCI and target downlink frequency. As an example, if there is unused {NH, NCC}, the key can be derived based on NH; if there is no unused {NH, NCC}, the key is derived based on KgNB .

将生成的KNG-RAN*和对应的NCC转发给目标基站。The generated K NG-RAN* and the corresponding NCC are forwarded to the target base station.

需要说明的是,在上述密钥更新流程中,目标基站可以执行如下操作: It should be noted that in the above key update process, the target base station can perform the following operations:

目标基站会把收到的KNG-RAN*会作为与终端设备通信的KgNB;关联KgNB与NCC;把NCC包含在切换命令中通过源基站发送给终端设备;切换完成后,目标基站向AMF发送路径切换请求。The target base station will use the received K NG-RAN* as the K gNB for communicating with the terminal device; associate the K gNB with the NCC; include the NCC in the handover command and send it to the terminal device through the source base station; after the handover is completed, the target base station sends a path switch request to the AMF.

需要说明的是,在上述密钥更新流程中,终端设备可以执行如下操作:It should be noted that in the above key update process, the terminal device can perform the following operations:

如果切换命令中的NCC与当前KgNB所关联的NCC值相同,基于KgNB以及目标小区PCI以及下行频率生成KgNB*If the NCC in the handover command is the same as the NCC value associated with the current KgNB , KgNB* is generated based on the KgNB and target cell PCI and downlink frequency.

如果切换命令中的NCC与当前KgNB所关联的NCC值不同,基于KAMF生成NH,然后,基于NH与目标小区PCI以及下行频率生成KgNB*If the NCC in the handover command differs from the NCC value associated with the current KgNB , NH is generated based on KAMF. Then, KgNB* is generated based on NH and the target cell PCI and downlink frequency.

UE使用生成的KgNB*与目标基站通信。The UE uses the generated KgNB * to communicate with the target base station.

双连接通信场景Dual-connection communication scenario

本申请实施例提供的方法可用于各种DC架构。例如,第四代(4th generation,4G)通信系统与第五代(5th generation,5G)通信系统的双连接、5G通信系统与4G通信系统的双连接,或者5G通信系统与5G通信系统的双连接,或者5G通信系统与未来通信系统等,其中第五代通信系统也可以称作NR系统。但应理解,本申请实施例提供的方法并不局限于应用在DC架构下,其也可以应用于其他系统架构,例如单连接架构。The methods provided in the embodiments of the present application can be used in various DC architectures. For example, dual connectivity between a fourth-generation (4G) communication system and a fifth-generation (5G) communication system, dual connectivity between a 5G communication system and a 4G communication system, or dual connectivity between a 5G communication system and a 5G communication system, or a 5G communication system and a future communication system, where the fifth-generation communication system may also be referred to as an NR system. However, it should be understood that the methods provided in the embodiments of the present application are not limited to application in a DC architecture, and may also be applied to other system architectures, such as a single-connection architecture.

DC架构下,一个终端设备会同时连接两个小区集合,其中一个小区集合称为主小区组(master cell group,MCG),MCG至少包括一个主小区(primary cell,PCell),可选地,MCG还可以包括至少一个辅小区(secondary cell,SCell)。终端设备连接的另外一个小区集合称作辅小区组(secondary cell group,SCG),SCG至少包括一个主辅小区(primary secondary cell,PSCell),可选地,SCG还可以包括至少一个SCell。需要说明的是,由于MCG包含的全部小区通常部署在一个节点(node)内,因而很多场景下,MCG对应的节点也可以称为主节点(master node,MN);由于SCG包含的全部小区通常部署在一个节点(node)内,因而很多场景下,SCG对应的节点也可以称作辅节点(secondary node,SN),NR-DC的双连接架构如图5所示,终端设备同时与MN和SN连接通信,MN与SN之间通过Xn接口连接,MN与核心网设备通过NG接口连接,可选地,SN也与核心网设备通过NG接口连接。In the DC architecture, a terminal device is simultaneously connected to two cell sets. One of these cell sets is called a master cell group (MCG), which includes at least one primary cell (PCell) and, optionally, at least one secondary cell (SCell). The other cell set to which the terminal device is connected is called a secondary cell group (SCG), which includes at least one primary secondary cell (PSCell) and, optionally, at least one SCell. It should be noted that, since all cells included in MCG are usually deployed in one node, in many scenarios, the node corresponding to MCG can also be called a master node (MN); since all cells included in SCG are usually deployed in one node, in many scenarios, the node corresponding to SCG can also be called a secondary node (SN). The dual-connection architecture of NR-DC is shown in Figure 5. The terminal device communicates with MN and SN at the same time. MN and SN are connected through the Xn interface, and MN is connected to the core network device through the NG interface. Optionally, SN is also connected to the core network device through the NG interface.

需要说明的是,主节点作为“锚点”,负责与核心网交互控制面数据。在一些实现方式中,终端设备和两个网络节点间可以交互控制面数据和用户面数据。对于控制面,终端设备会与MN建立信令无线承载0(signaling radio bearer,SRB0),SRB1与SRB2的信令连接,同时也可以与SN建立SRB3的信令连接。It should be noted that the master node acts as the "anchor" and is responsible for exchanging control plane data with the core network. In some implementations, both control plane data and user plane data can be exchanged between the terminal device and two network nodes. For the control plane, the terminal device establishes signaling radio bearer 0 (SRB0), SRB1, and SRB2 signaling connections with the mobile node, and can also establish an SRB3 signaling connection with the node node.

此外,DC中各个接入网设备具有不同的无线链路控制(radio link control,RLC)/介质访问控制(medium access control,MAC)实体。基于数据在接入网设备的RLC/MAC实体中所处的节点的不同,将数据无线承载(data radio bearer,DRB)分为如下几种承载类型:主小区组承载(master cell group bearer,MCG Bearer)、辅小区组承载(secondary cell group bearer,SCG Bearer)和分离承载(Split Bearer)(也被称为分叉承载或分裂承载)。In addition, each access network device in a DC has a different radio link control (RLC)/medium access control (MAC) entity. Based on the different nodes where data resides in the RLC/MAC entities of the access network devices, data radio bearers (DRBs) are classified into the following bearer types: master cell group bearer (MCG Bearer), secondary cell group bearer (SCG Bearer), and split bearer (also known as forked bearer or split bearer).

如图6所示,主小区组承载MCG Bearer是该DRB的RLC/MAC实体仅位于主节点中。例如,MN从核心网收到服务质量(quality of service,QoS)流(QoS flows),如果该QoS flows中的数据为MCG Bearer对应的业务数据,该MN将经过MN的分组数据汇聚协议(packet data convergence protocol,PDCP)实体处理后的数据传输给MN的RLC实体和MAC实体进行处理。又例如,SN从核心网收到QoS flows,如果该QoS flows中的数据为MCG Bearer对应的业务数据之后,该SN将经过SN的PDCP实体处理后的数据通过MN与SN之间的接口(例如,Xn接口或X2接口或F1接口)传输给MN,然后,由MN的RLC实体和MAC实体对数据进行进一步处理。As shown in Figure 6, the primary cell group bearer (MCG Bearer) is an RLC/MAC entity for this DRB located only in the master node. For example, when a mobile node receives quality of service (QoS) flows from the core network, if the data in the QoS flows is service data corresponding to the MCG Bearer, the mobile node transmits the data processed by the MN's packet data convergence protocol (PDCP) entity to the MN's RLC entity and MAC entity for processing. For another example, when a node receives QoS flows from the core network, if the data in the QoS flows is service data corresponding to the MCG Bearer, the node transmits the data processed by the SN's PDCP entity to the MN via the interface between the MNs (e.g., Xn interface, X2 interface, or F1 interface). The data is then further processed by the MN's RLC entity and MAC entity.

继续参见图6,辅小区组承载SCG Bearer是指该DRB的RLC/MAC实体仅位于辅节点中。例如,MN从核心网收到QoS flows,如果该QoS flows中的数据为SCG Bearer对应的业务数据之后,该MN将经过MN的PDCP实体处理后的数据通过MN与SN之间的接口(例如,Xn接口或X2接口或F1接口)传输给SN,然后,由SN的RLC实体和MAC实体对数据进行进一步处理。又例如,SN从核心网收到QoS flows,如果该QoS flows中的数据为SCG Bearer对应的业务数据之后,该SN将经过SN的PDCP实体处理后的数据传输给SN的RLC实体和MAC实体进行处理。Continuing with Figure 6, the secondary cell group carrying SCG Bearer means that the RLC/MAC entity of the DRB is only located in the secondary node. For example, after the MN receives QoS flows from the core network, if the data in the QoS flows is the service data corresponding to the SCG Bearer, the MN will transmit the data processed by the MN's PDCP entity to the SN through the interface between the MN and the SN (for example, the Xn interface, the X2 interface, or the F1 interface). Then, the RLC entity and MAC entity of the SN will further process the data. For another example, after the SN receives QoS flows from the core network, if the data in the QoS flows is the service data corresponding to the SCG Bearer, the SN will transmit the data processed by the SN's PDCP entity to the SN's RLC entity and MAC entity for processing.

分离承载(Split Bearer)是指该DRB的RLC/MAC实体同时存在于主节点和辅节点中。例如,MN从核心网收到该Split Bearer对应的业务数据之后,该MN将经过MN的PDCP实体处理后的部分数据通过MN与SN之间的接口(例如,Xn接口或X2接口或F1接口)传输给SN的RLC实体和MAC实体,而另一部分数据或相同的数据传输给MN的RLC实体和MAC实体,进而MN的RLC/MAC实体与SN的RLC/MAC实体能够同时对数据进行处理。又例如,SN从核心网收到该Split Bearer对应的业务数据之后,该SN将经过SN的PDCP实体处理后的部分数据通过MN与SN之间的接口(例如,Xn接口或X2接口或F1接口)传输给MN的RLC实体和MAC实体,而另一部分数据或相同的数据传输 给SN的RLC实体和MAC实体,进而MN的RLC/MAC实体与SN的RLC/MAC实体能够同时对数据进行处理。Split Bearer means that the RLC/MAC entity of the DRB exists in both the primary node and the secondary node. For example, after the MN receives the service data corresponding to the Split Bearer from the core network, the MN transmits part of the data processed by the MN's PDCP entity to the RLC entity and MAC entity of the SN through the interface between the MN and the SN (for example, the Xn interface or the X2 interface or the F1 interface), while the other part of the data or the same data is transmitted to the RLC entity and MAC entity of the MN, so that the RLC/MAC entity of the MN and the RLC/MAC entity of the SN can process the data at the same time. For another example, after the SN receives the service data corresponding to the Split Bearer from the core network, the SN transmits part of the data processed by the SN's PDCP entity to the RLC entity and MAC entity of the MN through the interface between the MN and the SN (for example, the Xn interface or the X2 interface or the F1 interface), while the other part of the data or the same data is transmitted to the RLC entity and MAC entity of the MN. The RLC entity and MAC entity of the SN are given, and then the RLC/MAC entity of the MN and the RLC/MAC entity of the SN can process the data at the same time.

需要说明的是,在终端设备内部不存在不同节点的区分问题,但是由小区组的角色问题,仍需要区分MCG和SCG。MCG和SCG之间的主要差异来自于不同的无线承载汇聚的协议层(即RLC和MAC的不同),如图7所示。It should be noted that there is no distinction between different nodes within the terminal device, but due to the role of the cell group, it is still necessary to distinguish between MCG and SCG. The main difference between MCG and SCG comes from the different radio bearer aggregation protocol layers (i.e., the difference between RLC and MAC), as shown in Figure 7.

SN添加/修改过程中的安全机制Security mechanism during SN addition/modification

对于不同类型的无线承载,PDCP层及以上的处理可能在MN也可能在SN。对于PDCP层在SN侧的无线承载,用于生成加密/完保密钥的输入因素包括MN侧的密钥(KgNB)和SN计数器(counter)值。SN counter由MN侧维护,例如,可以按照单调递增的方式进行维护。SN和UE不需要保存SN counter。下面结合图8,对SN添加/修改过程中的安全机制进行详细的说明。For different types of radio bearers, PDCP layer processing and above may occur at either the mobile node (MN) or the network node (SN). For radio bearers where the PDCP layer resides on the SN side, the input factors used to generate encryption/security keys include the mobile node key (K gNB ) and the SN counter value. The SN counter is maintained by the mobile node, for example, in a monotonically increasing manner. The SN and UE do not need to store the SN counter. The security mechanism during SN addition/modification is described in detail below, in conjunction with Figure 8.

如图8所示,在步骤S801,UE与MN之间建立RRC连接(RRC connection established)。As shown in Figure 8, in step S801, an RRC connection is established between the UE and the MN.

在步骤S802,MN向SN发送SN添加/修改请求(SN addition/modification request)消息。该请求消息中包括KSN,终端设备安全功能(UE security capabilities),用户平面(user plane,UP)安全策略(UP security policy)。In step S802, the MN sends an SN addition/modification request message to the SN, which includes KSN , terminal equipment security capabilities (UE security capabilities), and user plane (UP) security policy.

应理解,在MN向SN发送SN添加/修改请求之前,MN可以根据KgNB和SN counter生成KSNIt should be understood that before the MN sends an SN add/modify request to the SN, the MN may generate K SN based on K gNB and the SN counter.

在步骤S803,SN进行能力协商和算法选择(capability negotiation and algorithm selection)。In step S803, SN performs capability negotiation and algorithm selection.

在步骤S804,SN向MN发送SN添加/修改请求的确认消息(SN addition/modification request ack)。该确认消息中包括SN已选择的算法(selected algorithms)。In step S804, the SN sends an SN addition/modification request acknowledgment message to the MN. The acknowledgment message includes the selected algorithms of the SN.

在步骤S805,MN向UE发送RRC连接重配置消息(RRC connection reconfiguration)。该重配置消息包括SN Counter和已选择的算法(selected algorithms)。In step S805, the MN sends an RRC connection reconfiguration message to the UE. The reconfiguration message includes the SN Counter and the selected algorithms.

在一些实现方式中,UE可以根据KgNB和SN counter生成KSNIn some implementations, the UE may generate K SN based on K gNB and SN counter.

在步骤S806,UE向MN发送RRC连接重配置完成消息(RRC connection reconfiguration complete)。In step S806, the UE sends an RRC connection reconfiguration complete message (RRC connection reconfiguration complete) to the MN.

在步骤S807,MN与SN之间进行通信,以确定SN重配置完成(SN reconfiguration complete)。In step S807, the MN and the SN communicate to confirm that the SN reconfiguration is complete.

在步骤S808,UE激活加密和完整性保护(activation of ciphering and integrity protection)。In step S808, the UE activates encryption and integrity protection.

在步骤S809,SN激活加密和完整性保护(activation of ciphering and integrity protection)In step S809, the SN activates ciphering and integrity protection.

在步骤S810,UE进行在SN小区进行随机接入过程(random access procedure)。In step S810, the UE performs a random access procedure in the SN cell.

需要说明的是,在3GPP第18版本(release 18,R18)中,LTM支持的场景仅包括集中单元内(intra-central unit,intra-CU)LTM。进一步的,为了避免DC场景下执行小区切换带来的复杂的无线承载处理流程(例如,DC场景下的小区切换可能涉及到bearer termination的变化,相应的,需要对无线承载的PDCP/RLC实体执行重建操作),R18 LTM还存在以下限制:执行MCG LTM时需要释放SCG;执行SCG LTM时不能涉及对MN的影响(SCG LTM without MN involvement)。It should be noted that in 3GPP Release 18 (R18), LTM only supports intra-central unit (intra-CU) LTM. Furthermore, to avoid the complex radio bearer processing caused by cell handover in DC scenarios (for example, cell handover in DC scenarios may involve changes in bearer termination, which in turn requires re-establishment of the PDCP/RLC entity of the radio bearer), R18 LTM has the following limitations: Executing MCG LTM requires releasing the SCG; executing SCG LTM cannot involve affecting the mobile node (SCG LTM without MN involvement).

需要说明的是,在3GPP第19版本(release 19,R19)中,对LTM支持的场景进行了扩展,例如,LTM可以支持集中单元间(inter-central unit,inter-CU)LTM。进一步地,在未配置DC的情况下,优先考虑CU作为MN的情况(prioritize the case when CU is acting as MN when DC is not configured);作为第二优先级,支持配置NR-DC,CU作为SN,且MCG不变的情况(as secondary priority,support the case when NR-DC is configured and CU is acting as SN and MCG is unchanged);作为第二优先级,支持配置NR-DC,CU作为MN,且SCG不变或SCG被释放的情况(as secondary priority,support the case when NR-DC is configured,CU is acting as MN and SCG is unchanged or SCG is released)。It should be noted that in 3GPP release 19 (R19), the scenarios supported by LTM have been expanded. For example, LTM can support inter-central unit (inter-CU) LTM. Furthermore, when DC is not configured, priority is given to the case when CU is acting as MN when DC is not configured. As a secondary priority, support the case when NR-DC is configured and CU is acting as SN and MCG is unchanged. As a secondary priority, support the case when NR-DC is configured, CU is acting as MN and SCG is unchanged or SCG is released.

某些通信系统中,LTM(例如,inter-CU LTM和intra-CU LTM)的设计需要考虑LTM过程的信令开销问题。In some communication systems, the design of LTM (e.g., inter-CU LTM and intra-CU LTM) needs to consider the signaling overhead of the LTM process.

在某些MCG LTM(例如,inter-CU MCG LTM和intra-CU MCG LTM)过程中,终端设备可能需要利用辅密钥与辅节点进行通信。这样情况下,如何在执行MCG LTM时确定辅密钥是需要解决的问题。那么,在确定辅密钥时,也需要考虑信令开销的问题。During certain MCG LTM processes (for example, inter-CU MCG LTM and intra-CU MCG LTM), the terminal device may need to communicate with a secondary node using a secondary key. In this case, determining the secondary key during MCG LTM is a challenge. Signaling overhead also needs to be considered when determining the secondary key.

针对上述问题,本申请实施例中,当终端设备执行MCG LTM过程时,可以根据第一主节点发送的一个或多个计数值确定辅密钥,从而能够节省信令开销。In response to the above problem, in an embodiment of the present application, when the terminal device executes the MCG LTM process, the auxiliary key can be determined based on one or more count values sent by the first master node, thereby saving signaling overhead.

图9是本申请一实施例提供的无线通信方法的流程示意图。图9所示的方法是站在终端设备和第一主节点的角度进行描述的。这里提到的终端设备例如可以是图1所示的终端设备120。这里提到的第一主节点可以是源主节点(source MN,S-MN),第一主节点例如可以是gNB,也可以是eNB。FIG9 is a flow chart illustrating a wireless communication method according to an embodiment of the present application. The method illustrated in FIG9 is described from the perspective of a terminal device and a first master node. The terminal device mentioned herein may be, for example, the terminal device 120 shown in FIG1 . The first master node mentioned herein may be a source master node (S-MN), which may be, for example, a gNB or an eNB.

参见图9,在步骤S910,终端设备接收第一主节点发送的一个或多个计数值。其中,一个或多个计数值用于在终端设备执行第一切换过程时确定辅密钥(secondary key,SK),辅密钥可用于终端设备与辅节点通信,第一切换过程为MCG LTM过程。Referring to FIG. 9 , in step S910, a terminal device receives one or more count values sent by a first master node. The one or more count values are used to determine a secondary key (SK) when the terminal device performs a first handover process, which is an MCG LTM process. The secondary key can be used to communicate between the terminal device and the secondary node.

需要说明的是,上述确定辅密钥可以是指第一次确定辅密钥,也可以是指后续的更新辅密钥。 It should be noted that the above determination of the secondary key may refer to the first determination of the secondary key, or may refer to a subsequent update of the secondary key.

本申请实施例中,该一个或多个计数值可以为辅密钥计数值(secondary key-counter,sk-counter)。In an embodiment of the present application, the one or more count values may be secondary key count values (sk-counter).

在一些实现方式中,如果第一主节点为gNB,则辅密钥可以称为S-KgNB;如果第一主节点为eNB,则辅密钥可以称为S-KeNBIn some implementations, if the first master node is a gNB, the secondary key may be referred to as SK gNB ; if the first master node is an eNB, the secondary key may be referred to as SK eNB .

在一些实现方式中,第一切换过程可用于:在CU内部进行小区切换(即,第一切换过程为intra-CU MCG LTM);或者,在CU之间进行小区切换(即,第一切换过程为inter-CU MCG LTM)。In some implementations, the first switching process may be used to: perform cell switching within a CU (i.e., the first switching process is intra-CU MCG LTM); or, perform cell switching between CUs (i.e., the first switching process is inter-CU MCG LTM).

本申请实施例中,上述确定辅密钥的方法还可应用于不释放SCG的场景。例如,在第一切换过程中,不释放SCG的场景可以包括以下中的任意一项:保持不变(保持当前SCG);更换为除当前SCG之外的其他SCG;或者,添加了除当前SCG之外的其他SCG。由于不用释放SCG,因此,可以节省重复提供SCG配置所带来的信令开销。In the embodiments of the present application, the above-mentioned method for determining the secondary key can also be applied to scenarios where the SCG is not released. For example, during the first handover process, the scenario where the SCG is not released may include any of the following: remaining unchanged (maintaining the current SCG); replacing with an SCG other than the current SCG; or adding an SCG other than the current SCG. Since the SCG does not need to be released, the signaling overhead caused by repeatedly providing SCG configuration can be saved.

在一些实现方式中,在终端设备接收第一主节点发送的一个或多个计数值之后,终端设备还可以根据主密钥和目标计数值确定辅密钥,其中,目标计数值可以为一个或多个计数值中的计数值。例如,目标计数值可以为一个或多个计数值中的与目标小区对应的计数值,或者目标计数值为一个或多个计数值中的与目标小区所属的主节点对应的计数值。在另一些实施例中,目标计数值也可以为一个或多个候选小区对应的计数值。In some implementations, after the terminal device receives one or more count values sent by the first master node, the terminal device may further determine a secondary key based on the primary key and a target count value, wherein the target count value may be a count value among the one or more count values. For example, the target count value may be a count value among the one or more count values corresponding to the target cell, or the target count value may be a count value among the one or more count values corresponding to the master node to which the target cell belongs. In other embodiments, the target count value may also be a count value corresponding to one or more candidate cells.

在一些实现方式中,在终端设备根据主密钥和目标计数值确定辅密钥之前,终端设备可以生成主密钥。In some implementations, before the terminal device determines the secondary key based on the primary key and the target count value, the terminal device may generate the primary key.

在一些实现方式中,在终端设备接收第一主节点发送的一个或多个计数值之后,终端设备可以执行目标操作。这里提到的目标操作可以包括以下中的一种或多种:针对第一承载,重建或新建PDCP实体;针对第一承载,重建或新建RLC实体;针对第二承载,重建或新建PDCP实体;针对第二承载,重建或新建RLC实体;删除第三承载对应的PDCP实体;删除第三承载对应的RLC实体;针对信令无线承载(如SRB1,SRB2等),丢弃PDCP业务数据单元(service data unit,SDU)(即执行PDCP SDU discard操作)。上文提到的第一承载为使用主密钥的承载(即,KeyToUse配置为master的bearer),第二承载为使用辅密钥的承载(即,KeyToUse配置为secondary的bearer)。此外,上文提到的第三承载满足:第三承载的配置信息包含在源小区的配置信息中,且第三承载的配置信息不包含在目标小区的配置信息中。In some implementations, after the terminal device receives one or more count values sent by the first master node, the terminal device may perform a target operation. The target operations mentioned here may include one or more of the following: for the first bearer, reestablish or create a new PDCP entity; for the first bearer, reestablish or create a new RLC entity; for the second bearer, reestablish or create a new PDCP entity; for the second bearer, reestablish or create a new RLC entity; delete the PDCP entity corresponding to the third bearer; delete the RLC entity corresponding to the third bearer; for the signaling radio bearer (such as SRB1, SRB2, etc.), discard the PDCP service data unit (SDU) (i.e., perform a PDCP SDU discard operation). The first bearer mentioned above is a bearer using a master key (i.e., a bearer with KeyToUse configured as master), and the second bearer is a bearer using a secondary key (i.e., a bearer with KeyToUse configured as secondary). In addition, the third bearer mentioned above satisfies: the configuration information of the third bearer is included in the configuration information of the source cell, and the configuration information of the third bearer is not included in the configuration information of the target cell.

在一些实现方式中,目标操作可以在第一条件满足的情况下执行,第一条件包括主密钥需要更新和/或PDCP终点(PDCP termination point)发生改变。例如,目标操作包括针对第一承载,重建或新建PDCP实体,和/或,针对第一承载,重建或新建RLC实体;此时,目标操作在第一条件满足的情况下执行,第一条件包括主密钥需要更新和/或PDCP终点发生改变。In some implementations, the target operation may be performed if a first condition is satisfied, the first condition including a master key update and/or a PDCP termination point change. For example, the target operation includes reestablishing or creating a new PDCP entity for the first bearer and/or reestablishing or creating a new RLC entity for the first bearer. In this case, the target operation is performed if the first condition is satisfied, the first condition including the master key update and/or the PDCP termination point change.

需要说明的是,上述确定辅密钥的方法还可应用于不释放LTM候选小区配置的场景,由于LTM候选小区配置可以被终端设备保留,以支持终端设备执行连续的小区切换。因此,可以节省重复提供LTM候选小区配置所带来的信令开销。It should be noted that the above method for determining the secondary key can also be applied to scenarios where the LTM candidate cell configuration is not released. Since the LTM candidate cell configuration can be retained by the terminal device to support the terminal device to perform continuous cell handover, the signaling overhead caused by repeatedly providing the LTM candidate cell configuration can be reduced.

本申请实施例对一个或多个计数值的承载方式不做具体限制,在一些实现方式中,一个或多个计数值可承载于切换命令中,切换命令用于在第一切换过程中指示终端设备切换至目标小区(目标小区可以是指终端设备要接入的小区)。该切换命令可以是LTM小区切换命令(LTM cell switch command)。该切换命令可以承载在MAC CE中,因此该切换命令有时也可称为LTM cell switch MAC CE。应理解,由于一个或多个计数值的数据量比较小,因此,在第一切换过程中,当一个或多个计数值承载于切换命令中时,有助于节省信令开销。The embodiments of the present application do not impose any specific restrictions on the manner in which one or more count values are carried. In some implementations, one or more count values may be carried in a handover command, which is used to instruct the terminal device to switch to the target cell (the target cell may refer to the cell that the terminal device wants to access) during the first handover process. The handover command may be an LTM cell switch command (LTM cell switch command). The handover command may be carried in a MAC CE, and therefore the handover command may sometimes be referred to as an LTM cell switch MAC CE. It should be understood that since the data volume of the one or more count values is relatively small, when the one or more count values are carried in the handover command during the first handover process, it helps to save signaling overhead.

在另一些实现方式中,一个或多个计数值也可以承载于第一配置信息(如LTM配置信息)中,第一配置信息包含一个或多个候选小区的配置信息,一个或多个候选小区的配置信息用于终端设备执行第一切换过程。应理解,该一个或多个计数值例如可以包含在LTM候选小区配置中。由于LTM候选小区配置可以被终端设备保留,以支持终端设备执行连续的小区切换。因此,将该一个或多个计数值包含在LTM候选小区配置中,可以避免该一个或多个计数值的重复配置,从而能够节省信令开销。下面结合示例对计数值的承载方式进行详细介绍。In other implementations, one or more count values may also be carried in the first configuration information (such as LTM configuration information), and the first configuration information includes configuration information of one or more candidate cells, and the configuration information of one or more candidate cells is used for the terminal device to perform the first switching process. It should be understood that the one or more count values may be included in the LTM candidate cell configuration, for example. Since the LTM candidate cell configuration can be retained by the terminal device to support the terminal device to perform continuous cell switching. Therefore, including the one or more count values in the LTM candidate cell configuration can avoid repeated configuration of the one or more count values, thereby saving signaling overhead. The following is a detailed introduction to the carrying method of the count value with reference to examples.

计数值承载于切换命令中The count value is carried in the switch command

在一些实现方式中,当确定辅密钥的计数值承载于切换命令中时,该上述切换命令可以包括一个计数值(如目标计数值)。例如,一个或多个计数值包括目标计数值,目标计数值与目标小区对应,或者,目标计数值与目标小区所属的主节点对应。In some implementations, when the count value of the secondary key is determined to be carried in a handover command, the handover command may include a count value (e.g., a target count value). For example, the one or more count values include a target count value, the target count value corresponds to the target cell, or the target count value corresponds to the master node to which the target cell belongs.

本申请实施例中,当计数值承载于切换命令中时,第二主节点可以向第一主节点发送至少一个计数值,以确定至少一个候选小区关联的辅密钥。下面结合图10进行详细的描述。应理解,图10所示的方法是站在第一主节点和第二主节点的角度进行描述的。这里提到的第一主节点例如可以是图9所示的第一主节点。这里提到的第二主节点可以是候选主节点(candidate MN,C-MN),即至少一个候选小区 所属的主节点。第二主节点例如可以是gNB,也可以是eNB。In an embodiment of the present application, when the count value is carried in the handover command, the second master node may send at least one count value to the first master node to determine the secondary key associated with at least one candidate cell. A detailed description is given below in conjunction with FIG10. It should be understood that the method shown in FIG10 is described from the perspective of the first master node and the second master node. The first master node mentioned here may be, for example, the first master node shown in FIG9. The second master node mentioned here may be a candidate master node (candidate MN, C-MN), that is, at least one candidate cell. The second master node can be, for example, a gNB or an eNB.

参见图10,在步骤S1010,第二主节点向第一主节点发送第一消息。其中,第一主节点为终端设备在执行第一切换过程时的源主节点,第二主节点为第一切换过程关联的至少一个候选小区所属的主节点,第一消息包括至少一个计数值,至少一个计数值用于确定与至少一个候选小区关联的辅密钥,第一切换过程为MCG LTM过程。Referring to Figure 10, in step S1010, the second master node sends a first message to the first master node. The first master node is the source master node of the terminal device when performing a first handover process, the second master node is the master node to which at least one candidate cell associated with the first handover process belongs, the first message includes at least one count value, and the at least one count value is used to determine a secondary key associated with the at least one candidate cell. The first handover process is an MCG LTM process.

在一些实现方式中,第二主节点下的每个候选小区对应一个计数值;或者,第二主节点下的全部候选小区对应一个计数值;或者,第一消息包含第二主节点下的目标小区对应的计数值。In some implementations, each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value; or, the first message includes the count value corresponding to the target cell under the second master node.

例如,假如第二主节点下包括4个MCG LTM候选小区,第一消息中包括与每个候选小区对应的计数值(sk-counter);在这种实现方式中,计数值以MCG LTM候选小区为粒度进行配置的(每个MCG LTM候选小区对应一个计数值)。For example, if the second master node includes 4 MCG LTM candidate cells, the first message includes a count value (sk-counter) corresponding to each candidate cell; in this implementation, the count value is configured with the MCG LTM candidate cell as the granularity (each MCG LTM candidate cell corresponds to a count value).

又如,假如第二主节点下包括4个LTM候选小区,第一消息包含一个计数值,即第二主节点下的全部候候选小区对应同一计数值;在这种实现方式中,计数值的配置粒度是每个第二主节点(每个C-MN对应一个计数值)。For example, if the second master node includes 4 LTM candidate cells, the first message contains a count value, that is, all candidate cells under the second master node correspond to the same count value; in this implementation method, the configuration granularity of the count value is each second master node (each C-MN corresponds to a count value).

在一些实现方式中,在第一主节点接收第二主节点发送的第一消息之前,还包括:第一主节点向第二主节点发送第二消息,第二消息用于请求第二主节点提供以下中的一种或多种:第二主节点下的每个候选小区的计数值;第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;目标小区的计数值。In some implementations, before the first master node receives the first message sent by the second master node, it also includes: the first master node sends a second message to the second master node, and the second message is used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, and all candidate cells correspond to one count value; the count value of the target cell.

在一些实现方式中,第二消息包含目标小区的信息,例如,该目标小区信息可以为目标小区PCI或目标小区ID等。In some implementations, the second message includes information of the target cell. For example, the target cell information may be a target cell PCI or a target cell ID.

在一些实现方式中,第二消息在第一切换过程中的LTM准备阶段发送;或者,第二消息响应于终端设备成功接入第一主节点(即终端设备从其他MN成功接入到当前第一主节点)发送;或者,第二消息在第一主节点确定目标小区之后、发送切换命令之前发送。In some implementations, the second message is sent during the LTM preparation phase of the first switching process; or, the second message is sent in response to the terminal device successfully accessing the first master node (i.e., the terminal device successfully accesses the current first master node from other MNs); or, the second message is sent after the first master node determines the target cell and before sending the switching command.

在一些实现方式中,第二消息在第一主节点确定目标小区之后、发送切换命令之前发送,包括:第二消息在第一主节点的CU接收到第一主节点的DU发送的第二指示信息之后发送,第二指示信息包含目标小区的信息。In some implementations, the second message is sent after the first master node determines the target cell and before sending the switching command, including: the second message is sent after the CU of the first master node receives the second indication information sent by the DU of the first master node, and the second indication information includes information about the target cell.

在一些实现方式中,在第一主节点接收第二主节点发送的第一消息之后,还包括:第一主节点的CU将至少一个计数值发送至第一主节点的DU。In some implementations, after the first master node receives the first message sent by the second master node, the method further includes: the CU of the first master node sends at least one count value to the DU of the first master node.

在一些实现方式中,第一主节点的DU为以下DU中的一种:终端设备的当前DU;目标小区所在的DU,其中,第一切换过程用于在CU内执行DU间切换;第一主节点下的包含候选小区的全部DU。In some implementations, the DU of the first master node is one of the following DUs: the current DU of the terminal device; the DU where the target cell is located, wherein the first switching process is used to perform inter-DU switching within the CU; all DUs under the first master node including candidate cells.

例如,第一主节点的CU可以将至少一个计数值发送至终端设备的当前DU。For example, the CU of the first master node may send at least one count value to the current DU of the terminal device.

又如,当第一切换过程用于在CU内执行DU间切换时,第一主节点的CU可以将至少一个计数值发送至目标小区所在的DU。For another example, when the first handover procedure is used to perform inter-DU handover within a CU, the CU of the first master node may send at least one count value to the DU where the target cell is located.

又如,第一主节点的CU可以将至少一个计数值发送至第一主节点下的包含候选小区的全部DU。For another example, the CU of the first master node may send at least one count value to all DUs under the first master node that include candidate cells.

在一些实现方式中,切换命令是在目标小区不属于第一主节点的情况下发送的。In some implementations, the handover command is sent if the target cell does not belong to the first master node.

在一些实现方式中,第一主节点的DU可以判断目标小区与当前服务小区是否属于相同主节点或小区组,若不属于,则第一主节点的DU可以在切换命令中包含与目标小区/目标小区所属的主节点所关联的计数值。In some implementations, the DU of the first master node can determine whether the target cell and the current serving cell belong to the same master node or cell group. If not, the DU of the first master node can include a count value associated with the target cell/the master node to which the target cell belongs in the switching command.

在一些实现方式中,第一主节点的DU可以向第一主节点的CU发送第三指示信息,第三指示信息包括目标小区的信息;第一主节点的DU接收第一主节点的CU发送的针对第三指示信息的反馈信息,反馈信息包含以下中的一种:目标小区对应的计数值;目标小区所属的主节点对应的计数值。在另一些实施例中,上述反馈信息还可以包括:一个或多个候选小区对应的计数值。In some implementations, the DU of the first master node may send third indication information to the CU of the first master node, where the third indication information includes information about the target cell. The DU of the first master node receives feedback information regarding the third indication information sent by the CU of the first master node, where the feedback information includes one of the following: a count value corresponding to the target cell; or a count value corresponding to the master node to which the target cell belongs. In other embodiments, the feedback information may further include count values corresponding to one or more candidate cells.

在一些实现方式中,第三指示信息是在目标小区不属于第一主节点的情况下发送的。In some implementations, the third indication information is sent when the target cell does not belong to the first master node.

计数值承载于第一配置信息中The count value is carried in the first configuration information

本申请实施例中,可以在第一配置信息(如LTM Config)中配置一个或多个计数值。接下来对计数值的配置粒度进行详细介绍。In the embodiment of the present application, one or more count values can be configured in the first configuration information (e.g., LTM Config). The configuration granularity of the count value is described in detail below.

在一些实现方式中,可以按照候选主节点或候选小区组的粒度配置计数值。例如,每个候选主节点对应一个计数值,或者,每个候选主节点对应一个计数值集合(该计数值集合例如可以为计数值列表);又如,每个候选小区组对应一个计数值,或者,每个候选小区组对应一个计数值集合。应理解,每个候选小区可以对应一个候选小区组标识或候选主节点标识,终端设备可以基于目标小区所属的主节点或小区组确定计数值。In some implementations, the count value can be configured at the granularity of a candidate master node or candidate cell group. For example, each candidate master node corresponds to a count value, or each candidate master node corresponds to a set of count values (the set of count values can be, for example, a list of count values); as another example, each candidate cell group corresponds to a count value, or each candidate cell group corresponds to a set of count values. It should be understood that each candidate cell can correspond to a candidate cell group identifier or a candidate master node identifier, and the terminal device can determine the count value based on the master node or cell group to which the target cell belongs.

在一些实现方式中,可以按照候选小区的粒度配置计数值。例如,每个候选小区对应一个计数值;又如,每个候选小区的配置信息包含一个计数值。 In some implementations, the count value may be configured based on the granularity of the candidate cells. For example, each candidate cell corresponds to a count value; or, for another example, the configuration information of each candidate cell includes a count value.

在一些实现方式中,可以按照全部候选小区的粒度配置计数值。例如,全部候选小区对应一个计数值,即,全部候选小区对应相同的计数值。In some implementations, the count value may be configured at the granularity of all candidate cells. For example, all candidate cells correspond to one count value, that is, all candidate cells correspond to the same count value.

在一些实现方式中,上述第一配置信息可以包括MCG的配置信息和/或SCG的配置信息。在另一些实现方式中,第一配置信息还包括以下中的一种或多种:一个或多个候选小区的标识;一个或多个候选小区对应的小区组的标识。In some implementations, the first configuration information may include MCG configuration information and/or SCG configuration information. In other implementations, the first configuration information may also include one or more of the following: identifiers of one or more candidate cells; identifiers of cell groups corresponding to one or more candidate cells.

在一些实现方式中,SCG的配置信息包括以下中的一种或多种:源SCG的配置信息;除源SCG的配置信息之外的其他SCG的配置信息。In some implementations, the configuration information of the SCG includes one or more of the following: configuration information of the source SCG; configuration information of other SCGs except the configuration information of the source SCG.

在一些实现方式中,终端设备可根据一个或多个计数值中的目标计数值确定辅密钥。这里提到的目标计数值可以满足以下条件中的一种:与一个或多个候选小区中的目标小区对应;与目标小区所属的主节点对应;属于第一计数值集合,第一计数值集合与目标小区所属的主节点对应(即,每个主节点对应一个计数值集合);属于第二计数值集合,第二计数值集合与目标小区对应(即,每个候选小区对应一个计数值集合);包含在目标小区的配置信息中;为一个或多个候选小区对应的计数值,且一个或多个候选小区中的全部候选小区对应一个计数值。相应地,目标计数值可以按照如下方式确定:选择与一个或多个候选小区中的目标小区对应的计数值;选择与目标小区所属的主节点对应的计数值;从目标小区所属的主节点对应的第一计数值集合中,选择一个未使用的计数值;从目标小区对应的第二计数值集合中,选择一个未使用的计数值;应用目标小区配置信息中的计数值;应用一个或多个候选小区对应的计数值,且一个或多个候选小区中的全部候选小区对应一个计数值。In some implementations, the terminal device may determine the secondary key based on a target count value from one or more count values. The target count value mentioned herein may satisfy one of the following conditions: corresponding to a target cell from one or more candidate cells; corresponding to a master node to which the target cell belongs; belonging to a first count value set, the first count value set corresponding to the master node to which the target cell belongs (i.e., each master node corresponds to a count value set); belonging to a second count value set, the second count value set corresponding to the target cell (i.e., each candidate cell corresponds to a count value set); included in the configuration information of the target cell; being a count value corresponding to one or more candidate cells, with one count value corresponding to all candidate cells from the one or more candidate cells. Accordingly, the target count value may be determined as follows: selecting a count value corresponding to the target cell from one or more candidate cells; selecting a count value corresponding to the master node to which the target cell belongs; selecting an unused count value from the first count value set corresponding to the master node to which the target cell belongs; selecting an unused count value from the second count value set corresponding to the target cell; applying a count value from the target cell configuration information; applying a count value corresponding to one or more candidate cells, with one count value corresponding to all candidate cells from the one or more candidate cells.

在一些实现方式中,终端设备可以向目标小区发送RRC重配完成(RRC reconfiguration complete)消息,RRC重配完成消息包含目标计数值。这样,可以维护终端设备侧与网络设备的目标计数值一致,从而有助于提高数据传输的可靠性和安全性。In some implementations, the terminal device may send an RRC reconfiguration complete message to the target cell, which includes the target count value. This ensures that the target count values on the terminal device and the network device are consistent, thereby improving the reliability and security of data transmission.

在一些实现方式中,当计数值承载于第一配置信息中时,第一切换过程中传输的切换命令可以包含第一指示信息,第一指示信息用于指示以下中的一种或多种:终端设备需要更新主密钥;终端设备需要更新辅密钥。In some implementations, when the count value is carried in the first configuration information, the switching command transmitted during the first switching process may include first indication information, and the first indication information is used to indicate one or more of the following: the terminal device needs to update the master key; the terminal device needs to update the secondary key.

作为一个示例,例如,第一指示信息例如为1bit,当第一指示信息为1时,表示终端设备需要执行密钥更新。在一种实现方式中,1bit的第一指示信息可用于指示终端设备更新主密钥(如KgNB)和辅密钥(如S-KgNB);在另一种实现方式中,1bit的第一指示信息也可用于指示终端设备仅更新辅密钥(如S-KgNB)。As an example, for example, the first indication information is 1 bit. When the first indication information is 1, it indicates that the terminal device needs to perform a key update. In one implementation, the 1-bit first indication information can be used to instruct the terminal device to update the primary key (such as K gNB ) and the secondary key (such as SK gNB ); in another implementation, the 1-bit first indication information can also be used to instruct the terminal device to update only the secondary key (such as SK gNB ).

本申请实施例中,当计数值承载于第一配置信息中时,第一主节点可以接收第二主节点发送的至少一个计数值,以确定至少一个候选小区关联的辅密钥。重新参见图10,第一主节点接收第二主节点发送的第一消息,第二主节点为至少一个候选小区所属的主节点,第一消息包括至少一个计数值,至少一个计数值用于确定与至少一个候选小区关联的辅密钥。In an embodiment of the present application, when a count value is carried in the first configuration information, the first master node may receive at least one count value sent by the second master node to determine a secondary key associated with at least one candidate cell. Referring again to FIG10 , the first master node receives a first message sent by the second master node, the second master node being the master node to which at least one candidate cell belongs, the first message including at least one count value, and the at least one count value being used to determine a secondary key associated with the at least one candidate cell.

在一些实现方式中,第二主节点下的每个候选小区对应一个计数值;或者,第二主节点下的全部候选小区对应一个计数值;或者,第一消息包含第二主节点下的目标小区对应的计数值。In some implementations, each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value; or, the first message includes the count value corresponding to the target cell under the second master node.

例如,假如第二主节点下包括4个MCG LTM候选小区,第一消息中包括与每个候选小区对应的计数值(sk-counter);在这种实现方式中,计数值以MCG LTM候选小区为粒度进行配置的(每个MCG LTM候选小区对应一个计数值)。For example, if the second master node includes 4 MCG LTM candidate cells, the first message includes a count value (sk-counter) corresponding to each candidate cell; in this implementation, the count value is configured with the MCG LTM candidate cell as the granularity (each MCG LTM candidate cell corresponds to a count value).

又如,假如第二主节点下包括4个LTM候选小区,第一消息包含一个计数值,即第二主节点下的全部候候选小区对应同一计数值;在这种实现方式中,计数值的配置粒度是每个第二主节点(每个C-MN对应一个计数值)。For example, if the second master node includes 4 LTM candidate cells, the first message contains a count value, that is, all candidate cells under the second master node correspond to the same count value; in this implementation method, the configuration granularity of the count value is each second master node (each C-MN corresponds to a count value).

在一些实现方式中,在第一主节点接收第二主节点发送的第一消息之前,还包括:第一主节点向第二主节点发送第二消息,第二消息用于请求第二主节点提供以下中的一种或多种:第二主节点下的每个候选小区的计数值;第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;目标小区的计数值。In some implementations, before the first master node receives the first message sent by the second master node, it also includes: the first master node sends a second message to the second master node, and the second message is used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, and all candidate cells correspond to one count value; the count value of the target cell.

在一些实现方式中,第二消息在第一切换过程中的LTM准备阶段发送;或者,第二消息响应于终端设备成功接入第一主节点发送。In some implementations, the second message is sent during the LTM preparation phase of the first switching process; or, the second message is sent in response to the terminal device successfully accessing the first master node.

在一些实现方式中,上述至少一个计数值可用于更新与MCG LTM候选小区所关联的辅密钥。该辅密钥可以是辅节点(SN)的密钥,也可以是主辅小区(PSCell),还可以是辅小区组(SCG)的密钥。应理解,上述SN/PSCell/SCG可以为源SN/PSCell/SCG,也可以为其他SN/PSCell/SCG。In some implementations, the at least one count value may be used to update a secondary key associated with an MCG LTM candidate cell. The secondary key may be a key of a secondary node (SN), a primary secondary cell (PSCell), or a secondary cell group (SCG). It should be understood that the SN/PSCell/SCG may be the source SN/PSCell/SCG or another SN/PSCell/SCG.

应理解,计数值的配置粒度不同,则第一主节点的CU向DU发送计数值的方式可以不同。例如,如果全部候选小区对应一个计数值,则第一主节点的CU可以将该一个计数值发送至第一主节点的DU。又如,如果每个候选主节点/候选小区组对应一个计数值,则第一主节点的CU可以将至少一个计数值和该至少一个计数值对应的候选主节点信息或主小区组信息发送至第一主节点的DU。又如,如果每个 候选小区/目标小区对应一个计数值,则第一主节点的CU可以将至少一个计数值和该至少一个计数值对应的一个或多个候选小区/目标小区信息(如小区ID)发送至第一主节点的DU。It should be understood that the configuration granularity of the count value is different, and the way in which the CU of the first master node sends the count value to the DU may be different. For example, if all candidate cells correspond to one count value, the CU of the first master node may send the one count value to the DU of the first master node. For another example, if each candidate master node/candidate cell group corresponds to one count value, the CU of the first master node may send at least one count value and the candidate master node information or primary cell group information corresponding to the at least one count value to the DU of the first master node. For another example, if each A candidate cell/target cell corresponds to a count value, and the CU of the first master node may send at least one count value and one or more candidate cell/target cell information (such as cell ID) corresponding to the at least one count value to the DU of the first master node.

在一些实现方式中,在第二主节点向第一主节点发送第一消息之后,还包括:第二主节点接收第一主节点发送的第三消息,第三消息包含以下中的一种:至少一个候选小区关联的主密钥;或者,至少一个候选小区中的目标小区关联的主密钥。In some implementations, after the second master node sends the first message to the first master node, it also includes: the second master node receives a third message sent by the first master node, and the third message includes one of the following: a master key associated with at least one candidate cell; or a master key associated with a target cell in at least one candidate cell.

在一些实现方式中,第二主节点可以根据至少一个候选小区关联的主密钥和至少一个计数值,确定至少一个候选小区关联的辅密钥;第二主节点向辅节点发送至少一个候选小区关联的辅密钥。In some implementations, the second master node may determine a secondary key associated with at least one candidate cell based on a primary key associated with at least one candidate cell and at least one count value; and the second master node sends the secondary key associated with at least one candidate cell to the secondary node.

在一些实现方式中,第二主节点可以根据目标小区关联的主密钥和目标小区对应的计数值,确定目标小区关联的辅密钥;第二主节点向辅节点发送目标小区关联的辅密钥。目标小区对应的计数值例如可以是上述至少一个计数值中的计数值。In some implementations, the second master node may determine a secondary key associated with the target cell based on a primary key associated with the target cell and a count value corresponding to the target cell; and the second master node may send the secondary key associated with the target cell to the secondary node. The count value corresponding to the target cell may be, for example, one of the at least one count value.

在一些实现方式中,第二主节点下的每个候选小区对应一个计数值;或者,第二主节点下的全部候选小区对应一个计数值。In some implementations, each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value.

在一些实现方式中,在第一主节点接收第二主节点发送的第一消息之前,还包括:第一主节点向第二主节点发送第二消息,第二消息用于请求第二主节点提供第二主节点下的候选小区的计数值(例如可以是每个候选小区对应的计数值,或全部小区对应的计数值,该全部候选小区对应一个计数值)。In some implementations, before the first master node receives the first message sent by the second master node, it also includes: the first master node sends a second message to the second master node, and the second message is used to request the second master node to provide the count value of the candidate cells under the second master node (for example, it can be the count value corresponding to each candidate cell, or the count value corresponding to all cells, and all candidate cells correspond to one count value).

需要说明书的是,本申请实施例中的一个或多个计数值可以配置在候选小区列表内,也可以配置在候选小区列表外。当计数值可以配置在候选小区列表外时,作为一个示例,该计数值例如可以配置在LTM-config information element中,具体配置方式如下所示:
It should be noted that one or more count values in the embodiments of the present application can be configured in the candidate cell list or outside the candidate cell list. When the count value can be configured outside the candidate cell list, as an example, the count value can be configured in the LTM-config information element, and the specific configuration method is as follows:

图11是本申请又一实施例提供的无线通信方法的流程示意图。图11所示的方法是站在第二主节点和辅节点的角度进行描述的。这里提到的第二主节点例如可以是图10所示的第二主节点。这里提到的辅节点可以是gNB,也可以是eNB。Figure 11 is a schematic flow chart of a wireless communication method provided by another embodiment of the present application. The method shown in Figure 11 is described from the perspective of a second master node and a secondary node. The second master node mentioned here can be, for example, the second master node shown in Figure 10. The secondary node mentioned here can be either a gNB or an eNB.

参见图11,在步骤S1110,辅节点接收第二主节点发送的一个或多个辅密钥。其中,一个或多个辅密钥与第二主节点下的至少一个候选小区关联,或者,一个或多个辅密钥与第二主节点下的目标小区关联,辅密钥用于终端设备在执行第一切换过程之后与辅节点进行通信,第二主节点为至少一个候选小区所属的主节点,第一切换过程为MCG LTM过程。Referring to Figure 11, in step S1110, the secondary node receives one or more secondary keys sent by the second primary node. The one or more secondary keys are associated with at least one candidate cell under the second primary node, or the one or more secondary keys are associated with a target cell under the second primary node. The secondary keys are used by the terminal device to communicate with the secondary node after executing a first handover process. The second primary node is the primary node to which the at least one candidate cell belongs, and the first handover process is an MCG LTM process.

在一些实现方式中,第二主节点可以先向辅节点发送至少一个候选小区对应的辅密钥。在终端设备成功接入第二主节点或接收到辅节点的指示之后,向辅节点发送第四指示信息,第四指示信息用于指示辅节点使用至少一个候选小区关联的辅密钥中的目标辅密钥。In some implementations, the second master node may first send a secondary key corresponding to at least one candidate cell to the secondary node. After the terminal device successfully accesses the second master node or receives an instruction from the secondary node, the second master node may send fourth indication information to the secondary node, where the fourth indication information is used to instruct the secondary node to use a target secondary key from among the secondary keys associated with the at least one candidate cell.

在一些实现方式中,第二主节点可以在终端设备成功接入第二主节点或接收到辅节点的指示之后,向辅节点发送第五指示信息,第五指示信息包含目标小区对应的辅密钥。In some implementations, the second master node may send fifth indication information to the secondary node after the terminal device successfully accesses the second master node or receives an indication from the secondary node, where the fifth indication information includes a secondary key corresponding to the target cell.

下面结合具体例子,更加详细地描述本申请中的无线通信方法。应注意,以下示例仅仅是为了帮助本领域技术人员理解本申请实施例,而非要将本申请实施例限于所例示的具体数值或具体场景。本领域技术人员根据所给出的示例,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本申请实施例的范围内。The wireless communication method of the present application is described in more detail below with reference to specific examples. It should be noted that the following examples are intended solely to help those skilled in the art understand the embodiments of the present application and are not intended to limit the embodiments of the present application to the specific numerical values or specific scenarios illustrated. Those skilled in the art can readily make various equivalent modifications or variations based on the examples provided, and such modifications or variations also fall within the scope of the embodiments of the present application.

示例一Example 1

在示例一中,计数值(sk-counter)承载于切换命令(LTM cell switch command)中。在示例一中, 站在网络侧和终端设备(UE)侧,对本申请中的无线通信方法进行详细介绍。该网络侧包括候选主节点(C-MN)和源主节点(S-MN)等。In Example 1, the counter value (sk-counter) is carried in the switch command (LTM cell switch command). The wireless communication method in this application is described in detail from the perspective of the network side and the terminal device (UE) side. The network side includes a candidate master node (C-MN) and a source master node (S-MN).

网络侧Network side

示例一中,网络侧的无线通信方法可以包括如下步骤:In Example 1, the wireless communication method on the network side may include the following steps:

步骤1.01,C-MN向S-MN发送第一消息,第一消息包括:与至少一个候选小区关联的sk-counter。Step 1.01: The C-MN sends a first message to the S-MN. The first message includes: an sk-counter associated with at least one candidate cell.

例如,C-MN下包括4个MCG LTM候选小区,第一消息中包括与每个候选小区对应的sk-counter;在这种实现方式中,sk-counter的配置粒度是每个MCG LTM候选小区;For example, the C-MN includes four MCG LTM candidate cells, and the first message includes the sk-counter corresponding to each candidate cell. In this implementation, the granularity of sk-counter configuration is for each MCG LTM candidate cell.

又如,C-MN下包括4个LTM候选小区,第一消息包含一个sk-counter,即C-MN下的全部候候选小区对应同一sk-counter;在这种实现方式中,sk-counter的配置粒度是每个C-MN;For example, if a C-MN includes four LTM candidate cells, the first message contains one sk-counter, meaning all candidate cells under the C-MN correspond to the same sk-counter. In this implementation, the sk-counter configuration granularity is per C-MN.

又如,第一消息中包含与目标小区对应的sk-counter,目标小区信息包含在第二消息中。For another example, the first message includes the sk-counter corresponding to the target cell, and the target cell information is included in the second message.

在一些实现方式中,sk-counter用于更新与MCG LTM候选小区所关联的SN/PSCell/SCG的密钥,所关联的SN/PSCell/SCG可以为源SN/PSCell/SCG,也可以为为其他SN/PSCell/SCG。In some implementations, sk-counter is used to update the key of the SN/PSCell/SCG associated with the MCG LTM candidate cell. The associated SN/PSCell/SCG can be the source SN/PSCell/SCG or other SN/PSCell/SCG.

步骤1.02,基于步骤1.01,C-MN向S-MN发送第一消息前,接收S-MN发送的第二消息。其中,第二消息用于请求C-MN提供sk-counter配置;可选的,第二消息还包括目标小区信息,例如,目标小区PCI/目标小区ID等。In step 1.02, based on step 1.01, the C-MN receives a second message from the S-MN before sending the first message to the S-MN. The second message is used to request the C-MN to provide sk-counter configuration; optionally, the second message also includes target cell information, such as the target cell PCI/target cell ID.

步骤1.03,基于步骤1.02,S-MN向C-MN发送第二消息的时间阶段包括:Step 1.03: Based on step 1.02, the time period during which the S-MN sends the second message to the C-MN includes:

a)LTM准备阶段;a) LTM preparation stage;

b)UE从其他MN成功接入到当前MN;b) The UE successfully accesses the current MN from another MN;

c)LTM触发前;例如,S-MN-DU基于UE上报的L1测量结果确定目标小区,并向S-MN-CU发送第二指示信息,第二指示信息包括目标小区信息,例如,目标小区ID;S-MN-CU在收到第二指示信息后,向目标小区对应的C-MN发送第二消息。在另一种实现方式中,S-MN-DU判断目标小区和当前服务小区是否属于相同MN/小区组,若不属于,S-MN-DU向S-MN-CU发送第二指示信息。c) Before LTM is triggered; for example, the S-MN-DU determines the target cell based on the L1 measurement results reported by the UE and sends a second indication message to the S-MN-CU. The second indication message includes target cell information, such as the target cell ID. After receiving the second indication message, the S-MN-CU sends a second message to the C-MN corresponding to the target cell. In another implementation, the S-MN-DU determines whether the target cell and the current serving cell belong to the same MN/cell group. If not, the S-MN-DU sends the second indication message to the S-MN-CU.

步骤1.04,基于步骤1.01,S-MN-CU收到第一消息后,将sk-counter或sk-counter+候选/目标小区ID或sk-counter+候选小区组信息(对应步骤1.01中的3种不同配置粒度),发送给S-MN-DU:Step 1.04: Based on step 1.01, after receiving the first message, the S-MN-CU sends the sk-counter or sk-counter + candidate/target cell ID or sk-counter + candidate cell group information (corresponding to the three different configuration granularities in step 1.01) to the S-MN-DU:

例如,S-MN-CU将sk-counter配置发送给当前服务的DU;可选的,当UE发生intra-CU inter-DU LTM时,S-MN-CU再将sk-counter配置发送给目标DU。For example, the S-MN-CU sends the sk-counter configuration to the currently served DU; optionally, when intra-CU inter-DU LTM occurs in the UE, the S-MN-CU sends the sk-counter configuration to the target DU.

又如,S-MN-CU将sk-counter配置发送给S-MN下全部配置了LTM候选小区的DU。For another example, the S-MN-CU sends the sk-counter configuration to all DUs configured with LTM candidate cells under the S-MN.

步骤1.05,基于步骤1.04,S-MN-DU判断目标小区与当前服务小区是否属于相同MN/小区组,若不属于,S-MN-DU在LTM cell switch MAC CE中包含与目标小区/目标小区所属的MN所关联的sk-counter。In step 1.05, based on step 1.04, the S-MN-DU determines whether the target cell and the current serving cell belong to the same MN/cell group. If not, the S-MN-DU includes the sk-counter associated with the target cell/MN to which the target cell belongs in the LTM cell switch MAC CE.

步骤1.06,基于步骤1.01,S-MN-DU向S-MN-CU发送第三指示信息,第三指示信息至少包括目标小区对应的候选小区ID,S-MN-CU基于第三指示信息确定是否需要更新sk-counter/目标小区关联的sk-counter,并向S-MN-DU发送反馈信息;可选的,S-MN-DU判断目标小区与当前服务小区是否属于相同MN/小区组,若不属于,向S-MN-CU发送第三指示信息。若反馈信息中包括sk-counter,S-MN-DU在LTM cell switch MAC CE中包含与目标小区/目标小区所属的MN所关联的sk-counter。Step 1.06: Based on step 1.01, the S-MN-DU sends a third indication message to the S-MN-CU. The third indication message includes at least the candidate cell ID corresponding to the target cell. Based on the third indication message, the S-MN-CU determines whether to update the sk-counter/the sk-counter associated with the target cell and sends feedback to the S-MN-DU. Optionally, the S-MN-DU determines whether the target cell and the current serving cell belong to the same MN/cell group. If not, the S-MN-DU sends the third indication message to the S-MN-CU. If the feedback message includes the sk-counter, the S-MN-DU includes the sk-counter associated with the target cell/the MN to which the target cell belongs in the LTM cell switch MAC CE.

UE侧UE side

示例一中,UE侧的无线通信方法可以包括如下步骤:In Example 1, the wireless communication method on the UE side may include the following steps:

步骤1.11,UE接收LTM cell switch MAC CE,若LTM cell switch MAC CE中包含sk-counter,UE的行为包括:In step 1.11, the UE receives the LTM cell switch MAC CE. If the LTM cell switch MAC CE contains the sk-counter, the UE's actions include:

(1)生成目标小区的KgNB,并基于目标小区的KgNB和接收到的sk-counter更新S-KgNB(1) Generate the KgNB of the target cell and update the SKgNB based on the KgNB of the target cell and the received sk-counter;

(2)基于KgNB和接收到sk-counter更新S-KgNB(2) Update SK gNB based on K gNB and received sk-counter;

(3)对KeyToUse配置为master的bearer,重建/新建PDCP/RLC entity;可选的,在master key需要更新时执行对应行为;或PDCP termination point发生变化时需要执行对应行为;(3) For the bearer whose KeyToUse is configured as master, re-establish/create a new PDCP/RLC entity; optionally, perform corresponding actions when the master key needs to be updated; or when the PDCP termination point changes;

(4)对KeyToUse配置为secondary的bearer,重建/新建PDCP/RLC entity;(4) For the bearer whose KeyToUse is configured as secondary, re-establish/create a new PDCP/RLC entity;

(5)删除第一承载对应的PDCP/RLC实体,其中,第一承载包含在源配置中,但不不含在目标配置中;(5) deleting the PDCP/RLC entity corresponding to the first bearer, where the first bearer is included in the source configuration but not in the target configuration;

(6)对于SRB,执行PDCP SDU discard,进一步的,基于网络指示执行PDCP SDU discard,进一步,SRB为SRB1/SRB2。(6) For SRB, PDCP SDU discard is executed. Further, PDCP SDU discard is executed based on network instructions. Further, SRB is SRB1/SRB2.

示例二Example 2

在示例二中,计数值(sk-counter)承载于LTM配置信息中。在示例二中,站在网络侧和终端设备(UE)侧,对本申请中的无线通信方法进行详细介绍。该网络侧包括候选主节点(C-MN)和源主节点(S-MN)。 In Example 2, the counter value (sk-counter) is carried in the LTM configuration information. In Example 2, the wireless communication method in this application is described in detail on the network side and the terminal device (UE) side. The network side includes a candidate master node (C-MN) and a source master node (S-MN).

网络侧Network side

示例二中,网络侧的无线通信方法可以包括如下步骤:In Example 2, the wireless communication method on the network side may include the following steps:

步骤2.01,S-MN向UE发送LTM配置,其中,LTM配置至少包括:Step 2.01: The S-MN sends an LTM configuration to the UE. The LTM configuration includes at least:

a)候选小区配置/候选小区ID;a) Candidate cell configuration/candidate cell ID;

b)候选小区对应的小区组ID;b) the cell group ID corresponding to the candidate cell;

c)sk-counter配置:c) sk-counter configuration:

i,每个候选小区组关联一个sk-counter或sk-counter列表;i, each candidate cell group is associated with a sk-counter or sk-counter list;

ii,每个候选小区关联一个sk-counter,可选的,sk-counter包含在每个候选小区配置中;ii. Each candidate cell is associated with a sk-counter. Optionally, the sk-counter is included in the configuration of each candidate cell.

iii,sk-counter。在一种实现方式中,sk-counter配置在候选小区列表外。iii. sk-counter. In one implementation, the sk-counter is configured outside the candidate cell list.

在一些实现方式中,LTM配置信息可以为LTM-config information element,LTM配置信息可以包括如下内容:
In some implementations, the LTM configuration information may be an LTM-config information element, which may include the following:

步骤2.02,S-MN向UE发送LTM配置前,接收C-MN发送的第一消息,第一消息包括:与至少一个候选小区关联的sk-counter。Step 2.02: Before sending the LTM configuration to the UE, the S-MN receives a first message sent by the C-MN, where the first message includes: an sk-counter associated with at least one candidate cell.

例如,C-MN下包括4个LTM候选小区,第一消息中包括与每个候选小区对应的sk-counter;可以理解为sk-counter的配置粒度是per LTM candidate cell;For example, a C-MN includes four LTM candidate cells, and the first message includes the sk-counter corresponding to each candidate cell. It can be understood that the configuration granularity of sk-counter is per LTM candidate cell.

又如,C-MN下包括4个LTM候选小区,第一消息包含一个sk-counter,即C-MN下的全部候候选小区对应同一sk-counter;可以理解为sk-counter的配置粒度是per C-MN。For example, a C-MN includes four LTM candidate cells, and the first message contains a sk-counter, that is, all candidate cells under the C-MN correspond to the same sk-counter; it can be understood that the configuration granularity of the sk-counter is per C-MN.

步骤2.03,基于步骤2.02,C-MN向S-MN发送第一消息前,接收S-MN发送的第二消息。其中,第二消息用于请求C-MN提供sk-counter配置;S-MN向C-MN发送第二消息的时间阶段包括:LTM准备阶段。In step 2.03, based on step 2.02, the C-MN receives a second message from the S-MN before sending the first message to the S-MN. The second message is used to request the C-MN to provide sk-counter configuration. The time period during which the S-MN sends the second message to the C-MN includes: the LTM preparation phase.

UE侧UE side

示例二中,UE侧的无线通信方法可以包括如下步骤:In Example 2, the wireless communication method on the UE side may include the following steps:

步骤2.11,UE通过接收LTM cell switch MAC CE或评估候选小区的执行条件确定目标小区,若LTM cell switch MAC CE中包含密钥更新信息,或,目标小区与当前服务小区属于不相同MN/小区组,UE的行为包括:In step 2.11, the UE determines the target cell by receiving the LTM cell switch MAC CE or evaluating the execution conditions of the candidate cells. If the LTM cell switch MAC CE contains key update information, or the target cell belongs to a different MN/cell group than the current serving cell, the UE's actions include:

a)生成目标小区的KgNB,确定sk-counter,基于目标小区的KgNB和sk-counter更新S-KgNB。或,确定sk-counter,基于当前KgNB和sk-counter更新S-KgNBa) Generate the target cell's KgNB , determine the sk-counter, and update the sk- gNB based on the target cell's KgNB and sk-counter. Alternatively, determine the sk-counter and update the sk- gNB based on the current KgNB and sk-counter.

b)确定sk-counter的方式包括以下中的一种或多种:b) The method of determining the sk-counter includes one or more of the following:

i,选择与目标小区关联的sk-counter;i, select the sk-counter associated with the target cell;

ii,选择与目标小区所属的MN关联的sk-counter;ii. Select the sk-counter associated with the MN to which the target cell belongs;

iii,从目标小区所属的MN关联的sk-counter列表中选择第一个unused的sk-counter;iii. Select the first unused sk-counter from the sk-counter list associated with the MN to which the target cell belongs;

iv,应用目标小区配置中的sk-counter;iv, apply the sk-counter in the target cell configuration;

v,应用sk-counter(对应步骤2.01的iii部分内容);v, apply sk-counter (corresponding to part iii of step 2.01);

c)对使用密钥(KeyToUse)配置为master的bearer,重建/新建PDCP/RLC实体(entity);可选的,在master key需要更新时执行对应行为;或PDCP termination point发生变化时需要执行对应行为。c) For the bearer whose KeyToUse is configured as master, rebuild/create a new PDCP/RLC entity; optionally, perform corresponding actions when the master key needs to be updated; or when the PDCP termination point changes.

d)对KeyToUse配置为secondary的bearer,重建/新建PDCP/RLC entity。 d) For the bearer whose KeyToUse is configured as secondary, re-establish/create a new PDCP/RLC entity.

e)删除第一承载对应的PDCP/RLC实体,其中,第一承载包含在源配置中,但不不含在目标配置中。e) deleting the PDCP/RLC entity corresponding to the first bearer, wherein the first bearer is included in the source configuration but not included in the target configuration.

f)对于SRB,执行PDCP SDU discard,进一步的,基于网络指示执行PDCP SDU discard,进一步,SRB为SRB1/SRB2。f) For SRB, execute PDCP SDU discard. Further, execute PDCP SDU discard based on network indication. Further, SRB is SRB1/SRB2.

步骤2.12,UE向目标小区发送RRC reconfiguration complete消息,RRC reconfiguration complete消息中包含所使用的sk-counter。In step 2.12, the UE sends an RRC reconfiguration complete message to the target cell. The RRC reconfiguration complete message includes the sk-counter used.

步骤2.13,LTM cell switch MAC CE中包含密钥更新信息。Step 2.13, LTM cell switch MAC CE contains key update information.

例如,LTM cell switch MAC CE包括第一指示信息。作为一个示例,第一指示信息可以为1bit,当指示信息为1,表示UE需要执行密钥更新;在一种实现方式中,1bit指示信息用于指示UE更新KgNB和S-KgNB,在另一种实现方式中,1bit指示信息用于指示UE更新S-KgNBFor example, the LTM cell switch MAC CE includes first indication information. As an example, the first indication information can be 1 bit. When the indication information is 1, it indicates that the UE needs to perform a key update. In one implementation, the 1-bit indication information is used to instruct the UE to update the K gNB and SK gNB . In another implementation, the 1-bit indication information is used to instruct the UE to update the SK gNB .

示例三Example 3

在示例三中,主要涉及MN与SN之间的交互,MN例如可以包括C-MN、T-MN等。具体可以包括如下步骤:In Example 3, the interaction between the MN and the SN is mainly involved. The MN may include, for example, a C-MN, a T-MN, etc. Specifically, the following steps may be included:

步骤3.01,C-MN接收S-MN发送的第三消息,第三消息包括至少一个候选小区/目标小区的密钥信息,密钥信息至少包括KNG-RAN*(S-MN推衍的密钥);C-MN基于候选小区的KNG-RAN*和sk-counter生成KSN,发送给SN:In step 3.01, the C-MN receives a third message sent by the S-MN. The third message includes key information of at least one candidate cell/target cell. The key information includes at least KNG-RAN* (the key derived by the S-MN). The C-MN generates KSN based on the KNG-RAN* and sk-counter of the candidate cell and sends it to the SN.

在一种实现方式中,C-MN在UE成功接入后或收到S-MN指示后,向SN发送第四指示信息,第四指示信息至少包含与目标小区对应的KSNIn one implementation, after the UE successfully accesses or receives an indication from the S-MN, the C-MN sends fourth indication information to the SN, where the fourth indication information at least includes the K SN corresponding to the target cell.

在另一种实现方式中,C-MN向SN发送与至少一个候选小区对应的KSN,在UE成功接入后或S-MN指示后,向SN发送第四指示信息,第四指示信息用于指示SN使用哪个KSNIn another implementation, the C-MN sends a KSN corresponding to at least one candidate cell to the SN, and after the UE successfully accesses or after the S-MN instructs, sends fourth indication information to the SN, where the fourth indication information is used to instruct the SN which KSN to use.

本申请实施例中,候选小区配置可用于UE执行MCG LTM,候选小区配置包括MCG配置,可选的,候选小区配置还包括SCG配置。在本方案中,SCG配置可以为源PSCell/SCG配置(例如可应用于inter-CU MCG LTM with SCG unchanged场景),也可以为其他PSCell/SCG配置(例如可应用于inter-CU MCG LTM with SCG change场景)。In an embodiment of the present application, a candidate cell configuration may be used for a UE to execute MCG LTM. The candidate cell configuration includes an MCG configuration and, optionally, an SCG configuration. In this solution, the SCG configuration may be a source PSCell/SCG configuration (e.g., applicable to an inter-CU MCG LTM with SCG unchanged scenario) or another PSCell/SCG configuration (e.g., applicable to an inter-CU MCG LTM with SCG change scenario).

本申请实施例中,为了避免执行inter-CU MCG LTM with SCG unchanged时需要同时更新MN密钥和SN密钥所带来的复杂度,可以限制网络在当前配置和/或LTM候选小区配置中包含SN terminated bearer配置。In an embodiment of the present application, in order to avoid the complexity caused by the need to simultaneously update the MN key and the SN key when executing inter-CU MCG LTM with SCG unchanged, the network can be restricted from including the SN terminated bearer configuration in the current configuration and/or LTM candidate cell configuration.

上文结合图1至图11,详细描述了本申请的方法实施例,下面结合图12至图16,详细描述本申请的装置实施例。应理解,方法实施例的描述与装置实施例的描述相互对应,因此,未详细描述的部分可以参见前面方法实施例。The method embodiment of the present application is described in detail above in conjunction with Figures 1 to 11. The device embodiment of the present application is described in detail below in conjunction with Figures 12 to 16. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment. Therefore, for parts not described in detail, reference can be made to the above method embodiment.

图12是本申请实施例提供的通信设备的结构示意图。图12所示的通信设备1200可以为终端设备,该通信设备1200可以包括接收单元1210。接收单元1210用于接收第一主节点发送的一个或多个计数值;其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。FIG12 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The communication device 1200 shown in FIG12 may be a terminal device, and the communication device 1200 may include a receiving unit 1210. The receiving unit 1210 is configured to receive one or more count values sent by a first master node; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first handover process, the secondary key being used for communication between the terminal device and the secondary node, and the first handover process being an MCG LTM process.

可选地,所述一个或多个计数值承载于切换命令中,所述切换命令用于在所述第一切换过程中指示所述终端设备切换至目标小区。Optionally, the one or more count values are carried in a handover command, and the handover command is used to instruct the terminal device to switch to the target cell during the first handover process.

可选地,所述一个或多个计数值承载于第一配置信息中,所述第一配置信息包含一个或多个候选小区的配置信息,所述一个或多个候选小区的配置信息用于所述终端设备执行所述第一切换过程。Optionally, the one or more count values are carried in first configuration information, and the first configuration information includes configuration information of one or more candidate cells, and the configuration information of the one or more candidate cells is used by the terminal device to perform the first switching process.

可选地,一个或多个候选主节点中的每个候选主节点对应一个计数值;或一个或多个候选主节点中的每个候选主节点对应一个计数值集合;或所述一个或多个候选小区中的每个候选小区对应一个计数值;或所述一个或多个候选小区中的每个候选小区的配置信息包含一个计数值;或所述一个或多个候选小区中的全部候选小区对应一个计数值;其中,所述一个或多个候选小区属于所述一个或多个候选主节点。Optionally, each of the one or more candidate master nodes corresponds to a count value; or each of the one or more candidate master nodes corresponds to a set of count values; or each of the one or more candidate cells corresponds to a count value; or the configuration information of each of the one or more candidate cells includes a count value; or all of the one or more candidate cells correspond to a count value; wherein, the one or more candidate cells belong to the one or more candidate master nodes.

可选地,所述一个或多个候选小区的配置信息包括以下中的一种或多种:MCG的配置信息;辅小区组SCG的配置信息。Optionally, the configuration information of the one or more candidate cells includes one or more of the following: configuration information of MCG; configuration information of secondary cell group SCG.

可选地,所述SCG的配置信息包括以下中的一种或多种:源SCG的配置信息;除所述源SCG的配置信息之外的其他SCG的配置信息。Optionally, the configuration information of the SCG includes one or more of the following: configuration information of the source SCG; configuration information of other SCGs except the configuration information of the source SCG.

可选地,所述辅密钥由所述终端设备根据所述一个或多个计数值中的目标计数值确定,所述目标计数值满足以下条件中的一种:与所述一个或多个候选小区中的目标小区对应;与所述目标小区所属的主节点对应;属于第一计数值集合,所述第一计数值集合与所述目标小区所属的主节点对应;属于第二计数值集合,所述第二计数值集合与所述目标小区对应;包含在所述目标小区的配置信息中;与所述一个或多个候选小区中的全部候选小区对应。 Optionally, the secondary key is determined by the terminal device based on a target count value among the one or more count values, and the target count value satisfies one of the following conditions: corresponds to a target cell among the one or more candidate cells; corresponds to a master node to which the target cell belongs; belongs to a first count value set, and the first count value set corresponds to the master node to which the target cell belongs; belongs to a second count value set, and the second count value set corresponds to the target cell; is included in the configuration information of the target cell; corresponds to all candidate cells among the one or more candidate cells.

可选地,所述通信设备还包括:发送单元,用于向所述目标小区发送RRC重配完成消息,所述RRC重配完成消息包含所述目标计数值。Optionally, the communication device further includes: a sending unit, configured to send an RRC reconfiguration complete message to the target cell, wherein the RRC reconfiguration complete message includes the target count value.

可选地,所述第一切换过程中传输的切换命令包含第一指示信息,所述第一指示信息用于指示以下中的一种或多种:述终端设备需要更新主密钥;所述终端设备需要更新辅密钥。Optionally, the switching command transmitted during the first switching process includes first indication information, and the first indication information is used to indicate one or more of the following: the terminal device needs to update the master key; the terminal device needs to update the secondary key.

可选地,所述第一配置信息还包括以下中的一种或多种:所述一个或多个候选小区的标识;所述一个或多个候选小区对应的小区组的标识。Optionally, the first configuration information further includes one or more of the following: identifiers of the one or more candidate cells; identifiers of cell groups corresponding to the one or more candidate cells.

可选地,所述通信设备还包括:确定单元,用于在所述终端设备接收第一主节点发送的一个或多个计数值之后,根据主密钥和目标计数值确定所述辅密钥,其中,所述目标计数值为一个或多个计数值中的计数值。Optionally, the communication device further includes: a determination unit, configured to determine the secondary key based on the master key and the target count value after the terminal device receives one or more count values sent by the first master node, wherein the target count value is a count value among the one or more count values.

可选地,所述通信设备还包括:生成单元,用于在所述终端设备根据主密钥和目标计数值确定所述辅密钥之前,生成所述主密钥。Optionally, the communication device further includes: a generating unit, configured to generate the master key before the terminal device determines the secondary key according to the master key and the target count value.

可选地,在所述终端设备接收第一主节点发送的一个或多个计数值之后,所述通信设备还包括:所述终端设备执行目标操作,所述目标操作包括以下中的一种或多种:针对第一承载,重建或新建分组数据汇聚协议PDCP实体;针对第一承载,重建或新建无线链路控制RLC实体;针对第二承载,重建或新建PDCP实体;针对第二承载,重建或新建RLC实体;删除第三承载对应的PDCP实体;删除第三承载对应的RLC实体;针对信令无线承载,丢弃PDCP业务数据单元SDU;其中,所述第一承载为使用主密钥的承载,所述第二承载为使用辅密钥的承载;其中,所述第三承载的配置信息包含在源小区的配置信息中,且所述第三承载的配置信息不包含在目标小区的配置信息中。Optionally, after the terminal device receives one or more count values sent by the first master node, the communication device also includes: the terminal device performs a target operation, and the target operation includes one or more of the following: for the first bearer, rebuilding or creating a packet data convergence protocol PDCP entity; for the first bearer, rebuilding or creating a radio link control RLC entity; for the second bearer, rebuilding or creating a PDCP entity; for the second bearer, rebuilding or creating a RLC entity; deleting the PDCP entity corresponding to the third bearer; deleting the RLC entity corresponding to the third bearer; for the signaling radio bearer, discarding the PDCP service data unit SDU; wherein, the first bearer is a bearer using a primary key, and the second bearer is a bearer using a secondary key; wherein, the configuration information of the third bearer is included in the configuration information of the source cell, and the configuration information of the third bearer is not included in the configuration information of the target cell.

可选地,所述目标操作在第一条件满足的情况下执行,所述第一条件包括主密钥需要更新和/或PDCP终点发生改变。Optionally, the target operation is performed when a first condition is met, where the first condition includes that a master key needs to be updated and/or a PDCP endpoint changes.

可选地,所述第一切换过程用于:在集中单元CU内部进行小区切换;或者,在CU之间进行小区切换。Optionally, the first switching process is used to: perform cell switching within a centralized unit CU; or perform cell switching between CUs.

可选地,在所述第一切换过程中,所述终端设备的SCG满足以下中的一项:保持不变;更换为除当前SCG之外的其他SCG;或者,添加了除当前SCG之外的其他SCG。Optionally, during the first switching process, the SCG of the terminal device satisfies one of the following: remains unchanged; is replaced with an SCG other than the current SCG; or, an SCG other than the current SCG is added.

可选地,接收单元1210可以为处理器1610。通信设备1200还可以包括收发器1620和存储器1630,具体如图16所示。Optionally, the receiving unit 1210 may be the processor 1610. The communication device 1200 may further include a transceiver 1620 and a memory 1630, as specifically shown in FIG16 .

图13是本申请实施例提供的通信设备的结构示意图。图13所示的通信设备1300可以为第一主节点,该通信设备1300可以包括第一发送单元1310。第一发送单元1310用于向终端设备发送一个或多个计数值;其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。FIG13 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The communication device 1300 shown in FIG13 may be a first master node, and the communication device 1300 may include a first sending unit 1310. The first sending unit 1310 is configured to send one or more count values to a terminal device; wherein the one or more count values are used to determine a secondary key when the terminal device performs a first handover process, the secondary key being used for communication between the terminal device and the secondary node, and the first handover process being an MCG LTM process.

可选地,所述一个或多个计数值承载于切换命令中,所述切换命令用于在所述第一切换过程中指示所述终端设备切换至目标小区。Optionally, the one or more count values are carried in a handover command, and the handover command is used to instruct the terminal device to switch to the target cell during the first handover process.

可选地,所述通信设备还包括:第一接收单元,用于接收第二主节点发送的第一消息,所述第二主节点为至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥。Optionally, the communication device also includes: a first receiving unit, used to receive a first message sent by a second master node, the second master node is the master node to which at least one candidate cell belongs, the first message includes at least one count value, and the at least one count value is used to determine the secondary key associated with the at least one candidate cell.

可选地,所述第二主节点下的每个候选小区对应一个计数值;或者,所述第二主节点下的全部候选小区对应一个计数值;或者,所述第一消息包含所述第二主节点下的目标小区对应的计数值。Optionally, each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value; or, the first message includes a count value corresponding to the target cell under the second master node.

可选地,所述通信设备还包括:第二发送单元,用于在所述第一主节点接收第二主节点发送的第一消息之前,向第二主节点发送第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:第二主节点下的每个候选小区的计数值;第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;目标小区的计数值。Optionally, the communication device also includes: a second sending unit, used to send a second message to the second master node before the first master node receives the first message sent by the second master node, the second message being used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, each candidate cell corresponding to one count value; the count value of the target cell.

可选地,所述第二消息包含所述目标小区的信息。Optionally, the second message includes information of the target cell.

可选地,所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,所述第二消息响应于所述终端设备成功接入所述第一主节点发送;或者,所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送。Optionally, the second message is sent during the LTM preparation phase of the first switching process; or, the second message is sent in response to the terminal device successfully accessing the first master node; or, the second message is sent after the first master node determines the target cell and before sending the switching command.

可选地,所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送,包括:所述第二消息在所述第一主节点的集中单元CU接收到所述第一主节点的分布单元DU发送的第二指示信息之后发送,所述第二指示信息包含所述目标小区的信息。Optionally, the second message is sent after the first master node determines the target cell and before sending the switching command, including: the second message is sent after the centralized unit CU of the first master node receives the second indication information sent by the distributed unit DU of the first master node, and the second indication information contains the information of the target cell.

可选地,所述通信设备还包括:第三发送单元,用于在所述第一主节点接收第二主节点发送的第一消息之后,利用CU将所述至少一个计数值发送至所述第一主节点的DU。Optionally, the communication device further includes: a third sending unit, configured to send the at least one count value to the DU of the first master node using the CU after the first master node receives the first message sent by the second master node.

可选地,所述第一主节点的DU为以下DU中的一种:所述终端设备的当前DU;所述目标小区所在的DU,其中,所述第一切换过程用于在CU内执行DU间切换;所述第一主节点下的包含候选小区 的全部DU。Optionally, the DU of the first master node is one of the following DUs: the current DU of the terminal device; the DU where the target cell is located, wherein the first switching process is used to perform inter-DU switching within the CU; the candidate cell under the first master node All DU.

可选地,所述切换命令是在所述目标小区不属于所述第一主节点的情况下发送的。Optionally, the handover command is sent when the target cell does not belong to the first master node.

可选地,所述通信设备还包括:第四发送单元,用于利用DU向所述第一主节点的CU发送第三指示信息,所述第三指示信息包括所述目标小区的信息;所述第一主节点的DU接收所述第一主节点的CU发送的针对所述第三指示信息的反馈信息,所述反馈信息包含以下中的一种:所述目标小区对应的计数值;所述目标小区所属的主节点对应的计数值。Optionally, the communication device also includes: a fourth sending unit, used to use the DU to send third indication information to the CU of the first master node, the third indication information including information of the target cell; the DU of the first master node receives feedback information sent by the CU of the first master node for the third indication information, and the feedback information includes one of the following: the count value corresponding to the target cell; the count value corresponding to the master node to which the target cell belongs.

可选地,所述第三指示信息是在所述目标小区不属于所述第一主节点的情况下发送的。Optionally, the third indication information is sent when the target cell does not belong to the first master node.

可选地,所述一个或多个计数值承载于第一配置信息中,所述第一配置信息包括一个或多个候选小区的配置信息,所述一个或多个候选小区的配置信息用于所述终端设备执行所述第一切换过程。Optionally, the one or more count values are carried in first configuration information, and the first configuration information includes configuration information of one or more candidate cells, and the configuration information of the one or more candidate cells is used by the terminal device to perform the first switching process.

可选地,一个或多个候选主节点中的每个候选主节点对应一个计数值;或一个或多个候选主节点中的每个候选主节点对应一个计数值集合;或所述一个或多个候选小区中的每个候选小区对应一个计数值;或所述一个或多个候选小区中的每个候选小区的配置信息包含一个计数值;或所述一个或多个候选小区中的全部候选小区对应一个计数值;其中,所述一个或多个候选小区属于所述一个或多个候选主节点。Optionally, each of the one or more candidate master nodes corresponds to a count value; or each of the one or more candidate master nodes corresponds to a set of count values; or each of the one or more candidate cells corresponds to a count value; or the configuration information of each of the one or more candidate cells includes a count value; or all of the one or more candidate cells correspond to a count value; wherein, the one or more candidate cells belong to the one or more candidate master nodes.

可选地,所述一个或多个候选小区的配置信息包括以下中的一种或多种:MCG的配置信息;辅小区组SCG的配置信息。Optionally, the configuration information of the one or more candidate cells includes one or more of the following: configuration information of MCG; configuration information of secondary cell group SCG.

可选地,所述SCG的配置信息包括以下中的一种或多种:源SCG的配置信息;除所述源SCG的配置信息之外的其他SCG的配置信息。Optionally, the configuration information of the SCG includes one or more of the following: configuration information of the source SCG; configuration information of other SCGs except the configuration information of the source SCG.

可选地,所述第一切换过程中传输的切换命令包含第一指示信息,所述第一指示信息用于指示以下中的一种或多种:所述终端设备需要更新主密钥;所述终端设备需要更新辅密钥。Optionally, the switching command transmitted during the first switching process includes first indication information, and the first indication information is used to indicate one or more of the following: the terminal device needs to update the master key; the terminal device needs to update the secondary key.

可选地,所述第一配置信息还包括以下中的一种或多种:所述一个或多个候选小区的标识;所述一个或多个候选小区对应的小区组的标识。Optionally, the first configuration information further includes one or more of the following: identifiers of the one or more candidate cells; identifiers of cell groups corresponding to the one or more candidate cells.

可选地,所述通信设备还包括:第二接收单元,用于接收第二主节点发送的第一消息,所述第二主节点为至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥。Optionally, the communication device also includes: a second receiving unit, used to receive a first message sent by a second master node, the second master node is the master node to which at least one candidate cell belongs, the first message includes at least one count value, and the at least one count value is used to determine the secondary key associated with the at least one candidate cell.

可选地,所述第二主节点下的每个候选小区对应一个计数值;或者,所述第二主节点下的全部候选小区对应一个计数值。Optionally, each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value.

可选地,所述通信设备还包括:第五发送单元,用于在所述第一主节点接收第二主节点发送的第一消息之前,向第二主节点发送第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:第二主节点下的每个候选小区的计数值;第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;目标小区的计数值。Optionally, the communication device also includes: a fifth sending unit, used to send a second message to the second master node before the first master node receives the first message sent by the second master node, and the second message is used to request the second master node to provide one or more of the following: the count value of each candidate cell under the second master node; the count value of all candidate cells under the second master node, and all candidate cells correspond to one count value; the count value of the target cell.

可选地,所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,所述第二消息响应于所述终端设备成功接入所述第一主节点发送。Optionally, the second message is sent during the LTM preparation phase of the first switching process; or, the second message is sent in response to the terminal device successfully accessing the first master node.

可选地,所述第一切换过程用于:在CU内部进行小区切换;或者,在CU之间进行小区切换。Optionally, the first switching process is used to: perform cell switching within a CU; or perform cell switching between CUs.

可选地,在所述第一切换过程中,所述终端设备的SCG满足以下中的一项:保持不变;更换为除当前SCG之外的其他SCG;或者,添加了除当前SCG之外的其他SCG。Optionally, during the first switching process, the SCG of the terminal device satisfies one of the following: remains unchanged; is replaced with an SCG other than the current SCG; or, an SCG other than the current SCG is added.

可选地,第一发送单元1310可以为处理器1610。通信设备1300还可以包括收发器1620和存储器1630,具体如图16所示。Optionally, the first sending unit 1310 may be the processor 1610. The communication device 1300 may further include a transceiver 1620 and a memory 1630, as specifically shown in FIG16 .

图14是本申请实施例提供的通信设备的结构示意图。图14所示的通信设备1400可以为第二主节点,该通信设备1400可以包括第一发送单元1410。第一发送单元1410用于向第一主节点发送第一消息,所述第一主节点为终端设备在执行第一切换过程时的源主节点,所述第二主节点为所述第一切换过程关联的至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为MCG LTM过程。Figure 14 is a structural diagram of a communication device provided in an embodiment of the present application. The communication device 1400 shown in Figure 14 can be a second master node, and the communication device 1400 can include a first sending unit 1410. The first sending unit 1410 is used to send a first message to the first master node, the first master node is the source master node of the terminal device when performing the first switching process, the second master node is the master node to which at least one candidate cell associated with the first switching process belongs, the first message includes at least one count value, the at least one count value is used to determine the secondary key associated with the at least one candidate cell, the secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is an MCG LTM process.

可选地,所述第二主节点下的每个候选小区对应一个计数值;或者,所述第二主节点下的全部候选小区对应一个计数值;或者,所述第一消息包含所述第二主节点下的目标小区对应的计数值。Optionally, each candidate cell under the second master node corresponds to a count value; or, all candidate cells under the second master node correspond to a count value; or, the first message includes a count value corresponding to the target cell under the second master node.

可选地,所述通信设备还包括:第一接收单元,用于在所述第二主节点向第一主节点发送第一消息之前,接收所述第一主节点发送的第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:所述第二主节点下的每个候选小区的计数值;所述第二主节点下的全部候选小区的计数值,所述全部候选小区对应一个计数值;目标小区的计数值。Optionally, the communication device also includes: a first receiving unit, used to receive a second message sent by the first master node before the second master node sends the first message to the first master node, the second message being used to request the second master node to provide one or more of the following: a count value of each candidate cell under the second master node; a count value of all candidate cells under the second master node, wherein all candidate cells correspond to one count value; and a count value of the target cell.

可选地,所述第二消息包含所述目标小区的信息。Optionally, the second message includes information of the target cell.

可选地,所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,所述第二消息响应于 所述终端设备成功接入所述第一主节点发送;或者,所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送。Optionally, the second message is sent during the LTM preparation phase of the first switching process; or the second message is sent in response to The terminal device successfully accesses the first master node and sends the second message; or, the first master node sends the second message after determining the target cell and before sending the switching command.

可选地,所述通信设备还包括:第二接收单元,用于在所述第二主节点向第一主节点发送第一消息之后,接收所述第一主节点发送的第三消息,所述第三消息包含以下中的一种:所述至少一个候选小区关联的主密钥;或者,所述至少一个候选小区中的目标小区关联的主密钥。Optionally, the communication device also includes: a second receiving unit, used to receive a third message sent by the first master node after the second master node sends the first message to the first master node, and the third message includes one of the following: a master key associated with the at least one candidate cell; or a master key associated with the target cell in the at least one candidate cell.

可选地,所述通信设备还包括:第一确定单元,用于根据所述至少一个候选小区关联的主密钥,确定所述至少一个候选小区关联的辅密钥;所述第二主节点向所述辅节点发送所述至少一个候选小区关联的辅密钥。Optionally, the communication device further includes: a first determination unit, configured to determine a secondary key associated with the at least one candidate cell based on a primary key associated with the at least one candidate cell; and the second primary node sends the secondary key associated with the at least one candidate cell to the secondary node.

可选地,所述通信设备还包括:第二发送单元,用于向所述辅节点发送第四指示信息,所述第四指示信息用于指示所述辅节点使用所述至少一个候选小区关联的辅密钥中的目标辅密钥。Optionally, the communication device further includes: a second sending unit, configured to send fourth indication information to the secondary node, wherein the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell.

可选地,所述通信设备还包括:第二确定单元,用于根据所述目标小区关联的主密钥和所述目标小区对应的计数值,确定所述目标小区关联的辅密钥;第三发送单元,用于向所述辅节点发送所述目标小区关联的辅密钥。Optionally, the communication device also includes: a second determination unit, used to determine the secondary key associated with the target cell based on the primary key associated with the target cell and the count value corresponding to the target cell; and a third sending unit, used to send the secondary key associated with the target cell to the secondary node.

可选地,所述第一切换过程用于在集中单元CU之间进行小区切换。Optionally, the first switching process is used to perform cell switching between centralized units CU.

可选地,在所述第一切换过程中,所述终端设备的辅小区组SCG满足以下中的一项:保持不变;更换为除当前SCG之外的其他SCG;或者,添加了除当前SCG之外的其他SCG。Optionally, during the first switching process, the secondary cell group SCG of the terminal device satisfies one of the following: remains unchanged; is replaced with an SCG other than the current SCG; or, an SCG other than the current SCG is added.

可选地,第一发送单元1410可以为处理器1610。通信设备1400还可以包括收发器1620和存储器1630,具体如图16所示。Optionally, the first sending unit 1410 may be a processor 1610. The communication device 1400 may further include a transceiver 1620 and a memory 1630, as specifically shown in FIG16 .

图15是本申请实施例提供的通信设备的结构示意图。图15所示的通信设备1500可以为辅节点,该通信设备1500可以包括第一接收单元1510。第一接收单元1510用于接收第二主节点发送的一个或多个辅密钥,所述一个或多个辅密钥与所述第二主节点下的至少一个候选小区关联,或者,所述一个或多个辅密钥与所述第二主节点下的目标小区关联,所述辅密钥用于终端设备在执行第一切换过程之后与所述辅节点进行通信,所述第二主节点为所述至少一个候选小区所属的主节点,所述第一切换过程为MCG LTM过程。Figure 15 is a structural diagram of a communication device provided in an embodiment of the present application. The communication device 1500 shown in Figure 15 can be a secondary node, and the communication device 1500 can include a first receiving unit 1510. The first receiving unit 1510 is used to receive one or more secondary keys sent by the second master node, and the one or more secondary keys are associated with at least one candidate cell under the second master node, or the one or more secondary keys are associated with the target cell under the second master node, and the secondary key is used for the terminal device to communicate with the secondary node after executing the first switching process, the second master node is the master node to which the at least one candidate cell belongs, and the first switching process is an MCG LTM process.

可选地,所述通信设备还包括:第二接收单元,用于接收所述第二主节点发送的第四指示信息,所述第四指示信息用于指示所述辅节点使用所述至少一个候选小区关联的辅密钥中的目标辅密钥。Optionally, the communication device further includes: a second receiving unit, configured to receive fourth indication information sent by the second master node, wherein the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell.

可选地,所述第一切换过程用于在集中单元CU之间进行小区切换。Optionally, the first switching process is used to perform cell switching between centralized units CU.

可选地,在所述第一切换过程中,所述终端设备的辅小区组SCG满足以下中的一项:保持不变;更换为除当前SCG之外的其他SCG;或者,添加了除当前SCG之外的其他SCG。Optionally, during the first switching process, the secondary cell group SCG of the terminal device satisfies one of the following: remains unchanged; is replaced with an SCG other than the current SCG; or, an SCG other than the current SCG is added.

可选地,第一接收单元1510可以为处理器1610。通信设备1500还可以包括收发器1620和存储器1630,具体如图16所示。Optionally, the first receiving unit 1510 may be a processor 1610. The communication device 1500 may further include a transceiver 1620 and a memory 1630, as specifically shown in FIG16 .

图16是本申请实施例的通信装置的示意性结构图。图16中的虚线表示该单元或模块为可选的。该装置1600可用于实现上述方法实施例中描述的方法。装置1600可以是芯片、终端设备或网络设备。Figure 16 is a schematic block diagram of a communication device according to an embodiment of the present application. The dashed lines in Figure 16 indicate that the unit or module is optional. Device 1600 may be used to implement the method described in the above method embodiment. Device 1600 may be a chip, a terminal device, or a network device.

装置1600可以包括一个或多个处理器1610。该处理器1610可支持装置1600实现前文方法实施例所描述的方法。该处理器1610可以是通用处理器或者专用处理器。例如,该处理器可以为中央处理单元(central processing unit,CPU)。或者,该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The device 1600 may include one or more processors 1610. The processor 1610 may support the device 1600 to implement the method described in the above method embodiment. The processor 1610 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit (CPU). Alternatively, the processor may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

装置1600还可以包括一个或多个存储器1620。存储器1620上存储有程序,该程序可以被处理器1610执行,使得处理器1610执行前文方法实施例所描述的方法。存储器1620可以独立于处理器1610也可以集成在处理器1610中。The apparatus 1600 may further include one or more memories 1620. The memories 1620 store programs that can be executed by the processor 1610, causing the processor 1610 to perform the methods described in the above method embodiments. The memories 1620 may be independent of the processor 1610 or integrated into the processor 1610.

装置1600还可以包括收发器1630。处理器1610可以通过收发器1630与其他设备或芯片进行通信。例如,处理器1610可以通过收发器1630与其他设备或芯片进行数据收发。The apparatus 1600 may further include a transceiver 1630. The processor 1610 may communicate with other devices or chips via the transceiver 1630. For example, the processor 1610 may transmit and receive data with other devices or chips via the transceiver 1630.

本申请实施例还提供一种计算机可读存储介质,用于存储程序。该计算机可读存储介质可应用于本申请实施例提供的终端设备或网络设备中,并且该程序使得计算机执行本申请各个实施例中的由终端设备或网络设备执行的方法。The present application also provides a computer-readable storage medium for storing a program. The computer-readable storage medium can be applied to a terminal device or network device provided in the present application, and the program enables a computer to execute the method performed by the terminal device or network device in each embodiment of the present application.

本申请实施例还提供一种计算机程序产品。该计算机程序产品包括程序。该计算机程序产品可应用于本申请实施例提供的终端设备或网络设备中,并且该程序使得计算机执行本申请各个实施例中的由终端设备或网络设备执行的方法。The present application also provides a computer program product. The computer program product includes a program. The computer program product can be applied to a terminal device or network device provided in the present application, and the program causes a computer to execute the method performed by the terminal device or network device in each embodiment of the present application.

本申请实施例还提供一种计算机程序。该计算机程序可应用于本申请实施例提供的终端设备或网络设备中,并且该计算机程序使得计算机执行本申请各个实施例中的由终端设备或网络设备执行的方 法。The present application also provides a computer program. The computer program can be applied to the terminal device or network device provided in the present application, and the computer program enables the computer to execute the methods performed by the terminal device or network device in each embodiment of the present application. Law.

应理解,本申请中术语“系统”和“网络”可以被可互换使用。另外,本申请使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。It should be understood that the terms "system" and "network" in this application can be used interchangeably. In addition, the terms used in this application are only used to explain the specific embodiments of this application and are not intended to limit this application. The terms "first", "second", "third", and "fourth" in the specification and claims of this application and the accompanying drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

在本申请的实施例中,提到的“指示”可以是直接指示,也可以是间接指示,还可以是表示具有关联关系。举例说明,A指示B,可以表示A直接指示B,例如B可以通过A获取;也可以表示A间接指示B,例如A指示C,B可以通过C获取;还可以表示A和B之间具有关联关系。In the embodiments of this application, the term "indication" may refer to a direct indication, an indirect indication, or an indication of an association. For example, "A indicates B" may refer to a direct indication of B, e.g., B can obtain information through A; it may refer to an indirect indication of B, e.g., A indicates C, e.g., B can obtain information through C; or it may refer to an association between A and B.

在本申请实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。In the embodiment of the present application, "B corresponding to A" means that B is associated with A and B can be determined based on A. However, it should be understood that determining B based on A does not mean determining B based solely on A, but B can also be determined based on A and/or other information.

在本申请实施例中,术语“对应”可表示两者之间具有直接对应或间接对应的关系,也可以表示两者之间具有关联关系,也可以是指示与被指示、配置与被配置等关系。In the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and indication, configuration and configuration, etc.

本申请的实施例,提到的“包括”可以指直接包括,也可以指间接包括。可选地,可以将本申请实施例中提到的“包括”替换为“指示”或“用于确定”。例如,A包括B,可以替换为A指示B,或A用于确定B。In the embodiments of this application, the term "include" can refer to direct inclusion or indirect inclusion. Alternatively, the term "include" in the embodiments of this application can be replaced with "indicates" or "is used to determine." For example, "A includes B" can be replaced with "A indicates B" or "A is used to determine B."

本申请实施例中,“预定义”或“预配置”可以通过在设备(例如,包括终端设备和网络设备)中预先保存相应的代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。比如预定义可以是指协议中定义的。In the embodiments of the present application, "pre-definition" or "pre-configuration" may be implemented by pre-storing corresponding codes, tables, or other methods that can be used to indicate relevant information in a device (e.g., a terminal device and a network device). The present application does not limit the specific implementation method. For example, pre-definition may refer to information defined in a protocol.

本申请实施例中,所述“协议”可以指通信领域的标准协议,例如可以包括LTE协议、NR协议以及应用于未来的通信系统中的相关协议,本申请对此不做限定。In the embodiments of the present application, the “protocol” may refer to a standard protocol in the communications field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not limit this.

本申请实施例中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In the embodiments of this application, the term "and/or" is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this document generally indicates that the related objects are in an "or" relationship.

在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够读取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,数字通用光盘(digital video disc,DVD))或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims (118)

一种无线通信方法,其特征在于,包括:A wireless communication method, comprising: 终端设备接收第一主节点发送的一个或多个计数值;The terminal device receives one or more count values sent by the first master node; 其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为主小区组的层1/层2触发的移动性MCG LTM过程。The one or more count values are used to determine a secondary key when the terminal device performs a first switching process, and the secondary key is used for the terminal device to communicate with the secondary node. The first switching process is a mobility MCG LTM process triggered by layer 1/layer 2 of the primary cell group. 根据权利要求1所述的方法,其特征在于,所述一个或多个计数值承载于切换命令中,所述切换命令用于在所述第一切换过程中指示所述终端设备切换至目标小区。The method according to claim 1 is characterized in that the one or more count values are carried in a switching command, and the switching command is used to instruct the terminal device to switch to the target cell during the first switching process. 根据权利要求1所述的方法,其特征在于,所述一个或多个计数值承载于第一配置信息中,所述第一配置信息包含一个或多个候选小区的配置信息,所述一个或多个候选小区的配置信息用于所述终端设备执行所述第一切换过程。The method according to claim 1 is characterized in that the one or more count values are carried in first configuration information, the first configuration information includes configuration information of one or more candidate cells, and the configuration information of the one or more candidate cells is used by the terminal device to perform the first switching process. 根据权利要求3所述的方法,其特征在于:The method according to claim 3, characterized in that: 一个或多个候选主节点中的每个候选主节点对应一个计数值;或Each of the one or more candidate master nodes corresponds to a count value; or 一个或多个候选主节点中的每个候选主节点对应一个计数值集合;或Each of the one or more candidate master nodes corresponds to a set of count values; or 所述一个或多个候选小区中的每个候选小区对应一个计数值;或Each candidate cell in the one or more candidate cells corresponds to a count value; or 所述一个或多个候选小区中的每个候选小区的配置信息包含一个计数值;或The configuration information of each candidate cell in the one or more candidate cells includes a count value; or 所述一个或多个候选小区中的全部候选小区对应一个计数值;All candidate cells in the one or more candidate cells correspond to a count value; 其中,所述一个或多个候选小区属于所述一个或多个候选主节点。The one or more candidate cells belong to the one or more candidate master nodes. 根据权利要求3或4所述的方法,其特征在于,所述一个或多个候选小区的配置信息包括以下中的一种或多种:The method according to claim 3 or 4, wherein the configuration information of the one or more candidate cells includes one or more of the following: MCG的配置信息;MCG configuration information; 辅小区组SCG的配置信息。Configuration information of the secondary cell group SCG. 根据权利要求5所述的方法,其特征在于,所述SCG的配置信息包括以下中的一种或多种:The method according to claim 5, wherein the SCG configuration information includes one or more of the following: 源SCG的配置信息;Configuration information of the source SCG; 除所述源SCG的配置信息之外的其他SCG的配置信息。Configuration information of other SCGs except the configuration information of the source SCG. 根据权利要求3至6中任一项所述的方法,其特征在于,所述辅密钥由所述终端设备根据所述一个或多个计数值中的目标计数值确定,所述目标计数值满足以下条件中的一种:The method according to any one of claims 3 to 6, wherein the secondary key is determined by the terminal device according to a target count value among the one or more count values, and the target count value satisfies one of the following conditions: 与所述一个或多个候选小区中的目标小区对应;corresponding to a target cell among the one or more candidate cells; 与所述目标小区所属的主节点对应;corresponding to the master node to which the target cell belongs; 属于第一计数值集合,所述第一计数值集合与所述目标小区所属的主节点对应;Belonging to a first count value set, the first count value set corresponds to a master node to which the target cell belongs; 属于第二计数值集合,所述第二计数值集合与所述目标小区对应;belongs to a second count value set, and the second count value set corresponds to the target cell; 包含在所述目标小区的配置信息中;included in the configuration information of the target cell; 与所述一个或多个候选小区中的全部候选小区对应。Corresponding to all candidate cells in the one or more candidate cells. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, further comprising: 所述终端设备向所述目标小区发送RRC重配完成消息,所述RRC重配完成消息包含所述目标计数值。The terminal device sends an RRC reconfiguration completion message to the target cell, where the RRC reconfiguration completion message includes the target count value. 根据权利要求3至8中任一项所述的方法,其特征在于,所述第一切换过程中传输的切换命令包含第一指示信息,所述第一指示信息用于指示以下中的一种或多种:The method according to any one of claims 3 to 8, wherein the handover command transmitted during the first handover process includes first indication information, and the first indication information is used to indicate one or more of the following: 所述终端设备需要更新主密钥;The terminal device needs to update the master key; 所述终端设备需要更新辅密钥。The terminal device needs to update the secondary key. 根据权利要求3至9中任一项所述的方法,其特征在于,所述第一配置信息还包括以下中的一种或多种:The method according to any one of claims 3 to 9, wherein the first configuration information further includes one or more of the following: 所述一个或多个候选小区的标识;identifications of the one or more candidate cells; 所述一个或多个候选小区对应的小区组的标识。The identifier of the cell group corresponding to the one or more candidate cells. 根据权利要求1至10中任一项所述的方法,其特征在于,在所述终端设备接收第一主节点发送的一个或多个计数值之后,所述方法还包括:The method according to any one of claims 1 to 10, characterized in that after the terminal device receives one or more count values sent by the first master node, the method further comprises: 所述终端设备根据主密钥和目标计数值确定所述辅密钥,其中,所述目标计数值为一个或多个计数值中的计数值。The terminal device determines the secondary key according to the primary key and a target count value, wherein the target count value is a count value among one or more count values. 根据权利要求11所述的方法,其特征在于,在所述终端设备根据主密钥和目标计数值确定所述辅密钥之前,所述方法还包括:The method according to claim 11, characterized in that, before the terminal device determines the secondary key based on the primary key and the target count value, the method further comprises: 所述终端设备生成所述主密钥。 The terminal device generates the master key. 根据权利要求1至12中任一项所述的方法,其特征在于,在所述终端设备接收第一主节点发送的一个或多个计数值之后,所述方法还包括:The method according to any one of claims 1 to 12, characterized in that after the terminal device receives one or more count values sent by the first master node, the method further comprises: 所述终端设备执行目标操作,所述目标操作包括以下中的一种或多种:The terminal device performs a target operation, where the target operation includes one or more of the following: 针对第一承载,重建或新建分组数据汇聚协议PDCP实体;For the first bearer, reestablish or create a Packet Data Convergence Protocol (PDCP) entity; 针对第一承载,重建或新建无线链路控制RLC实体;For the first bearer, reestablish or create a radio link control RLC entity; 针对第二承载,重建或新建PDCP实体;For the second bearer, re-establish or create a new PDCP entity; 针对第二承载,重建或新建RLC实体;For the second bearer, reestablish or create a new RLC entity; 删除第三承载对应的PDCP实体;Deleting the PDCP entity corresponding to the third bearer; 删除第三承载对应的RLC实体;Deleting the RLC entity corresponding to the third bearer; 针对信令无线承载,丢弃PDCP业务数据单元SDU;For signaling radio bearers, PDCP service data units (SDUs) are discarded. 其中,所述第一承载为使用主密钥的承载,所述第二承载为使用辅密钥的承载;The first bearer is a bearer using a primary key, and the second bearer is a bearer using a secondary key; 其中,所述第三承载的配置信息包含在源小区的配置信息中,且所述第三承载的配置信息不包含在目标小区的配置信息中。The configuration information of the third bearer is included in the configuration information of the source cell, and the configuration information of the third bearer is not included in the configuration information of the target cell. 根据权利要求13所述的方法,其特征在于,所述目标操作在第一条件满足的情况下执行,所述第一条件包括主密钥需要更新和/或PDCP终点发生改变。The method according to claim 13 is characterized in that the target operation is performed when a first condition is met, and the first condition includes that the master key needs to be updated and/or the PDCP endpoint changes. 根据权利要求1至14中任一项所述的方法,其特征在于,所述第一切换过程用于:The method according to any one of claims 1 to 14, wherein the first switching process is used to: 在集中单元CU内部进行小区切换;或者,Perform cell switching within the centralized unit CU; or, 在CU之间进行小区切换。Cell switching is performed between CUs. 根据权利要求1至15中任一项所述的方法,其特征在于,在所述第一切换过程中,所述终端设备的SCG满足以下中的一项:The method according to any one of claims 1 to 15, wherein, during the first handover process, the SCG of the terminal device satisfies one of the following: 保持不变;remain unchanged; 更换为除当前SCG之外的其他SCG;或者,Change to an SCG other than the current SCG; or, 添加了除当前SCG之外的其他SCG。Added additional SCGs besides the current one. 一种无线通信方法,其特征在于,包括:A wireless communication method, comprising: 第一主节点向终端设备发送一个或多个计数值;The first master node sends one or more count values to the terminal device; 其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为主小区组的层1/层2触发的移动性MCG LTM过程。The one or more count values are used to determine a secondary key when the terminal device performs a first switching process, and the secondary key is used for the terminal device to communicate with the secondary node. The first switching process is a mobility MCG LTM process triggered by layer 1/layer 2 of the primary cell group. 根据权利要求17所述的方法,其特征在于,所述一个或多个计数值承载于切换命令中,所述切换命令用于在所述第一切换过程中指示所述终端设备切换至目标小区。The method according to claim 17 is characterized in that the one or more count values are carried in a switching command, and the switching command is used to instruct the terminal device to switch to the target cell during the first switching process. 根据权利要求18所述的方法,其特征在于,所述方法还包括:The method according to claim 18, further comprising: 所述第一主节点接收第二主节点发送的第一消息,所述第二主节点为至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥。The first master node receives a first message sent by a second master node, where the second master node is a master node to which at least one candidate cell belongs. The first message includes at least one count value, and the at least one count value is used to determine a secondary key associated with the at least one candidate cell. 根据权利要求19所述的方法,其特征在于:The method according to claim 19, characterized in that: 所述第二主节点下的每个候选小区对应一个计数值;或者,Each candidate cell under the second master node corresponds to a count value; or, 所述第二主节点下的全部候选小区对应一个计数值;或者,All candidate cells under the second master node correspond to a count value; or, 所述第一消息包含所述第二主节点下的目标小区对应的计数值。The first message includes a count value corresponding to the target cell under the second master node. 根据权利要求19或20所述的方法,其特征在于,在所述第一主节点接收第二主节点发送的第一消息之前,所述方法还包括:The method according to claim 19 or 20, characterized in that before the first master node receives the first message sent by the second master node, the method further comprises: 所述第一主节点向第二主节点发送第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:The first master node sends a second message to the second master node, where the second message is used to request the second master node to provide one or more of the following: 所述第二主节点下的每个候选小区的计数值;a count value of each candidate cell under the second master node; 所述第二主节点下的全部候选小区的计数值,所述全部候选小区对应一个计数值;a count value of all candidate cells under the second master node, where each candidate cell corresponds to one count value; 目标小区的计数值。The count value of the target cell. 根据权利要求21所述的方法,其特征在于,所述第二消息包含所述目标小区的信息。The method according to claim 21 is characterized in that the second message includes information of the target cell. 根据权利要求21或22所述的方法,其特征在于:The method according to claim 21 or 22, characterized in that: 所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,The second message is sent during the LTM preparation phase of the first switching process; or, 所述第二消息响应于所述终端设备成功接入所述第一主节点发送;或者,The second message is sent in response to the terminal device successfully accessing the first master node; or, 所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送。The second message is sent after the first master node determines the target cell and before sending the handover command. 根据权利要求23所述的方法,其特征在于,所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送,包括: The method according to claim 23, wherein the second message is sent after the first master node determines the target cell and before sending the handover command, comprising: 所述第二消息在所述第一主节点的集中单元CU接收到所述第一主节点的分布单元DU发送的第二指示信息之后发送,所述第二指示信息包含所述目标小区的信息。The second message is sent after the centralized unit CU of the first master node receives the second indication information sent by the distributed unit DU of the first master node, where the second indication information includes the information of the target cell. 根据权利要求19至24中任一项所述的方法,其特征在于,在所述第一主节点接收第二主节点发送的第一消息之后,所述方法还包括:The method according to any one of claims 19 to 24, characterized in that after the first master node receives the first message sent by the second master node, the method further comprises: 所述第一主节点的CU将所述至少一个计数值发送至所述第一主节点的DU。The CU of the first master node sends the at least one count value to the DU of the first master node. 根据权利要求25所述的方法,其特征在于,所述第一主节点的DU为以下DU中的一种:The method according to claim 25, wherein the DU of the first master node is one of the following DUs: 所述终端设备的当前DU;The current DU of the terminal device; 所述目标小区所在的DU,其中,所述第一切换过程用于在CU内执行DU间切换;the DU where the target cell is located, wherein the first handover procedure is used to perform inter-DU handover within the CU; 所述第一主节点下的包含候选小区的全部DU。All DUs under the first master node include candidate cells. 根据权利要求18至26中任一项所述的方法,其特征在于,所述切换命令是在所述目标小区不属于所述第一主节点的情况下发送的。The method according to any one of claims 18 to 26, wherein the handover command is sent when the target cell does not belong to the first master node. 根据权利要求18至27中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18 to 27, further comprising: 所述第一主节点的DU向所述第一主节点的CU发送第三指示信息,所述第三指示信息包括所述目标小区的信息;The DU of the first master node sends third indication information to the CU of the first master node, where the third indication information includes information of the target cell; 所述第一主节点的DU接收所述第一主节点的CU发送的针对所述第三指示信息的反馈信息,所述反馈信息包含以下中的一种:The DU of the first master node receives feedback information for the third indication information sent by the CU of the first master node, where the feedback information includes one of the following: 所述目标小区对应的计数值;The count value corresponding to the target cell; 所述目标小区所属的主节点对应的计数值。The count value corresponding to the master node to which the target cell belongs. 根据权利要求28所述的方法,其特征在于,所述第三指示信息是在所述目标小区不属于所述第一主节点的情况下发送的。The method according to claim 28 is characterized in that the third indication information is sent when the target cell does not belong to the first master node. 根据权利要求17所述的方法,其特征在于,所述一个或多个计数值承载于第一配置信息中,所述第一配置信息包括一个或多个候选小区的配置信息,所述一个或多个候选小区的配置信息用于所述终端设备执行所述第一切换过程。The method according to claim 17 is characterized in that the one or more count values are carried in first configuration information, the first configuration information includes configuration information of one or more candidate cells, and the configuration information of the one or more candidate cells is used by the terminal device to perform the first switching process. 根据权利要求30所述的方法,其特征在于:The method according to claim 30, characterized in that: 一个或多个候选主节点中的每个候选主节点对应一个计数值;或Each of the one or more candidate master nodes corresponds to a count value; or 一个或多个候选主节点中的每个候选主节点对应一个计数值集合;或Each of the one or more candidate master nodes corresponds to a set of count values; or 所述一个或多个候选小区中的每个候选小区对应一个计数值;或Each candidate cell in the one or more candidate cells corresponds to a count value; or 所述一个或多个候选小区中的每个候选小区的配置信息包含一个计数值;或The configuration information of each candidate cell in the one or more candidate cells includes a count value; or 所述一个或多个候选小区中的全部候选小区对应一个计数值;All candidate cells in the one or more candidate cells correspond to a count value; 其中,所述一个或多个候选小区属于所述一个或多个候选主节点。The one or more candidate cells belong to the one or more candidate master nodes. 根据权利要求30或31所述的方法,其特征在于,所述一个或多个候选小区的配置信息包括以下中的一种或多种:The method according to claim 30 or 31, wherein the configuration information of the one or more candidate cells includes one or more of the following: MCG的配置信息;MCG configuration information; 辅小区组SCG的配置信息。Configuration information of the secondary cell group SCG. 根据权利要求32所述的方法,其特征在于,所述SCG的配置信息包括以下中的一种或多种:The method according to claim 32, wherein the SCG configuration information includes one or more of the following: 源SCG的配置信息;Configuration information of the source SCG; 除所述源SCG的配置信息之外的其他SCG的配置信息。Configuration information of other SCGs except the configuration information of the source SCG. 根据权利要求30至33中任一项所述的方法,其特征在于,所述第一切换过程中传输的切换命令包含第一指示信息,所述第一指示信息用于指示以下中的一种或多种:The method according to any one of claims 30 to 33, wherein the handover command transmitted during the first handover process includes first indication information, and the first indication information is used to indicate one or more of the following: 所述终端设备需要更新主密钥;The terminal device needs to update the master key; 所述终端设备需要更新辅密钥。The terminal device needs to update the secondary key. 根据权利要求30至34中任一项所述的方法,其特征在于,所述第一配置信息还包括以下中的一种或多种:The method according to any one of claims 30 to 34, wherein the first configuration information further includes one or more of the following: 所述一个或多个候选小区的标识;identifications of the one or more candidate cells; 所述一个或多个候选小区对应的小区组的标识。The identifier of the cell group corresponding to the one or more candidate cells. 根据权利要求30至35中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 30 to 35, further comprising: 所述第一主节点接收第二主节点发送的第一消息,所述第二主节点为至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥。The first master node receives a first message sent by a second master node, where the second master node is a master node to which at least one candidate cell belongs. The first message includes at least one count value, and the at least one count value is used to determine a secondary key associated with the at least one candidate cell. 根据权利要求36所述的方法,其特征在于:The method according to claim 36, characterized in that: 所述第二主节点下的每个候选小区对应一个计数值;或者,Each candidate cell under the second master node corresponds to a count value; or, 所述第二主节点下的全部候选小区对应一个计数值。 All candidate cells under the second master node correspond to a count value. 根据权利要求36或37所述的方法,其特征在于,在所述第一主节点接收第二主节点发送的第一消息之前,所述方法还包括:The method according to claim 36 or 37, characterized in that before the first master node receives the first message sent by the second master node, the method further comprises: 所述第一主节点向第二主节点发送第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:The first master node sends a second message to the second master node, where the second message is used to request the second master node to provide one or more of the following: 第二主节点下的每个候选小区的计数值;The count value of each candidate cell under the second master node; 第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;a count value of all candidate cells under the second master node, where each candidate cell corresponds to one count value; 目标小区的计数值。The count value of the target cell. 根据权利要求38所述的方法,其特征在于:The method according to claim 38, characterized in that: 所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,The second message is sent during the LTM preparation phase of the first switching process; or, 所述第二消息响应于所述终端设备成功接入所述第一主节点发送。The second message is sent in response to the terminal device successfully accessing the first master node. 根据权利要求17至39中任一项所述的方法,其特征在于,所述第一切换过程用于:The method according to any one of claims 17 to 39, wherein the first switching process is used to: 在CU内部进行小区切换;或者,Perform cell switching within the CU; or, 在CU之间进行小区切换。Cell switching is performed between CUs. 根据权利要求17至40中任一项所述的方法,其特征在于,在所述第一切换过程中,所述终端设备的SCG满足以下中的一项:The method according to any one of claims 17 to 40, wherein, during the first handover process, the SCG of the terminal device satisfies one of the following: 保持不变;remain unchanged; 更换为除当前SCG之外的其他SCG;或者,Change to an SCG other than the current SCG; or, 添加了除当前SCG之外的其他SCG。Added additional SCGs besides the current one. 一种无线通信方法,其特征在于,包括:A wireless communication method, comprising: 第二主节点向第一主节点发送第一消息,所述第一主节点为终端设备在执行第一切换过程时的源主节点,所述第二主节点为所述第一切换过程关联的至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为主小区组的层1/层2触发的移动性MCG LTM过程。The second master node sends a first message to the first master node, where the first master node is the source master node of the terminal device when executing the first switching process, and the second master node is the master node to which at least one candidate cell associated with the first switching process belongs. The first message includes at least one count value, and the at least one count value is used to determine the secondary key associated with the at least one candidate cell. The secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is a mobility MCG LTM process triggered by layer 1/layer 2 of the primary cell group. 根据权利要求42所述的方法,其特征在于:The method according to claim 42, characterized in that: 所述第二主节点下的每个候选小区对应一个计数值;或者,Each candidate cell under the second master node corresponds to a count value; or, 所述第二主节点下的全部候选小区对应一个计数值;或者,All candidate cells under the second master node correspond to a count value; or, 所述第一消息包含所述第二主节点下的目标小区对应的计数值。The first message includes a count value corresponding to the target cell under the second master node. 根据权利要求42或43所述的方法,其特征在于,在所述第二主节点向第一主节点发送第一消息之前,所述方法还包括:The method according to claim 42 or 43, characterized in that, before the second master node sends the first message to the first master node, the method further comprises: 所述第二主节点接收所述第一主节点发送的第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:The second master node receives a second message sent by the first master node, where the second message is used to request the second master node to provide one or more of the following: 第二主节点下的每个候选小区的计数值;The count value of each candidate cell under the second master node; 第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;a count value of all candidate cells under the second master node, where each candidate cell corresponds to one count value; 目标小区的计数值。The count value of the target cell. 根据权利要求44所述的方法,其特征在于,所述第二消息包含所述目标小区的信息。The method according to claim 44 is characterized in that the second message includes information of the target cell. 根据权利要求44或45所述的方法,其特征在于:The method according to claim 44 or 45, characterized in that: 所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,The second message is sent during the LTM preparation phase of the first switching process; or, 所述第二消息响应于所述终端设备成功接入所述第一主节点发送;或者,The second message is sent in response to the terminal device successfully accessing the first master node; or, 所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送。The second message is sent after the first master node determines the target cell and before sending the handover command. 根据权利要求42至46中任一项所述的方法,其特征在于,在所述第二主节点向第一主节点发送第一消息之后,所述方法还包括:The method according to any one of claims 42 to 46, characterized in that after the second master node sends the first message to the first master node, the method further comprises: 所述第二主节点接收所述第一主节点发送的第三消息,所述第三消息包含以下中的一种:The second master node receives a third message sent by the first master node, where the third message includes one of the following: 所述至少一个候选小区关联的主密钥;或者,The master key associated with the at least one candidate cell; or 所述至少一个候选小区中的目标小区关联的主密钥。A master key associated with a target cell among the at least one candidate cell. 根据权利要求47所述的方法,其特征在于,所述方法还包括:The method according to claim 47, further comprising: 所述第二主节点根据所述至少一个候选小区关联的主密钥,确定所述至少一个候选小区关联的辅密钥;The second master node determines, based on the primary key associated with the at least one candidate cell, a secondary key associated with the at least one candidate cell; 所述第二主节点向所述辅节点发送所述至少一个候选小区关联的辅密钥。The second master node sends the secondary key associated with the at least one candidate cell to the secondary node. 根据权利要求48所述的方法,其特征在于,所述方法还包括:The method according to claim 48, further comprising: 所述第二主节点向所述辅节点发送第四指示信息,所述第四指示信息用于指示所述辅节点使用所述至少一个候选小区关联的辅密钥中的目标辅密钥。 The second master node sends fourth indication information to the secondary node, where the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell. 根据权利要求47所述的方法,其特征在于,所述方法还包括:The method according to claim 47, further comprising: 所述第二主节点根据所述目标小区关联的主密钥和所述目标小区对应的计数值,确定所述目标小区关联的辅密钥;The second master node determines the secondary key associated with the target cell according to the primary key associated with the target cell and the count value corresponding to the target cell; 所述第二主节点向所述辅节点发送所述目标小区关联的辅密钥。The second master node sends the secondary key associated with the target cell to the secondary node. 根据权利要求42至50中任一项所述的方法,其特征在于,所述第一切换过程用于在集中单元CU之间进行小区切换。The method according to any one of claims 42 to 50 is characterized in that the first switching process is used to perform cell switching between centralized units CU. 根据权利要求42至51中任一项所述的方法,其特征在于,在所述第一切换过程中,所述终端设备的辅小区组SCG满足以下中的一项:The method according to any one of claims 42 to 51, wherein, during the first switching process, the secondary cell group (SCG) of the terminal device satisfies one of the following: 保持不变;remain unchanged; 更换为除当前SCG之外的其他SCG;或者,Change to an SCG other than the current SCG; or, 添加了除当前SCG之外的其他SCG。Added additional SCGs besides the current one. 一种无线通信方法,其特征在于,包括:A wireless communication method, comprising: 辅节点接收第二主节点发送的一个或多个辅密钥,所述一个或多个辅密钥与所述第二主节点下的至少一个候选小区关联,或者,所述一个或多个辅密钥与所述第二主节点下的目标小区关联,所述辅密钥用于终端设备在执行第一切换过程之后与所述辅节点进行通信,所述第二主节点为所述至少一个候选小区所属的主节点,所述第一切换过程为主小区组的层1/层2触发的移动性MCG LTM过程。The secondary node receives one or more secondary keys sent by the second primary node, and the one or more secondary keys are associated with at least one candidate cell under the second primary node, or the one or more secondary keys are associated with the target cell under the second primary node. The secondary keys are used by the terminal device to communicate with the secondary node after executing the first switching process. The second primary node is the primary node to which the at least one candidate cell belongs, and the first switching process is a mobility MCG LTM process triggered by layer 1/layer 2 of the primary cell group. 根据权利要求53所述的方法,其特征在于,所述方法还包括:The method according to claim 53, further comprising: 所述辅节点接收所述第二主节点发送的第四指示信息,所述第四指示信息用于指示所述辅节点使用所述至少一个候选小区关联的辅密钥中的目标辅密钥。The secondary node receives fourth indication information sent by the second primary node, where the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell. 根据权利要求53或54所述的方法,其特征在于,所述第一切换过程用于在集中单元CU之间进行小区切换。The method according to claim 53 or 54 is characterized in that the first switching process is used to perform cell switching between centralized units CU. 根据权利要求53至55中任一项所述的方法,其特征在于,在所述第一切换过程中,所述终端设备的辅小区组SCG满足以下中的一项:The method according to any one of claims 53 to 55, wherein, during the first switching process, the secondary cell group (SCG) of the terminal device satisfies one of the following: 保持不变;remain unchanged; 更换为除当前SCG之外的其他SCG;或者,Change to an SCG other than the current SCG; or, 添加了除当前SCG之外的其他SCG。Added additional SCGs besides the current one. 一种通信设备,其特征在于,所述通信设备为终端设备,所述通信设备包括:A communication device, characterized in that the communication device is a terminal device, and the communication device comprises: 接收单元,用于接收第一主节点发送的一个或多个计数值;a receiving unit, configured to receive one or more count values sent by the first master node; 其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为主小区组的层1/层2触发的移动性MCG LTM过程。The one or more count values are used to determine a secondary key when the terminal device performs a first switching process, and the secondary key is used for the terminal device to communicate with the secondary node. The first switching process is a mobility MCG LTM process triggered by layer 1/layer 2 of the primary cell group. 根据权利要求57所述的通信设备,其特征在于,所述一个或多个计数值承载于切换命令中,所述切换命令用于在所述第一切换过程中指示所述终端设备切换至目标小区。The communication device according to claim 57 is characterized in that the one or more count values are carried in a switching command, and the switching command is used to instruct the terminal device to switch to the target cell during the first switching process. 根据权利要求57所述的通信设备,其特征在于,所述一个或多个计数值承载于第一配置信息中,所述第一配置信息包含一个或多个候选小区的配置信息,所述一个或多个候选小区的配置信息用于所述终端设备执行所述第一切换过程。The communication device according to claim 57 is characterized in that the one or more count values are carried in first configuration information, the first configuration information includes configuration information of one or more candidate cells, and the configuration information of the one or more candidate cells is used by the terminal device to perform the first switching process. 根据权利要求59所述的通信设备,其特征在于:The communication device according to claim 59, characterized in that: 一个或多个候选主节点中的每个候选主节点对应一个计数值;或Each of the one or more candidate master nodes corresponds to a count value; or 一个或多个候选主节点中的每个候选主节点对应一个计数值集合;或Each of the one or more candidate master nodes corresponds to a set of count values; or 所述一个或多个候选小区中的每个候选小区对应一个计数值;或Each candidate cell in the one or more candidate cells corresponds to a count value; or 所述一个或多个候选小区中的每个候选小区的配置信息包含一个计数值;或The configuration information of each candidate cell in the one or more candidate cells includes a count value; or 所述一个或多个候选小区中的全部候选小区对应一个计数值;All candidate cells in the one or more candidate cells correspond to a count value; 其中,所述一个或多个候选小区属于所述一个或多个候选主节点。The one or more candidate cells belong to the one or more candidate master nodes. 根据权利要求59或60所述的通信设备,其特征在于,所述一个或多个候选小区的配置信息包括以下中的一种或多种:The communication device according to claim 59 or 60, wherein the configuration information of the one or more candidate cells includes one or more of the following: MCG的配置信息;MCG configuration information; 辅小区组SCG的配置信息。Configuration information of the secondary cell group SCG. 根据权利要求61所述的通信设备,其特征在于,所述SCG的配置信息包括以下中的一种或多种:The communication device according to claim 61, wherein the configuration information of the SCG includes one or more of the following: 源SCG的配置信息;Configuration information of the source SCG; 除所述源SCG的配置信息之外的其他SCG的配置信息。Configuration information of other SCGs except the configuration information of the source SCG. 根据权利要求59至62中任一项所述的通信设备,其特征在于,所述辅密钥由所述终端设备根 据所述一个或多个计数值中的目标计数值确定,所述目标计数值满足以下条件中的一种:The communication device according to any one of claims 59 to 62, characterized in that the secondary key is a key of the terminal device root. Determined according to a target count value among the one or more count values, the target count value satisfies one of the following conditions: 与所述一个或多个候选小区中的目标小区对应;corresponding to a target cell among the one or more candidate cells; 与所述目标小区所属的主节点对应;corresponding to the master node to which the target cell belongs; 属于第一计数值集合,所述第一计数值集合与所述目标小区所属的主节点对应;Belonging to a first count value set, the first count value set corresponds to a master node to which the target cell belongs; 属于第二计数值集合,所述第二计数值集合与所述目标小区对应;belongs to a second count value set, and the second count value set corresponds to the target cell; 包含在所述目标小区的配置信息中;included in the configuration information of the target cell; 与所述一个或多个候选小区中的全部候选小区对应。Corresponding to all candidate cells in the one or more candidate cells. 根据权利要求63所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 63, characterized in that the communication device further comprises: 发送单元,用于向所述目标小区发送RRC重配完成消息,所述RRC重配完成消息包含所述目标计数值。The sending unit is configured to send an RRC reconfiguration complete message to the target cell, where the RRC reconfiguration complete message includes the target count value. 根据权利要求59至64中任一项所述的通信设备,其特征在于,所述第一切换过程中传输的切换命令包含第一指示信息,所述第一指示信息用于指示以下中的一种或多种:The communication device according to any one of claims 59 to 64, wherein the handover command transmitted during the first handover process includes first indication information, and the first indication information is used to indicate one or more of the following: 所述终端设备需要更新主密钥;The terminal device needs to update the master key; 所述终端设备需要更新辅密钥。The terminal device needs to update the secondary key. 根据权利要求59至65中任一项所述的通信设备,其特征在于,所述第一配置信息还包括以下中的一种或多种:The communication device according to any one of claims 59 to 65, wherein the first configuration information further includes one or more of the following: 所述一个或多个候选小区的标识;identifications of the one or more candidate cells; 所述一个或多个候选小区对应的小区组的标识。The identifier of the cell group corresponding to the one or more candidate cells. 根据权利要求57至66中任一项所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to any one of claims 57 to 66, characterized in that the communication device further comprises: 确定单元,用于在所述终端设备接收第一主节点发送的一个或多个计数值之后,根据主密钥和目标计数值确定所述辅密钥,其中,所述目标计数值为一个或多个计数值中的计数值。The determination unit is configured to determine the secondary key according to the primary key and the target count value after the terminal device receives one or more count values sent by the first master node, wherein the target count value is a count value among the one or more count values. 根据权利要求67所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 67, characterized in that the communication device further comprises: 生成单元,用于在所述终端设备根据主密钥和目标计数值确定所述辅密钥之前,生成所述主密钥。A generating unit is configured to generate the master key before the terminal device determines the secondary key according to the master key and the target count value. 根据权利要求57至68中任一项所述的通信设备,其特征在于,在所述终端设备接收第一主节点发送的一个或多个计数值之后,所述通信设备还包括:The communication device according to any one of claims 57 to 68, characterized in that after the terminal device receives one or more count values sent by the first master node, the communication device further comprises: 所述终端设备执行目标操作,所述目标操作包括以下中的一种或多种:The terminal device performs a target operation, where the target operation includes one or more of the following: 针对第一承载,重建或新建分组数据汇聚协议PDCP实体;For the first bearer, reestablish or create a Packet Data Convergence Protocol (PDCP) entity; 针对第一承载,重建或新建无线链路控制RLC实体;For the first bearer, reestablish or create a radio link control RLC entity; 针对第二承载,重建或新建PDCP实体;For the second bearer, re-establish or create a new PDCP entity; 针对第二承载,重建或新建RLC实体;For the second bearer, reestablish or create a new RLC entity; 删除第三承载对应的PDCP实体;Deleting the PDCP entity corresponding to the third bearer; 删除第三承载对应的RLC实体;Deleting the RLC entity corresponding to the third bearer; 针对信令无线承载,丢弃PDCP业务数据单元SDU;For signaling radio bearers, PDCP service data units (SDUs) are discarded. 其中,所述第一承载为使用主密钥的承载,所述第二承载为使用辅密钥的承载;The first bearer is a bearer using a primary key, and the second bearer is a bearer using a secondary key; 其中,所述第三承载的配置信息包含在源小区的配置信息中,且所述第三承载的配置信息不包含在目标小区的配置信息中。The configuration information of the third bearer is included in the configuration information of the source cell, and the configuration information of the third bearer is not included in the configuration information of the target cell. 根据权利要求69所述的通信设备,其特征在于,所述目标操作在第一条件满足的情况下执行,所述第一条件包括主密钥需要更新和/或PDCP终点发生改变。The communication device according to claim 69 is characterized in that the target operation is performed when a first condition is met, and the first condition includes that the master key needs to be updated and/or the PDCP endpoint changes. 根据权利要求57至70中任一项所述的通信设备,其特征在于,所述第一切换过程用于:The communication device according to any one of claims 57 to 70, wherein the first switching process is used to: 在集中单元CU内部进行小区切换;或者,Perform cell switching within the centralized unit CU; or, 在CU之间进行小区切换。Cell switching is performed between CUs. 根据权利要求57至71中任一项所述的通信设备,其特征在于,在所述第一切换过程中,所述终端设备的SCG满足以下中的一项:The communication device according to any one of claims 57 to 71, characterized in that, during the first switching process, the SCG of the terminal device satisfies one of the following: 保持不变;remain unchanged; 更换为除当前SCG之外的其他SCG;或者,Change to an SCG other than the current SCG; or, 添加了除当前SCG之外的其他SCG。Added additional SCGs besides the current one. 一种通信设备,其特征在于,所述通信设备为第一主节点,所述通信设备包括:A communication device, characterized in that the communication device is a first master node, and the communication device includes: 第一发送单元,用于向终端设备发送一个或多个计数值;A first sending unit, configured to send one or more count values to a terminal device; 其中,所述一个或多个计数值用于在所述终端设备执行第一切换过程时确定辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为主小区组的层1/层2触发的移动性MCG LTM过程。The one or more count values are used to determine a secondary key when the terminal device performs a first switching process, and the secondary key is used for the terminal device to communicate with the secondary node. The first switching process is a mobility MCG LTM process triggered by layer 1/layer 2 of the primary cell group. 根据权利要求73所述的通信设备,其特征在于,所述一个或多个计数值承载于切换命令中, 所述切换命令用于在所述第一切换过程中指示所述终端设备切换至目标小区。The communication device according to claim 73, wherein the one or more count values are carried in a handover command, The switching command is used to instruct the terminal device to switch to the target cell during the first switching process. 根据权利要求74所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 74, characterized in that the communication device further comprises: 第一接收单元,用于接收第二主节点发送的第一消息,所述第二主节点为至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥。The first receiving unit is used to receive a first message sent by a second master node, where the second master node is the master node to which at least one candidate cell belongs. The first message includes at least one count value, and the at least one count value is used to determine a secondary key associated with the at least one candidate cell. 根据权利要求75所述的通信设备,其特征在于:The communication device according to claim 75, characterized in that: 所述第二主节点下的每个候选小区对应一个计数值;或者,Each candidate cell under the second master node corresponds to a count value; or, 所述第二主节点下的全部候选小区对应一个计数值;或者,All candidate cells under the second master node correspond to a count value; or, 所述第一消息包含所述第二主节点下的目标小区对应的计数值。The first message includes a count value corresponding to the target cell under the second master node. 根据权利要求75或76所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 75 or 76, characterized in that the communication device further comprises: 第二发送单元,用于在所述第一主节点接收第二主节点发送的第一消息之前,向第二主节点发送第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:The second sending unit is configured to send a second message to the second master node before the first master node receives the first message sent by the second master node, where the second message is used to request the second master node to provide one or more of the following: 第二主节点下的每个候选小区的计数值;The count value of each candidate cell under the second master node; 第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;a count value of all candidate cells under the second master node, where each candidate cell corresponds to one count value; 目标小区的计数值。The count value of the target cell. 根据权利要求77所述的通信设备,其特征在于,所述第二消息包含所述目标小区的信息。The communication device according to claim 77 is characterized in that the second message includes information of the target cell. 根据权利要求77或78所述的通信设备,其特征在于:The communication device according to claim 77 or 78, characterized in that: 所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,The second message is sent during the LTM preparation phase of the first switching process; or, 所述第二消息响应于所述终端设备成功接入所述第一主节点发送;或者,The second message is sent in response to the terminal device successfully accessing the first master node; or, 所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送。The second message is sent after the first master node determines the target cell and before sending the handover command. 根据权利要求79所述的通信设备,其特征在于,所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送,包括:The communication device according to claim 79, wherein the second message is sent after the first master node determines the target cell and before sending the handover command, and comprises: 所述第二消息在所述第一主节点的集中单元CU接收到所述第一主节点的分布单元DU发送的第二指示信息之后发送,所述第二指示信息包含所述目标小区的信息。The second message is sent after the centralized unit CU of the first master node receives the second indication information sent by the distributed unit DU of the first master node, where the second indication information includes the information of the target cell. 根据权利要求75至80中任一项所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to any one of claims 75 to 80, characterized in that the communication device further comprises: 第三发送单元,用于在所述第一主节点接收第二主节点发送的第一消息之后,利用CU将所述至少一个计数值发送至所述第一主节点的DU。The third sending unit is configured to send the at least one count value to the DU of the first master node by using the CU after the first master node receives the first message sent by the second master node. 根据权利要求81所述的通信设备,其特征在于,所述第一主节点的DU为以下DU中的一种:The communication device according to claim 81, wherein the DU of the first master node is one of the following DUs: 所述终端设备的当前DU;The current DU of the terminal device; 所述目标小区所在的DU,其中,所述第一切换过程用于在CU内执行DU间切换;the DU where the target cell is located, wherein the first handover procedure is used to perform inter-DU handover within the CU; 所述第一主节点下的包含候选小区的全部DU。All DUs under the first master node include candidate cells. 根据权利要求74至82中任一项所述的通信设备,其特征在于,所述切换命令是在所述目标小区不属于所述第一主节点的情况下发送的。The communication device according to any one of claims 74 to 82 is characterized in that the handover command is sent when the target cell does not belong to the first master node. 根据权利要求74至83中任一项所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to any one of claims 74 to 83, characterized in that the communication device further comprises: 第四发送单元,用于利用DU向所述第一主节点的CU发送第三指示信息,所述第三指示信息包括所述目标小区的信息;a fourth sending unit, configured to send third indication information to the CU of the first master node by using the DU, where the third indication information includes information about the target cell; 所述第一主节点的DU接收所述第一主节点的CU发送的针对所述第三指示信息的反馈信息,所述反馈信息包含以下中的一种:The DU of the first master node receives feedback information for the third indication information sent by the CU of the first master node, where the feedback information includes one of the following: 所述目标小区对应的计数值;The count value corresponding to the target cell; 所述目标小区所属的主节点对应的计数值。The count value corresponding to the master node to which the target cell belongs. 根据权利要求84所述的通信设备,其特征在于,所述第三指示信息是在所述目标小区不属于所述第一主节点的情况下发送的。The communication device according to claim 84 is characterized in that the third indication information is sent when the target cell does not belong to the first master node. 根据权利要求73所述的通信设备,其特征在于,所述一个或多个计数值承载于第一配置信息中,所述第一配置信息包括一个或多个候选小区的配置信息,所述一个或多个候选小区的配置信息用于所述终端设备执行所述第一切换过程。The communication device according to claim 73 is characterized in that the one or more count values are carried in first configuration information, the first configuration information includes configuration information of one or more candidate cells, and the configuration information of the one or more candidate cells is used by the terminal device to perform the first switching process. 根据权利要求86所述的通信设备,其特征在于:The communication device according to claim 86, characterized in that: 一个或多个候选主节点中的每个候选主节点对应一个计数值;或Each of the one or more candidate master nodes corresponds to a count value; or 一个或多个候选主节点中的每个候选主节点对应一个计数值集合;或Each of the one or more candidate master nodes corresponds to a set of count values; or 所述一个或多个候选小区中的每个候选小区对应一个计数值;或Each candidate cell in the one or more candidate cells corresponds to a count value; or 所述一个或多个候选小区中的每个候选小区的配置信息包含一个计数值;或The configuration information of each candidate cell in the one or more candidate cells includes a count value; or 所述一个或多个候选小区中的全部候选小区对应一个计数值;All candidate cells in the one or more candidate cells correspond to a count value; 其中,所述一个或多个候选小区属于所述一个或多个候选主节点。 The one or more candidate cells belong to the one or more candidate master nodes. 根据权利要求86或87所述的通信设备,其特征在于,所述一个或多个候选小区的配置信息包括以下中的一种或多种:The communication device according to claim 86 or 87, wherein the configuration information of the one or more candidate cells includes one or more of the following: MCG的配置信息;MCG configuration information; 辅小区组SCG的配置信息。Configuration information of the secondary cell group SCG. 根据权利要求88所述的通信设备,其特征在于,所述SCG的配置信息包括以下中的一种或多种:The communication device according to claim 88, wherein the configuration information of the SCG includes one or more of the following: 源SCG的配置信息;Configuration information of the source SCG; 除所述源SCG的配置信息之外的其他SCG的配置信息。Configuration information of other SCGs except the configuration information of the source SCG. 根据权利要求86至89中任一项所述的通信设备,其特征在于,所述第一切换过程中传输的切换命令包含第一指示信息,所述第一指示信息用于指示以下中的一种或多种:The communication device according to any one of claims 86 to 89, wherein the handover command transmitted during the first handover process includes first indication information, and the first indication information is used to indicate one or more of the following: 所述终端设备需要更新主密钥;The terminal device needs to update the master key; 所述终端设备需要更新辅密钥。The terminal device needs to update the secondary key. 根据权利要求86至90中任一项所述的通信设备,其特征在于,所述第一配置信息还包括以下中的一种或多种:The communication device according to any one of claims 86 to 90, wherein the first configuration information further includes one or more of the following: 所述一个或多个候选小区的标识;identifications of the one or more candidate cells; 所述一个或多个候选小区对应的小区组的标识。The identifier of the cell group corresponding to the one or more candidate cells. 根据权利要求86至91中任一项所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to any one of claims 86 to 91, characterized in that the communication device further comprises: 第二接收单元,用于接收第二主节点发送的第一消息,所述第二主节点为至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥。The second receiving unit is used to receive a first message sent by a second master node, where the second master node is the master node to which at least one candidate cell belongs, and the first message includes at least one count value, which is used to determine a secondary key associated with the at least one candidate cell. 根据权利要求92所述的通信设备,其特征在于:The communication device according to claim 92, wherein: 所述第二主节点下的每个候选小区对应一个计数值;或者,Each candidate cell under the second master node corresponds to a count value; or, 所述第二主节点下的全部候选小区对应一个计数值。All candidate cells under the second master node correspond to a count value. 根据权利要求92或93所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 92 or 93, characterized in that the communication device further comprises: 第五发送单元,用于在所述第一主节点接收第二主节点发送的第一消息之前,向第二主节点发送第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:a fifth sending unit, configured to send a second message to the second master node before the first master node receives the first message sent by the second master node, where the second message is used to request the second master node to provide one or more of the following: 第二主节点下的每个候选小区的计数值;The count value of each candidate cell under the second master node; 第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;a count value of all candidate cells under the second master node, where each candidate cell corresponds to one count value; 目标小区的计数值。The count value of the target cell. 根据权利要求94所述的通信设备,其特征在于:The communication device according to claim 94, characterized in that: 所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,The second message is sent during the LTM preparation phase of the first switching process; or, 所述第二消息响应于所述终端设备成功接入所述第一主节点发送。The second message is sent in response to the terminal device successfully accessing the first master node. 根据权利要求73至95中任一项所述的通信设备,其特征在于,所述第一切换过程用于:The communication device according to any one of claims 73 to 95, wherein the first switching process is used to: 在CU内部进行小区切换;或者,Perform cell switching within the CU; or, 在CU之间进行小区切换。Cell switching is performed between CUs. 根据权利要求73至96中任一项所述的通信设备,其特征在于,在所述第一切换过程中,所述终端设备的SCG满足以下中的一项:The communication device according to any one of claims 73 to 96, wherein, during the first switching process, the SCG of the terminal device satisfies one of the following: 保持不变;remain unchanged; 更换为除当前SCG之外的其他SCG;或者,Change to an SCG other than the current SCG; or, 添加了除当前SCG之外的其他SCG。Added additional SCGs besides the current one. 一种通信设备,其特征在于,所述通信设备为第二主节点,所述通信设备包括:A communication device, characterized in that the communication device is a second master node, and the communication device includes: 第一发送单元,用于向第一主节点发送第一消息,所述第一主节点为终端设备在执行第一切换过程时的源主节点,所述第二主节点为所述第一切换过程关联的至少一个候选小区所属的主节点,所述第一消息包括至少一个计数值,所述至少一个计数值用于确定与所述至少一个候选小区关联的辅密钥,所述辅密钥用于所述终端设备与辅节点通信,所述第一切换过程为主小区组的层1/层2触发的移动性MCG LTM过程。The first sending unit is used to send a first message to a first master node, where the first master node is the source master node of the terminal device when executing the first switching process, and the second master node is the master node to which at least one candidate cell associated with the first switching process belongs. The first message includes at least one count value, and the at least one count value is used to determine the secondary key associated with the at least one candidate cell. The secondary key is used for the terminal device to communicate with the secondary node, and the first switching process is a mobility MCG LTM process triggered by layer 1/layer 2 of the primary cell group. 根据权利要求98所述的通信设备,其特征在于:The communication device according to claim 98, wherein: 所述第二主节点下的每个候选小区对应一个计数值;或者,Each candidate cell under the second master node corresponds to a count value; or, 所述第二主节点下的全部候选小区对应一个计数值;或者,All candidate cells under the second master node correspond to a count value; or, 所述第一消息包含所述第二主节点下的目标小区对应的计数值。The first message includes a count value corresponding to the target cell under the second master node. 根据权利要求98或99所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 98 or 99, characterized in that the communication device further comprises: 第一接收单元,用于在所述第二主节点向第一主节点发送第一消息之前,接收所述第一主节点发送 的第二消息,所述第二消息用于请求所述第二主节点提供以下中的一种或多种:The first receiving unit is configured to receive a message sent by the first master node before the second master node sends the first message to the first master node. The second message is used to request the second master node to provide one or more of the following: 第二主节点下的每个候选小区的计数值;The count value of each candidate cell under the second master node; 第二主节点下的全部候选小区的计数值,该全部候选小区对应一个计数值;a count value of all candidate cells under the second master node, where each candidate cell corresponds to one count value; 目标小区的计数值。The count value of the target cell. 根据权利要求100所述的通信设备,其特征在于,所述第二消息包含所述目标小区的信息。The communication device according to claim 100 is characterized in that the second message includes information of the target cell. 根据权利要求100或101所述的通信设备,其特征在于:The communication device according to claim 100 or 101, characterized in that: 所述第二消息在所述第一切换过程中的LTM准备阶段发送;或者,The second message is sent during the LTM preparation phase of the first switching process; or, 所述第二消息响应于所述终端设备成功接入所述第一主节点发送;或者,The second message is sent in response to the terminal device successfully accessing the first master node; or, 所述第二消息在所述第一主节点确定目标小区之后、发送切换命令之前发送。The second message is sent after the first master node determines the target cell and before sending the handover command. 根据权利要求98至102中任一项所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to any one of claims 98 to 102, characterized in that the communication device further comprises: 第二接收单元,用于在所述第二主节点向第一主节点发送第一消息之后,接收所述第一主节点发送的第三消息,所述第三消息包含以下中的一种:The second receiving unit is configured to receive a third message sent by the first master node after the second master node sends the first message to the first master node, where the third message includes one of the following: 所述至少一个候选小区关联的主密钥;或者,The master key associated with the at least one candidate cell; or 所述至少一个候选小区中的目标小区关联的主密钥。A master key associated with a target cell among the at least one candidate cell. 根据权利要求103所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 103, characterized in that the communication device further comprises: 第一确定单元,用于根据所述至少一个候选小区关联的主密钥,确定所述至少一个候选小区关联的辅密钥;A first determining unit, configured to determine a secondary key associated with the at least one candidate cell according to a primary key associated with the at least one candidate cell; 所述第二主节点向所述辅节点发送所述至少一个候选小区关联的辅密钥。The second master node sends the secondary key associated with the at least one candidate cell to the secondary node. 根据权利要求104所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 104, characterized in that the communication device further comprises: 第二发送单元,用于向所述辅节点发送第四指示信息,所述第四指示信息用于指示所述辅节点使用所述至少一个候选小区关联的辅密钥中的目标辅密钥。The second sending unit is configured to send fourth indication information to the secondary node, where the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell. 根据权利要求103所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 103, characterized in that the communication device further comprises: 第二确定单元,用于根据所述目标小区关联的主密钥和所述目标小区对应的计数值,确定所述目标小区关联的辅密钥;a second determining unit, configured to determine a secondary key associated with the target cell according to the primary key associated with the target cell and a count value corresponding to the target cell; 第三发送单元,用于向所述辅节点发送所述目标小区关联的辅密钥。The third sending unit is configured to send the secondary key associated with the target cell to the secondary node. 根据权利要求98至106中任一项所述的通信设备,其特征在于,所述第一切换过程用于在集中单元CU之间进行小区切换。The communication device according to any one of claims 98 to 106 is characterized in that the first switching process is used to perform cell switching between centralized units CU. 根据权利要求98至107中任一项所述的通信设备,其特征在于,在所述第一切换过程中,所述终端设备的辅小区组SCG满足以下中的一项:The communication device according to any one of claims 98 to 107, characterized in that, in the first switching process, the secondary cell group (SCG) of the terminal device satisfies one of the following: 保持不变;remain unchanged; 更换为除当前SCG之外的其他SCG;或者,Change to an SCG other than the current SCG; or, 添加了除当前SCG之外的其他SCG。Added additional SCGs besides the current one. 一种通信设备,其特征在于,所述通信设备为辅节点,所述通信设备包括:A communication device, characterized in that the communication device is a secondary node, and the communication device includes: 第一接收单元,用于接收第二主节点发送的一个或多个辅密钥,所述一个或多个辅密钥与所述第二主节点下的至少一个候选小区关联,或者,所述一个或多个辅密钥与所述第二主节点下的目标小区关联,所述辅密钥用于终端设备在执行第一切换过程之后与所述辅节点进行通信,所述第二主节点为所述至少一个候选小区所属的主节点,所述第一切换过程为主小区组的层1/层2触发的移动性MCG LTM过程。The first receiving unit is used to receive one or more auxiliary keys sent by the second master node, where the one or more auxiliary keys are associated with at least one candidate cell under the second master node, or the one or more auxiliary keys are associated with the target cell under the second master node, and the auxiliary keys are used by the terminal device to communicate with the auxiliary node after executing the first switching process. The second master node is the master node to which the at least one candidate cell belongs, and the first switching process is a mobility MCG LTM process triggered by layer 1/layer 2 of the master cell group. 根据权利要求109所述的通信设备,其特征在于,所述通信设备还包括:The communication device according to claim 109, characterized in that the communication device further comprises: 第二接收单元,用于接收所述第二主节点发送的第四指示信息,所述第四指示信息用于指示所述辅节点使用所述至少一个候选小区关联的辅密钥中的目标辅密钥。The second receiving unit is configured to receive fourth indication information sent by the second master node, where the fourth indication information is used to instruct the secondary node to use a target secondary key among the secondary keys associated with the at least one candidate cell. 根据权利要求109或110所述的通信设备,其特征在于,所述第一切换过程用于在集中单元CU之间进行小区切换。The communication device according to claim 109 or 110 is characterized in that the first switching process is used to perform cell switching between centralized units CU. 根据权利要求109至111中任一项所述的通信设备,其特征在于,在所述第一切换过程中,所述终端设备的辅小区组SCG满足以下中的一项:The communication device according to any one of claims 109 to 111, characterized in that, in the first switching process, the secondary cell group (SCG) of the terminal device satisfies one of the following: 保持不变;remain unchanged; 更换为除当前SCG之外的其他SCG;或者,Change to an SCG other than the current SCG; or, 添加了除当前SCG之外的其他SCG。Added additional SCGs besides the current one. 一种通信设备,其特征在于,包括收发器、存储器和处理器,所述存储器用于存储程序,所述处理器用于调用所述存储器中的程序,以使所述网络设备执行如权利要求1-56中任一项所述的方法。A communication device, characterized in that it includes a transceiver, a memory and a processor, the memory is used to store a program, and the processor is used to call the program in the memory so that the network device executes the method as described in any one of claims 1-56. 一种装置,其特征在于,包括处理器,用于从存储器中调用程序,以使所述装置执行如权利要求1-56中任一项所述的方法。 A device, characterized in that it includes a processor, which is used to call a program from a memory so that the device executes the method according to any one of claims 1 to 56. 一种芯片,其特征在于,包括处理器,用于从存储器调用程序,使得安装有所述芯片的设备执行如权利要求1-56中任一项所述的方法。A chip, characterized in that it includes a processor for calling a program from a memory so that a device equipped with the chip executes the method according to any one of claims 1 to 56. 一种计算机可读存储介质,其特征在于,其上存储有程序,所述程序使得计算机执行如权利要求1-56中任一项所述的方法。A computer-readable storage medium, characterized in that a program is stored thereon, wherein the program enables a computer to execute the method according to any one of claims 1 to 56. 一种计算机程序产品,其特征在于,包括程序,所述程序使得计算机执行如权利要求1-56中任一项所述的方法。A computer program product, characterized in that it comprises a program, wherein the program causes a computer to execute the method according to any one of claims 1 to 56. 一种计算机程序,其特征在于,所述计算机程序使得计算机执行如权利要求1-56中任一项所述的方法。 A computer program, characterized in that the computer program enables a computer to execute the method according to any one of claims 1 to 56.
PCT/CN2024/086894 2024-04-09 2024-04-09 Wireless communication method and communication device Pending WO2025213372A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2024/086894 WO2025213372A1 (en) 2024-04-09 2024-04-09 Wireless communication method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2024/086894 WO2025213372A1 (en) 2024-04-09 2024-04-09 Wireless communication method and communication device

Publications (1)

Publication Number Publication Date
WO2025213372A1 true WO2025213372A1 (en) 2025-10-16

Family

ID=97349053

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/086894 Pending WO2025213372A1 (en) 2024-04-09 2024-04-09 Wireless communication method and communication device

Country Status (1)

Country Link
WO (1) WO2025213372A1 (en)

Similar Documents

Publication Publication Date Title
US20230189091A1 (en) Iab node configuration method and communication apparatus
US20230171651A1 (en) Logical channel lch configuration method, communication apparatus, and communication system
US11490438B2 (en) Protocols and architectures for NR-NR dual connectivity (NR-DC)
WO2018176416A1 (en) Relay communication method, apparatus and system
JP6920550B2 (en) Communication methods and devices and radio access networks
US12490152B2 (en) Node handover method and related device
US12335753B2 (en) Information update method, device, and system
US12477599B2 (en) Mobile edge computing processing method and related device
CN117322051A (en) Service processing method and device
WO2020164620A1 (en) Communication processing method for terminal information and related device
TWI775811B (en) Communication method, auxiliary network node, and terminal
JP2023545849A (en) IAB node migration method and device
US20240275520A1 (en) Communication method and apparatus
WO2025043631A1 (en) Wireless communication method, terminal device, and network device
WO2025213372A1 (en) Wireless communication method and communication device
WO2023207838A1 (en) Communication method, and device
JP7791355B2 (en) Communication method and device
WO2020238596A1 (en) Handover method, apparatus and communications system
US20250048229A1 (en) Communication method and device
WO2025161781A1 (en) Communication method and apparatus, and system
WO2018228545A1 (en) Information processing method and related apparatus
WO2021030984A1 (en) Configuration method and apparatus, and computer readable storage medium and system
WO2025161778A1 (en) Communication method, apparatus and system
WO2025045005A9 (en) Communication method and apparatus
WO2024183032A1 (en) Computing power reconfiguration method and related apparatus

Legal Events

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

Ref document number: 24934456

Country of ref document: EP

Kind code of ref document: A1