Method and apparatus for configuring primary and secondary cells

Through network devices, the PSCell configuration changes are determined based on the SCG failure information, and the business interruption caused by RRC reconstruction during the PSCell switching is solved, and efficient PSCell configuration is achieved.

CN113259974BActive Publication Date: 2025-07-11HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010091380.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-13
Publication Date
2025-07-11
Estimated Expiration
2040-02-13

AI Technical Summary

Technical Problem

In the process of switching from one PSCell to another, how to reasonably configure PSCell in the prior art to avoid business interruptions caused by radio resource control (RRC) reconstruction and improve configuration efficiency problems.

Method used

The network device receives the failure information of the secondary cell group (SCG) of the terminal device and determines whether the configuration of the PSCell is changed. Only when the PSCell without the configuration condition increases or changes (CPAC) or the number of candidate PSCell accesses exceeds the preset threshold value, the configuration changes are performed to avoid RRC reconstruction.

Benefits of technology

It effectively avoids business interruptions caused by RRC reconstruction, improves the efficiency of PSCell configuration, and ensures the consistency and stability of PSCell configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113259974B_ABST
    Figure CN113259974B_ABST
Patent Text Reader

Abstract

The present application provides a method and apparatus for configuring a primary and secondary cell, which can reasonably configure the PSCell, is beneficial to avoiding service interruption of a terminal device caused by RRC reconstruction, and improving the efficiency of the terminal device in configuring the PSCell. The method includes: the terminal device sends secondary cell group (SCG) failure information to the network device, the terminal device has first configuration information, the first configuration information includes configurations of at least one candidate primary and secondary cell (PSCell), and the SCG failure information carries at least one of the following information: whether the terminal device is configured with conditional PSCell addition or changed conditional PSCell addition and change (CPAC); the terminal device is configured with CPAC; or, the number of times the terminal device performs access to at least one candidate PSCell; the network device receives the SCG failure information from the terminal device, and determines whether to change the configuration of the PSCell of the terminal device according to the SCG failure information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and in particular, to a method and an apparatus for configuring a primary secondary cell (PSCell). Background Art

[0002] In dual-connectivity (DC), the access network device that has control plane signaling interaction with the core network can be referred to as the master node (MN) or the primary access network device, and other access network devices can be referred to as the secondary node (SN) or the secondary access network device. The service cell group provided by the MN for the terminal device can be referred to as the master cell group (MCG), and the service cell group provided by the SN for the terminal device can be referred to as the secondary cell group (SCG). The MCG and the SCG each contain at least one cell. The primary cell (PCell) is a cell in the MCG and operates on the primary carrier. The PCell refers to the cell corresponding to the initial connection establishment process or the start of the connection re-establishment process of the terminal device. The primary secondary cell (PSCell) is a cell in the SCG and is used for the terminal device to perform random access or initial physical uplink shared channel (PUSCH) transmission.

[0003] Generally speaking, due to the mobility of the terminal device, the network side will trigger a change in the PSCell, that is, the terminal device can switch from one PSCell to another PSCell. One PSCell switching method that can be adopted is the conditional PSCell addition / change (CPAC) method, and the terminal device determines to access a candidate PSCell that meets the conditions according to the configuration of the candidate PSCell sent by the network side. In addition, when the terminal device detects a problem with the SCG, it can report SCG failure information to the MN. If the terminal device reports the above SCG failure information, the network side may perform a change in the PSCell, that is, the MN may send a new configuration information to the terminal device, and the configuration information is an incremental configuration based on the previously configured PSCell.

[0004] During the process of the terminal device reporting the SCG failure information, the terminal device can perform CPAC based on the configuration of the candidate PSCell allocated by the network side. When the terminal device successfully accesses a candidate PSCell, the configuration of the PSCell of the terminal device has become the configuration of the candidate PSCell. If the terminal device then receives a new configuration from the MN, but the new configuration is an incremental configuration based on the PSCell that the terminal device previously accessed, at this time, how to configure the PSCell of the terminal device becomes a technical problem to be solved urgently. Summary of the Invention

[0005] The present application provides a method and apparatus for configuring a primary and secondary cell group, which can reasonably configure the PSCell, is beneficial to avoiding service interruption caused by radio resource control (RRC) reestablishment of the terminal device, and improving the efficiency of the terminal device in configuring the PSCell.

[0006] In a first aspect, a method for configuring a primary and secondary cell group is provided, including: a network device receives SCG failure information from a terminal device, the terminal device has first configuration information, the first configuration information includes configurations of at least one candidate primary and secondary cell PSCell, and the SCG failure information carries at least one of the following information: whether the terminal device is configured with conditional PSCell addition or changed CPAC; the terminal device is configured with the CPAC; or, the number of times the terminal device performs access to the at least one candidate PSCell; the network device determines whether to change the configuration of the PSCell of the terminal device according to the SCG failure information.

[0007] In the method for configuring the PSCell according to the embodiment of the present application, by the network device making a judgment according to the SCG failure information, the configuration of the PSCell of the terminal device is changed only when the terminal device is not configured with CPAC or the number of times the terminal device performs access to at least one candidate PSCell exceeds a preset threshold, and the situation where the configuration of the PSCell of the terminal device has become the configuration of the candidate PSCell, while the new configuration sent by the network device is an incremental configuration based on the previous PSCell will not occur, which is beneficial to avoiding service interruption caused by RRC reestablishment of the terminal device and improving the efficiency of the terminal device in configuring the PSCell.

[0008] It should be understood that the above-mentioned SCG access failure means that there is a problem with the SCG of the terminal device (for example, SCG radio link failure, SCG handover failure, RRC reconfiguration failure, or the terminal device receives an indication message of integrity check failure, etc.), or the terminal device fails to access one of the at least one candidate PSCs. The at least one candidate PSC is configured for the terminal device by the network side through the first configuration information, and the network side can be the primary access network device or the secondary access network device. The first configuration information includes the configuration of the at least one candidate PSC and the access conditions of each candidate PSC in the at least one candidate PSC. In other words, the terminal device has the first configuration information and can make a judgment according to the first configuration information. When the candidate PSC meets its corresponding access condition, the terminal device accesses the candidate PSC. When the terminal device fails to access a candidate PSC that meets the access condition, it will also try other candidate PSCs that meet the access condition.

[0009] In one case, regardless of whether the terminal device is configured with CPAC, the terminal device will inform the network device in the SCG failure information. In another case, the terminal device will explicitly inform the network device in the SCG failure information only when it is configured with CPAC. Otherwise, the terminal device will not explicitly inform the network device that it is not configured with CPAC.

[0010] It should be understood that since the terminal device performing access to at least one candidate PSC means that the terminal device is configured with CPAC, the above-mentioned SCG failure information will not contain both the information that the terminal device is not configured with CPAC and the number of times the terminal device performs access to at least one candidate PSC, because these two are contradictory.

[0011] In addition, optionally, the above-mentioned SCG failure information may further include a failure type (or called a failure cause), and the failure type is used to indicate the reporting of the SCG failure information caused by the terminal device failing to access the candidate PSC, or the reporting of the SCG failure information caused by a problem with the SCG of the terminal device.

[0012] Combined with the first aspect, in some implementation manners of the first aspect, the network device determines whether to change the configuration of the PSC of the terminal device according to the SCG failure information, including: when the terminal device is not configured with CPAC, or the number of times the terminal device performs access to the at least one candidate PSC is greater than or equal to a preset threshold, the network device determines to change the configuration of the PSC of the terminal device.

[0013] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the network device sends second configuration information to the terminal device, where both the first configuration information and the second configuration information are incremental configurations based on the configuration of the PSCell before the terminal device obtains the first configuration information.

[0014] In combination with the first aspect, in some implementations of the first aspect, the network device determines whether to change the configuration of the PSCell of the terminal device according to the SCG failure information, including: when the terminal device is configured with the CPAC, or the number of times the terminal device performs candidate primary and secondary cell access is less than a preset threshold, the network device determines not to change the configuration of the PSCell of the terminal device, or the network device determines to change the configuration of the PSCell of the terminal device in a full-configuration manner, or the network device determines to change the configuration of the PSCell of the terminal device by first releasing the SCG configuration and then adding the SCG configuration.

[0015] If the network device determines not to change the configuration of the PSCell of the terminal device, the network device will not send configuration information to the terminal device, and the terminal device can continue to perform access to other candidate PSCs that meet the access conditions among at least one candidate PSC indicated by the first configuration information. Optionally, the network device may send an indication information to the terminal device to indicate that the configuration of the PSCell of the terminal device is not changed.

[0016] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the network device sends third configuration information to the terminal device, where the third configuration information includes full-configuration indication information or release indication information.

[0017] Among them, the full-configuration indication information is used to instruct the terminal device to initialize the wireless configuration, so that the wireless configuration (including the configurations of the MCG and SCG) is independent of the wireless configuration configured before the terminal device receives the third configuration information. Exemplarily, the full-configuration indication information is fullconfig; correspondingly, the terminal device receives the third configuration information from the primary access network device and releases or clears all dedicated wireless configurations except the terminal identifier corresponding to the MCG of the terminal device and the security configuration information corresponding to the primary access network device.

[0018] The release indication information is used to instruct the terminal device to release the configuration of the SCG (including the configuration of the PSCell) before the terminal device receives the third configuration information; correspondingly, the terminal device receives the third configuration information from the master access network device and releases the configuration of the PSCell before the terminal device receives the third configuration information. For example, the release indication information is indicated by release in the form of release and add SCG.

[0019] Further, the third configuration information further includes the configuration of a new PSCell. Exemplarily, the configuration of the new PSCell may be the configuration of a PSCell (non-CPAC), and the terminal device may access the PSCell according to the configuration of the PSCell; Exemplarily, the configuration of the new PSCell may also be the configuration of at least one candidate PSCell (based on CPAC), and the terminal device may make a judgment based on the access conditions of the at least one candidate PSCell, so as to access the candidate PSCell that meets the conditions.

[0020] Combined with the first aspect, in some implementation manners of the first aspect, the network device is a master access network device or a secondary access network device.

[0021] Combined with the first aspect, in some implementation manners of the first aspect, the network device is a master access network device, and the method further includes: the master access network device determines whether it is the master access network device or the secondary access network device that configures the CPAC for the terminal device; when the master access network device determines that it is the secondary access network device that configures the CPAC for the terminal device, the master access network device sends the SCG failure information to the secondary access network device.

[0022] In a possible implementation manner, the CPAC of the terminal device may be configured by the master access network device or the secondary access network device. If the CPAC of the terminal device is configured by the secondary access network device, the master access network device may send the SCG failure information to the secondary access network device, and the secondary access network device determines whether to change the configuration of the PSCell of the terminal device. The specific method for the secondary access network device to determine whether to change the configuration of the PSCell of the terminal device is the same as the specific method for the master access network device to determine whether to change the configuration of the PSCell of the terminal device, and will not be elaborated here.

[0023] In combination with the first aspect, in some implementations of the first aspect, the network device is the primary access network device, and the method further includes: the primary access network device sends a first request message to the secondary access network device, where the first request message is used to request to add or modify the configuration of candidate PSCs; the primary access network device receives a first response message from the secondary access network device, where the first response message carries the number of candidate PSCs that need to be added or modified; the primary access network device sends at least one second request message to the secondary access network device based on the number of candidate PSCs, where the at least one second request message is used to request to add or modify the configuration of candidate PSCs; the primary access network device receives at least one second response message from the secondary access network device, where each of the at least one second response messages carries the identifier of the candidate PSC corresponding to the at least one second request message; the primary access network device sends the first configuration information to the terminal device based on the first response message and the at least one second response message.

[0024] In combination with the first aspect, in some implementations of the first aspect, the network device is the secondary access network device, and the method further includes: the secondary access network device receives a first request message from the primary access network device, where the first request message is used to request to add or modify the configuration of candidate PSCs; the secondary access network device sends a first response message to the primary access network device, where the first response message carries the number of candidate PSCs that need to be added or modified; the secondary access network device receives at least one second request message from the primary access network device, where the at least one second request message is used to request to add or modify the configuration of candidate primary and secondary cell PSCs; the secondary access network device sends at least one second response message to the primary access network device, where each of the at least one second response messages carries the identifier of the candidate PSC corresponding to the at least one second request message.

[0025] Optionally, the above first response message may include the identifier (ID) of the candidate PSC corresponding to the first request message, or information about other candidate PSCs. In this embodiment, the information about other candidate PSCs may be the number of PSCs that need to be added or modified as described above, or the ID list of the PSCs that need to be added or modified as described above, or the ID of the next candidate PSC, or an indication information of whether to configure the next candidate PSC. The embodiments of the present application do not limit this.

[0026] It should be understood that in a possible implementation, if the number of PSCs that need to be added or modified, or the ID list of the PSCs that need to be added or modified, is carried in the first response message, the master access network device may send at least one second request message in parallel or serially. In this case, the secondary access network device may carry the IDs of the corresponding candidate PSCs in at least one second response message sent to the terminal device.

