Configuration method for wireless communication, device, and storage medium

By storing and controlling the preconfiguration information of the CPAC in the terminal device, the signaling overhead and interruption problems of the terminal device during state migration and cell handover are solved, and a more efficient wireless communication configuration is achieved.

WO2025168009A1PCT designated stage Publication Date: 2025-08-14HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/076057
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-07
Filing Date
2025-02-06
Publication Date
2025-08-14

AI Technical Summary

Technical Problem

When a terminal device migrates from RRC_INACTIVE to RRC_CONNECTED or performs cell handover, the network device needs to reissue pre-configuration information of CPAC, resulting in a large downlink signaling overhead and interruption of state migration and handover.

Method used

Obtain and save preconfigured information added or updated by the primary and secondary cells, and retain this information when migrating to the non-activated state of the radio resource control, controlling its effectiveness through the indication information, reducing signaling overhead and interruption.

Benefits of technology

By retaining and controlling the preconfigured information of the CPAC, the interrupt impact of state migration and handover is reduced and the user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025076057_14082025_PF_FP_ABST
    Figure CN2025076057_14082025_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a configuration method for wireless communication, a device, and a storage medium. The method comprises: acquiring and storing preconfigured information of conditional PSCell addition / change (CPAC); acquiring indication information; and, on the basis of the indication information, transitioning to a radio resource control inactive state (RRC_INACTIVE), and retaining the preconfigured information of the conditional PSCell addition / change. According to the present application, if, next time, a terminal device still accesses a present serving cell or a serving cell corresponding to the preconfigured information of the CPAC, indication to a network device and continued use of the preconfigured information of the CPAC can be achieved. As a result, downlink signaling overhead is reduced, and the impact of interruption caused by state transition on data transmission and handover is reduced, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Wireless communication configuration method, device and storage medium This application claims priority to the Chinese patent application filed with the China Patent Office on February 7, 2024, with application number 202410173902.9 and application name “Wireless Communication Configuration Method, Device and Storage Medium”, the entire contents of which are incorporated by reference into this application. Technical Field The present application relates to the field of communication technology, and in particular to a wireless communication configuration method, device, and storage medium. Background Art In related technologies, when a terminal device migrates to the RRC (Radio Resource Control) inactive state (RRC_INACTIVE) in a DC (Dual Connectivity) scenario, the corresponding CPAC (Conditional PSCell Addition / Change) pre-configuration information is released. Therefore, when the terminal device migrates from RRC_INACTIVE to RRC_CONNECTED (Radio Resource Control Connected State), or when the terminal device performs a cell handover, the network device needs to resend the CPAC pre-configuration information to the terminal device, resulting in a large downlink signaling overhead and the interruption of data transmission and handover due to state migration. Summary of the Invention The embodiments of the present application provide a wireless communication configuration method, device, and storage medium, which can avoid large downlink signaling overhead and reduce the impact of state migration on data transmission and switching interruptions. In the first aspect, an embodiment of the present application proposes a wireless communication configuration method, which includes: obtaining and saving pre-configuration information added or updated by conditional primary and secondary cells; obtaining indication information; and retaining the pre-configuration information added or updated by conditional primary and secondary cells when migrating to the wireless resource control inactive state based on the indication information. In an optional embodiment of the first aspect, the indication information is carried in a radio resource control release message. In an optional embodiment of the first aspect, the wireless resource control release message carries at least one of a timer, a cell identifier of a valid cell, and a wireless notification area list of a valid area, the timer is used to indicate the effective time of the pre-configuration information added or updated by the conditional primary and secondary cells, and the cell identifier of the valid cell and the wireless notification area list of the valid area are both used to indicate the applicable cells of the pre-configuration information added or updated by the conditional primary and secondary cells. In an optional embodiment of the first aspect, the method further includes: if the timer expires and / or the terminal device leaves the valid cell, deleting the pre-configuration information added or updated by the conditional primary and secondary cells. In an optional embodiment of the first aspect, the method further includes: deleting pre-configuration information added or updated by the conditional primary and secondary cells when migrating to the radio resource control idle state. In an optional embodiment of the first aspect, the pre-configuration information added or updated by the conditional primary and secondary cells includes: at least one of the candidate cell's air interface resources, non-access layer signaling, primary cell group configuration information, secondary cell group configuration information, measurement configuration information, dedicated system information block, and encryption parameters. In an optional embodiment of the first aspect, the method further includes: sending first information to the network device, where the first information is used to indicate that pre-configured information for adding or updating the conditional primary and secondary cells is available. In an optional embodiment of the first aspect, the first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in conditional primary or secondary cell addition or update. In an optional embodiment of the first aspect, the first information is carried in a radio resource control recovery request message. In an optional embodiment of the first aspect, the radio resource control resumption request message further carries a measurement report. In an optional embodiment of the first aspect, the first serving cell when saving the pre-configuration information added or updated by the conditional primary and secondary cells is the same as the second serving cell when sending the first information; Alternatively, the first serving cell when pre-configuration information of adding or updating the conditional primary and secondary cells is saved is different from the second serving cell when the first information is sent. In an optional embodiment of the first aspect, the second serving cell is a candidate cell in pre-configuration information added or updated by the conditional primary and secondary cells, and sending the first information to the network device includes: Under preset conditions, the pre-configured information added or updated by the conditional primary and secondary cells is applied to send the first information to the network device. The preset conditions include: the current time meets the time specified by the timer and / or the second serving cell is a valid cell. In an optional embodiment of the first aspect, the invention further includes: Acquire second information, where the second information indicates a processing method for adding or updating pre-configuration information of a conditional primary or secondary cell; According to the processing method, the pre-configuration information added or updated for the conditional primary and secondary cells is processed accordingly. In an optional embodiment of the first aspect, the processing method includes: retaining the pre-configuration information of the conditional primary and secondary cells added or updated, deleting the pre-configuration information of the conditional primary and secondary cells added or updated, or updating the pre-configuration information of the conditional primary and secondary cells added or updated, or adding one of the pre-configuration information of the conditional primary and secondary cells added or updated. In a second aspect, an embodiment of the present application provides a wireless communication configuration method, including: obtaining first information, where the first information indicates that pre-configuration information for adding or updating conditional primary and secondary cells is available. In an optional embodiment of the second aspect, the first information is carried in a radio resource control recovery request message. In an optional embodiment of the second aspect, the first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in conditional primary or secondary cell addition or update. In an optional embodiment of the second aspect, the method also includes: obtaining pre-configuration information for adding or updating conditional primary and secondary cells based on the terminal device identifier and / or the candidate cell identifier; determining a processing method for the pre-configuration information for adding or updating conditional primary and secondary cells, and indicating second information, where the second information is used to indicate a processing method for the pre-configuration information for adding or updating conditional primary and secondary cells. In an optional embodiment of the second aspect, obtaining pre-configuration information for adding or updating conditional primary and secondary cells includes: obtaining pre-configuration information for adding or updating conditional primary and secondary cells from a source network device, where the source network device is a service network device that configures the configuration information for adding or updating conditional primary and secondary cells for the terminal device. In an optional embodiment of the second aspect, a processing method for adding or updating pre-configuration information of conditional primary and secondary cells is determined, including: obtaining resource usage of a second service cell and a neighboring cell of the second service cell, where the second service cell is a cell currently accessed by the terminal device; obtaining a measurement report carried by a wireless resource control recovery request message; obtaining whether the terminal device needs to configure a dual-connection scenario; and determining a processing method for adding or updating pre-configuration information of conditional primary and secondary cells based on resource usage, measurement reports, and whether the terminal device needs to configure a dual-connection scenario. In an optional embodiment of the second aspect, the processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells. In a third aspect, an embodiment of the present application proposes a wireless communication configuration method, including: obtaining indication information, the indication information including a terminal device identifier and / or a candidate cell identifier; retrieving pre-configuration information of conditional primary and secondary cells added or updated corresponding to the terminal device identifier and / or the candidate cell identifier; obtaining valid information of the configuration information of the candidate cell in the pre-configuration information of conditional primary and secondary cells added or updated; updating the pre-configuration information of conditional primary and secondary cells added or updated according to the valid information, and obtaining the updated pre-configuration information of conditional primary and secondary cells added or updated; sending a reply message, the reply information including: pre-configuration information of conditional primary and secondary cells added or updated or pre-configuration information of conditional primary and secondary cells added or updated after the update. In an optional embodiment of the third aspect, the indication information is carried in a terminal device context request message or other Xn interface messages. In an optional embodiment of the third aspect, the reply information is carried in a terminal device context response message or other Xn interface message. In an optional embodiment of the third aspect, obtaining valid information of the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells includes: sending a first request message to other network devices corresponding to the candidate cell, the first request message being used to instruct other network devices to determine the valid information of the configuration information of the candidate cell; and obtaining the valid information sent by other network devices. In an optional embodiment of the third aspect, the valid information includes: at least one of the cell identifier of the candidate cell whose configuration information is valid in the pre-configuration information added or updated by the conditional primary and secondary cells, the cell identifier of the candidate cell whose configuration information is unavailable, and the cell identifier of the candidate cell whose configuration information needs to be updated. In an optional embodiment of the third aspect, the pre-configuration information added or updated by the conditional primary and secondary cells is updated according to the valid information to obtain the updated pre-configuration information added or updated by the conditional primary and secondary cells, including: If the valid information indicates that the configuration information of the candidate cell is unavailable, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells is deleted; If the valid information indicates that the configuration information of the candidate cell is valid, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells continues to be retained; If the valid information indicates that the configuration information of the candidate cell needs to be updated, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells is retained or deleted. In an optional embodiment of the third aspect, the present invention further includes: According to the second serving cell and the neighboring cell information of the second serving cell, the pre-configuration information of the candidate cell is newly added in the pre-configuration information added or updated in the conditional primary and secondary cells, and the second serving cell is the cell currently accessed by the terminal device. In a fourth aspect, an embodiment of the present application provides a terminal device, including: An acquisition module is used to acquire and save pre-configuration information of adding or updating conditional primary and secondary cells; and acquire indication information; The retaining module is used to retain the pre-configured information added or updated by the conditional primary and secondary cells when migrating to the radio resource control inactive state based on the indication information. In an optional embodiment of the fourth aspect, the indication information is carried in a radio resource control release message. In an optional embodiment of the fourth aspect, the wireless resource control release message carries at least one of a timer, a cell identifier of a valid cell, and a wireless notification area list of a valid area, the timer is used to indicate the effective time of the pre-configuration information added or updated by the conditional primary and secondary cells, and the cell identifier of the valid cell and the wireless notification area list of the valid area are both used to indicate the applicable cells of the pre-configuration information added or updated by the conditional primary and secondary cells. An optional embodiment of the fourth aspect further includes: a deletion module, which is used to delete the pre-configuration information added or updated by the conditional primary and secondary cells if the timer expires and / or the terminal device leaves the valid cell. An optional embodiment of the fourth aspect further includes: a deleting module, configured to delete the pre-configuration information added or updated by the conditional primary and secondary cells when migrating to the radio resource control idle state. In an optional embodiment of the fourth aspect, the pre-configuration information added or updated conditionally for the primary and secondary cells includes: at least one of the candidate cell's air interface resources, non-access layer signaling, primary cell group configuration information, secondary cell group configuration information, measurement configuration information, dedicated system information block, and encryption parameters. In an optional embodiment of the fourth aspect, it further includes: a sending module, used to send first information to the network device, where the first information is used to indicate that pre-configured information for adding or updating conditional primary and secondary cells is available. In an optional embodiment of the fourth aspect, the first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in conditional primary or secondary cell addition or update. In an optional embodiment of the fourth aspect, the first information is carried in a radio resource control recovery request message. In an optional embodiment of the fourth aspect, the radio resource control recovery request message further carries a measurement report. In an optional embodiment of the fourth aspect, the first serving cell when saving the pre-configuration information added or updated by the conditional primary and secondary cells is the same as the second serving cell when sending the first information; Alternatively, the first serving cell when pre-configuration information of adding or updating the conditional primary and secondary cells is saved is different from the second serving cell when the first information is sent. In an optional embodiment of the fourth aspect, the second service cell is a candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells, and the sending module is specifically used to send the first information to the network device under preset conditions by applying the pre-configuration information added or updated by the conditional primary and secondary cells. The preset conditions include: the current time meets the time specified by the timer and / or the second service cell belongs to a valid cell. In an optional embodiment of the fourth aspect, the acquisition module is also used to obtain second information, where the second information indicates a processing method for pre-configuration information added or updated by the conditional primary and secondary cells; and also includes a processing module for performing corresponding processing on the pre-configuration information added or updated by the conditional primary and secondary cells according to the processing method. In an optional embodiment of the fourth aspect, the processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells. In a fifth aspect, an embodiment of the present application provides a network device, including: an acquisition module, used to obtain first information, where the first information indicates that pre-configuration information for adding or updating conditional primary and secondary cells is available. In an optional embodiment of the fifth aspect, the first information is carried in a radio resource control recovery request message. In an optional embodiment of the fifth aspect, the first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in conditional primary or secondary cell addition or update. In an optional embodiment of the fifth aspect, the acquisition module is also used to obtain the pre-configuration information of the conditional primary and secondary cells added or updated based on the terminal device identifier and / or the candidate cell identifier; and also includes: a determination module, used to determine the processing method of the pre-configuration information of the conditional primary and secondary cells added or updated, indicating the second information, and the second information is used to indicate the processing method of the pre-configuration information of the conditional primary and secondary cells added or updated. In an optional embodiment of the fifth aspect, the acquisition module is specifically used to obtain pre-configuration information for adding or updating conditional primary and secondary cells from a source network device, and the source network device is a service network device that configures the configuration information for adding or updating conditional primary and secondary cells for the terminal device. In an optional embodiment of the fifth aspect, the determination module is specifically used to obtain resource usage of the second service cell and the neighboring cells of the second service cell, where the second service cell is the cell currently accessed by the terminal device; obtain the measurement report carried by the wireless resource control recovery request message; obtain whether the terminal device needs to configure a dual connection scenario; and determine the processing method for adding or updating the pre-configuration information of the conditional primary and secondary cells based on the resource usage, the measurement report and whether the terminal device needs to configure a dual connection scenario. In an optional embodiment of the fifth aspect, the processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells. In a sixth aspect, an embodiment of the present application provides a network device, including: A first acquisition module is used to acquire indication information, where the indication information includes a terminal device identifier and / or a candidate cell identifier; A retrieval module, configured to retrieve pre-configured information of adding or updating conditional primary and secondary cells corresponding to a terminal device identifier and / or a candidate cell identifier; A second acquisition module is used to obtain valid information of the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells; An updating module, configured to update the pre-configuration information added or updated by the conditional primary and secondary cells according to the valid information, and obtain the updated pre-configuration information added or updated by the conditional primary and secondary cells; The sending module is used to send reply information, where the reply information includes: pre-configuration information of adding or updating the conditional primary and secondary cells or pre-configuration information of adding or updating the conditional primary and secondary cells after update. In an optional embodiment of the sixth aspect, the indication information is carried in a terminal device context request message or other Xn interface messages. In an optional embodiment of the sixth aspect, the reply information is carried in a terminal device context response message or other Xn interface message. In an optional embodiment of the sixth aspect, the second acquisition module is specifically used to send a first request message to other network devices corresponding to the candidate cell, and the first request message is used to instruct other network devices to determine valid information of the configuration information of the candidate cell; and obtain valid information sent by other network devices. In an optional embodiment of the sixth aspect, the valid information includes: at least one of the cell identifiers of candidate cells whose configuration information is valid in the pre-configuration information added or updated by the conditional primary and secondary cells, the cell identifiers of candidate cells whose configuration information is unavailable, and the cell identifiers of candidate cells whose configuration information needs to be updated. In an optional embodiment of the sixth aspect, the update module is specifically configured to: If the valid information indicates that the configuration information of the candidate cell is unavailable, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells is deleted; If the valid information indicates that the configuration information of the candidate cell is valid, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells continues to be retained; If the valid information indicates that the configuration information of the candidate cell needs to be updated, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells is retained or deleted. In an optional embodiment of the sixth aspect, the update module is also used to add pre-configuration information of the candidate cell to the pre-configuration information added or updated by the conditional primary and secondary cells based on the second service cell and the neighboring area information of the second service cell, and the second service cell is the cell currently accessed by the terminal device. In the seventh aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the network device executes the method of the first aspect, the method of the second aspect, or the method of the third aspect. In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method of the first aspect, the method of the second aspect, or the method of the third aspect. In a ninth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run, the computer executes the method of the first aspect, the method of the second aspect, or the method of the third aspect. The present application provides a wireless communication configuration method, device and storage medium. The present application obtains indication information by obtaining and saving the pre-configuration information added or updated by the conditional primary and secondary cells; based on the indication information, the pre-configuration information added or updated by the conditional primary and secondary cells is retained when migrating to the radio resource control inactive state; it can be achieved that if the terminal device is still accessing the service cell or the service cell corresponding to the pre-configuration information of the CPAC next time, it can instruct the network device and continue to use the pre-configuration information of the CPAC, thereby saving downlink signaling overhead, reducing the impact of state migration on data transmission and switching interruptions, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS FIG1 is a diagram of a communication system architecture provided by an embodiment of the present application; FIG2 is a schematic diagram of a dual connection scenario provided in an embodiment of the present application; FIG3 is a schematic diagram of a cell switching process provided in an embodiment of the present application; FIG4 is a schematic diagram of a process of adding an SN triggered by an MN according to an embodiment of the present application; FIG5 is a schematic diagram of CPAC of a UE controlled by an SN according to an embodiment of the present application; FIG6 is a schematic diagram of an SN update process provided in an embodiment of the present application; FIG7 is a flowchart of the steps of the wireless communication configuration method provided in an embodiment of the present application; FIG8 is a schematic diagram of a network device sending an RRC release message to a terminal device according to an embodiment of the present application; FIG9 is a schematic diagram 1 of a wireless communication configuration method provided in an embodiment of the present application; FIG10 is a second schematic diagram of a wireless communication configuration method provided in an embodiment of the present application; FIG11 is a second flowchart of the steps of the wireless communication configuration method provided in an embodiment of the present application; FIG12 is a third schematic diagram of a wireless communication configuration method provided in an embodiment of the present application; FIG13 is a fourth schematic diagram of a wireless communication configuration method provided in an embodiment of the present application; FIG14 is a fifth schematic diagram of a wireless communication configuration method provided in an embodiment of the present application; FIG15 is a sixth schematic diagram of a wireless communication configuration method provided in an embodiment of the present application; FIG16 is a flowchart of the third step of the wireless communication configuration method provided in an embodiment of the present application; FIG17 is a block diagram of a terminal device according to an embodiment of the present application; FIG18 is a structural block diagram 1 of a network device provided in an embodiment of the present application; FIG19 is a second structural block diagram of a network device provided in an embodiment of the present application; FIG20 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION To facilitate a clear description of the technical solutions of the embodiments of this application, the words "exemplary" or "for example" are used in the embodiments of this application to indicate examples, illustrations, or explanations. Any embodiment or design described in this application as "exemplary" or "for example" should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner. In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. It should be noted that the phrase "when (at) ..." or "when (in) ..." in the embodiments of the present application can refer to the instant when a certain situation occurs or a period of time after the situation occurs, and the embodiments of the present application do not specifically limit this. In addition, the display interface provided in the embodiments of the present application is only an example, and the display interface may also include more or less content. The following first briefly describes the terms and nouns involved in the embodiments of this application. In order to better understand the information indication method provided in the embodiment of the present application, the communication system architecture of the embodiment of the present application is first described below. For example, Figure 1 is a diagram of a communication system architecture provided by an embodiment of the present application. As shown in Figure 1 , the communication system 100 includes a terminal device 101 and a network device 102 , and the terminal device 101 communicates with the network device 102 wirelessly. The terminal device involved in the embodiments of the present application can also be referred to as a terminal, which can be a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water surface (such as a ship, etc.); it can also be deployed in the air (for example, on an airplane, a balloon, and a satellite, etc.). The terminal device can be a user equipment (UE), wherein the UE includes a handheld device, a vehicle-mounted device, a wearable device, or a computing device with wireless communication function. Exemplarily, the UE can be a mobile phone, a tablet computer, or a computer with wireless transceiver function. The terminal device can also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in a smart grid, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. In the embodiments of the present application, the device for realizing the function of the terminal can be a terminal; it can also be a device that can support the terminal to realize the function, such as a chip system, which can be installed in the terminal. The network device 102 involved in the embodiment of the present application includes an access network device 1021 and a core network device 1022. Access network (RAN) equipment is the intermediate device that connects terminals to core network equipment wirelessly. It is primarily responsible for radio resource management, quality of service (QoS) management, data compression and encryption, etc. on the air interface side. Examples include NodeBs, evolved eNodeBs, base stations in 5G mobile communication systems or next-generation radio (NR) communication systems, and base stations in future mobile communication systems. Core network (CN) equipment includes user plane function (UPF) network elements, access and mobility management function (AMF) network elements, session management function (SMF) network elements, policy control function (PCF) network elements, etc. Among them, the UPF network element is mainly responsible for the transmission of user data, while the other network elements can be called control plane function network elements, which are mainly responsible for authentication, authorization, registration management, session management, mobility management, and policy control to ensure the reliable and stable transmission of user data. In an embodiment of the present application, the device for implementing the function of the network device may be a network device, or a device that can support the network device to implement the function, such as a chip system, which may be installed in the network device. The technical solutions provided in the embodiments of the present application can be applied to the Long Term Evolution (LTE) architecture, and can also be applied to the Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access Network (UTRAN) architecture, or the Global System for Mobile Communication (GSM) / Enhanced Data Rate for GSM Evolution (EDGE) system radio access network (GSM EDGE Radio Access Network, GERAN) architecture. In addition, the technical solutions provided in the embodiments of the present application can also be applied to any other wireless communication system with similar structure and function, such as the Public Land Mobile Network (PLMN) system, the 5G communication system or the communication system after 5G, etc., and the embodiments of the present application do not impose any restrictions on this. Wireless communication between communication devices may include: wireless communication between network devices and terminals, wireless communication between network devices and network devices, and wireless communication between terminals. In the embodiments of the present application, the term "wireless communication" may also be referred to as "communication", and the term "communication" may also be described as "data transmission", "information transmission" or "transmission". Those skilled in the art may apply the technical solutions provided in the embodiments of the present application to wireless communication between network devices and terminals, such as wireless communication between access network devices and terminals, and wireless communication between core network devices and terminals. The application scenario of the embodiment of the present application is a dual connectivity (DC) scenario as shown in Figure 2. In Figure 2, MCG (Master cell group), SCG (Secondary cell group), Pcell (Primary cell), PScell (Primary Secondary cell), Scell (Secondary cell). Furthermore, for a terminal device connected to a network device, in RRC_IDLE (radio resource control idle state), when the quality of the wireless link of the current serving cell is poor or there is an adjacent serving cell with better service quality or the currently connected network device needs to be load balanced, the terminal device will trigger a handover and perform a serving cell handover. The entire handover process includes three stages: handover preparation, handover execution, and handover completion. The specific handover process, referring to Figure 3, includes the following steps: S300. Mobility control information provided by AMF. Before S300 , before cell switching, user data is transmitted between the terminal device and the source network device, and between the source network device and the source UPF (User Plane Function). Specifically, S300 indicates that the AMF provides mobility control information to the source network device and the target network device. S301. Measurement control and reporting. The terminal device sends measurement control and reports to the source network device. S302: Handover decision. The source network device determines whether to switch the serving cell based on the measurement control and report, and determines the target network device of the target cell if the serving cell needs to be switched. S303: Handover request. Among them, after determining the service cell of the switching terminal device, the source network device sends a switching request to the target network device. S304: Access control. The target network device determines whether to allow the terminal device to switch the service cell. S305: Confirm the switching request. When the target network device allows the terminal device to switch the serving cell, a switching request confirmation is sent to the source network device to indicate that the source network device agrees to the switching. S300 to S305 are the handover preparation stage, and after the handover preparation is completed, the subsequent handover execution process is executed. S306: Initiate RAN handover. The terminal device and the source network device both initiate a RAN handover, and the source network device then transfers the cache data and new data from the source UPF (User Plane Function), and the terminal device detaches and synchronizes from the old serving cell to the new serving cell. S307a: Advance state migration. S307b: SN state transition. Then the user data in the source UPF is transferred to the target network device through the source network device. Further, the target network device buffers the user data from the source network device. S308: RAN switching is completed. Among them, S308 includes: S308a, switching success and S308b, SN state transfer. In the embodiment of the present application, S306 to S308 are the switching execution process. S309: Path switching request. The target network device sends a path switching request to the AMF. S310: Path switching in source UPF. Among them, AMF performs path switching in the source UPF after receiving the path switching request. After the path switching is completed, the source UPF sends an end mark to the target network device through the source network device. In addition, the target network device is configured with user data. S311: Path switching request confirmation. After the path switching is completed, the AMF sends a path switching request confirmation to the target network device. S312: UE context release. After implementing the path switch, the target network device instructs the source network device to release the UE context. It can be seen that S309 to S312 is the process of handover completion. In an embodiment of the present application, after going through the process shown in FIG3 , the terminal device can implement the switching of the service cell. In the embodiment of the present application, CPAC is involved in the dual connectivity scenario, and the switching of the primary cell and CPAC need to be considered at the same time. For example, referring to Figure 4, the process of adding a conditional SN (Secondary Node) triggered by the MN (Master Node) specifically includes the following steps: S401a, SgNB add request. When a terminal device accesses the network, it first connects to the master node and then adds secondary nodes as needed. The master node, also known as the "anchor," is responsible for interacting with the core network's control plane. The multiple cells within the master node are called a master cell group (MCG), and the corresponding multiple cells within the secondary node are called a secondary cell group (SCG). Specifically, SgNB represents a secondary base station, and the master node sends a secondary base station addition request to the SN, where the secondary base station addition request adds the SN. S401b, SgNB add request. The master node sends a secondary base station adding request to other optional SNs, where the secondary base station adding request is used to request to add other optional SNs. S402a, SgNB adds the request confirmation. The SN sends an SgNB add request confirmation to the MN. S402b, SgNB add request confirmation. Among them, other optional SNs send SgNB addition request confirmation to MN. S403: RRC connection reconfiguration. The MN sends an RRC connection reconfiguration to the terminal device. Furthermore, the RRC connection reconfiguration includes MN RRC connection configuration and SN RRC reconfiguration. The RRC connection reconfiguration is used to instruct the terminal device to reconfigure the RRC connection. S404: RRC connection reconfiguration is completed. After the terminal device completes the RRC connection reconfiguration, it sends the RRC connection reconfiguration completion to the MN. Furthermore, RRC connection reconfiguration completion includes SN RRC reconfiguration completion. S405a, SgNB reconfiguration is completed. Among them, MN sends SgNB reconfiguration completion to SN. S405b, SgNB release. The MN sends an SgNB release to other optional SNs. Furthermore, SgNB release is used to indicate other optional SN release related contexts. S405c, SgNB release request confirmation. Among them, after releasing the relevant context, other optional SNs reply to the MN with SgNB release request confirmation. S406: Random access process. S407: SN status transfer. The SN state transfer is to switch the SN to the secondary base station of the terminal device. S408: Data forwarding. During the path update process, the S-GW converts the relevant data to the newly switched SN. In the embodiment of the present application, S-GW (Serving GateWay) is a gateway that terminates at the E-UTRAN interface. S409, E-RAB modification indication. During the path update process, the MN sends an E-RAB modification indication to the MME. In the embodiment of the present application, MME (Mobility Management Entity) is a key control node of the 3GPP protocol LTE access network. It is responsible for the positioning of UE (User Equipment) in idle mode, the paging process, including relay. Simply put, MME is responsible for the signaling processing part. Furthermore, E-RAB (Evolved Radio Access Bearer) refers to the bearer of the user plane, which is used to transmit voice, data and multimedia services between the terminal device and the CN (Core Network). Among them, the MN sends an E-RAB modification indication to the MME to instruct the MME to modify the E-RAB to the SN. S410: Bearer modification. Among them, the bearer modification is performed between the S-GW and the MME. S411, end marker packet. After the handover of the secondary base station is completed, the S-GW sends an end marker packet to the SN to inform the SN that the handover of the secondary base station has been completed. S412, E-RAB modification confirmation. After the MME modifies the E-RAB, it sends an E-RAB modification confirmation to the MN. Referring to Figure 5, CPAC is triggered by the SN, where SRB 3 (SRB defined in 3GPPTS 38.331) is established between the SN and the UE. The SRB (Signalling Radio Bearer) can use SRB3 to configure the CPAC pre-configuration information of the terminal device. When the configuration conditions of the pre-configuration information are met, the UE accesses the candidate cell corresponding to the pre-configuration information according to the pre-configuration, without the participation of the MN. Figure 5 shows that the SN controls the UE's CPAC (Conditional PSCell Change, conditional primary and secondary cell update), which specifically includes the following steps: S501, NR RRC reconfiguration. The secondary base station sends an NR RRC reconfiguration to the terminal device, where the NR RRC reconfiguration carries the pre-configuration information of the CPAC. S502. NR RRC reconfiguration is completed. Among them, the terminal device configures the pre-configuration information of CPAC, and sends NR RRC reconfiguration completion to SN after the configuration is completed. S503: Random access process. S504. NR RRC reconfiguration is completed. Among them, when the terminal device completes the configuration of the CPAC pre-configuration information, it sends the NR RRC reconfiguration completion to the SN. As can be seen in FIG5 , the pre-configuration information of CPAC can be sent to the terminal device through the SN without the participation of the MN, thereby implementing the configuration of the pre-configuration information of CPAC. 6, the SN update process specifically includes the following steps: S601. SgNB change request. Among them, first, the MN sends an SgNB change request to the S-SN (source secondary node) to request a change of the SgNB. S602a, SgNB add request. Among them, the MN sends an SgNB add request to the T-SN (target secondary node) to request that the T-SN be changed to the SgNB of the information. S602b, SgNB add request. Among them, the MN sends an SgNB add request to other optional T-SNs to request that other optional T-SNs be changed to the SgNB of the information. S603a, SgNB adds the request confirmation. The T-SN responds to the MN with an SgNB add request confirmation. S603b, SgNB add request confirmation. Among them, other optional T-SNs reply to the MN with SgNB addition request confirmation. S604. SgNB modification request. First, the MN sends an SgNB modification request to the S-SN to request modification of the SgNB. S605. SgNB modification request confirmation. Among them, the S-SN sends an SgNB modification request confirmation to the SgNB. S606: RRC connection reconfiguration. The MN sends an RRC connection reconfiguration to the terminal device. The RRC connection reconfiguration includes MN RRC connection reconfiguration and T-SN RRC reconfiguration, and may also include S-SN RRC reconfiguration. The T-SN is the target secondary node to be switched, and the S-SN is the source secondary node to be switched. S607: RRC connection reconfiguration is completed. The RRC connection reconfiguration completion includes: S-SN RRC reconfiguration completion. S608. SgNB change confirmation. S609a. Modify the SgNB request. The S-SN sends a request to modify the SgNB to the MN. S609b: RRC connection reconfiguration. The MN sends an RRC connection reconfiguration to the terminal device. The RRC connection reconfiguration includes: MN RRC connection reconfiguration, T-SN RRC reconfiguration, and may include S-SN-RRC reconfiguration. S609c: RRC connection reconfiguration is completed. The RRC connection reconfiguration completion may include the S-SN RRC reconfiguration completion. S609d, SgNB modification confirmation. Among them, the MN sends an SgNB modification confirmation to the S-SN. S610: RRC connection reconfiguration is completed. The RRC connection reconfiguration completion includes T-SN RRC-reconfiguration completion. S611a, SgNB release request. Among them, after receiving the RRC connection reconfiguration completion sent by the terminal device, the MN sends an SgNB release request to the S-SN to request S-SN to release related information. S611b, SgNB release request confirmation. Among them, after releasing the relevant information, the S-SN sends an SgNB release request confirmation to the MN. S612a, SgNB reconfiguration is completed. Among them, the MN sends the SgNB reconfiguration completion to the T-SN. S612b, SgNB release request. Among them, the MN sends an SgNB release request to other optional T-SNs to indicate other optional T-SN release related information. S612c, SgNB issues a request confirmation. Among them, other optional T-SNs reply to the MN with SgNB release request confirmation after releasing the relevant information. S613: Random access process. S614a: SN status transfer. S614b: SN status transfer. S615: Data forwarding. S616: Assist in RAT data usage reporting. Among them, RAT (radio access technology), S-SN sends the auxiliary RAT data usage report to MN. S617, E-RAB modification indication. S618, bearer modification. S619: End marker packet. S620, new path. S621, E-RAB modification confirmation. S622: UE context release. In Figure 6, this is to achieve SN switching. During the SN switching process, an RRC connection reconfiguration is sent to the terminal device, and the RRC connection reconfiguration carries the pre-configuration information of the CPAC, so that the terminal device uses the pre-configuration information of the CPAC for communication. Furthermore, in the new radio dual-connectivity scenario (NR-DC), the pre-configuration information of CPAC received by the terminal device includes: two independent conditional reconfigurations. One is the conditional reconfiguration associated with MCG, which is carried in the RRC reconfiguration message received via SRB1. The other is the conditional reconfiguration associated with SCG, which is carried in the RRC reconfiguration message received via SRB3, or in the RRC reconfiguration message within the RRC reconfiguration message received via SRB1. Add the pre-configuration information of CPAC in the condreconfig of the network device. Currently, in the following three situations, the terminal device will clear the CPAC pre-configuration information sent by the network device. (1) CPAC completed by the UE: Specifically, CPAC is defined as the addition or change of a PSCell (PSCell) executed by the terminal when the execution conditions are met. The terminal device begins evaluating the execution conditions upon receiving the pre-configuration information of CPAC. Once a PSCell addition or PCell change is triggered, the evaluation of the execution conditions is stopped and the pre-configuration information of CPAC is cleared. Furthermore, the following principles apply to CPAC: The pre-configuration information of CPAC contains the configuration of the candidate PSCell, the execution conditions, or the MCG configuration information applied when triggering CPAC execution. In addition, an execution condition can be composed of one or two trigger conditions, and only one RS (communication interface) type and a maximum of two different trigger quantities can be used to evaluate the execution conditions of a single candidate PSCell. Furthermore, before any execution conditions for CPAC are met, upon receiving a PSCell add command or a PCell change command, the terminal device executes the PSCell add process in the standard, or the PCell change process in the standard, regardless of any previously received pre-configuration information of CPAC. Upon successful completion of the PSCell add process or the PCell change process, the UE releases the stored pre-configuration information. When executing CPAC, the UE does not need to continue to evaluate the execution conditions of other candidate PSCells or PCells. Once CPAC is successfully executed, the UE releases all stored pre-configuration information of CPAC. In the prior art, the pre-configuration information of CPAC does not support HO (Handover) commands, PSCell addition commands or any conditional reconfiguration. (2) The UE migrates to the RRC_INACTIVE state or the RRC_IDLE state: Specifically, when the terminal device receives an RRC release message sent by the network device that carries configuration suspension information or the terminal device enters the RRC_IDLE state, all CPAC pre-configuration information is cleared. (3) SCG releases and deletes the pre-configuration information corresponding to SCG in the pre-configuration information of CPAC. In the (NG) EN-DC scenario or the NR-DC scenario, due to the release of the SCG triggered by E-UTRA, the pre-configuration information corresponding to all SCGs in the SCG VarConditionalReconfig (a storage space for pre-configuration information) will be cleared. In the NR-DC scenario, due to the release of the SCG triggered by NR, the RRC Reconnfig in the condRRCReconfig (RRC reconfiguration) in the MCG VarConditionalReconfig is deleted, and all entries of the MCG with synchronous reconfiguration (reconfigurationWithSync) are not deleted. Furthermore, in the EN-DC scenario, according to TS 36.331 in the standard,