[0027] In another possible implementation, if the ID of the next candidate PSC or the indication information for indicating the configuration of the next candidate PSC is carried in the first response message, the master access network device may send a second request message based on this first response message. The secondary access network device may send a second response message based on this second request message. This second response message is similar to the first response message and may carry the ID of the next candidate PSC or the indication information for indicating whether to configure the next candidate PSC. The master access network device may determine whether to send the next request message based on the indication in this second response message. The subsequent process is similar and will not be listed one by one.

[0028] Based on the above process, the master access network device can obtain the identifiers of the PSCs that need to be added or changed determined by the secondary access network device, thereby determining the first configuration information and sending this first configuration information to the terminal device. The acquisition of the second configuration information is similar to that of the first configuration information and will not be elaborated here. In combination with the first aspect, in some implementations of the first aspect, the network device is the master access network device, and the method further includes: the master access network device sends at least one request message to the secondary access network device, where the at least one request message is used to request to add or modify the configuration of candidate PSCs, and one request message carries the measurement result of one candidate PSC or the identifier of one candidate PSC; the master access network device receives at least one response message from the secondary access network device, where the at least one response message is respectively used to indicate whether to accept the at least one request message; the master access network device sends the first configuration information to the terminal device based on the at least one response message.

[0029] In combination with the first aspect, in some implementations of the first aspect, the network device is a secondary access network device, and the method further includes: the secondary access network device receives at least one request message from the primary access network device, where the at least one request message is used to request to increase or modify the configuration of a candidate PSCell, and one request message carries the measurement result of a candidate PSCell or the identifier of a candidate PSCell; the secondary access network device sends at least one response message to the primary access network device based on the at least one request message, and the at least one response message is respectively used to indicate whether to accept the at least one request message.

[0030] In this embodiment, the primary access network device first determines the number of PSCs that need to be added or modified, and then sends the same number of request messages to the secondary access network device. One request message carries the measurement result of a candidate PSC determined by the primary access network device. It should be understood that these candidate PSCs are those considered by the primary access network device to be candidate PSCs, rather than the final candidate PSCs. The secondary access network device receives the at least one request message, and determines whether to agree to use the candidate PSC corresponding to the request message as the final candidate PSC according to the measurement result of the candidate PSC carried in the request message, and returns at least one response message to the primary access network device.

[0031] Optionally, the above at least one request message or at least one response message may be sent serially, that is, the primary access network device sends a request message, and the secondary access network device returns a response message. Then, the primary access network device sends the next request message, and the secondary access network device returns the next response message. In this way, the processing delay can be reduced and the feedback efficiency of the secondary access network device can be improved.

[0032] Optionally, the measurement result of the candidate PSC carried in the above request message may also be replaced with the ID of the candidate PSC, and the embodiments of the present application do not limit this.

[0033] In a second aspect, another method for configuring a primary-secondary cell is provided, including: the terminal device determines that the secondary cell group (SCG) access fails. The terminal device has first configuration information, and the first configuration information includes the configuration of at least one candidate primary-secondary cell (PSCell); the terminal device sends SCG failure information to the primary access network device, and the SCG failure information includes at least one of the following information: whether the terminal device is configured with conditional PSCell addition or change of CPAC; the terminal device is configured with the CPAC; or, the number of times the terminal device performs access to the at least one candidate PSC.

[0034] In combination with the second aspect, in some implementations of the second aspect, the SCG access failure indicates that there is a problem with the SCG of the terminal device, or the terminal device fails to access one of the at least one candidate PSCs.

[0035] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the terminal device receives second configuration information from the master access network device, where both the first configuration information and the second configuration information are incremental configurations based on the configurations of the PSCs before the terminal device obtains the first configuration information; the terminal device accesses a PSC that meets the conditions based on the second configuration information.

[0036] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the terminal device receives third configuration information from the master access network device, where the third configuration information includes full configuration indication information or release indication information, where the full configuration indication information is used to instruct the terminal device to initialize the radio configuration so that the radio configuration is independent of the radio configuration configured before the terminal device receives the third configuration information; the release indication information is used to instruct the terminal device to release the configuration of the PSC before the terminal device receives the third configuration information; the terminal device releases the configuration of the PSC before the terminal device receives the third configuration information.

[0037] In a third aspect, another method for configuring a primary-secondary cell is provided, including: the master access network device sends a first request message to the secondary access network device, where the first request message is used to request to increase or modify the configuration of a candidate PSC; the master access network device receives a first response message from the secondary access network device, where the first response message carries the number of candidate PSCs that need to be increased or modified; the master access network device sends at least one second request message to the secondary access network device based on the number of candidate PSCs, where the at least one second request message is used to request to increase or modify the configuration of a candidate PSC; the master access network device receives at least one second response message from the secondary access network device, where each of the at least one second response messages carries the identifier of the candidate PSC corresponding to the at least one second request message; the master access network device sends configuration information to the terminal device based on the first response message and the at least one second response message, where the configuration information is used to configure the candidate PSC.

[0038] Fourth aspect, another method for configuring a primary-secondary cell is provided, including: a secondary access network device receives a first request message from a primary access network device, where the first request message is used to request to add or modify the configuration of a candidate PSCell; the secondary access network device sends a first response message to the primary access network device, where the first response message carries the number of candidate PSCs that need to be added or modified; the secondary access network device receives at least one second request message from the secondary access network device, where the at least one second request message is used to request to add or modify the configuration of a candidate primary-secondary cell PSCell; the secondary access network device sends at least one second response message to the primary access network device, where each of the at least one second response messages carries the identifier of the candidate PSCell corresponding to the at least one second request message.

[0039] Fifth aspect, another method for configuring a primary-secondary cell is provided, including: a primary access network device sends at least one request message to a secondary access network device, where the at least one request message is used to request to add or modify the configuration of a candidate PSCell, and where one request message carries the measurement result of one candidate PSCell or the identifier of one candidate PSCell; the primary access network device receives at least one response message from the secondary access network device, where each of the at least one response messages is used to indicate whether to accept the at least one request message; the primary access network device sends configuration information to a terminal device based on the at least one response message, where the configuration information is used to configure the candidate PSCell.

[0040] Sixth aspect, another method for configuring a primary-secondary cell is provided, including: a secondary access network device receives at least one request message from the primary access network device, where the at least one request message is used to request to add or modify the configuration of a candidate PSCell, and where one request message carries the measurement result of one candidate PSCell or the identifier of one candidate PSCell; the secondary access network device sends at least one response message to the primary access network device based on the at least one request message, where each of the at least one response messages is used to indicate whether to accept the at least one request message.

[0041] Seventh aspect, a device for configuring a primary-secondary cell is provided, which is used to execute the method in any possible implementation manner of the above aspects. Specifically, the device includes units for executing the method in any possible implementation manner of the above aspects.

[0042] In an eighth aspect, there is provided an apparatus for configuring a primary cell and a secondary cell, including a processor coupled to a memory and operative to execute instructions in the memory to implement the method in any possible implementation manner of the above aspects. Optionally, the communication apparatus further includes a memory. Optionally, the communication apparatus further includes a communication interface, and the processor is coupled to the communication interface.

[0043] In one implementation manner, the apparatus for configuring a primary cell and a secondary cell is a network device. When the apparatus for configuring a primary cell and a secondary cell is a network device, the communication interface may be a transceiver or an input / output interface.

[0044] In another implementation manner, the apparatus for configuring a primary cell and a secondary cell is a chip disposed in a network device. When the apparatus for configuring a primary cell and a secondary cell is a chip disposed in a network device, the communication interface may be an input / output interface.

[0045] In one implementation manner, the apparatus for configuring a primary cell and a secondary cell is a terminal device. When the apparatus for configuring a primary cell and a secondary cell is a terminal device, the communication interface may be a transceiver or an input / output interface.

[0046] In another implementation manner, the apparatus for configuring a primary cell and a secondary cell is a chip disposed in a terminal device. When the apparatus for configuring a primary cell and a secondary cell is a chip disposed in a terminal device, the communication interface may be an input / output interface.

[0047] In a ninth aspect, there is provided a processor, including: an input circuit, an output circuit, and a processing circuit. The processing circuit is operative to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method in any possible implementation manner of the above aspects.

[0048] In a specific implementation process, the above processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be transistors, gate circuits, flip-flops, and various logic circuits, etc. The input signal received by the input circuit may be received and input by, for example but not limited to, a receiver, and the signal output by the output circuit may be output to, for example but not limited to, a transmitter and transmitted by the transmitter, and the input circuit and the output circuit may be the same circuit, which serves as the input circuit and the output circuit at different times. The embodiments of the present application do not limit the specific implementation manners of the processor and various circuits.

[0049] In a tenth aspect, there is provided a processing apparatus, including a processor and a memory. The processor is operative to read instructions stored in the memory and may receive a signal through a receiver and transmit a signal through a transmitter to execute the method in any possible implementation manner of the above aspects.

[0050] Optionally, the processor is one or more, and the memory is one or more.

[0051] Optionally, the memory may be integrated with the processor, or the memory is separately provided from the processor.

[0052] In a specific implementation process, the memory may be a non-transitory memory, such as a read only memory (ROM), which may be integrated with the processor on the same chip, or may be separately provided on different chips. The embodiments of the present application do not limit the type of the memory and the setting manner of the memory and the processor.

[0053] It should be understood that related data interaction processes, such as sending indication information, may be a process of outputting indication information from the processor, and receiving capability information may be a process of the processor receiving input capability information. Specifically, the processed output data may be output to a transmitter, and the input data received by the processor may come from a receiver. Among them, the transmitter and the receiver may be collectively referred to as a transceiver.

[0054] The processing device in the above tenth aspect may be a chip, and the processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor may be a general-purpose processor, which is implemented by reading software code stored in the memory. The memory may be integrated in the processor or may exist independently outside the processor.

[0055] In an eleventh aspect, a computer program product is provided, where the computer program product includes: a computer program (which may also be referred to as code or instruction), and when the computer program is run, it causes a computer to execute the method in any possible implementation manner in the above aspects.

[0056] In a twelfth aspect, a computer-readable medium is provided, where the computer-readable medium stores a computer program (which may also be referred to as code or instruction), and when it runs on a computer, it causes the computer to execute the method in any possible implementation manner in the above aspects.

[0057] In a thirteenth aspect, a communication system is provided, including the foregoing terminal device and network device. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A schematic diagram of the communication system according to the embodiment of the present application is shown.

[0059] Figure 2Schematically shows a flowchart of a method for configuring a primary and secondary cell according to an embodiment of the present application.

[0060] Figure 3 Schematically shows a flowchart of another method for configuring a primary and secondary cell according to an embodiment of the present application.

[0061] Figure 4 Schematically shows a flowchart of another method for configuring a primary and secondary cell according to an embodiment of the present application.

[0062] Figure 5 Schematically shows a flowchart of another method for configuring a primary and secondary cell according to an embodiment of the present application.

[0063] Figure 6 Schematically shows a flowchart of another method for configuring a primary and secondary cell according to an embodiment of the present application.

[0064] Figure 7 Schematically shows a flowchart of another method for configuring a primary and secondary cell according to an embodiment of the present application.

[0065] Figure 8 Schematically shows a schematic block diagram of an apparatus for configuring a primary and secondary cell according to an embodiment of the present application.

[0066] Figure 9 Schematically shows a schematic block diagram of another apparatus for configuring a primary and secondary cell. Detailed implementation manners

[0067] The technical solutions in the present application will be described below with reference to the accompanying drawings.

[0068] The technical solutions of the embodiments of the present application can be applied to a dual connectivity (DC) communication system. Dual connectivity (DC) can also be referred to as multi-radio dual connectivity (MR-DC). Generally, a dual connectivity communication system supports the simultaneous deployment of two different radio access systems, allowing devices to communicate with each other based on these two different radio access systems, so as to improve the utilization rate of radio resources, reduce the system handover delay, and improve user and system performance. In a dual connectivity communication system, two network devices that support different radio access systems will be deployed simultaneously. Similarly, a terminal device can support simultaneous access to these two different network devices. Further, the technical solutions of the embodiments of the present application can be applied to vehicle-to-everything (V2X), such as V2X, LTE-V, V2V, etc., or can be used in the fields of intelligent driving, intelligent connected vehicles, etc.

[0069] The radio access system in the above dual-connectivity communication system may include, but is not limited to, the following systems: Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), 5th generation (5G) system, New Radio (NR), or other evolved communication systems, etc. For example, the long term evolution (LTE) system and the new radio (NR) system may be deployed simultaneously in the dual-connectivity communication system, but the embodiments of this application do not limit this.

[0070] The terminal device in the embodiments of this application may also be referred to as: User Equipment (UE), Mobile Station (MS), Mobile Terminal (MT), access terminal, user unit, user station, mobile station, mobile terminal, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device, etc.

[0071] A terminal device can be a device that provides voice / data connectivity to users. For example, it can be a handheld device, a vehicle-mounted device, etc. with wireless connection capabilities. Currently, some examples of terminals are: mobile phones, tablet computers, laptop computers, palmtop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices, or other processing devices connected to a wireless modem, vehicle-mounted devices, wearable devices, terminal devices in a 5G network, or terminal devices in a future evolved public land mobile network (PLMN). The embodiments of the present application are not limited thereto.

[0072] By way of example and not limitation, in the embodiments of the present application, the terminal device can also be a wearable device. A wearable device can also be referred to as a wearable intelligent device, which is a general term for devices developed by applying wearable technologies to the intelligent design of daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is either directly worn on the body or integrated into the user's clothing or accessories. A wearable device is not just a hardware device, but more importantly, it realizes powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable intelligent devices include those with complete functions and large sizes that can achieve complete or partial functions without relying on a smartphone, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to cooperate with other devices such as smartphones, such as various smart bracelets and smart jewelry for physical sign monitoring.

[0073] In addition, in the embodiments of the present application, the terminal device may also be a terminal device in an Internet of Things (IoT) system. The IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, so as to realize an intelligent network of human-machine interconnection and object-object interconnection. The terminal device of the present application may also be an in-vehicle module, in-vehicle module group, in-vehicle component, in-vehicle chip or in-vehicle unit built into a vehicle as one or more components or units. The vehicle can implement the method of the present application through the built-in in-vehicle module, in-vehicle module group, in-vehicle component, in-vehicle chip or in-vehicle unit. Therefore, the embodiments of the present application can be applied to vehicle networking, such as vehicle-to-everything (V2X), long term evolution-vehicle (LTE-V), vehicle-to-vehicle (V2V), etc.

[0074] In addition, the network device in the embodiments of the present application may be a device for communicating with the terminal device. This network device may also be referred to as an access network device or a radio access network device. It may be a transmission reception point (TRP), or an evolved NodeB (eNB or eNodeB) in an LTE system, or a home base station (for example, home evolved NodeB, or home Node B, HNB), a base band unit (BBU), or a radio controller in a cloud radio access network (CRAN) scenario. Or this network device may be a relay station, an access point, an in-vehicle device, a wearable device, and a network device in a 5G network or a network device in a future evolved PLMN network, etc. It may be an access point (AP) in a WLAN, or a gNB in a new radio (NR) system. The embodiments of the present application do not limit this.

[0075] In a network structure, the network device may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node, or a RAN device including a control plane CU node (CU-CP node), a user plane CU node (CU-UP node), and a DU node.

[0076] A network device provides services to a cell, and a terminal device communicates with the cell through transmission resources (e.g., frequency-domain resources, or spectrum resources) allocated by the network device. The cell can belong to a macro base station (e.g., macro eNB or macro gNB, etc.), or can belong to a base station corresponding to a small cell. Here, the small cell can include: metrocell, micro cell, pico cell, femto cell, etc. These small cells have the characteristics of small coverage range and low transmit power, and are suitable for providing high-rate data transmission services.

[0077] In the embodiments of the present application, the terminal device or the network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system can be any one or more computer operating systems that implement service processing through processes, for example, Linux operating system, Unix operating system, Android operating system, iOS operating system, or windows operating system, etc. The application layer contains applications such as a browser, an address book, a word processing software, an instant messaging software, etc. Moreover, the embodiments of the present application do not particularly limit the specific structure of the execution subject of the method provided in the embodiments of the present application, as long as it can communicate according to the method provided in the embodiments of the present application by running a program recorded with the code of the method provided in the embodiments of the present application. For example, the execution subject of the method provided in the embodiments of the present application can be a terminal device or a network device, or a functional module in the terminal device or the network device that can call and execute the program.