[0010] The provisions of the clauses shall unconditionally execute the deletion of CPAC's pre-configured information In summary, the concept of CPAC was introduced in Rel-17. Currently, in dual connectivity (DC) scenarios, CPAC is often involved due to changes in service conditions or channel quality. When service conditions or channel quality change, CPAC is determined to be executed, and the source master node (S-MN) initiates a CPAC request and related configuration information request to the target master node (T-MN). The S-MN then configures multiple candidate PScells (primary and secondary cells) and corresponding trigger conditions to the terminal device; the terminal device evaluates the trigger conditions, and when at least one PScell is found to meet the conditions, it initiates a RACH (Random Access Channel) to the determined PScell primary and secondary cells to complete CPAC. As can be seen, currently, when a terminal device migrates from wireless RRC_INACTIVE to RRC_CONNECTED, or when the terminal device performs a cell handover, the network device needs to resend the CPAC pre-configuration information to the terminal device, resulting in large downlink signaling overhead and the interruption of data transmission and handover due to state migration. In this regard, an embodiment of the present application proposes a wireless communication configuration method, the main inventive idea of which is as follows: by obtaining and saving the pre-configuration information added or updated by the conditional primary and secondary cells; obtaining indication information; and retaining the pre-configuration information added or updated by the conditional primary and secondary cells when migrating to the wireless resource control inactive state based on the indication information. It can be achieved that if the terminal device still accesses the service cell or the service cell corresponding to the pre-configuration information of the CPAC next time, it can instruct the network device and continue to use the pre-configuration information of the CPAC, thereby saving downlink signaling overhead, reducing the interruption impact of state migration on data transmission and switching, and improving user experience. The technical solutions shown in this application are described in detail below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other. For the same or similar content, such as the explanation of terms or nouns, and the explanation of steps, etc., different embodiments can refer to each other and will not be repeated. FIG7 is a schematic diagram of a wireless communication configuration method according to an embodiment of the present application. As shown in FIG7 , the wireless communication configuration method according to the present embodiment is applied to a terminal device, and the wireless communication configuration method includes: S701. Acquire and save pre-configuration information of adding or updating conditional primary and secondary cells. In summary, the CPAC pre-configuration information can be delivered to the terminal device by the SN via an SRB3 established with the terminal device. Alternatively, the SN can forward the CPAC pre-configuration information to the mobile node, which then delivers it to the terminal device via an SRB3 established with the terminal device. Furthermore, specific configuration information is delivered via a "condreconfig (network conversion configuration file)" IE (information element). Upon receiving the CPAC pre-configuration information, the terminal device saves the CPAC pre-configuration information. In summary, referring to Figures 4 to 6, the MN or SN sends an RRC connection reconfiguration to the terminal device, and the RRC connection reconfiguration carries the pre-configuration information of CPAC. After receiving the pre-configuration information of the CPAC, the terminal device saves the pre-configuration information of the CPAC in the VarConditionalReconfig variable. In the embodiment of the present application, the pre-configuration information of CPAC includes: at least one of the following: air interface resources of candidate cells, non-access stratum signaling (NAS signaling), primary cell group (MCG) configuration information, secondary cell group (SCG) configuration information, measurement configuration information, dedicated system information block (System Information Block, abbreviated as SIB), and encryption parameters. Among them, the pre-configuration information of CPAC can pre-configure information of up to 8 candidate primary and secondary cells, and a maximum of two measurement events can be configured. Among them, the candidate cell refers to the cell adjacent to the service cell accessed when the terminal device obtains and saves the pre-configuration information of CPAC, and is the cell that the terminal device may switch to. The air interface resources of the candidate cell include one or more of the PDCCH (Physical Downlink Control Channel) / PUCCH (Physical Uplink Control Channel) / PDSCH (Physical Downlink Shared Channel) / PUSCH (Physical Uplink Shared Channel) physical channel time-frequency resources and parameter configurations for uplink and downlink data transmission, the target cell measurement for the UE to perform L1 and / or L3 measurement, pilot time-frequency resources, TCI (Transmission Control Interface) status, measurement reporting period, measurement reporting events and corresponding parameters, and measurement reporting amount. The dedicated system information block includes one or more of the corresponding SB (Scheduling Block) time-frequency resources and the broadcast RNTI (Radio Network Temporary Indentifier). The encryption parameters include one or more of the encryption algorithm and initialization parameters. In an embodiment of the present application, the terminal device receives the pre-configuration information of the CPAC sent by the source network device in the first service cell, and then saves the pre-configuration information of the CPAC. S702: Obtain instruction information. The indication information is carried in the radio resource control release message. Referring to Figure 8, the RRC release message is sent by the source network device to instruct the terminal device to migrate to the RRC_INACTIVE state. The terminal device then migrates to the RRC_INACTIVE state and continues to retain the pre-configured CPAC information in the VarConditionalReconfig variable. Furthermore, the radio resource control release message carries at least one of a timer, a cell identifier of a valid cell, and a radio notification area list of a valid area. The timer is used to indicate the valid time of the pre-configuration information added or updated by the conditional primary and secondary cells. The cell identifier of the valid cell and the radio notification area list of the valid area are both used to indicate the applicable cells of the pre-configuration information added or updated by the conditional primary and secondary cells. It also includes: if the timer expires and / or the terminal device leaves the valid cell, deleting the pre-configuration information added or updated by the conditional primary and secondary cells. When migrating to the radio resource control idle state, the pre-configuration information added or updated by the conditional primary and secondary cells is deleted. Specifically, the timer is used to indicate the validity period of the saved CPAC pre-configuration information. For example, if the timer is 1 hour, the saved CPAC pre-configuration information is valid within 1 hour. When the time limit of the timer is exceeded, the terminal device clears the saved CPAC pre-configuration information. In addition, the cell identifier of the valid cell is used to indicate the applicable cell for the saved CPAC pre-configuration information. For example, if the cell identifier is cell 1, cell 3, and cell 5, the terminal device can use the saved CPAC pre-configuration information only when it accesses cell 1, cell 3, and cell 5. The saved CPAC pre-configuration information cannot be used in cells other than cell 1, cell 3, and cell 5, and the saved CPAC pre-configuration information is also deleted when the terminal device leaves these valid cells. The wireless notification area list includes multiple RNAs, and the CPAC pre-configuration information can only be applied when the access cell is under the multiple RNAs. Among them, if the wireless resource control release message carries a timer, the terminal device starts the timer when receiving the wireless resource control release message. Furthermore, before the timer expires, if the terminal device accesses the first service cell, or the cell accessed by the terminal device is a candidate cell in the pre-configuration information of CPAC, the terminal device can perform relevant configuration according to the pre-configuration information of CPAC. S703: When migrating to the radio resource control inactive state based on the indication information, retain the pre-configuration information added or updated by the conditional primary and secondary cells. Among them, the indication information sent by the source network device is used to instruct the terminal device to migrate from RRC_CONNECTED to RRC_INACTIVE and continue to save the pre-configuration information of CPAC. In an embodiment of the present application, after retaining the pre-configuration information for adding or updating the conditional primary and secondary cells, the method further includes sending a first message to a network device, where the first message is used to indicate that the pre-configuration information for adding or updating the conditional primary and secondary cells is available. The first message includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in the conditional primary and secondary cell addition or update. In an optional embodiment, the first information is carried in a notification area update message based on a wireless notification area. If the terminal device needs to update the RNA, it sends an RNAU (RAN-based Notification Area Update) message to the network device, where the RNAU message carries the first information, indicating that the network device has stored the pre-configured information of the CPAC. In an optional embodiment, the radio resource control recovery request message further carries a measurement report, which is obtained in advance by the terminal device according to pre-configured information of the stored CPAC. Furthermore, it also includes: obtaining second information indicating a processing method for pre-configuration information added or updated by the conditional primary and secondary cells; and performing corresponding processing on the pre-configuration information added or updated by the conditional primary and secondary cells according to the processing method. The processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells. In Example 1, referring to FIG9 , the terminal device sends an RRC recovery request message to the source network device in the second serving cell, wherein the RRC recovery request message carries the first information. The second serving cell and the first serving cell are the same cell or different cells, and the second serving cell is the cell served by the source network device. FIG9 specifically includes the following steps: S901, RRC release message. Among them, the terminal device executes S701 to S703 when in the first service cell. In an embodiment of the present application, when the terminal device is in RRC_CONNECTED, it receives an RRC release message sent by the source network device. The RRC release message carries 1-bit indication information instructing the terminal device to migrate to RRC_INACTIVE and retain the pre-configured information of the CPAC. S902. Migrate to RRC_INACTIVE. Among them, the terminal device migrates from RRC_CONNECTED to RRC_INACTIVE according to the instruction information in the RRC release message. S903: Reserve the pre-configured information of the CPAC. The terminal device continues to retain the pre-configured information of the CPAC according to the instruction of the instruction information. S904: RRC recovery request message. In an optional embodiment, the terminal device accesses the current cell (the second service cell and the first service cell are the same cell) or accesses other cells under the same source network device (the second service cell and the first service cell are not the same cell), and the terminal device sends an RRC recovery request message to the source network device. The RRC recovery request message carries first information, and the first information is used to indicate that the pre-configuration information of the CPAC is available, that is, the terminal device saves the pre-configuration information of the CPAC. The first information includes: a terminal device identifier and / or a candidate cell identifier, and the candidate cell identifier is a cell identifier of the candidate cell in the pre-configuration information of the CPAC. S905: RRC recovery message. The terminal device receives an RRC recovery message sent by the source network device, and the RRC recovery message carries second information. Further, the second information indicates a processing method for the CPAC pre-configuration information; the terminal device can perform corresponding processing on the CPAC pre-configuration information according to the processing method. In FIG9 , the second serving cell and the first serving cell correspond to the same network device, ie, the source network device. In an optional embodiment, referring to FIG10 , the terminal device sends an RRC recovery request message to the target network device in a second serving cell, where the second serving cell is a cell served by the target network device, wherein the RRC recovery request message carries the first information. The second serving cell and the first serving cell are different cells, and the target network device is different from the source network device. FIG8 specifically includes the following steps: S1001. RRC release message. S1002. Migrate to RRC_INACTIVE. S1003: Save the pre-configuration information of the CPAC. Among them, S1001 to S1003 refer to S1001 to S1003 and will not be repeated here. S1004. RRC recovery request message. S1005. RRC recovery message. Among them, S1004 and S1005 are the interactions between the terminal device and the target network device. Other contents refer to S904 to S905 and will not be repeated here. Furthermore, in an embodiment of the present application, the processing method includes: retaining the pre-configuration information of the CPAC, deleting the pre-configuration information of the CPAC, updating the pre-configuration information of the CPAC, or adding the pre-configuration information of the CPAC. Specifically, retaining the pre-configuration information of CPAC means that if the pre-configuration information of CPAC is available, the terminal device can continue to save the pre-configuration information of CPAC. Deleting the pre-configuration information of CPAC means that if the pre-configuration information of CPAC is unavailable, the saved pre-configuration information of CPAC is deleted and the pre-configuration information of CPAC is reconfigured. Updating the pre-configuration information of CPAC means that if part of the pre-configuration information of CPAC saved in the terminal device is available and part is unavailable, the available part of the pre-configuration information of CPAC is retained and the unavailable part of the pre-configuration information of CPAC is replaced. Adding the pre-configuration information of CPAC means adding some pre-configuration information to the original pre-configuration information of CPAC. In an embodiment of the present application, the terminal device can perform measurements in advance based on the pre-configured information of CPAC to obtain a measurement report. When the state of the terminal device migrates (for example, from RRC_INACTIVE to RRC_CONNECTED), the measurement report can be sent to the network device, so that the mobility performance of the terminal device after the state migration can be quickly guaranteed, reducing the greater interruption delay caused by the terminal device state migration. This application can achieve that if the terminal device still accesses the current service cell or the service cell corresponding to the CPAC's pre-configuration information next time, it can instruct the network device and continue to use the CPAC's pre-configuration information, thereby saving downlink signaling overhead, reducing the impact of state migration on data transmission and switching interruptions, and improving user experience. 11 , a method for configuring wireless communication is shown, which is applied to a network device that a terminal device accesses in a second serving cell, including the following steps: S1101. Obtain first information, where the first information indicates that pre-configured information added or updated for conditional primary and secondary cells is available. The first information is carried in a radio resource control recovery request message. The first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in conditional primary or secondary cell addition or update. Among them, it also includes: obtaining the pre-configuration information of the conditional primary and secondary cells added or updated according to the terminal device identifier and / or the candidate cell identifier; determining the processing method of the pre-configuration information of the conditional primary and secondary cells added or updated, and indicating the second information, and the second information is used to indicate the processing method of the pre-configuration information of the conditional primary and secondary cells added or updated. In an embodiment of the present application, obtaining pre-configuration information for adding or updating conditional primary and secondary cells includes: obtaining pre-configuration information for adding or updating conditional primary and secondary cells from a source network device, where the source network device is a service network device that configures the configuration information for adding or updating conditional primary and secondary cells for the terminal device. Among them, determining the processing method of the pre-configuration information added or updated by the conditional primary and secondary cells includes: obtaining the resource usage of the second service cell and the neighboring cells of the second service cell, the second service cell is the cell currently accessed by the terminal device; obtaining the measurement report carried by the wireless resource control recovery request message; obtaining whether the terminal device needs to configure a dual-connection scenario; determining the processing method of the pre-configuration information added or updated by the conditional primary and secondary cells based on the resource usage, the measurement report and whether the terminal device needs to configure a dual-connection scenario. Furthermore, the processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells. Specifically, resource usage includes physical resource usage, user load, and processing resource capacity. The source network device determines whether to continue to reserve resources of the candidate cell in the CPAC pre-configured information for the target user based on these resource usage. Furthermore, the second information can be a 1-bit indication information. If the indication information is 0, it indicates deletion of the CPAC pre-configuration information; 1 indicates continued retention of the CPAC pre-configuration information; or the second information can be a 2-bit indication information. If the indication information is 00, it indicates deletion; if the indication information is 01, it indicates subsequent reconfiguration (update); if the indication information is 11, it indicates continued retention or re-issuance of a new set of CPAC pre-configuration information. The candidate cell identifier is used as an index. If the newly configured candidate cell identifier is consistent with an identifier of the configuration information of the originally retained candidate cell, check whether there is new configuration information. If so, retain the original configuration according to the new configuration information; if not, continue to save according to the original configuration information; if the candidate cell identifier of the new configuration information contains a candidate cell identifier that was not originally saved, save according to the new configuration information; if the candidate cell identifier of the new configuration information does not contain the originally saved candidate cell, delete the configuration information corresponding to the candidate cell. Exemplarily, when the execution subject of S1101 is the source network device, referring to FIG12, in FIG12, the terminal device accesses the first serving cell when saving the pre-configuration information of CPAC (that is, the second serving cell and the first serving cell are the same cell), and the interaction process includes the following steps: S1201. RRC recovery request message. The source network device receives an RRC recovery request message from the terminal device, where the RRC recovery request message carries first information, and the first information includes: a terminal device identifier and / or a candidate cell identifier. S1202: Obtain CPAC pre-configuration information. The source network device obtains the corresponding CPAC pre-configuration information locally (source network device) based on the terminal device identifier and / or the candidate cell identifier. S1203: First request message. The source network device sends a first request message to other network devices corresponding to the candidate cell, where the first request message is used to instruct the other network devices to determine valid information of the configuration information of the candidate cell; and then obtains the valid information sent by the other network devices. In Figure 12 , the other network devices are network devices corresponding to the candidate cells in the CPAC pre-configuration information. The source network device sends a first request message to the other network devices, requesting the other network devices to determine valid information about the candidate cells. The valid information includes at least one of the following: the cell identifiers of candidate cells for which configuration information is valid, the cell identifiers of candidate cells for which configuration information is unavailable, and the cell identifiers of candidate cells for which configuration information needs to be updated. S1204: First response message. The source network device receives a first response message sent by other network devices, where the first response message carries valid information. S1205: Determine the processing method. First, the source network device updates the CPAC's pre-configuration information based on the valid information to obtain updated CPAC's pre-configuration information. Specifically, if the valid information indicates that the candidate cell's configuration information is unavailable, the candidate cell's configuration information in the CPAC's pre-configuration information is deleted; if the valid information indicates that the candidate cell's configuration information is valid, the candidate cell's configuration information in the CPAC's pre-configuration information is retained; if the valid information indicates that the candidate cell's configuration information needs to be updated, the candidate cell's configuration information in the CPAC's pre-configuration information is retained or deleted. In addition, the source network device also obtains the resource usage of the second service cell and the neighboring cells of the second service cell, where the second service cell is the cell currently accessed by the terminal device; obtains the measurement report carried by the wireless resource control recovery request message; and determines the processing method of the CPAC pre-configuration information based on the resource usage, measurement report and whether the terminal device is a dual-connection scenario. S1206, RRC recovery message. Then, the source network device sends an RRC recovery message to the terminal device, where the RRC recovery message carries second information, and the second information is used to indicate how the terminal device processes the pre-configuration information of the CPAC. In FIG12 , the source network device and the terminal device interact with each other, and the source network device updates the pre-configuration information of the CPAC and determines the processing method of the pre-configuration information of the CPAC. In another exemplary embodiment, when the execution subject of S1101 is the target network device, referring to FIG. 13 , the following steps are included: S1301. RRC recovery request message. The target network device receives an RRC recovery request message from the terminal device, where the RRC recovery request message carries first information, and the first information includes: a terminal device identifier and / or a candidate cell identifier. S1302: UE context request message. Among them, the target network device determines the source network device based on the terminal device identifier and / or the candidate cell identifier, and then sends a UE context request message to the source network device. The UE context request message carries indication information, which is used to instruct the source network device to obtain the pre-configuration information of CPAC. The indication information includes the terminal device identifier and / or the candidate cell identifier. S1303: Retrieve CPAC pre-configuration information. The source network device retrieves the corresponding CPAC pre-configuration information in the source network device based on the terminal device identifier and / or the candidate cell identifier. S1304: First request message. The other network devices are network devices corresponding to the candidate cells in the pre-configuration information of the CPAC. The source network device sends a first request message to the other network devices, and the source network device sends the first request message to the other network devices, where the first request message is used to request the other network devices to determine valid information of the candidate cells. S1305: First response message. The source network device receives a first response message sent by other network devices, where the first response message carries valid information. S1306: Update the pre-configuration information of the CPAC. The source network device updates the CPAC's pre-configuration information based on the valid information to obtain updated CPAC's pre-configuration information. Specifically, if the valid information indicates that the candidate cell's configuration information is unavailable, the candidate cell's configuration information in the CPAC's pre-configuration information is deleted; if the valid information indicates that the candidate cell's configuration information is valid, the candidate cell's configuration information in the CPAC's pre-configuration information is retained; and if the valid information indicates that the candidate cell's configuration information needs to be updated, the candidate cell's configuration information is retained in the CPAC's pre-configuration information. Furthermore, based on the second service cell and the neighboring cell information of the second service cell, the pre-configuration information of the candidate cell is added to the pre-configuration information added or updated by the conditional primary and secondary cells, and the second service cell is the cell currently accessed by the terminal device. It is understood that the newly added candidate cell configuration information is the configuration information of the candidate cells that is not included in the original LTM configuration information. For example, if the terminal device has saved the pre-configured information of the candidate cells corresponding to cells 1, 2, 3, and 4, and needs to configure cells 5 and 6 as neighboring cells of the second serving cell where the terminal device is located, the pre-configured information of cell 5 can be added as the pre-configured information of the candidate cells. S1307: UE context response message. The source network device sends a UE context response message to the target network device, where the UE context response message carries the updated CPAC pre-configuration information. S1308. Determine the processing method. Among them, the target network device determines the processing method of the CPAC pre-configuration information based on the updated CPAC pre-configuration information, resource usage, measurement report and whether the terminal device is a dual-connection scenario. S1309, RRC recovery message. Then, the target network device sends an RRC recovery message to the terminal device, where the RRC recovery message carries second information, and the second information is used to indicate how the terminal device handles the pre-configuration information of the CPAC. In FIG13 , the target network device and the terminal device interact with each other, the source network device updates the pre-configuration information of the CPAC, and the target network device determines the processing method of the pre-configuration information of the CPAC. In addition, the target network device may obtain the pre-configuration information and valid information of the CPAC from the source network device, and then update the pre-configuration information of the CPAC according to the valid information. In one embodiment, when the execution subject of S1101 is the target network device, there are two cases, with reference to FIG14 and FIG15 , wherein FIG14 specifically includes the following steps: S1401. RRC recovery request message. Among them, when the terminal device is in RRC_INACTIVE and has data to be transmitted, it sends an RRC recovery request message to the target network device. S1402: UE context request message. S1403: First request message. S1404: First response message. S1405. UE context response message. S1406, RRC recovery message. Among them, the specific implementation process of S1401 to S1406 refers to S1301 to S1309 and will not be repeated here. S1407: RRC recovery complete message. After processing the pre-configured information of the CPAC, the terminal device switches to the RRC connected state and then sends an RRC recovery complete message to the target network device. S1408, Xn-u address indication. Among them, after receiving the radio resource control recovery completion message from the endpoint device, the target network device sends an Xn-u address indication to the source network device, so that the source network device connects to the AMF according to the Xn-u address. S1409: Path conversion request. S1410: Path conversion request response. Among them, S1409 and S1410 implement the path conversion of data transmission. S1411. UE context release. The target network device sends a UE context release to the source network device, instructing the source network device to release the UE context. When the terminal device updates RNA, FIG15 specifically includes the following steps: S1501. RRC recovery request message. S1502: UE context request message. S1503: First request message. S1504: First response message. S1505: UE context response message. The specific implementation process of S1501 to S1505 refers to S1301 to S1307 and will not be repeated here. S1506. Set UE to RRC_INACTIVE. In FIG15 , the terminal device sends an RRC recovery request message to the target network device when the RNA is updated, and the terminal device does not need to transmit data. The target network device then sets the terminal device to an RRC inactive state. S1507, Xn-u address indication. S1508: Path conversion request. S1509: Path conversion request response. S1507 to S1509 refer to S1408 to S1410 and will not be repeated here. S1510, RRC release message. In an embodiment of the present application, the RRC release message carries a processing method for the CPAC pre-configuration information. After receiving the RRC release message, the terminal device processes the CPAC pre-configuration information according to the processing method, such as continuing to retain the CPAC pre-configuration information, updating the CPAC pre-configuration information, or deleting the saved CPAC pre-configuration information and reconfiguring new CPAC pre-configuration information. Furthermore, after receiving the RRC release message, the terminal device still maintains the RRC inactive state. S1511, UE context release In an optional embodiment, if the terminal device needs to update the RNA, such as when the timer has not timed out or the RNA needs to be updated when the RNA changes, the first information is carried in the RNAU (based Notification Area Update, RAN-based notification area update) message, and the terminal device sends the RNAU message to the target network device to notify the target network device. The terminal device stores the pre-configuration information of the CPAC, and the target network device can optionally update or delete the pre-configuration information of the CPAC. Furthermore, when the terminal device migrates to RRC_IDLE, the pre-configuration information of CPAC is deleted. This application can achieve that if the terminal device still accesses the current service cell or the service cell corresponding to the CPAC's pre-configuration information next time, it can instruct the network device and continue to use the CPAC's pre-configuration information, thereby saving downlink signaling overhead, reducing the impact of state migration on data transmission and switching interruptions, and improving user experience. 16 , a method for configuring wireless communication is further provided. The method is performed by the source network device in the scenario of FIG. 11 , and specifically includes the following steps: S161. Obtain indication information, where the indication information includes a terminal device identifier and / or a candidate cell identifier. The indication information is carried in the terminal device context request message or other Xn interface messages. 13 and 15 , the indication information is carried in a UE context request message sent by the target network device to the source network device. In addition, the indication information may also be carried in an Xn interface message sent by the target network device to the source network device. S162. Retrieve pre-configuration information for adding or updating conditional primary and secondary cells corresponding to the terminal device identifier and / or the candidate cell identifier. The source network device may retrieve the pre-configuration information of the CPAC from the source network device. S163: Obtain valid information of the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells. Among them, obtaining valid information of the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells includes: sending a first request message to other network devices corresponding to the candidate cell, the first request message is used to instruct other network devices to determine the valid information of the configuration information of the candidate cell; obtaining the valid information sent by other network devices. Specifically, the source network device needs to determine the validity information of the candidate cell's configuration information from other network devices corresponding to the candidate cell. This validity information includes the validity of the candidate cell's configuration information and whether it needs to be updated. Furthermore, the candidate cell's configuration information is the portion of the CPAC's pre-configured information related to the candidate cell. For example, the pre-configuration information of CPAC is configured with 8 candidate cells, namely candidate cell 1 to candidate cell 8, among which the network device serving candidate cell 1, candidate cell 2 and candidate cell 3 is other network device a, the network device serving candidate cell 4, candidate cell 5 and candidate cell 6 is other network device b, and the network device serving candidate cell 7 and candidate cell 8 is other network device c. Furthermore, the valid information includes at least one of: a cell representation of a candidate cell whose configuration information is valid in the pre-configuration information added or updated by the conditional primary and secondary cells, a cell identifier of a candidate cell whose configuration information is unavailable, and a cell identifier of a candidate cell whose configuration information needs to be updated. Specifically, referring to Figures 11 to 13, the source network device sends a first request message to other network device a. This first request message carries the cell identifiers and configuration information of candidate cells 1, 2, and 3, enabling other network device a to determine the valid information of each of these cells. This valid information is returned to the source network device in a first response message. The source network device then sends a first request message to other network device b. This first request message carries the cell identifiers and configuration information of candidate cells 4, 5, and 6, enabling other network device b to determine the valid information of each of these cells. This valid information is returned to the source network device in a first response message. The source network device then sends a first request message to other network device c. This first request message carries the cell identifiers and configuration information of candidate cells 7 and 8, enabling other network device c to determine the valid information of each of these cells. This valid information is returned to the source network device in a first response message. The source network device then obtains the valid information of each candidate cell. S164. Update the pre-configuration information added or updated for the conditional primary and secondary cells according to the valid information to obtain updated pre-configuration information added or updated for the conditional primary and secondary cells. In addition, in an optional embodiment, if the valid information indicates that the configuration information of one of the candidate cells is unavailable, the source network device deletes the configuration information of the candidate cell from the CPAC pre-configuration information and records the cell identifier of the candidate cell. For example, if the configuration information of candidate cell 3 is unavailable, the source network device deletes the configuration information of candidate cell 3 from the CPAC pre-configuration information and records the cell identifier of candidate cell 3. In another optional embodiment, if the validity information indicates that the configuration information of one of the candidate cells is valid, the source network device continues to retain the configuration information of the candidate cell in the CPAC pre-configuration information. For example, if the configuration information of candidate cells 1, 2, 5, and 7 is valid, the source network device retains the configuration information of candidate cells 1, 2, 5, and 7 in the CPAC pre-configuration information. In another optional embodiment, if the valid information indicates that the configuration information of one of the candidate cells needs to be updated, the source network device continues to retain the configuration information of the candidate cell in the pre-configuration information of the CPAC or deletes the configuration information of the candidate cell in the pre-configuration information of the CPAC, and records the cell identifiers of these deleted candidate cells. For example, if the configuration information of candidate cell 4, candidate cell 6 and candidate cell 8 needs to be updated, the source network device retains the configuration information of candidate cell 4, candidate cell 6 and candidate cell 8 in the pre-configuration information of the CPAC or deletes the configuration information of candidate cell 4, candidate cell 6 and candidate cell 8 in the pre-configuration information of the CPAC, and records the cell identifiers of these deleted candidate cells 4, candidate cell 6 and candidate cell 8. In an embodiment of the present application, if the configuration information of each candidate cell in the pre-configuration information of the CPAC is valid, it is determined that the pre-configuration information of the CPAC is valid and does not need to be updated. Otherwise, the pre-configuration information of the CPAC is updated in the above manner to obtain the updated pre-configuration information of the CPAC. S165. Send reply information, where the reply information includes: pre-configuration information of adding or updating the conditional primary and secondary cells or pre-configuration information of adding or updating the conditional primary and secondary cells after update. In the embodiment of the present application, if the pre-configuration information of the CPAC does not need to be updated, the reply information includes the original pre-configuration information of the CPAC; if it needs to be updated, the reply information includes the updated pre-configuration information of the CPAC. The reply information is carried in the terminal device context response message or other Xn interface message. This application can achieve that if the terminal device still accesses the current service cell or the service cell corresponding to the CPAC's pre-configuration information next time, it can instruct the network device and continue to use the CPAC's pre-configuration information, thereby saving downlink signaling overhead, reducing the impact of state migration on data transmission and switching interruptions, and improving user experience. For other specific implementation processes of this embodiment, please refer to the above content and will not be repeated here. FIG17 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. As shown in FIG17 , the terminal device 170 of this embodiment includes: an acquisition module 171 and a retention module 172, wherein: The acquisition module 171 is used to acquire and save the pre-configuration information of adding or updating the conditional primary and secondary cells; and acquire indication information; The retaining module 172 is configured to retain the pre-configured information added or updated by the conditional primary and secondary cells when migrating to the radio resource control inactive state based on the indication information. In an optional embodiment, the indication information is carried in a radio resource control release message. In an optional embodiment, the radio resource control release message carries at least one of a timer, a cell identifier of a valid cell, and a radio notification area list of a valid area. The timer is used to indicate the effective time of the pre-configuration information added or updated by the conditional primary and secondary cells. The cell identifier of the valid cell and the radio notification area list of the valid area are both used to indicate the applicable cells of the pre-configuration information added or updated by the conditional primary and secondary cells. In an optional embodiment, the method further includes: a deletion module configured to delete the pre-configuration information added or updated by the conditional primary and secondary cells if the timer expires and / or the terminal device leaves the valid cell. In an optional embodiment, the method further includes: a deleting module, configured to delete the pre-configured information added or updated by the conditional primary and secondary cells when migrating to the radio resource control idle state. In an optional embodiment, the pre-configuration information added or updated by the conditional primary and secondary cells includes at least one of the following: air interface resources of the candidate cell, non-access layer signaling, primary cell group configuration information, secondary cell group configuration information, measurement configuration information, dedicated system information block, and encryption parameters. In an optional embodiment, the method further includes: a sending module, configured to send first information to a network device, where the first information is used to indicate that pre-configured information for adding or updating conditional primary and secondary cells is available. In an optional embodiment, the first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in conditional primary or secondary cell addition or update. In an optional embodiment, the first information is carried in a radio resource control recovery request message. In an optional embodiment, the radio resource control resumption request message further carries a measurement report. In an optional embodiment, the first serving cell when pre-configured information of adding or updating the conditional primary and secondary cells is saved is the same as the second serving cell when the first information is sent; Alternatively, the first serving cell when pre-configuration information of adding or updating the conditional primary and secondary cells is saved is different from the second serving cell when the first information is sent. In an optional embodiment, the second service cell is a candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells, and the sending module is specifically used to send the first information to the network device under preset conditions by applying the pre-configuration information added or updated by the conditional primary and secondary cells. The preset conditions include: the current time meets the time specified by the timer and / or the second service cell belongs to a valid cell. In an optional embodiment, the acquisition module is also used to obtain second information, where the second information indicates a processing method for adding or updating pre-configuration information of the conditional primary and secondary cells; and also includes a processing module for performing corresponding processing on the pre-configuration information added or updated of the conditional primary and secondary cells according to the processing method. In an optional embodiment, the processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells. The terminal device provided in this embodiment is used to implement the technical solution of the terminal device in the aforementioned method embodiment. Its implementation principle and technical effects are similar and will not be repeated here. Figure 18 is a schematic diagram of the structure of a network device according to an embodiment of the present application. As shown in Figure 18, the network device 180 of this embodiment includes: an acquisition module 181 for acquiring first information indicating that pre-configured information for adding or updating conditional primary and secondary cells is available. In an optional embodiment, the first information is carried in a radio resource control recovery request message. In an optional embodiment, the first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in conditional primary or secondary cell addition or update. In an optional embodiment, the acquisition module is also used to obtain the pre-configuration information of the conditional primary and secondary cells added or updated based on the terminal device identifier and / or the candidate cell identifier; and also includes: a determination module, used to determine the processing method of the pre-configuration information of the conditional primary and secondary cells added or updated, indicating the second information, and the second information is used to indicate the processing method of the pre-configuration information of the conditional primary and secondary cells added or updated. In an optional embodiment, the acquisition module is specifically used to obtain pre-configuration information for adding or updating conditional primary and secondary cells from a source network device, where the source network device is a serving network device that configures the configuration information for adding or updating conditional primary and secondary cells for the terminal device. In an optional embodiment, the determination module is specifically used to obtain resource usage of the second service cell and the neighboring cells of the second service cell, where the second service cell is the cell currently accessed by the terminal device; obtain the measurement report carried by the wireless resource control recovery request message; obtain whether the terminal device needs to configure a dual connection scenario; and determine the processing method for adding or updating the pre-configuration information of the conditional primary and secondary cells based on the resource usage, the measurement report and whether the terminal device needs to configure a dual connection scenario. In an optional embodiment, the processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells. The network device provided in this embodiment may be a core network device or an access network device, and is used to implement the technical solution of the core network device or the access network device in the aforementioned method embodiment. The implementation principle and technical effects are similar and will not be repeated here. FIG19 is a schematic diagram of the structure of a network device provided in an embodiment of the present application. As shown in FIG19 , the network device 190 of this embodiment includes: A first acquisition module 191 is configured to acquire indication information, where the indication information includes a terminal device identifier and / or a candidate cell identifier; A retrieval module 192 is configured to retrieve pre-configured information of adding or updating conditional primary and secondary cells corresponding to a terminal device identifier and / or a candidate cell identifier; The second acquisition module 193 is configured to acquire valid information of the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells; An updating module 194 is configured to update the pre-configuration information added or updated for the conditional primary and secondary cells according to the valid information, and obtain updated pre-configuration information added or updated for the conditional primary and secondary cells; The sending module 195 is configured to send a reply message, where the reply message includes: pre-configuration information of adding or updating the conditional primary and secondary cells or pre-configuration information of adding or updating the conditional primary and secondary cells after update. In an optional embodiment, the indication information is carried in a terminal device context request message or other Xn interface messages. In an optional embodiment, the reply information is carried in a terminal device context response message or other Xn interface message. In an optional embodiment, the second acquisition module 193 is specifically used to send a first request message to other network devices corresponding to the candidate cell, where the first request message is used to instruct other network devices to determine valid information of the configuration information of the candidate cell; and obtain valid information sent by other network devices. In an optional embodiment, the valid information includes: at least one of the cell identifiers of candidate cells whose configuration information is valid in the pre-configuration information added or updated by the conditional primary and secondary cells, the cell identifiers of candidate cells whose configuration information is unavailable, and the cell identifiers of candidate cells whose configuration information needs to be updated. In an optional embodiment, the update module is specifically configured to: If the valid information indicates that the configuration information of the candidate cell is unavailable, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells is deleted; If the valid information indicates that the configuration information of the candidate cell is valid, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells continues to be retained; If the valid information indicates that the configuration information of the candidate cell needs to be updated, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells is retained or deleted. In an optional embodiment, the update module is also used to: add pre-configuration information of the candidate cell to the pre-configuration information added or updated by the conditional primary and secondary cells based on the second service cell and the neighboring area information of the second service cell, and the second service cell is the cell currently accessed by the terminal device. The network device provided in this embodiment may be a core network device or an access network device, and is used to implement the technical solution of the core network device or the access network device in the aforementioned method embodiment. The implementation principle and technical effects are similar and will not be repeated here. Figure 20 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. As shown in Figure 20, electronic device 200 includes: a processor 2001 and a memory 2002; memory 2002 stores computer-executable instructions; processor 2001 executes the computer-executable instructions stored in memory 2002, so that the electronic device performs the technical solutions in the aforementioned method embodiments. The implementation principles and technical effects are similar and will not be further described here. An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method steps in the aforementioned method embodiment are implemented. An embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed, the computer executes the method steps in the aforementioned method embodiment. The methods described in the above embodiments can be implemented in whole or in part through software, hardware, firmware, or any combination thereof. If implemented in software, the functions can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer. In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage or other magnetic storage devices, or any other medium intended to carry or store the desired program code in the form of instructions or data structures and accessible by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disk and optical disc as used herein include optical disc, laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks generally reproduce data magnetically, while optical discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media. An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method. The present application embodiment is described with reference to the flowchart and / or block diagram of the method, device (system) according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processing unit of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable device to produce a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram. The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.

Claims

1. A wireless communication configuration method, characterized in that: include: Obtain and save pre-configured information for adding or updating conditional primary and secondary cells; Get instructions; When migrating to the radio resource control inactive state based on the indication information, the pre-configuration information added or updated by the conditional primary and secondary cells is retained.

2. The method according to claim 1, characterized in that The indication information is carried in a radio resource control release message.

3. The method according to claim 2, characterized in that The radio resource control release message carries at least one of a timer, a cell identifier of a valid cell, and a wireless notification area list of a valid area, the timer being used to indicate the valid time of the pre-configuration information added or updated by the conditional primary and secondary cells, and the cell identifier of the valid cell and the wireless notification area list of the valid area being used to indicate the applicable cells of the pre-configuration information added or updated by the conditional primary and secondary cells.

4. The method according to claim 3, characterized in that Also includes: If the timer expires and / or the terminal device leaves the valid cell, the pre-configuration information added or updated by the conditional primary and secondary cells is deleted.

5. The method according to any one of claims 1 to 4, characterized in that Also includes: When migrating to the radio resource control idle state, the pre-configuration information added or updated by the conditional primary and secondary cells is deleted.

6. The method according to any one of claims 1 to 4, characterized in that The pre-configuration information added or updated by the conditional primary and secondary cells includes at least one of the candidate cell's air interface resources, non-access layer signaling, primary cell group configuration information, secondary cell group configuration information, measurement configuration information, dedicated system information block, and encryption parameters.