[0078] In addition, various aspects or features of the present application may be implemented as a method, an apparatus, or an article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used in the present application encompasses a computer program accessible from any computer-readable device, carrier, or medium. For example, the computer-readable medium may include, but is not limited to: magnetic storage devices (such as hard disks, floppy disks, or magnetic tapes, etc.), optical discs (such as compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards, and flash memory devices (such as erasable programmable read-only memories (EPROMs), cards, sticks, or key drives, etc.). Additionally, the various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.

[0079] To facilitate the understanding of the embodiments of the present application, first, in combination with Figure 1 a communication system applicable to the embodiments of the present application will be described in detail.

[0080] Figure 1 FIG. shows a communication system 100 to which the embodiments of the present application are applied. As Figure 1 shown, the communication system 100 may include a primary access network device 110, a secondary access network device 120, and a terminal device 130.

[0081] Among them, the main access network device 110 is an access network device that has control plane signaling interaction with the core network, and can also be referred to as a master node (MN). The secondary access network device 120 is an access network device that has no control plane signaling interaction with the core network, and can also be referred to as a secondary node (SN). It should be understood that the user plane of the secondary access network device 120 may be connected to the core network, that is, the core network can directly send data to the terminal device 130 through the secondary access network device 120; or, the core network can also send data to the main access network device 110 through the secondary access network device 120, and the main access network device 110 sends the data to the terminal device 130. In addition, the user plane of the main access network device 110 may also be connected to the core network, which will not be elaborated here. Specifically, the main access network device 110 supports the first radio access system, and the secondary access network device 120 supports the second radio access system, that is, the communication system 100 deploys the first radio access system and the second radio access system at the same time. The terminal device 130 can support simultaneous access to the main access network device 110 and the secondary access network device 120. That is to say, the terminal device 130 can perform uplink and downlink communication with the main access network device 110, and can also perform uplink and downlink communication with the secondary access network device 120.

[0082] It should be understood that the above first radio access system and second radio access system may be the same or different. For example, both the first radio access system and the second radio access system adopt the 4th generation (4G) mobile communication technology, or both adopt the 5th generation (5G) mobile communication technology. Another example is that the first radio access system adopts 4G mobile communication technology, and the second radio access system adopts 5G mobile communication technology; or, the first radio access system adopts 5G mobile communication technology, and the second radio access system adopts 4G mobile communication technology. The embodiments of the present application do not make limitations in this regard.

[0083] It should be noted that for ease of understanding, Figure 1 only two network devices (the main access network device and the secondary access network device) and one terminal device are exemplarily shown in [the figure]. Optionally, the communication system 100 may further include other numbers of network devices, and the coverage range of each network device may include other numbers of terminal devices. The embodiments of the present application do not make limitations in this regard.

[0084] Optionally, the communication system 100 may further include other network entities such as a network controller and a mobility management entity. The embodiments of the present application are not limited thereto.

[0085] Since a terminal device can simultaneously receive services from multiple cells of an access network device under one access network device, the service cell group provided by the primary access network device 110 for the terminal device can be called a master cell group (MCG), and the service cell group provided by the secondary access network device 120 for the terminal device can be called a secondary cell group (SCG). Both the MCG and the SCG contain at least one cell. There is a primary cell (PCell) in the primary access network device 110, and there is a primary secondary cell (PSCell) in the secondary access network device 120. The PCell and the PSCell can be collectively referred to as special cells (SpCell). When there are multiple cells in the MCG or the SCG, the cells other than the SpCell can be called secondary cells (SCell). At this time, the SCell in each cell group performs carrier aggregation with the SpCell to jointly provide transmission resources for the terminal device. Next, the terms involved are introduced.

[0086] 1. Primary cell PCell: Deployed on the primary frequency point (or, operating on the primary carrier). The PCell is the cell corresponding to the process where the terminal device initiates an initial connection establishment process or a connection reconstruction process. That is, if the terminal device initiates an initial connection establishment process or a connection reconstruction process in a certain cell, then that cell is called the PCell. During the handover process, a cell can be indicated as the PCell.

[0087] 2. Primary secondary cell PSCell: It is the cell where the terminal device performs random access or initial physical uplink shared channel (PUSCH) transmission (referring to the terminal device skipping the random access process to send data transmission during the process of changing the secondary access network device) in the SCG, or the cell in the SCG of the secondary access network device that initiates random access during the execution of the synchronous reconfiguration process.

[0088] 3. Secondary cell SCell: Operating on the secondary carrier, once the RRC connection is established, the SCell may be configured to provide additional radio resources. In a dual-connection system, the cells in the MCG and the SCG other than the PCell and the PSCell can all be called SCell.

[0089] 4. Serving cell: For a terminal device in the RRC_CONNECTED state, if carrier aggregation or dual connectivity is not configured, there is only one serving cell, i.e., the PCell. If carrier aggregation or dual connectivity is configured, the serving cell of the terminal device is a set of cells composed of the PCell, PSCell, and all SCell.

[0090] It should be understood that each component carrier (CC) corresponds to an independent cell. In a possible design, a terminal device configured with dual connectivity can be connected to 1 PCell and at most 31 SCell. The PCell, PSCell, and all SCell of the terminal device form the serving cell set of the terminal device. The serving cell of the terminal device can refer to the PCell, or the PSCell, or the SCell.

[0091] 5. Carrier aggregation (CA): A technology that configures multiple carriers (cells) for a single terminal device to jointly perform data transmission.

[0092] Due to the mobility of the terminal device, the network side will trigger a change in the PSCell, that is, the terminal device can switch from one PSCell to another PSCell. It should be understood that the PSCell change may be that the terminal device switches from a cell of one secondary access network device to a cell of another secondary access network device, or it may be that the terminal device switches from a cell of a secondary access network device to another cell of the same secondary access network device. In addition, the change of the PSCell can be triggered by the primary access network device or the secondary access network device. A conditional PSCell addition / change (CPAC) method is as follows: The network side first configures multiple candidate PSCells, notifies the terminal device of the configuration of the multiple candidate PSCells and the conditions corresponding to each candidate PSCell. Subsequently, when the terminal device determines that there is a candidate PSCell that meets its corresponding conditions, the terminal device can directly access the candidate PSCell that meets the conditions. In this way, the network side does not need to wait for the terminal device to report a measurement report and then send a new PSCell configuration to the terminal device, which can shorten the delay required for adding or changing the PSCell. For the scenario where the secondary access network device triggers a change in the PSCell, it can avoid the situation where the measurement report cannot be reported and the reconfiguration message cannot be sent when the signal quality of the PSCell changes rapidly. Therefore, the robustness of the PSCell change is improved.

[0093] It can be understood that CPAC described in this application is a general term. In this application, CPAC may refer to the configuration of adding and / or changing the PSCell based on conditions.

[0094] In addition, when the terminal device detects a problem with the SCG, the terminal device can report SCG failure information to the master access network device. Specifically, the problem with the SCG can include the following multiple situations:

[0095] 1. The terminal device detects a radio link failure (RLF) of the SCG. The triggering conditions for SCG RLF are: (1) The terminal device detects that the downlink signal quality of the SCG is relatively poor; for example, the RRC layer of the terminal device receives N consecutive out-of-sync indications from the physical layer, where N is an integer greater than or equal to 1. Specifically, the terminal device can start a timer T310. If before T310 times out, the RRC layer of the terminal device does not receive M consecutive in-sync indications from the physical layer, where M is an integer greater than or equal to 1, then the terminal device considers that the SCG has an RLF. Among the above N out-of-sync indications and M in-sync indications, the values of N and M can be pre-configured by the network side for the terminal device. (2) The terminal device receives a random access problem indication. (3) The terminal device receives that the data packets of a certain signalling radio bearer (SRB) or data radio bearer (DRB) have reached the maximum retransmission count.

[0096] 2. The SCG has a handover failure, such as a PSCell handover failure.

[0097] 3. The RRC reconfiguration fails, for example, the terminal device cannot comply with some configurations in the RRC reconfiguration message received from the secondary access network device.

[0098] 4. The terminal device receives an indication message of integrity check failure.

[0099] In this application, if the terminal device determines that there is a problem with the SCG corresponding to the currently configured PSCell, or if the terminal device fails to access a candidate PSCell, the terminal device will send the above SCG failure information to the master access network device. When the master access network device receives the above SCG failure information, it may change the PSCell, that is, the master access network device can send a new configuration to the terminal device based on the currently configured PSCell of the terminal device. This configuration is an incremental configuration based on the SCG corresponding to the currently configured PSCell of the terminal device. Here, the incremental configuration means that if some configurations are the same as those of the SCG corresponding to the originally configured PSCell, the network side does not need to send these same configurations, but only needs to send the configurations that need to be modified or added. Among them, the configuration of the SCG includes the configuration of the PSCell and the possible configuration of the SCell in the SCG. It should be understood that the above "currently configured PSCell" refers to the PSCell corresponding to the configuration of the PSCell that has taken effect on the terminal device side.

[0100] During the process of the terminal device reporting the SCG failure information, since the network side has configured candidate PSCs for the terminal device, if the terminal device fails to access one of the candidate PSCs, the terminal device will also select other eligible candidate PSCs configured by the network device for access. When the terminal device successfully accesses a candidate PSC, the configuration of the PSCell of the terminal device has become the configuration of the candidate PSC. If the terminal device then receives a new configuration from the master access network device for adding and / or changing the PSCell, since the configuration of the PSCell of the terminal device has become the configuration of the candidate PSC, and the new configuration sent by the master access network device is an incremental configuration based on the previous PSCell, the terminal device may be unable to execute the new configuration sent by the master access network device, resulting in the terminal device performing a radio resource control (RRC) reestablishment. Specifically, if the terminal device executes the new configuration of the PSCell sent by the master access network device based on the configuration of the currently successfully accessed candidate PSCell, it may cause the PSCell configuration on the terminal device side to be inconsistent with the PSCell configuration on the network side, thereby causing the terminal device to perform an RRC reestablishment and triggering a service interruption.

[0101] This application provides a method and apparatus for configuring the primary and secondary cells, which can reasonably configure the PSCell, is beneficial to avoiding service interruption caused by RRC reestablishment of the terminal device, and improves the efficiency of the terminal device in configuring the PSCell.

[0102] For the convenience of understanding the embodiments of this application, the following points are explained.

[0103] 1. In the embodiments of the present application, "for indicating" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. If the information indicated by a certain piece of information is called the information to be indicated, then in the specific implementation process, there are many ways to indicate the information to be indicated. For example, but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated, etc. It is also possible to indirectly indicate the information to be indicated by indicating other information, where there is an association relationship between the other information and the information to be indicated. It is also possible to only indicate a part of the information to be indicated, while the other parts of the information to be indicated are known or pre-agreed. For example, it is also possible to implement the indication of the information to be indicated by relying on a pre-agreement (such as protocol definition) on the existence of a certain cell, thereby reducing the indication overhead to a certain extent.

[0104] 2. In the embodiments shown below, the first, second, third, fourth, and various numerical numbers are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. For example, to distinguish different configuration information, different messages, etc.

[0105] 3. In the embodiments shown below, "pre-obtaining" may include being indicated by a signaling by a network device or being pre-defined, for example, protocol definition. Among them, "pre-definition" can be implemented by pre-saving corresponding codes, tables, or other ways that can be used to indicate relevant information in a device (for example, including a terminal device and a network device), and the present application does not limit its specific implementation manner.

[0106] 4. The "protocol" involved in the embodiments of the present application may refer to a standard protocol in the communication field. For example, it may include a long term evolution (LTE) protocol, a new radio (NR) protocol, and related protocols applied to future communication systems. The present application does not limit this.

[0107] The following details each embodiment provided by the present application.

[0108] Figure 2 The schematic flowchart of the method for configuring a primary-secondary cell according to the embodiments of the present application is shown. This method 200 can be applied to Figure 1 the communication system 100 shown, but the embodiments of the present application are not limited thereto.

[0109] S210, the terminal device determines that the SCG access fails.

[0110] The terminal device has first configuration information, and the first configuration information includes the configuration of at least one candidate primary-secondary cell (PSCell).

[0111] S220, the terminal device sends an SCG failure message to the primary access network device.

[0112] Correspondingly, the primary access network device receives the secondary cell group (SCG) failure message from the terminal device.

[0113] The SCG failure message carries at least one of the following information: whether the terminal device is configured with CPAC; the terminal device is configured with CPAC; or, the number of times the terminal device performs access to at least one of the above candidate PSCs. The number of times the terminal device performs access to at least one candidate PSC can also be understood as the number of PSCs that the terminal device attempts to access.

[0114] S230, the primary access network device determines whether to change the configuration of the PSCell of the terminal device according to the above SCG failure message.

[0115] It should be understood that the above SCG access failure means that there is a problem with the SCG of the terminal device (for example, SCG radio link failure, SCG handover failure, RRC reconfiguration failure, or the terminal device receives an indication message of integrity check failure, etc.), or the terminal device fails to access one of the at least one candidate PSCs. The at least one candidate PSC is configured for the terminal device by the network side through the first configuration information. The network side can be the primary access network device or the secondary access network device. The first configuration information includes the configuration of at least one candidate PSC and the access conditions of each candidate PSC in the at least one candidate PSC. In other words, the terminal device has the first configuration information and can make a judgment according to the first configuration information. When the candidate PSC meets its corresponding access conditions, the terminal device accesses the candidate PSC. When the terminal device fails to access a candidate PSC that meets the access conditions, it will also try other candidate PSCs that meet the access conditions. Generally, the terminal device tries to access among two candidate PSCs that meet the access conditions.

[0116] In an embodiment of the present application, the first configuration information may be pre-acquired by the terminal device. Exemplarily, the network side may send the above-mentioned first configuration information to the terminal device through an RRC reconfiguration message. Exemplarily, for the primary access network device, the primary access network device may send an RRC reconfiguration message to the terminal device through the signaling between the primary access network device and the terminal device (such as SRB1). Exemplarily, for the secondary access network device, the secondary access network device may send an RRC reconfiguration message to the terminal device through the signaling between the secondary access network device and the terminal device (such as SRB3); or, the secondary access network device may also send the RRC reconfiguration message to the primary access network device, and the primary access network device then sends the RRC reconfiguration message to the terminal device through the signaling between the primary access network device and the terminal device (such as SRB1), that is, encapsulate the RRC reconfiguration message of the secondary access network device in the RRC reconfiguration message of the primary access network device and send it to the terminal device.

[0117] Specifically, after determining that the SCG access fails, the terminal device may send SCG failure information to the primary access network device, and carry at least one piece of information in the SCG failure information: whether the terminal device is configured with CPAC; or, the terminal device is configured with CPAC; or, the number of times the terminal device performs the access to at least one of the candidate PSCs. After receiving the SCG failure information, the primary access network device may make a judgment according to the information contained therein to determine whether to change the configuration of the PSCell of the terminal device.

[0118] Therefore, in the method for configuring the PSCell according to the embodiment of the present application, by making a judgment by the primary access network device according to the SCG failure information, the configuration of the PSCell of the terminal device is changed only when the terminal device is not configured with CPAC or the number of times the terminal device performs the access to at least one candidate PSCell exceeds a preset threshold, and the situation where the configuration of the PSCell of the terminal device has become the configuration of the candidate PSCell, while the new configuration sent by the primary access network device is an incremental configuration based on the previous PSCell, is avoided, which is beneficial to avoiding service interruption caused by RRC reconstruction of the terminal device and improving the efficiency of configuring the PSCell of the terminal device.

[0119] As an optional embodiment, the content included in the above-mentioned SCG failure information, and the judgment made by the primary access network device according to the content included in the SCG failure information may be divided into the following multiple situations:

[0120] Situation 1: The SCG failure information includes whether the terminal device is configured with CPAC.

[0121] In Case 1, regardless of whether the terminal device is configured with CPAC, the terminal device will inform the master access network device in the SCG failure message. Exemplarily, the SCG failure message may include 1-bit indication information. If the 1-bit indication information is 0, it indicates that the terminal device is not configured with CPAC. If the 1-bit indication information is 1, it indicates that the terminal device is configured with CPAC; or, if the 1-bit indication information is 1, it indicates that the terminal device is not configured with CPAC. If the 1-bit indication information is 0, it indicates that the terminal device is configured with CPAC. The embodiments of the present application do not limit this.

[0122] For the master access network device, if the terminal device is configured with CPAC, the master access network device may determine not to change the configuration of the PSCell of the terminal device, or determine to change the configuration of the PSCell of the terminal device in a full-configuration manner, or determine to change the configuration of the PSCell of the terminal device by first releasing the SCG configuration and then adding the SCG configuration; if the terminal device is not configured with CPAC, the master access network device determines that it can change the configuration of the PSCell of the terminal device.

[0123] Case 2: The SCG failure message includes that the terminal device is configured with CPAC.

[0124] In Case 2, when the terminal device is configured with CPAC, it explicitly informs the master access network device in the SCG failure message. Otherwise, the terminal device will not explicitly inform the master access network device that it is not configured with CPAC. For example, an SCG failure message including a special indication bit can be designed, and this special indication bit indicates that the terminal is configured with CPAC; if the SCG failure message does not include this special indication bit, it indicates that the terminal is not configured with CPAC. This special indication bit can be a 1-bit indication bit, and the value of this indication bit can be 1 or 0 or null, which is not limited here. It should be understood that if the SCG failure message includes the number of times the terminal device performs access to at least one candidate PSCell, that is, Case 4, it means that the terminal device is configured with CPAC. Only when the SCG failure message neither includes the information that the terminal device is configured with CPAC nor includes the number of times the terminal device performs access to at least one candidate PSCell, can the master access network device consider that the terminal device is not configured with CPAC.

[0125] For the master access network device, if the terminal device is configured with CPAC, the master access network device may determine not to change the configuration of the PSCell of the terminal device, or determine to change the configuration of the PSCell of the terminal device in a full-configuration manner, or determine to change the configuration of the PSCell of the terminal device by first releasing the SCG configuration and then adding the SCG configuration; if the terminal device is not configured with CPAC, the master access network device determines that it can change the configuration of the PSCell of the terminal device.

[0126] Scenario 3: The SCG failure information includes that the terminal device is not configured with CPAC.

[0127] In Scenario 3, the terminal device explicitly informs the terminal device in the SCG failure information only when it is not configured with CPAC. Otherwise, the terminal device does not explicitly inform that it is configured with CPAC. The specific notification method can refer to Scenario 2 and will not be elaborated here. It should be understood that as long as the SCG failure information does not include the information that CPAC is not configured, the master access network device can consider that the terminal device is configured with CPAC.

[0128] For the master access network device, if the terminal device is configured with CPAC, the master access network device can determine not to change the configuration of the PSCell of the terminal device, or determine to change the configuration of the PSCell of the terminal device by means of full configuration, or determine to change the configuration of the PSCell of the terminal device by first releasing the SCG configuration and then adding the SCG configuration; if the terminal device is not configured with CPAC, the master access network device determines that it can change the configuration of the PSCell of the terminal device.

[0129] Scenario 4: The SCG failure information includes the number of times the terminal device attempts to access at least one candidate PSCell.

[0130] Considering that after the terminal device fails to access a candidate PSCell once, it may still attempt to access the next candidate PSCell that meets the access conditions until the number of access attempts reaches a preset threshold. This preset threshold can be obtained by the terminal device in advance. Therefore, for the master access network device, if the number of times the terminal device attempts to access at least one candidate PSCell is less than the preset threshold (e.g., 2 times), the master access network device can determine not to change the configuration of the PSCell of the terminal device, or determine to change the configuration of the PSCell of the terminal device by means of full configuration, or determine to change the configuration of the PSCell of the terminal device by first releasing the SCG configuration and then adding the SCG configuration; if the number of times the terminal device attempts to access at least one candidate PSCell is greater than or equal to the preset threshold, the master access network device determines that it can change the configuration of the PSCell of the terminal device.

[0131] Scenario 5: The SCG failure information includes that the terminal device is configured with CPAC and the number of times the terminal device attempts to access at least one candidate PSCell.

[0132] The execution of at least one candidate PSCell access by the terminal device indicates that the terminal device is configured with CPAC. In case 5, the terminal device can include both the information that the terminal device is configured with CPAC and the number of times the terminal device executes at least one candidate PSCell access in the SCG failure information. In this case, the master access network device can make a judgment based on the number of times the terminal device executes at least one candidate PSCell access. If the number of times the terminal device executes at least one candidate PSCell access is less than a preset threshold (e.g., 2 times), the master access network device can determine not to change the configuration of the PSCell of the terminal device, or determine to change the configuration of the PSCell of the terminal device in a full-configuration manner, or determine to change the configuration of the PSCell of the terminal device by first releasing the SCG configuration and then adding the SCG configuration; if the number of times the terminal device executes at least one candidate PSCell access is greater than or equal to the preset threshold, the master access network device determines that it can change the configuration of the PSCell of the terminal device.

[0133] It should be understood that since the execution of at least one candidate PSCell access by the terminal device indicates that the terminal device is configured with CPAC, the above-mentioned SCG failure information will not have a situation where it includes both the information that the terminal device is not configured with CPAC and the number of times the terminal device executes at least one candidate PSCell access.

[0134] In addition, optionally, the above-mentioned SCG failure information can also include a failure type (or referred to as a failure reason), and the failure type is used to indicate the reporting of the SCG failure information due to the failure of the terminal device to access the candidate PSCell, or the reporting of the SCG failure information due to a problem with the SCG of the terminal device.

[0135] As an optional embodiment, if the master access network device determines to change the configuration of the PSCell of the terminal device, the master access network device can send second configuration information to the terminal device, and both the first configuration information and the second configuration information are incremental configurations based on the configuration of the PSCell of the terminal device before the terminal device obtains the first configuration information; correspondingly, the terminal device receives the second configuration information from the master access network device and accesses the PSCell configured in the second configuration information or the PSCell that meets the conditions in the second configuration information based on the second configuration information. It should be understood that the configuration of the PSCell of the terminal device before the terminal device obtains the first configuration information can refer to the PSCell accessed by the terminal device before switching the PSCell.

[0136] As an optional embodiment, if the master access network device determines not to change the configuration of the PSCell of the terminal device, the master access network device will not send configuration information to the terminal device, and the terminal device can continue to perform access to other candidate PSCs that meet the access conditions among the at least one candidate PSC indicated by the first configuration information. Optionally, the master access network device may send an indication message to the terminal device to indicate that the configuration of the PSCell of the terminal device is not changed.

[0137] As an optional embodiment, if the master access network device determines to change the configuration of the PSCell of the terminal device by means of full configuration or by first releasing the configuration of the SCG and then adding the configuration of the SCG, the master access network device may send third configuration information to the terminal device, and the third configuration information includes full configuration indication information or release indication information.

[0138] Among them, the full configuration indication information is used to instruct the terminal device to initialize the wireless configuration, so that the wireless configuration (including the configurations of the MCG and SCG) is independent of the wireless configuration configured before the terminal device receives the third configuration information. Exemplarily, the full configuration indication information may be referred to as fullconfig; correspondingly, the terminal device receives the third configuration information from the master access network device and releases or clears all dedicated wireless configurations other than the terminal identifier corresponding to the MCG of the terminal device and the security configuration information corresponding to the master access network device.

[0139] The release indication information is used to instruct the terminal device to release the configuration of the SCG (including the configuration of the PSCell) before the terminal device receives the third configuration information; correspondingly, the terminal device receives the third configuration information from the master access network device and releases the configuration of the PSCell before the terminal device receives the third configuration information. For example, the release indication information is indicated by the release in the form of release and add SCG.

[0140] Furthermore, the third configuration information further includes the configuration of the new PSCell. Exemplarily, the configuration of the new PSCell may be the configuration of a PSCell (non-CPAC), and the terminal device may access the PSCell according to the configuration of the PSCell; Exemplarily, the configuration of the new PSCell may also be the configuration of at least one candidate PSC (based on CPAC), and the terminal device may make a judgment based on the access conditions of the at least one candidate PSC, so as to access the candidate PSC that meets the conditions.

[0141] It should be understood that the method for the master access network device to configure the PSCell for the terminal device is only introduced above by taking the master access network device as an example. In a possible implementation, the CPAC of the terminal device may be configured by the master access network device, or by the secondary access network device.

[0142] When the CPAC of the terminal device is configured by the secondary access network device, after S220, that is, after the master access network device receives the SCG failure information from the terminal device, the above method further includes:

[0143] S240, the master access network device determines whether it is the master access network device or the secondary access network device that configures the CPAC for the terminal device.

[0144] S250, when the master access network device determines that it is the secondary access network device that configures the CPAC for the terminal device, the master access network device sends the SCG failure information to the secondary access network device, and correspondingly, the secondary access network device receives the SCG failure information.

[0145] S260, the secondary access network device determines whether to change the configuration of the PSCell of the terminal device according to the SCG failure information.

[0146] In this embodiment, if the CPAC for the terminal device is configured by the secondary access network device, then S230 can be replaced by S240 to S260. It should be understood that the specific method for the secondary access network device to determine whether to change the configuration of the PSCell of the terminal device is the same as the specific method for the master access network device to determine whether to change the configuration of the PSCell of the terminal device, and will not be elaborated here.

[0147] Optionally, in the embodiments of the present application, if the CPAC for the terminal device is configured by the secondary access network device, the secondary access network device will notify the master access network device through the interface message between the master access network device and the secondary access network device that the secondary access network device has configured the CPAC for the terminal device.

[0148] In an embodiment of the present application, optionally, in MR-DC, the PSCell is determined by the secondary access network device, and the configuration of the PSCell is configured by the secondary access network device for the terminal device. In a possible implementation manner, the primary access network device sends the measurement results reported by the terminal device and that can be used as candidate PSCells to the secondary access network device. The secondary access network device then selects a PSCell according to the measurement results, and the primary access network device does not know which cell is the PSCell. When using CPAC, when the primary access network device can send an addition or modification request to the secondary access network device, such as an SN addition request or an SN modification request, to request the secondary access network device to select candidate PSCells. After the secondary access network device selects candidate PSCells and determines the configuration of the PSCell, the secondary access network device will send a response message to the primary access network device. To reduce the processing complexity, the primary access network device and the secondary access network device usually perform an addition or modification request process for one candidate PSCell. The embodiment of the present application provides the following two CPAC configuration methods.

[0149] As an optional embodiment, the above method further includes: the primary access network device sends a first request message to the secondary access network device, the secondary access network device receives the first request message from the primary access network device, and the first request message is used to request to add or modify the configuration of the candidate PSCell; the secondary access network device sends a first response message to the primary access network device, the primary access network device receives the first response message from the secondary access network device, and the first response message carries the number of candidate PSCells that need to be added or modified; the primary access network device sends at least one second request message to the secondary access network device based on the number of candidate PSCells, the secondary access network device receives at least one second request message from the secondary access network device, and the at least one second request message is used to request to add or modify the configuration of the candidate PSCell; the secondary access network device sends at least one second response message to the primary access network device, the primary access network device receives at least one second response message from the secondary access network device, and the at least one second response message respectively carries the identifier of the candidate PSCell corresponding to the at least one second request message; the primary access network device sends the first configuration information to the terminal device based on the first response message and the at least one second response message.

[0150] Optionally, in a possible solution, the identity of the candidate PSCell configured in the first response message is carried in the first response message. The number of candidate PSCs that need to be added or modified carried in the first response message is the number of other candidate PSCs except the candidate PSC corresponding to the first response message. In another possible solution, the number of candidate PSCs that need to be added or modified carried in the first response message is the number of all candidate PSCs that the secondary access network device hopes to configure.

[0151] In this embodiment, the primary access network device may first send a request message (i.e., the first request message) to the secondary access network device. After receiving the first request message, the secondary access network device may first determine the number of PSCs that need to be added or modified, and carry the number of PSCs that need to be added or modified in the first response message sent to the primary access network device. The primary access network device may send a second request message (i.e., the at least one second request message above) corresponding to the number of PSCs according to the number of PSCs that need to be added or modified, so that the secondary access network device returns a second response message (i.e., the at least one second response message above) corresponding to the number of PSCs. For example, if the number of PSCs that the secondary access network device determines need to be added or modified is 5, and the primary access network device has already sent 1 first request message to the secondary access network device, the primary access network device may send 4 more second request messages to the secondary access network device, so as to obtain the configuration of 5 PSCs through the 5 response messages (1 first response message and 4 second response messages) returned by the secondary access network device.

[0152] Optionally, the above first response message may include the identity (ID) of the candidate PSC corresponding to the first request message, or information about other candidate PSCs. In this embodiment, the information about other candidate PSCs may be the number of PSCs that need to be added or modified as above, or the ID list of the PSCs that need to be added or modified as above, or the ID of the next candidate PSC, or the indication information of whether to configure the next candidate PSC. The embodiments of the present application do not limit this.

[0153] It should be understood that in a possible implementation manner, if the number of PSCs that need to be added or modified as above, or the ID list of the PSCs that need to be added or modified as above is carried in the first response message, the primary access network device may send at least one second request message in parallel or serially. In this case, the secondary access network device may carry the ID of the corresponding candidate PSC in each of the at least one second response message sent to the terminal device.

[0154] In another possible implementation, if the ID of the next candidate PSCell or the indication information for indicating the configuration of the next candidate PSCell is carried in the above first response message, the master access network device may send a second request message based on this first response message. The secondary access network device may send a second response message based on this second request message. Similar to the first response message, the second response message may carry the ID of the next candidate PSCell or the indication information for indicating whether to configure the next candidate PSCell. The master access network device may determine whether to send the next request message based on the indication in this second response message. The subsequent process is similar and will not be enumerated one by one.

[0155] Based on the above process, the master access network device may obtain the identifier of the PSCell that the secondary access network device determines needs to be added or changed, so as to determine the first configuration information and send this first configuration information to the terminal device. The acquisition of the second configuration information is similar to that of the first configuration information and will not be elaborated here.

[0156] As an optional embodiment, the above method further includes: the master access network device sends at least one request message to the secondary access network device, the secondary access network device receives at least one request message from the master access network device, and the at least one request message is used to request to add or modify the configuration of a candidate PSCell, where one request message carries the measurement result of one candidate PSCell or the identifier of one candidate PSCell; the secondary access network device sends at least one response message to the master access network device based on the at least one request message, the master access network device receives at least one response message from the secondary access network device, and the at least one response message is respectively used to indicate whether to accept the at least one request message; the master access network device sends the first configuration information to the terminal device based on the at least one response message.

[0157] In this embodiment, the master access network device first determines the number of PSCs that need to be added or modified, and then sends the same number of request messages to the slave access network device. Each request message carries the measurement result of a candidate PSC determined by the master access network device. It should be understood that these candidate PSCs are those considered by the master access network device as possible candidate PSCs, rather than the final candidate PSCs. The slave access network device receives the at least one request message, and determines whether to agree to use the candidate PSC corresponding to the request message as the final candidate PSC according to the measurement result of the candidate PSC carried in the request message, and returns at least one response message to the master access network device. For example, if the master access network device requests 4 cells as candidate PSCs, the master access network device will send 4 request messages to the slave access network device. For example, request message 1 corresponds to PSC 1, request message 2 corresponds to PSC 2, request message 3 corresponds to PSC 3, and request message 4 corresponds to PSC 4. The slave access network device only agrees to use 3 of the PSCs, for example, PSC 1, PSC 2, and PSC 4, as candidate PSCs. The slave access network device can send 4 response messages to the master access network device. For example, response message 1 indicates agreement, response message 2 indicates agreement, response message 3 indicates rejection, and response message 4 indicates rejection. Among them, response message 1 is a response to request message 1, response message 2 is a response to request message 2, response message 3 is a response to request message 3, and response message 4 is a response to request message 4.

[0158] Optionally, the above at least one request message or at least one response message can be sent serially, that is, the master access network device sends a request message, and the slave access network device returns a response message. Then, the master access network device sends the next request message, and the slave access network device returns the next response message. In this way, the processing delay can be reduced and the feedback efficiency of the slave access network device can be improved.

[0159] Optionally, the measurement result of the candidate PSC carried in the above request message can also be replaced with the ID of the candidate PSC. The embodiments of the present application do not limit this.

[0160] Figure 3 The schematic flowchart of another method for configuring the primary and secondary cells according to the embodiments of the present application is shown. This method 300 can be applied to Figure 1 the communication system 100 shown, but the embodiments of the present application are not limited thereto.

[0161] S310, the master access network device sends a first request message to the slave access network device. This first request message is used to request to add or modify the configuration of the candidate PSC.

[0162] Correspondingly, the secondary access network device receives the first request message.

[0163] S320. The secondary access network device sends a first response message to the primary access network device, where the first response message carries the number of candidate PSCs to be added or modified.

[0164] Correspondingly, the primary access network device receives the first response message from the secondary access network device.

[0165] S330. The primary access network device sends at least one second request message to the secondary access network device based on the number of the above candidate PSCs. The at least one second request message is used to request to add or modify the configuration of the candidate PSCs.

[0166] Correspondingly, the secondary access network device receives the at least one second request message.

[0167] S340. The secondary access network device sends at least one second response message to the primary access network device, where the at least one second response message carries the identifiers of the candidate PSCs corresponding to the at least one second request message respectively.

[0168] Correspondingly, the primary access network device receives the at least one second response message from the secondary access network device.

[0169] S350. The primary access network device sends configuration information to the terminal device based on the first response message and the at least one second response message. The configuration information is used to configure the above candidate PSCs.

[0170] Optionally, in a possible solution, the first response message carries the identifier of the candidate PSC configured in the first response message. The number of candidate PSCs to be added or modified carried in the first response message is the number of other candidate PSCs except the candidate PSC corresponding to the first response message. In another possible solution, the number of candidate PSCs to be added or modified carried in the first response message is the number of all candidate PSCs that the secondary access network device hopes to configure.

[0171] In this embodiment, the master access network device may first send a request message (i.e., the first request message) to the secondary access network device. After receiving the first request message, the secondary access network device may first determine the number of PSCs that need to be added or modified, and carry the number of PSCs that need to be added or modified in the first response message sent to the master access network device. The master access network device may send a second request message corresponding to the number of PSCs (i.e., the at least one second request message mentioned above) to the secondary access network device according to the number of PSCs that need to be added or modified, so that the secondary access network device returns a second response message corresponding to the number of PSCs (i.e., the at least one second response message mentioned above). For example, if the number of PSCs that the secondary access network device determines need to be added or modified is 5, and the master access network device has already sent 1 first request message to the secondary access network device, the master access network device may send 4 more second request messages to the secondary access network device, so as to obtain the configuration of 5 PSCs through the 5 response messages (1 first response message and 4 second response messages) returned by the secondary access network device.

[0172] Optionally, the above first response message may include the identifier (ID) of the candidate PSC corresponding to the first request message, or information about other candidate PSCs. In this embodiment, the information about other candidate PSCs may be the number of PSCs that need to be added or modified as mentioned above, or the ID list of the PSCs that need to be added or modified as mentioned above, or the ID of the next candidate PSC, or the indication information of whether to configure the next candidate PSC. The embodiments of the present application do not limit this.

[0173] It should be understood that in a possible implementation manner, if the number of PSCs that need to be added or modified as mentioned above, or the ID list of the PSCs that need to be added or modified as mentioned above is carried in the first response message, the terminal device may send at least one second request message in parallel or serially. In this case, the secondary access network device may carry the corresponding candidate PSC ID in at least one second response message sent to the terminal device.

[0174] In another possible implementation, if the ID of the next candidate PSCell, or indication information for indicating the configuration of the next candidate PSCell, is carried in the above first response message, the master access network device may send a second request message based on this first response message. Based on this second request message, the secondary access network device sends a second response message. Similar to the first response message, the second response message may carry the ID of the next candidate PSCell, or indication information for indicating whether to configure the next candidate PSCell. The master access network device may determine whether to send the next request message based on the indication in this second response message. The subsequent processes are similar and will not be listed one by one.

[0175] Based on the above process, the master access network device may obtain the identifier of the PSCell that the secondary access network device determines needs to be added or changed, thereby determining the configuration information and sending this configuration information to the terminal device.

[0176] Figure 4 Fig. shows a schematic flowchart of another method for configuring the master and secondary cells according to an embodiment of the present application. This method 400 may be applied to Figure 1 the communication system 100 shown, but the embodiments of the present application are not limited thereto.

[0177] S410, the master access network device sends at least one request message to the secondary access network device, and the at least one request message is used to request to add or modify the configuration of the candidate PSCell.

[0178] Correspondingly, the secondary access network device receives the at least one request message.

[0179] Wherein, one request message carries the measurement result of one candidate PSCell or the identifier of one candidate PSCell.

[0180] S420, the secondary access network device sends at least one response message to the master access network device, and the at least one response message is respectively used to indicate whether to accept the at least one request message.

[0181] Correspondingly, the master access network device receives at least one response message from the secondary access network device.

[0182] S430, the master access network device sends configuration information to the terminal device based on the at least one response message, and the configuration information is used to configure the above candidate PSCell.

[0183] In this embodiment, the primary access network device first determines the number of PSCs that need to be added or modified, and then sends the same number of request messages to the secondary access network device. Each request message carries the measurement result of a candidate PSC determined by the primary access network device. It should be understood that these candidate PSCs are those considered by the primary access network device to be candidate PSCs, rather than the final candidate PSCs. The secondary access network device receives the at least one request message, and determines whether to agree to use the candidate PSC corresponding to the request message as the final candidate PSC according to the measurement result of the candidate PSC carried in the request message, and returns at least one response message to the primary access network device. For example, if the primary access network device requests 4 cells as candidate PSCs, the primary access network device will send 4 request messages to the secondary access network device. For example, request message 1 corresponds to PSCell 1, request message 2 corresponds to PSCell 2, request message 3 corresponds to PSCell 3, and request message 4 corresponds to PSCell 4. The secondary access network device only agrees to use 3 of the PSCs, for example, PSCell 1, PSCell 2, and PSCell 4, as candidate PSCs. The secondary access network device can send 4 response messages to the primary access network device. For example, response message 1 indicates agreement, response message 2 indicates agreement, response message 3 indicates rejection, and response message 4 indicates rejection. Among them, response message 1 is a response to request message 1, response message 2 is a response to request message 2, response message 3 is a response to request message 3, and response message 4 is a response to request message 4.

[0184] Optionally, the above at least one request message or at least one response message may be sent serially, that is, the primary access network device sends a request message, and the secondary access network device returns a response message. Then, the primary access network device sends the next request message, and the secondary access network device returns the next response message. In this way, the processing delay can be reduced and the feedback efficiency of the secondary access network device can be improved.

[0185] Optionally, the measurement result of the candidate PSC carried in the above request message may also be replaced with the ID of the candidate PSC. The embodiments of the present application do not limit this.

[0186] Figure 5 The schematic flowchart of another method for configuring the primary and secondary cells according to the embodiments of the present application is shown. This method 500 can be applied to Figure 1 the communication system 100 shown, but the embodiments of the present application are not limited thereto.

[0187] S510, The master access network device or the secondary access network device sends first configuration information to the terminal device, where the first configuration information includes the configuration of at least one candidate primary-secondary cell (PSCell) and the access conditions of each candidate PSCell in the at least one candidate PSCell.

[0188] Correspondingly, the terminal device receives the first configuration information and attempts to access the candidate PSCell that meets the access conditions among the at least one candidate PSCell configured in the first configuration information.

[0189] S520, The terminal device determines that the SCG access fails, where the SCG access failure indicates that there is a problem with the terminal device's SCG, or the terminal device fails to access one of the at least one candidate PSCells.

[0190] S530, The terminal device sends an SCG failure message to the master access network device.

[0191] Correspondingly, the master access network device receives the SCG failure message.

[0192] S540, The master access network device sends second configuration information to the terminal device.

[0193] Correspondingly, the terminal device receives the second configuration information.

[0194] It should be understood that the above S520 and S530 are optional steps. That is, in the embodiments of the present application, the master access network device may send the second configuration information to the terminal device based on the SCG failure message sent by the terminal device, or may also send the second configuration information to the terminal device for other reasons. The embodiments of the present application do not limit this.

[0195] It should also be understood that the above first configuration information and second configuration information are both incremental configurations based on the configuration of the PSCell before the terminal device obtains the first configuration information.

[0196] S550, The terminal device determines whether to configure the PSCell according to the second configuration information.

[0197] Exemplarily, if there is a candidate PSCell that meets its corresponding access conditions, or the terminal device has successfully accessed among the candidate PSCells that meet the access conditions, the terminal device may perform any of the following steps:

[0198] 1. The terminal device ignores the second configuration information;

[0199] 2. The terminal device sends first indication information to the master access network device, and the first indication information is used to indicate that there is a candidate PSCell that meets the configuration trigger condition. Correspondingly, the master access network device receives the first indication information; or,

[0200] 3. If the terminal device is accessing or has successfully accessed the first candidate PSCell, the terminal device can cancel the access to the first candidate PSCell or roll back to the configuration before accessing the first candidate PSCell, and configure the PSCell according to the second configuration information. Optionally, the terminal device can send second indication information to the master access network device, and the second indication information is used to indicate canceling the access to the first candidate PSCell or rolling back to the configuration before accessing the first candidate PSCell. Optionally, after receiving the second indication information, the master access network device instructs the secondary access network device to cancel the terminal device's access to the first candidate PSCell.

[0201] Exemplarily, if the access conditions of each candidate PSCell in the above at least one candidate PSCell are not met, the terminal device can directly configure the PSCell according to the second configuration information.

[0202] In the method for configuring a PSCell according to the embodiments of the present application, by specifying the behavior of the terminal device, the terminal device configures the PSCell according to the second configuration information on the network side only when the access conditions of each candidate PSCell in at least one candidate PSCell are not met, and it will not occur that the configuration of the PSCell of the terminal device has become the configuration of the candidate PSCell, while the new configuration sent by the master access network device is an incremental configuration based on the previous PSCell, which is beneficial to avoiding service interruption caused by RRC reconstruction of the terminal device and improving the efficiency of the terminal device in configuring the PSCell.

[0203] Figure 6 Fig. shows a schematic flowchart of another method for configuring a master cell and a secondary cell according to an embodiment of the present application. This method 600 can be applied to Figure 1 the communication system 100 shown, but the embodiments of the present application are not limited thereto.

[0204] S610. The master access network device or the secondary access network device sends first configuration information to the terminal device, where the first configuration information includes the configuration of at least one candidate primary-secondary cell PSCell and the access condition of each candidate PSCell in the at least one candidate PSCell.

[0205] Correspondingly, the terminal device receives the first configuration information and attempts to access the candidate PSCell that meets the access condition in the at least one candidate PSCell configured in the first configuration information..

[0206] In S620, the terminal device determines that the SCG access fails and starts a timer. Before the timer expires, the terminal device continues to attempt to access a candidate PSCell that meets the access conditions among at least one candidate PSCell configured in the first configuration information. After the timer expires, the terminal device no longer performs the access to the candidate PSCell.

[0207] In S630, the terminal device sends an SCG failure message to the primary access network device.

[0208] Correspondingly, the primary access network device receives the SCG failure message.

[0209] It should be understood that the terminal device may send the SCG failure message to the primary access network device before starting the timer, or may also send the SCG failure message to the primary access network device after starting the timer. The embodiments of the present application do not limit this. The terminal device may send the SCG failure message to the primary access network device before the timer expires, or may also send the SCG failure message to the primary access network device after the timer expires. The embodiments of the present application do not limit this either. The following will be described in detail in two cases.

[0210] Case 1: If the terminal device sends the SCG failure message to the primary access network device before the timer expires (including before starting the timer), the method further includes the following steps:

[0211] In S640, when receiving the SCG failure message, the primary access network device starts a timer. Before the timer expires, the primary access network device does not send new configuration to the terminal device. After the timer expires, the primary access network device can send new configuration to the terminal device. It should be understood that the duration of the timer of the primary access network device is greater than or equal to the duration of the timer of the terminal device.

[0212] Case 2: If the terminal device sends the SCG failure message to the primary access network device after the timer expires, the network device may send new configuration to the terminal device according to the SCG failure message without starting a timer.

[0213] Optionally, whether it is the above Case 1 or the above Case 2, the following steps may be executed:

[0214] In S650, the primary access network device sends second configuration information to the terminal device.

[0215] Correspondingly, the terminal device receives the second configuration information.

[0216] Since the terminal device sends the SCG failure information to the network device only after stopping accessing the candidate PSCell, or the network device has started a timer and sends the second configuration information to the terminal device only after the timer expires, therefore, if the terminal device does not access a new candidate PSCell, the second configuration information is an incremental configuration based on the configuration of the PSCell before the terminal device obtains the first configuration information; if the terminal device accesses a new candidate PSCell, the second configuration information is an incremental configuration based on the configuration of the new candidate PSCell accessed by the terminal device.

[0217] S660, the terminal device configures the PSCell according to the second configuration information.

[0218] In the method for configuring the PSCell according to the embodiment of the present application, by starting a timer in the terminal device and not sending the SCG failure information to the master access network device before the timer expires, the second configuration information sent by the network device to the terminal device is based on the configuration of the PSCell accessed by the latest terminal device, and there will be no situation where the configuration of the PSCell of the terminal device has become the configuration of the candidate PSCell, while the new configuration sent by the master access network device is an incremental configuration based on the previous PSCell, which is beneficial to avoiding service interruption caused by RRC reconstruction in the terminal device and improving the efficiency of configuring the PSCell in the terminal device.

[0219] It should be understood that the premise on which the above method 600 is based is that the master access network device only sends a new configuration (i.e., the second configuration information) to the terminal device according to the SCG failure information reported by the terminal device. If the terminal device does not send the SCG failure information to the network device, the master access network device will not send a new configuration to the terminal device.

[0220] Figure 7 shows a schematic flowchart of the method for configuring the primary and secondary cells according to the embodiment of the present application. This method 700 can be applied to Figure 1 the communication system 100 shown in the figure, but the embodiments of the present application are not limited thereto.

[0221] S710, the master access network device or the secondary access network device sends the first configuration information to the terminal device, where the first configuration information includes the configuration of at least one candidate primary and secondary cell PSCell and the access condition of each candidate PSCell in the at least one candidate PSCell.

[0222] Correspondingly, the terminal device receives the first configuration information and attempts to access the candidate PSCell that meets the access condition in the at least one candidate PSCell configured in the first configuration information.

[0223] S720, the terminal device determines that the number of times of failed access to the candidate PSCell is greater than or equal to a preset threshold.

[0224] S730, the terminal device sends SCG failure information to the primary access network device.

[0225] Correspondingly, the primary access network device receives the SCG failure information.

[0226] S740, the primary access network device sends second configuration information to the terminal device based on the received SCG failure information.

[0227] Correspondingly, the terminal device receives the second configuration information.

[0228] Optionally, S750, the terminal device configures the PSCell according to the second configuration information.

[0229] In the embodiment of the present application, both the first configuration information and the second configuration information are incremental configurations based on the configuration of the PSCell before the terminal device obtains the first configuration information. Considering that after the terminal device fails to access a candidate PSCell once, it may still attempt to access the next candidate PSCell that meets the access conditions until the number of access attempts reaches the preset threshold. The preset threshold can be obtained by the terminal device in advance. Therefore, in the embodiment of the present application, when the number of times of failed access to the candidate PSCell by the terminal device reaches or exceeds the preset threshold, the terminal device sends SCG failure information to the primary access network device, triggering the primary access network device to send new configuration (i.e., the second configuration information). Since the number of failed attempts of the terminal device has reached or exceeded the preset threshold, the terminal device will not access other PSCs anymore. Therefore, the PSCell of the terminal device will not change (i.e., the PSCell of the terminal device is still the configuration of the PSCell before the terminal device receives the first configuration information). After receiving the second configuration information, the terminal device can directly configure the PSCell according to the second configuration information.

[0230] The method for configuring the PSCell in the embodiment of the present application enables the network device to send the second configuration information to the terminal device only when the configuration of the PSCell of the terminal device has not been changed based on the first configuration information by the terminal device sending the SCG failure information to the primary access network device when the number of times of failed access to the candidate PSCell by the terminal device is greater than or equal to the preset threshold, avoiding the situation where the configuration of the PSCell of the terminal device has become the configuration of the candidate PSCell, while the new configuration sent by the primary access network device is an incremental configuration based on the PSCell accessed by the terminal device before, which is beneficial to avoiding service interruption caused by RRC reconstruction of the terminal device and improving the efficiency of configuring the PSCell of the terminal device.

[0231] It should be understood that the above method 700 is based on the premise that the master access network device only issues a new configuration (i.e., the second configuration information) to the terminal device according to the SCG failure information reported by the terminal device. If the terminal device does not send the SCG failure information to the network device, the master access network device will not issue a new configuration to the terminal device.

[0232] It should be understood that the magnitudes of the sequence numbers of the above processes do not imply the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0233] In the above text, in combination with Figures 1 to 7 , a method for configuring a primary and secondary cell according to an embodiment of the present application is described in detail. Next, in combination with Figures 8 to 9 , a device for configuring a primary and secondary cell according to an embodiment of the present application will be described in detail.

[0234] Figure 8 Fig. 800 shows a device for configuring a primary and secondary cell provided by an embodiment of the present application. In one design, the device 800 may be a terminal device or a chip in the terminal device. In another design, the device 800 may be a network device or a chip in the network device. The network device may be a master access network device or a secondary access network device in a DC communication scenario. The device 800 includes: a transceiver unit 810 and a processing unit 820.

[0235] In a possible implementation manner, the device 800 is used to execute each process and step corresponding to the network device in the above method.

[0236] The transceiver unit 810 is configured to: receive secondary cell group (SCG) failure information from a terminal device. The terminal device has first configuration information, and the first configuration information includes configurations of at least one candidate primary secondary cell (PSCell). The SCG failure information carries at least one of the following information: whether the terminal device is configured with conditional PSCell addition or change of CPAC; the terminal device is configured with the CPAC; or, the number of times the terminal device performs access to the at least one candidate PSCell. The processing unit 820 is configured to: determine whether to change the configuration of the PSCell of the terminal device according to the SCG failure information.

[0237] Optionally, the processing unit 820 is specifically configured to: when the terminal device is not configured with the CPAC, or the number of times the terminal device performs access to the at least one candidate PSCell is greater than or equal to a preset threshold, determine to change the configuration of the PSCell of the terminal device.