7. The method according to claim 6, characterized in that Also includes: First information is sent to a network device, where the first information is used to indicate that pre-configured information added or updated for the conditional primary and secondary cells is available.

8. The method according to claim 7, characterized in that The first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in the conditional primary or secondary cell addition or update.

9. The method according to claim 7 or 8, characterized in that The first information is carried in a radio resource control recovery request message.

10. The method according to claim 9, characterized in that The radio resource control resumption request message also carries a measurement report.

11. The method according to claims 1 to 10, characterized in that The second serving cell is a candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells, and the sending the first information to the network device includes: Under preset conditions, the pre-configured information added or updated by the conditional primary and secondary cells is applied to send the first information to the network device, and the preset conditions include: the current time meets the time specified by the timer and / or the second serving cell is a valid cell.

12. The method according to any one of claims 7 to 11, characterized in that Also includes: Acquire second information, where the second information indicates a processing method for adding or updating pre-configuration information of the conditional primary and secondary cells; According to the processing manner, corresponding processing is performed on the pre-configuration information added or updated for the conditional primary and secondary cells.

13. The method according to claim 12, characterized in that The processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells.

14. A wireless communication configuration method, characterized in that: include: First information is obtained, where the first information indicates that pre-configuration information added or updated for conditional primary and secondary cells is available.