[0238] Optionally, the transceiver unit 810 is further configured to: send second configuration information to the terminal device, where both the first configuration information and the second configuration information are incremental configurations based on the configuration of the PSCell before the terminal device obtains the first configuration information.

[0239] Optionally, the processing unit 820 is specifically configured to: when the terminal device is configured with the CPAC, or when the number of times the terminal device performs candidate primary and secondary cell access is less than a preset threshold, determine not to change the configuration of the PSCell of the terminal device, or determine to change the configuration of the PSCell of the terminal device in a full configuration manner.

[0240] Optionally, the transceiver unit 810 is further configured to: send third configuration information to the terminal device, where the third configuration information includes full configuration indication information or release indication information; where the full configuration indication information is used to instruct the terminal device to initialize the wireless configuration, so that the wireless configuration is independent of the wireless configuration configured before the terminal device receives the third configuration information; the release indication information is used to instruct the terminal device to release the configuration of the PSCell before the terminal device receives the third configuration information.

[0241] Optionally, the device is used for a master access network device or a secondary access network device, including: the device is a master access network device or a secondary access network device; or, the device is a component for the device to be a master access network device or a secondary access network device, such as a chip or a chip system.

[0242] Optionally, when the device is used for a master access network device, the processing unit 820 is further configured to: determine whether it is the master access network device or the secondary access network device that configures the CPAC for the terminal device; the transceiver unit 810 is further configured to: when it is the secondary access network device that configures the CPAC for the terminal device, send the SCG failure information to the secondary access network device.

[0243] Optionally, the device is for a primary access network device, and the transceiver unit 810 is further configured to: send a first request message to a secondary access network device, where the first request message is used to request to add or modify the configuration of a candidate PSCell; receive a first response message from the secondary access network device, where the first response message carries the number of candidate PSCs that need to be added or modified; based on the number of candidate PSCs, send at least one second request message to the secondary access network device, where the at least one second request message is used to request to add or modify the configuration of a candidate PSCell; receive at least one second response message from the secondary access network device, where each of the at least one second response messages carries the identifier of the candidate PSCell corresponding to the at least one second request message; and send the first configuration information to the terminal device based on the first response message and the at least one second response message.

[0244] Optionally, the device is for a secondary access network device, and the transceiver unit 810 is further configured to: receive a first request message from a primary access network device, where the first request message is used to request to add or modify the configuration of a candidate PSCell; send a first response message to the primary access network device, where the first response message carries the number of candidate PSCs that need to be added or modified; receive at least one second request message from the secondary access network device, where the at least one second request message is used to request to add or modify the configuration of a candidate primary-secondary cell (PSCell); and send at least one second response message to the primary access network device, where each of the at least one second response messages carries the identifier of the candidate PSCell corresponding to the at least one second request message.

[0245] Optionally, the device is for a primary access network device, and the transceiver unit 810 is further configured to: send at least one request message to a secondary access network device, where the at least one request message is used to request to add or modify the configuration of a candidate PSCell, where one request message carries the measurement result of one candidate PSCell or the identifier of one candidate PSCell; receive at least one response message from the secondary access network device, where each of the at least one response messages is used to indicate whether to accept the at least one request message; and send the first configuration information to the terminal device based on the at least one response message.

[0246] Optionally, the device is for a secondary access network device, and the transceiver unit 810 is further configured to: receive at least one request message from the primary access network device, where the at least one request message is used to request to increase or modify the configuration of a candidate PSCell, and one request message carries the measurement result of a candidate PSCell or the identifier of a candidate PSCell; and based on the at least one request message, send at least one response message to the primary access network device, where the at least one response message is respectively used to indicate whether to accept the at least one request message.

[0247] In another possible implementation, the device 800 is used to execute the respective processes and steps corresponding to the terminal device in the above method.

[0248] The device is for a terminal device or the device is a terminal device, and the terminal device has first configuration information, where the first configuration information includes the configuration of at least one candidate primary secondary cell (PSCell); the processing unit 820 is configured to: determine that the secondary cell group (SCG) access fails, and the transceiver unit 810 is configured to: the terminal device sends SCG failure information to the primary access network device, and the SCG failure information includes at least one of the following information: whether the terminal device is configured with conditional PSCell addition or change (CPAC); the device is configured with the CPAC; or, the number of times the terminal device performs access to the at least one candidate PSCell.

[0249] Optionally, the SCG access failure means that there is a problem with the SCG of the terminal device, or the terminal device fails to access one of the at least one candidate PSCells.

[0250] Optionally, the transceiver unit 810 is further configured to: receive second configuration information from the primary access network device, where both the first configuration information and the second configuration information are incremental configurations based on the configuration of the PSCell before the device obtains the first configuration information; and the processing unit 820 is further configured to: based on the second configuration information, connect the terminal device to a PSCell that meets the conditions.

[0251] Optionally, the transceiver unit 810 is further configured to: receive third configuration information from the master access network device, where the third configuration information includes full configuration indication information or release indication information. The full configuration indication information is used to instruct the device to initialize the radio configuration so that the radio configuration is independent of the radio configuration configured before the terminal device receives the third configuration information. The release indication information is used to instruct the device to release the configuration of the PSCell before the terminal device receives the third configuration information. The processing unit 820 is further configured to: release the configuration of the PSCell before the terminal device receives the third configuration information.

[0252] It should be understood that the device 800 here is embodied in the form of functional units. The term "unit" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group of processors, etc.) for executing one or more software or firmware programs, a memory, a combined logic circuit, and / or other suitable components that support the described functions. In an alternative example, those skilled in the art can understand that the device 800 may specifically be the terminal device or the network device in the above embodiments. The device 800 can be used to execute the respective processes and / or steps corresponding to the terminal device or the network device in the above method embodiments. To avoid repetition, it will not be elaborated here.

[0253] The device 800 in the above respective solutions has the function of implementing the corresponding steps executed by the terminal device or the network device in the above method. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. For example, the transceiver unit 810 described above may include a sending unit and a receiving unit. The sending unit can be used to implement the respective steps and / or processes corresponding to the transceiver unit for executing the sending action, and the receiving unit can be used to implement the respective steps and / or processes corresponding to the transceiver unit for executing the receiving action. The sending unit can be replaced by a transmitter, and the receiving unit can be replaced by a receiver, respectively performing the transceiver operations and related processing operations in each method embodiment.

[0254] In the embodiments of the present application, Figure 8 the device 800 may also be a chip or a chip system, for example: a system on chip (SoC). Correspondingly, the transceiver unit 810 may be the transceiver circuit of the chip, which is not limited here.

[0255] Figure 9Another apparatus 900 for configuring a primary-secondary cell provided by an embodiment of the present application is shown. The apparatus 900 includes a processor 910, a transceiver 920, and a memory 930. Among them, the processor 910, the transceiver 920, and the memory 930 communicate with each other through an internal connection path. The memory 930 is used to store instructions, and the processor 910 is used to execute the instructions stored in the memory 930 to control the transceiver 920 to send and / or receive signals.

[0256] In a possible implementation manner, the apparatus 900 is used to execute each process and step corresponding to the network device in the above method.

[0257] Among them, the processor 910 is used to: receive, through the transceiver 920, secondary cell group (SCG) failure information from a terminal device. The terminal device has first configuration information, and the first configuration information includes configurations of at least one candidate primary-secondary cell (PSCell). The SCG failure information carries at least one of the following information: whether the terminal device is configured with conditional PSCell addition or changed conditional PSCell addition and change (CPAC); the terminal device is configured with the CPAC; or, the number of times the terminal device performs access to the at least one candidate PSCell; and determine whether to change the configuration of the PSCell of the terminal device according to the SCG failure information.

[0258] In another possible implementation manner, the apparatus 900 is used to execute each process and step corresponding to the terminal device in the above method.

[0259] Among them, the apparatus is for a terminal device or the apparatus is a terminal device. The terminal device has first configuration information, and the first configuration information includes configurations of at least one candidate primary-secondary cell (PSCell). The processor 910 is used to: determine that the access of the secondary cell group (SCG) fails; send, through the transceiver 920, SCG failure information to the primary access network device. The SCG failure information includes at least one of the following information: whether the terminal device is configured with conditional PSCell addition or changed conditional PSCell addition and change (CPAC); the terminal device is configured with the CPAC; or, the number of times the terminal device performs access to the at least one candidate PSCell.

[0260] It should be understood that the device 900 may specifically be the terminal device or network device in the above embodiments, and may be used to execute each step and / or process corresponding to the terminal device or network device in the above method embodiments. Optionally, the memory 930 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A part of the memory may further include a non-volatile random access memory. For example, the memory may also store information about the device type. The processor 910 may be used to execute the instructions stored in the memory, and when the processor 910 executes the instructions stored in the memory, the processor 910 is used to execute each step and / or process of the above method embodiment corresponding to the terminal device or network device. The transceiver 920 may include a transmitter and a receiver. The transmitter may be used to implement each step and / or process corresponding to the above transceiver for performing the sending action, and the receiver may be used to implement each step and / or process corresponding to the above transceiver for performing the receiving action.

[0261] It should be understood that in the embodiments of the present application, the processor of the above device may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0262] In the implementation process, each step of the above method may be completed by the integrated logic circuit in the hardware of the processor or the instructions in software form. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by the hardware processor, or executed and completed by a combination of the hardware and software units in the processor. The software units may be located in mature storage media in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. The storage media is located in the memory, and the processor executes the instructions in the memory and combines its hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.

[0263] Those of ordinary skill in the art can realize that, in combination with the method steps and units described in the embodiments disclosed herein, they can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the steps and components of the embodiments have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those of ordinary skill in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0264] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0265] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings or direct couplings or communication connections to each other can be indirect couplings or communication connections through some interfaces, devices, or units, and can also be electrical, mechanical, or other forms of connection.