15. The method according to claim 14, characterized in that The first information is carried in a radio resource control recovery request message.

16. The method according to claim 14 or 15, characterized in that The first information includes: a terminal device identifier and / or a candidate cell identifier, where the candidate cell identifier is a cell identifier of a candidate cell in the conditional primary or secondary cell addition or update.

17. The method according to claim 16, characterized in that Also includes: Acquire pre-configuration information for adding or updating conditional primary and secondary cells according to the terminal device identifier and / or candidate cell identifier; A processing method for pre-configuration information added or updated for the conditional primary and secondary cells is determined, and second information is indicated, where the second information is used to indicate a processing method for pre-configuration information added or updated for the conditional primary and secondary cells.

18. The method according to claim 17, characterized in that The obtaining of the pre-configuration information for adding or updating the conditional primary and secondary cells includes: obtaining the pre-configuration information for adding or updating the conditional primary and secondary cells from a source network device, wherein the source network device is a service network device that configures the configuration information for adding or updating the conditional primary and secondary cells for the terminal device.

19. The method according to claim 17 or 18, characterized in that The method for determining the processing of the pre-configuration information added or updated by the conditional primary and secondary cells includes: Obtain resource usage of a second serving cell and a neighboring cell of the second serving cell, where the second serving cell is a cell currently accessed by the terminal device; Obtaining a measurement report carried in the radio resource control recovery request message; Obtaining whether the terminal device needs to configure a dual connection scenario; A method for processing the pre-configuration information added or updated for the conditional primary and secondary cells is determined based on the resource usage, the measurement report, and whether the terminal device needs to configure a dual-connection scenario.

20. The method according to claim 17 or 18, characterized in that The processing method includes: retaining the pre-configuration information added or updated by the conditional primary and secondary cells, deleting the pre-configuration information added or updated by the conditional primary and secondary cells, updating the pre-configuration information added or updated by the conditional primary and secondary cells, or adding one of the pre-configuration information added or updated by the conditional primary and secondary cells.

21. A method for wireless communication configuration, characterized in that: include: Obtaining indication information, where the indication information includes a terminal device identifier and / or a candidate cell identifier; Retrieving pre-configured information for adding or updating conditional primary and secondary cells corresponding to the terminal device identifier and / or candidate cell identifier; Obtaining valid information of configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells; updating the pre-configuration information added or updated by the conditional primary and secondary cells according to the valid information to obtain updated pre-configuration information added or updated by the conditional primary and secondary cells; Send reply information, where the reply information includes: the pre-configuration information added or updated for the conditional primary and secondary cells or the pre-configuration information added or updated for the conditional primary and secondary cells after update.

22. The method for wireless communication configuration according to claim 21, wherein: The indication information is carried in a terminal device context request message or other Xn interface messages.

23. The method for wireless communication configuration according to claim 21 or 22, characterized in that: The reply information is carried in the terminal device context response message or other Xn interface message.

24. The method for wireless communication configuration according to any one of claims 21 to 23, characterized in that: The acquiring of valid information of the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells includes: Sending a first request message to other network devices corresponding to the candidate cell, where the first request message is used to instruct the other network devices to determine valid information of the configuration information of the candidate cell; Acquire valid information sent by the other network devices.