[0266] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of this application.

[0267] In addition, the functional units in each embodiment of this application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0268] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0269] As described above, the foregoing is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims

1. A method for configuring a primary cell and a secondary cell, characterized in that, Including: The network device receives secondary cell group (SCG) failure information from the terminal device. The terminal device has first configuration information, which includes the configuration of at least one candidate primary secondary cell (PSCell). The SCG failure information carries at least one of the following information: Whether the terminal device is configured with conditional PSCell addition or change of conditional PSCell addition and change (CPAC); The terminal device is configured with the CPAC; or The number of times the terminal device attempts to access the at least one candidate PSCell; The network device determines whether to change the PSCell configuration of the terminal device according to the SCG failure information.

2. The method according to claim 1, wherein The network device determines whether to change the PSCell configuration of the terminal device according to the SCG failure information, including: When the terminal device is not configured with the CPAC, or the number of times the terminal device attempts to access the at least one candidate PSCell is greater than or equal to a preset threshold, the network device determines to change the PSCell configuration of the terminal device.

3. The method according to claim 2, characterized in that, The method further includes: The network device sends second configuration information to the terminal device. Both the first configuration information and the second configuration information are incremental configurations based on the PSCell configuration of the terminal device before obtaining the first configuration information.

4. The method according to claim 1, characterized in that, The network device determines whether to change the PSCell configuration of the terminal device according to the SCG failure information, including: When the terminal device is configured with the CPAC, or the number of times the terminal device attempts to access the candidate primary secondary cell is less than the preset threshold, the network device determines not to change the PSCell configuration of the terminal device, or the network device determines to change the PSCell configuration of the terminal device in a full configuration manner.

5. The method according to claim 4, wherein The method further includes: The network device sends third configuration information to the terminal device. The third configuration information includes full configuration indication information or release indication information; Wherein, the full configuration indication information is used to instruct the terminal device to initialize the radio configuration so that the radio configuration is independent of the radio configuration configured before the terminal device receives the third configuration information; the release indication information is used to instruct the terminal device to release the PSCell configuration before the terminal device receives the third configuration information.

6. The method according to any one of claims 1 to 5, characterized in that, The network device is a primary access network device or a secondary access network device.

7. The method according to any one of claims 1 to 5, characterized in that, When the network device is a primary access network device, the method further includes: The primary access network device determines whether it is the primary access network device or the secondary access network device that configures the CPAC for the terminal device; When the primary access network device determines that it is the secondary access network device that configures the CPAC for the terminal device, the primary access network device sends the SCG failure information to the secondary access network device.

8. The method according to any one of claims 1 to 5, characterized in that, When the network device is a primary access network device, the method further includes: The primary access network device sends a first request message to the secondary access network device. The first request message is used to request to increase or modify the configuration of the candidate PSCell. The master access network device receives a first response message from the secondary access network device, where the first response message carries the number of candidate PSCs that need to be added or modified; Based on the number of candidate PSCs, the master access network device sends at least one second request message to the secondary access network device, where the at least one second request message is used to request to add or modify the configuration of the candidate PSCs; The master access network device receives at least one second response message from the secondary access network device, where the at least one second response message carries the identifiers of the candidate PSCs corresponding to the at least one second request message respectively; Based on the first response message and the at least one second response message, the master access network device sends the first configuration information to the terminal device.

9. The method according to any one of claims 1 to 5, characterized in that, The network device is a secondary access network device, and the method further includes: The secondary access network device receives a first request message from the master access network device, where the first request message is used to request to add or modify the configuration of the candidate PSCs; The secondary access network device sends a first response message to the master access network device, where the first response message carries the number of candidate PSCs that need to be added or modified; The secondary access network device receives at least one second request message from the master access network device, where the at least one second request message is used to request to add or modify the configuration of the candidate primary-secondary cell (PSC); The secondary access network device sends at least one second response message to the master access network device, where the at least one second response message carries the identifiers of the candidate PSCs corresponding to the at least one second request message respectively.

10. The method according to any one of claims 1 to 5, characterized in that The network device is a master access network device, and the method further includes: The master access network device sends at least one request message to the secondary access network device, where the at least one request message is used to request to add or modify the configuration of the candidate PSCs, and where one request message carries the measurement result of one candidate PSC or the identifier of one candidate PSC; The master access network device receives at least one response message from the secondary access network device, where the at least one response message is used to indicate whether to accept the at least one request message respectively; Based on the at least one response message, the master access network device sends the first configuration information to the terminal device.

11. The method according to any one of claims 1 to 5, characterized in that, The network device is a secondary access network device, and the method further includes: The secondary access network device receives at least one request message from the master access network device, where the at least one request message is used to request to add or modify the configuration of the candidate PSCs, and where one request message carries the measurement result of one candidate PSC or the identifier of one candidate PSC; Based on the at least one request message, the secondary access network device sends at least one response message to the master access network device, where the at least one response message is used to indicate whether to accept the at least one request message respectively.

12. A method for configuring a primary cell and a secondary cell, characterized in that, including: The terminal device determines that the secondary cell group (SCG) access fails. The terminal device has first configuration information, and the first configuration information includes the configuration of at least one candidate primary secondary cell (PSCell). The terminal device sends SCG failure information to the primary access network device, and the SCG failure information includes at least one of the following information: Whether the terminal device is configured with conditional PSCell addition or change of CPAC; The terminal device is configured with the CPAC; or The number of times the terminal device attempts to access the at least one candidate PSCell.

13. The method according to claim 12, characterized in that, The SCG access failure indicates that there is a problem with the SCG of the terminal device, or the terminal device fails to access one of the at least one candidate PSCs.

14. The method according to claim 12 or 13, characterized in that, The method further includes: The terminal device receives second configuration information from the primary access network device. Both the first configuration information and the second configuration information are incremental configurations based on the configuration of the PSCell before the terminal device obtains the first configuration information. The terminal device accesses a PSCell that meets the conditions based on the second configuration information.

15. The method according to claim 12 or 13, characterized in that, The method further includes: The terminal device receives third configuration information from the primary access network device. The third configuration information includes full configuration indication information or release indication information. The full configuration indication information is used to instruct the terminal device to initialize the radio configuration so that the radio configuration is independent of the radio configuration configured before the terminal device receives the third configuration information. The release indication information is used to instruct the terminal device to release the configuration of the PSCell before the terminal device receives the third configuration information. The terminal device releases the configuration of the PSCell before the terminal device receives the third configuration information.

16. A device for configuring a primary cell and a secondary cell, characterized in that, It includes: A transceiver unit, configured to receive SCG failure information from a terminal device. The terminal device has first configuration information, and the first configuration information includes the configuration of at least one candidate PSCell. The SCG failure information carries at least one of the following information: Whether the terminal device is configured with conditional PSCell addition or change of CPAC; The terminal device is configured with the CPAC; or The number of times the terminal device attempts to access the at least one candidate PSCell; A processing unit, configured to determine whether to change the PSCell configuration of the terminal device according to the SCG failure information.

17. The device according to claim 16, characterized in that, Specifically, the processing unit is configured to: When the terminal device is not configured with the CPAC, or the number of times the terminal device attempts to access the at least one candidate PSCell is greater than or equal to a preset threshold, determine to change the PSCell configuration of the terminal device.

18. The device according to claim 17, characterized in that, The transceiver unit is further configured to: Send second configuration information to the terminal device. Both the first configuration information and the second configuration information are incremental configurations based on the configuration of the PSCell before the terminal device obtains the first configuration information.

19. The device according to claim 16, characterized in that, Specifically, the processing unit is configured to: When the terminal device is configured with the CPAC, or when the number of times the terminal device performs candidate primary and secondary cell access is less than a preset threshold, it is determined not to change the configuration of the PSCell of the terminal device, or it is determined to change the configuration of the PSCell of the terminal device in a full-configuration manner.

20. The device according to claim 19, wherein The transceiver unit is further configured to: Send third configuration information to the terminal device, where the third configuration information includes full-configuration indication information or release indication information; Wherein, the full-configuration indication information is used to instruct the terminal device to initialize the radio configuration, so that the radio configuration is independent of the radio configuration configured before the terminal device receives the third configuration information; the release indication information is used to instruct the terminal device to release the configuration of the PSCell before the terminal device receives the third configuration information.

21. The device according to any one of claims 16 to 20, characterized in that, The device is used for a primary access network device or a secondary access network device.

22. The device according to any one of claims 16 to 20, characterized in that, When the device is used for a primary access network device, the processing unit is further configured to: Determine whether it is the primary access network device or the secondary access network device that configures the CPAC for the terminal device; The transceiver unit is further configured to: When it is the secondary access network device that configures the CPAC for the terminal device, send the SCG failure information to the secondary access network device.

23. The device according to any one of claims 16 to 20, characterized in that, When the device is used for a primary access network device, the transceiver unit is further configured to: Send a first request message to the secondary access network device, where the first request message is used to request to increase or modify the configuration of the candidate PSCell; Receive a first response message from the secondary access network device, where the first response message carries the number of candidate PSCs that need to be increased or modified; Based on the number of candidate PSCs, send at least one second request message to the secondary access network device, where the at least one second request message is used to request to increase or modify the configuration of the candidate PSCell; Receive at least one second response message from the secondary access network device, where each of the at least one second response messages carries the identifier of the candidate PSC corresponding to the at least one second request message; Based on the first response message and the at least one second response message, send the first configuration information to the terminal device.

24. The device according to any one of claims 16 to 20, characterized in that, When the device is used for a secondary access network device, the transceiver unit is further configured to: Receive a first request message from the primary access network device, where the first request message is used to request to increase or modify the configuration of the candidate PSCell; Send a first response message to the primary access network device, where the first response message carries the number of candidate PSCs that need to be increased or modified; Receive at least one second request message from the secondary access network device, where the at least one second request message is used to request to increase or modify the configuration of the candidate primary and secondary cell PSCell; Send at least one second response message to the primary access network device, where each of the at least one second response messages carries the identifier of the candidate PSC corresponding to the at least one second request message.

25. The device according to any one of claims 16 to 20, characterized in that When the device is a primary access network device, the transceiver unit is further configured to: Send at least one request message to a secondary access network device, where the at least one request message is used to request to add or modify the configuration of a candidate PSCell, and one request message carries a measurement result of a candidate PSCell or an identifier of a candidate PSCell; Receive at least one response message from the secondary access network device, where the at least one response message is respectively used to indicate whether to accept the at least one request message; Based on the at least one response message, send the first configuration information to the terminal device.

26. The device according to any one of claims 16 to 20, characterized in that, The device is for a secondary access network device, and the transceiver unit is further used for: Receive at least one request message from a primary access network device, where the at least one request message is used to request to add or modify the configuration of a candidate PSCell, and one request message carries a measurement result of a candidate PSCell or an identifier of a candidate PSCell; Based on the at least one request message, send at least one response message to the primary access network device, where the at least one response message is respectively used to indicate whether to accept the at least one request message.

27. A device for configuring a primary cell and a secondary cell, characterized in that, The device is for a terminal device, and the terminal device has first configuration information, and the first configuration information includes the configuration of at least one candidate primary secondary cell PSCell. The device includes: A processing unit, configured to determine that the secondary cell group SCG access fails; A transceiver unit, configured to send SCG failure information to a primary access network device, where the SCG failure information includes at least one of the following information: Whether the terminal device is configured with conditional PSCell addition or change CPAC; The terminal device is configured with the CPAC; or The number of times the terminal device performs access to the at least one candidate PSCell.

28. The device according to claim 27, characterized in that, The SCG access failure means that there is a problem with the SCG of the terminal device, or the terminal device fails to access one of the at least one candidate PSCells.

29. The device according to claim 27 or 28, characterized in that, The transceiver unit is further used for: Receive second configuration information from the primary access network device, where both the first configuration information and the second configuration information are incremental configurations based on the configuration of the PSCell before the device obtains the first configuration information; The processing unit is further used for: Based on the second configuration information, connect the terminal device to a PSCell that meets the conditions.

30. The device according to claim 27 or 28, characterized in that, The transceiver unit is further used for: Receive third configuration information from the primary access network device, where the third configuration information includes full configuration indication information or release indication information, where the full configuration indication information is used to indicate that the device initializes the radio configuration so that the radio configuration is independent of the radio configuration configured before the terminal device receives the third configuration information; the release indication information is used to indicate that the device releases the configuration of the PSCell before the terminal device receives the third configuration information; The processing unit is further used for: Release the configuration of the PSCell before the terminal device receives the third configuration information.

31. A communication device, characterized in that, Includes: A memory and a processor; The memory is used for storing a computer program, and when the processor calls the computer program in the memory, the device is caused to execute the method according to any one of claims 1 to 15.

32. A computer-readable medium for storing a computer program, characterized in that, The computer program includes instructions for implementing the method according to any one of claims 1 to 15.