25. The method for wireless communication configuration according to any one of claims 21 to 24, characterized in that: The valid information includes: at least one of the cell identifiers of candidate cells whose configuration information is valid, the cell identifiers of candidate cells whose configuration information is unavailable, and the cell identifiers of candidate cells whose configuration information needs to be updated in the pre-configuration information added or updated by the conditional primary and secondary cells.

26. The method for wireless communication configuration according to claim 25, characterized in that: The updating of the pre-configuration information added or updated by the conditional primary and secondary cells according to the valid information to obtain updated pre-configuration information added or updated by the conditional primary and secondary cells includes: If the valid information indicates that the configuration information of the candidate cell is unavailable, deleting the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells; If the valid information indicates that the configuration information of the candidate cell is valid, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells is retained; If the valid information indicates that the configuration information of the candidate cell needs to be updated, the configuration information of the candidate cell in the pre-configuration information added or updated by the conditional primary and secondary cells is retained or deleted.

27. The method for wireless communication configuration according to any one of claims 21 to 26, characterized in that: Also includes: According to the second serving cell and the neighboring cell information of the second serving cell, the pre-configuration information of the candidate cell is added to the pre-configuration information added or updated in the conditional primary and secondary cells, and the second serving cell is the cell currently accessed by the terminal device.

28. An electronic device, characterized in that: include: processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method as described in any one of claims 1 to 13, or the electronic device performs the method as described in any one of claims 14 to 20, or the electronic device performs the method as described in any one of claims 21 to 27.

29. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 13, or enables the electronic device to execute the method according to any one of claims 14 to 20, or enables the electronic device to execute the method according to any one of claims 21 to 27.

30. A computer program product, characterized in that Comprising a computer program, which, when executed, causes a computer to execute the method as claimed in any one of claims 1 to 13, or causes the electronic device to execute the method as claimed in any one of claims 14 to 20, or causes the electronic device to execute the method as claimed in any one of claims 21 to 27.

Citation Information

Patent Citations

  • Wireless communication configuration method and device, and storage medium

    CN120499873A

  • Conditional primary and secondary cell adding / changing method and device

    CN113473547A

  • Resource reservation method for auxiliary node, base station, auxiliary node and communication system

    CN116347529A

  • Candidate cell processing method and device, terminal and network side equipment

    CN116939648A

  • Method for addition and change of conditional primary cells in a secondary cell group

    US20230171652A1