Cell switching method, device, equipment, medium and program product
By determining the main card and the secondary card in the dual-card dual-pass terminal device and switching to the same cell according to the measurement results of the main card, the signal interference problem caused by the card switching to different cells is solved, and the communication performance is improved.
Patent Information
- Application Number
- CN202510559829.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-07-29
AI Technical Summary
In dual-card dual-pass terminal devices, when two cards switch to different cells, they will cause signal interference and cannot be in the connected state at the same time, affecting communication performance.
By determining the main card and the secondary card when the first card enters the connected state, and sending instructions and identification of the card to the network device, the network device performs measurement and configuration, and switches the main card and the secondary card to the same target cell according to the measurement results of the main card.
The two cards are switched to the same cell to avoid signal interference, ensure that both cards can be in a connected state, and the communication performance of the terminal equipment is improved.
Smart Images

Figure CN120390264A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a cell switching method, apparatus, device, medium, and program product. Background Art
[0002] Dual SIM Dual Active (DSDA) means that a terminal device has two SIM cards (Subscriber Identity Module (SIM) cards) installed, and both cards are in a connected state.
[0003] When the terminal device controls two cards to perform cell switching, the two cards may be switched to different cells, resulting in signal interference, which in turn causes the two cards to be unable to be in a connected state at the same time.
[0004] Therefore, there is an urgent need for a cell switching method that can enable two cards to switch to the same cell. Summary of the Invention
[0005] The embodiments of the present application provide a cell switching method, apparatus, device, medium, and program product, which can enable two cards to switch to the same cell, thereby improving the communication performance of the terminal device.
[0006] In a first aspect, an embodiment of the present application provides a cell switching method, which is applied to a terminal device, wherein the terminal device includes a first card and a second card, and the first card and the second card reside in a first cell; the method includes:
[0007] When the first card enters the connection state, during the process of the second card entering the connection state, determining whether the first card or the second card is a primary card or a secondary card, and sending indication information and an identifier of the first card to the network device; the indication information indicates whether the second card is a primary card or a secondary card;
[0008] In response to a first measurement configuration message corresponding to the main card sent by the network device, performing measurement to obtain a first measurement result corresponding to the main card; the first measurement configuration message is determined by the network device according to the indication information and the identifier of the first card;
[0009] According to the first measurement result corresponding to the primary card, the cell where the primary card resides and the cell where the secondary card resides are switched from the first cell to the target cell.
[0010] In one implementation, switching the cell where the primary card resides and the cell where the secondary card resides from the first cell to the target cell according to the first measurement result corresponding to the primary card includes:
[0011] Determine a first reconfiguration message and a second reconfiguration message according to the first measurement result corresponding to the primary card; the first reconfiguration message corresponds to the primary card and the target cell, and the second reconfiguration message corresponds to the secondary card and the target cell;
[0012] According to the first reconfiguration message, switch the cell where the primary card camps from the first cell to the target cell;
[0013] According to the second reconfiguration message, switch the cell where the secondary card camps from the first cell to the target cell.
[0014] In one implementation, determining the first reconfiguration message and the second reconfiguration message according to the first measurement result corresponding to the primary card includes:
[0015] Send the first measurement result corresponding to the primary card to the network device; the first measurement result corresponding to the primary card is used for the network device to determine the first reconfiguration message and the second reconfiguration message;
[0016] Obtain the first reconfiguration message and the second reconfiguration message sent by the network device.
[0017] In one implementation, the first measurement configuration message includes information corresponding to multiple candidate cells; the message corresponding to each candidate cell includes conditional handover CHO configuration information corresponding to the candidate cell, a reconfiguration message corresponding to the first card and the candidate cell, and a reconfiguration message corresponding to the second card and the candidate cell;
[0018] The first measurement result includes measurement results of multiple candidate cells;
[0019] Determine the first reconfiguration message and the second reconfiguration message according to the first measurement result corresponding to the primary card, including:
[0020] Determine the target cell among the multiple candidate cells according to the measurement results of the multiple candidate cells and the CHO configuration information corresponding to each candidate cell;
[0021] Determine the reconfiguration message corresponding to the first card and the target cell as the first reconfiguration message;
[0022] Determine the reconfiguration message corresponding to the second card and the target cell as the second reconfiguration message.
[0023] In one implementation, the method further includes:
[0024] In response to the second measurement configuration message corresponding to the primary card sent by the network device, perform measurement to obtain the second measurement result corresponding to the primary card; the second test configuration message is determined by the network device according to the indication information and the identifier of the first card;
[0025] According to the second measurement result corresponding to the primary card, switch the secondary cell group SCG where the primary card camps and the corresponding SCG where it camps from the first SCG to the target SCG.
[0026] In one implementation, according to the second measurement result corresponding to the primary card, switching the secondary cell group SCG where the primary card camps and the SCG where the secondary card camps from the first SCG to the target SCG includes:
[0027] Determine a third reconfiguration message and a fourth reconfiguration message according to the second measurement result corresponding to the primary card; the third reconfiguration message corresponds to the primary card and the target SCG, and the fourth reconfiguration message corresponds to the secondary card and the target SCG;
[0028] According to the third reconfiguration message, switch the SCG where the primary card camps from the first SCG to the target SCG;
[0029] According to the fourth reconfiguration message, switch the SCG where the secondary card camps from the first SCG to the target SCG.
[0030] In one implementation, the second measurement configuration message includes information corresponding to multiple candidate SCGs; the message corresponding to each candidate SCG includes conditional primary-secondary cell change CPC configuration information corresponding to the candidate SCG, a reconfiguration message corresponding to the first card and the candidate SCG, and a reconfiguration message corresponding to the second card and the candidate SCG;
[0031] The second measurement result includes measurement results of multiple candidate SCGs;
[0032] Determining a third reconfiguration message and a fourth reconfiguration message according to the second measurement result corresponding to the primary card includes:
[0033] Determine the target SCG among multiple candidate SCGs according to the measurement results of multiple candidate SCGs and the CPC configuration information corresponding to each candidate SCG;
[0034] Determine the reconfiguration message corresponding to the primary card and the target SCG as the third reconfiguration message;
[0035] Determine the reconfiguration message corresponding to the secondary card and the target SCG as the fourth reconfiguration message.
[0036] In one implementation, the method further includes:
[0037] When the primary card or the secondary card meets the reconstruction trigger condition, disconnect the connection between the primary card and the network device, and disconnect the connection between the secondary card and the network device;
[0038] Determine the target reconstruction cell corresponding to the primary card, and perform cell reconstruction processing on the primary card according to the target reconstruction cell;
[0039] During the process of performing cell reconstruction processing on the secondary card according to the target reconstructed cell, send indication information and the identifier of the primary card to the network device; the indication information indicates that the card for which cell reconstruction is performed is the secondary card.
[0040] In one implementation, when the first card enters the connected state and during the process of the second card entering the connected state, determine the primary card and the secondary card among the first card and the second card, and send indication information and the identifier of the first card to the network device, including:
[0041] When the first card enters the connected state and during the process of the second card transitioning from the deactivated state to the connected state, determine the primary card and the secondary card among the first card and the second card;
[0042] In response to the recovery message sent by the network device, send a recovery completion message to the network device; the recovery completion message includes indication information and the identifier of the first card.
[0043] In one implementation, when the first card enters the connected state and during the process of the second card entering the connected state, determine the primary card and the secondary card among the first card and the second card, and send indication information and the identifier of the first card to the network device, including:
[0044] When the first card transitions from the idle state to the connected state and during the process of the second card transitioning from the idle state to the connected state, determine the primary card and the secondary card among the first card and the second card;
[0045] In response to the establishment message sent by the network device, send an establishment completion message to the network device; the establishment completion message includes indication information and the identifier of the first card.
[0046] In one implementation, the network type corresponding to the first cell is different from the network type corresponding to the target cell;
[0047] Obtain the first reconfiguration message and the second reconfiguration message sent by the network device, including:
[0048] Obtain the handover information sent by the network device; the handover message includes the first reconfiguration message and the second reconfiguration message; wherein, both the first reconfiguration message and the second reconfiguration message match the network type of the target cell.
[0049] In a second aspect, an embodiment of the present application provides a cell handover device, which is applied to a terminal device. The terminal device includes a first card and a second card, and the first card and the second card camp on a first cell; the device includes:
[0050] a processing module, configured to, when the first card enters the connected state and during the process of the second card entering the connected state, determine whether the first card is a primary card or a secondary card, and send indication information and an identifier of the first card to the network device; the indication information indicates whether the second card is a primary card or a secondary card;
[0051] a transceiver module, configured to perform measurement in response to a first measurement configuration message corresponding to the main card sent by the network device, and obtain a first measurement result corresponding to the main card; the first measurement configuration message is determined by the network device according to the indication information and the identifier of the first card;
[0052] The processing module is further configured to switch the cell where the primary card resides and the cell where the secondary card resides from the first cell to the target cell according to the first measurement result corresponding to the primary card.
[0053] In one implementation, the processing module is specifically configured to:
[0054] Determine a first reconfiguration message and a second reconfiguration message according to the first measurement result corresponding to the primary card; the first reconfiguration message corresponds to the primary card and the target cell, and the second reconfiguration message corresponds to the secondary card and the target cell;
[0055] According to the first reconfiguration message, the cell where the primary card resides is switched from the first cell to the target cell;
[0056] According to the second reconfiguration message, the cell where the secondary card resides is switched from the first cell to the target cell.
[0057] In one implementation, the processing module is specifically configured to:
[0058] Sending a first measurement result corresponding to the master card to the network device; the first measurement result corresponding to the master card is used by the network device to determine a first reconfiguration message and a second reconfiguration message;
[0059] A first reconfiguration message and a second reconfiguration message sent by the network device are acquired.
[0060] In one implementation, the first measurement configuration message includes information corresponding to multiple candidate cells; the message corresponding to each candidate cell includes conditional handover CHO configuration information corresponding to the candidate cell, a reconfiguration message corresponding to the first card and the candidate cell, and a reconfiguration message corresponding to the second card and the candidate cell;
[0061] The first measurement result includes measurement results of multiple candidate cells;
[0062] Processing module, specifically used for:
[0063] Determine a target cell among the multiple candidate cells based on measurement results of the multiple candidate cells and CHO configuration information corresponding to each candidate cell;
[0064] Determine the reconfiguration message corresponding to the first card and the target cell as the first reconfiguration message;
[0065] Determine the reconfiguration message corresponding to the second card and the target cell as the second reconfiguration message.
[0066] In one implementation,
[0067] The transceiver module is further configured to perform measurements in response to the second measurement configuration message corresponding to the primary card sent by the network device, and obtain the second measurement result corresponding to the primary card; the second test configuration message is determined by the network device according to the indication information and the identifier of the first card;
[0068] The processing module is further configured to, according to the second measurement result corresponding to the primary card, switch the secondary cell group SCG where the primary card camps and the corresponding SCG to which it camps from the first SCG to the target SCG.
[0069] In one implementation, the processing module is specifically configured to:
[0070] Determine a third reconfiguration message and a fourth reconfiguration message according to the second measurement result corresponding to the primary card; the third reconfiguration message corresponds to the primary card and the target SCG, and the fourth reconfiguration message corresponds to the secondary card and the target SCG;
[0071] According to the third reconfiguration message, switch the SCG where the primary card camps from the first SCG to the target SCG;
[0072] According to the fourth reconfiguration message, switch the SCG where the secondary card camps from the first SCG to the target SCG.
[0073] In one implementation, the second measurement configuration message includes information corresponding to multiple candidate SCGs; the message corresponding to each candidate SCG includes the conditional primary-secondary cell change CPC configuration information corresponding to the candidate SCG, the reconfiguration message corresponding to the first card and the candidate SCG, and the reconfiguration message corresponding to the second card and the candidate SCG;
[0074] The second measurement result includes the measurement results of multiple candidate SCGs;
[0075] The processing module is specifically configured to:
[0076] Determine the target SCG among the multiple candidate SCGs according to the measurement results of the multiple candidate SCGs and the CPC configuration information corresponding to each candidate SCG;
[0077] Determine the reconfiguration message corresponding to the primary card and the target SCG as the third reconfiguration message;
[0078] Determine the reconfiguration message corresponding to the secondary card and the target SCG as the fourth reconfiguration message.
[0079] In one implementation, the processing module is further configured to:
[0080] When the primary card or the secondary card meets the reconstruction trigger condition, disconnect the connection between the primary card and the network device, and disconnect the connection between the secondary card and the network device;
[0081] Determine the target reconstruction cell corresponding to the primary card, and perform cell reconstruction processing on the primary card according to the target reconstruction cell;
[0082] During the process of performing cell reconstruction processing on the secondary card according to the target reconstruction cell, send indication information and the identifier of the primary card to the network device; the indication information indicates that the card for which cell reconstruction is performed is the secondary card.
[0083] In one implementation, the processing module is specifically configured to:
[0084] When the first card enters the connected state, during the process of the second card entering the connected state from the deactivated state, determine the primary card and the secondary card among the first card and the second card;
[0085] In response to the recovery message sent by the network device, send a recovery completion message to the network device; the recovery completion message includes indication information and the identifier of the first card.
[0086] In one implementation, the processing module is specifically configured to:
[0087] When the first card enters the connected state from the idle state, during the process of the second card entering the connected state from the idle state, determine the primary card and the secondary card among the first card and the second card;
[0088] In response to the establishment message sent by the network device, send an establishment completion message to the network device; the establishment completion message includes indication information and the identifier of the first card.
[0089] In one implementation, the network type corresponding to the first cell is different from the network type corresponding to the target cell;
[0090] The processing module is specifically configured to:
[0091] Obtain the handover information sent by the network device; the handover message includes a first reconfiguration message and a second reconfiguration message; wherein, both the first reconfiguration message and the second reconfiguration message match the network type of the target cell.
[0092] In a third aspect, an embodiment of the present application provides a chip, on which a computer program is stored, and when the computer program is executed by the chip, the method according to any item of the first aspect is implemented.
[0093] Fourthly, an embodiment of the present application provides a chip module, on which a computer program is stored. When the computer program is executed by the chip module, the method according to any one of the first aspects is implemented.
[0094] Fifthly, an embodiment of the present application provides a terminal device, including a first card and a second card. The terminal device further includes: a memory and a processor;
[0095] The memory stores computer-executable instructions;
[0096] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method according to the first aspect.
[0097] Sixthly, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method according to the first aspect.
[0098] Seventhly, an embodiment of the present application provides a computer program product, including computer-executable instructions. When the computer-executable instructions are executed by a processor, the method according to the first aspect is executed.
[0099] An embodiment of the present application provides a cell handover method, device, equipment, medium and program product. In this method, the terminal device includes a first card and a second card, and the first card and the second card camp in a first cell. When the first card enters the connected state, the terminal device can determine the primary card and the secondary card among the first card and the second card during the process of the second card entering the connected state, and send indication information and the identifier of the first card to the network device; the indication information indicates whether the second card is the primary card or the secondary card. In response to the first measurement configuration message corresponding to the primary card sent by the network device, the terminal device can perform measurements to obtain the first measurement result corresponding to the primary card; wherein, the first test configuration message is determined by the network device according to the indication information and the identifier of the first card. The terminal device can, according to the first measurement result corresponding to the primary card, switch the cells camped by the primary card and the secondary card from the first cell to the target cell. In the method of the embodiment of the present application, the network device only needs to perform measurement configuration on the primary card among the first card and the second card. The terminal device can, according to the first measurement result corresponding to the primary card, control the primary card and the secondary card to perform cell handover, ensuring that the two cards can be switched to the same cell (target cell), and further enabling both cards to be in the connected state after switching to the same cell, thereby improving the communication performance of the terminal device. Description of the Drawings
[0100] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0101] Figure 1a A schematic diagram of an application scenario provided in an embodiment of the present application;
[0102] Figure 1b A schematic diagram of a terminal device provided in an embodiment of the present application;
[0103] Figure 2a Schematic diagram 1 of a flow chart of a cell switching method provided in an embodiment of the present application;
[0104] Figure 2b A schematic diagram of a cell handover scenario provided in an embodiment of the present application;
[0105] Figure 2c A schematic diagram of another cell handover scenario provided in an embodiment of the present application;
[0106] Figure 2d A schematic diagram of a cell switching process provided in an embodiment of the present application;
[0107] Figure 3 Schematic diagram 2 of a cell switching method provided in an embodiment of the present application;
[0108] Figure 4 A schematic diagram of a cell switching method provided in an embodiment of the present application Figure 3 ;
[0109] Figure 5 A schematic structural diagram of a cell switching device provided by an exemplary embodiment of the present application;
[0110] Figure 6 A schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0111] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0112] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the numbers used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0113] Glossary:
[0114] Dual SIM Dual Active (DSDA) means that two cards (Subscriber Identity Module (SIM) cards) are installed in the terminal device, and both cards are in a connected state.
[0115] Multi-Universal Subscriber Identity Module (MUSIM) User Equipment (UE): This refers to the ability of a single user device (terminal) to support multiple SIM cards. This feature was defined and standardized in Release 17 / 18 of the 3rd Generation Partnership Project (3GPP).
[0116] Dual Connectivity (DC): In the field of communications, dual connectivity technology generally refers to a single card on a terminal device being connected to two different network devices at the same time. This technology aims to improve data rates, coverage, and connection reliability. Dual connectivity can be Evolved Unified Terrestrial Radio Access Network (E-UTRAN)-NR dual connectivity (E-UTRA-NR dual connectivity, EN-DC) or New Radio (NR)-dual connectivity DC (NR-DC).
[0117] Figure 1a A schematic diagram of an application scenario provided in an embodiment of the present application.
[0118] Please refer to Figure 1a , this application scenario includes multiple network devices and terminal devices. For example, the network device can be a base station. Exemplarily, Figure 1a shows four network devices, namely network device 1, network device 2, network device 3, and network device 4.
[0119] Among them, network device 1 is the network device corresponding to the first cell where the terminal device camps.
[0120] Network device 2 is the network device corresponding to the target cell.
[0121] Network device 3 is the network device corresponding to the first Secondary Cell Group (SCG) where the terminal device camps.
[0122] Network device 4 is the network device corresponding to the target SCG.
[0123] It should be noted that Figure 1a the fact that the network devices corresponding to the shown first cell and the target cell are different is only for illustration and does not constitute a limitation to the embodiments of the present application. For example, Figure 1a in, the network devices corresponding to the first cell and the target cell can be the same network device.
[0124] Figure 1b is a schematic diagram of a terminal device provided by an embodiment of the present application.
[0125] Dual SIM Dual Active (DSDA) means that the terminal device installs two cards and both cards are in the connected state.
[0126] In the case where both cards are in the connected state, operations such as making a call with one card and surfing the Internet with the other card, or making a call with one card and getting a call reminder for the other card can be performed.
[0127] The two cards are cards of the same operator, or cards of different operators that share a network. When the terminal device controls the two cards to perform cell switching, there may be a situation where the two cards switch to different cells.
[0128] In the case where the two cards switch to different cells, signal interference will occur between the different cells, resulting in the inability of the two cards to be in the connected state simultaneously.
[0129] Therefore, there is an urgent need for a cell switching method that can make the two cards switch to the same cell.
[0130] Based on the above technical problems, an embodiment of the present application provides a cell handover method. The network device only needs to perform measurement configuration on the primary card among the first card and the second card. The terminal device can control the primary card and the secondary card to perform cell handover according to the first measurement result corresponding to the primary card, ensuring that the two cards can be switched to the same cell (target cell). Furthermore, after the two cards are switched to the same cell, both can be in the connected state, thereby improving the communication performance of the terminal device.
[0131] Next, the technical solution shown in the present application will be described in detail through specific embodiments. It should be noted that the following several embodiments can exist independently or be combined with each other. For the same or similar content, it will not be repeated in different embodiments.
[0132] Figure 2a FIG. 1 is a schematic flowchart of a cell handover method provided by an embodiment of the present application. Please refer to Figure 2a This method may include:
[0133] S201: When the first card enters the connected state and during the process of the second card entering the connected state, determine the primary card and the secondary card among the first card and the second card, and send indication information and the identifier of the first card to the network device.
[0134] In this embodiment, the terminal device includes two cards, namely the first card and the second card. It should be noted that the "card" refers to a Subscriber Identity Module (SIM) card.
[0135] The cell corresponding to the first card and the cell where the second card camps are both the first cell. That is to say, the two cards are in the same cell. In one implementation, the first cell can be an NR cell; in one implementation, the first cell can be a Long Term Evolution (LTE) cell. It should be noted that the first card and the second card can be cards of the same operator or cards of different operators that share the network.
[0136] The terminal device can first control the first card to enter the connected state.
[0137] The terminal device can determine the primary card and the secondary card among the first card and the second card when the first card enters the connected state and during the process of the second card entering the connected state.
[0138] In one implementation, the terminal device can determine the primary card and the secondary card among the first card and the second card when the first card enters the connected state from the idle (IDLE) state and during the process of the second card entering the connected state from the idle state.
[0139] In one implementation, when the first card enters the connected state, the terminal device can determine the primary card and the secondary card among the first card and the second card during the process of the second card transitioning from the deactivated (INACTIVE) state to the connected state. In one implementation, when the first card transitions from the deactivated state to the connected state, the terminal device can determine the primary card and the secondary card among the first card and the second card during the process of the second card transitioning from the deactivated state to the connected state.
[0140] Next, the process by which the terminal device determines the primary card and the secondary card among the first card and the second card will be described.
[0141] In one implementation, the terminal device can determine the service priority of the first service corresponding to the first card and determine the service priority of the second service corresponding to the second card. The terminal device can determine the primary card and the secondary card based on the service priority of the first service and the service priority of the second service. For example, when the terminal device determines that the service priority of the first service (telephone service) is higher than the service priority of the second service (Internet access), it can determine that the first card is the primary card and the second card is the secondary card.
[0142] In one implementation, the terminal device can determine the primary card and the secondary card among the first card and the second card according to the setting information pre-input by the user. Exemplarily, the setting information can be "the first card is the primary card and the second card is the secondary card".
[0143] After determining the primary card and the secondary card among the first card and the second card, the terminal device can send indication information and the identifier of the first card to the network device. The indication information indicates whether the second card is the primary card or the secondary card.
[0144] In one implementation, during the process of the second card transitioning from the idle state to the connected state, in response to the establishment message sent by the network device, the terminal device can send an establishment completion message to the network device. The establishment completion message includes the indication information and the identifier of the first card. For example, when the first cell is an NR cell, the establishment completion message can be an RRC Setup Complete message. For another example, when the first cell is an LTE cell, the establishment completion message can be an RRC Connection Setup Complete message.
[0145] In one implementation, during the process of the second card transitioning from the deactivated state to the connected state, in response to the resume message sent by the network device, the terminal device can send a resume completion message to the network device. The resume completion message includes the indication information and the identifier of the first card. Exemplarily, the resume completion message can be an RRC Resume Complete message.
[0146] Next, taking the first cell as an NR cell as an example, the process of the terminal device controlling the second card to enter the connected state from the idle state is described by way of example.
[0147] The terminal device (the central processing unit of the terminal device) runs the second thread and sends a Radio Resource Control (RRC) Request message to the network device.
[0148] The terminal device runs the second thread and obtains the RRC Setup message sent by the network device.
[0149] The terminal device runs the second thread and sends an RRC Setup Complete message to the network device. The RRC Setup Complete message includes indication information and the identifier of the first card. In one implementation, the indication message can be represented as the dsda_same_cell_and_master field. When the dsda_same_cell_and_master field is correct (TRUE), the indication message indicates that the second card is the master card. When the dsda_same_cell_and_master field is incorrect (FALSE), the indication message indicates that the second card is the secondary card. The identifier of the first card can be represented as the dsda_same_cell_other_card_c_rnti field. The dsda_same_cell_other_card_c_rnti field records the identifier of the first card. It should be noted that the identifier of the first card can be the temporary identifier of the first card - the Cell Radio Network Temporary Identifier (C-RNTI for short).
[0150] Next, taking the first cell as an NR cell as an example, the process of the terminal device controlling the second card to enter the connected state from the deactivated state is described by way of example.
[0151] The terminal device (the central processing unit of the terminal device) runs the second thread and sends an RRC ResumeRequest message to the network device.
[0152] The terminal device runs the second thread and obtains the RRC Resume message sent by the network device.
[0153] The terminal device runs a second thread and sends an RRC Resume Complete message to the network device. The RRC Resume Complete message includes indication information and the identifier of the first card. In one implementation, the indication message can be represented as the dsda_same_cell_and_master field. When the dsda_same_cell_and_master field is TRUE, the indication message indicates that the second card is the master card. When the dsda_same_cell_and_master field is FALSE, the indication message indicates that the second card is the secondary card. The identifier of the first card can be represented as the dsda_same_cell_other_card_c_rnti field. The dsda_same_cell_other_card_c_rnti field records the identifier of the first card. It should be noted that the identifier of the first card can be the C-RNTI of the first card.
[0154] S202: In response to the first measurement configuration message corresponding to the master card sent by the network device, perform measurements to obtain the first measurement result corresponding to the master card.
[0155] In this embodiment, after the network device obtains the indication information and the identifier of the second card sent by the terminal device, it can establish an association relationship between the first card and the second card based on the identifier of the second card.
[0156] The network device can determine the master card and the secondary card among the first card and the second card based on the indication information (indicating whether the second card is the master card or the secondary card) and the association relationship between the first card and the second card.
[0157] When the network device needs to perform measurement configuration, it can perform measurement configuration on the master card based on the master card and the secondary card among the first card and the second card. The network device does not need to perform measurement configuration on the secondary card. That is to say, the network device can send the first measurement configuration message corresponding to the master card to the terminal device.
[0158] The terminal device can obtain the first measurement configuration message corresponding to the master card sent by the network device. Among them, the first test configuration message is determined by the network device according to the indication information and the identifier of the first card.
[0159] In response to the first measurement configuration message corresponding to the master card sent by the network device, the terminal device can perform measurements to obtain the first measurement result corresponding to the master card.
[0160] In one implementation, when the first card is the primary card, the terminal device runs a first thread (the thread corresponding to the first card), obtains a first measurement configuration message corresponding to the primary card (the first card), and performs measurement processing according to the first measurement configuration message to obtain a first measurement result corresponding to the primary card. It should be noted that, in one implementation, when the first card is configured with a Measurement Gap, the first thread can stop data transmission and reception during the test gap. Additionally, the first thread can control the second thread to stop data transmission and reception during the test gap. Moreover, during the measurement gap, the network device stops data transmission and reception to the primary card and secondary card of the terminal device.
[0161] In one implementation, when the second card is the primary card, the terminal device runs a second thread (the thread corresponding to the second card), obtains a first measurement configuration message corresponding to the primary card (the second card), and performs measurement processing according to the first measurement configuration message to obtain a first measurement result corresponding to the primary card.
[0162] S203: According to the first measurement result corresponding to the primary card, switch the cell where the primary card camps and the cell where the secondary card camps from the first cell to the target cell.
[0163] In this embodiment, the terminal device can switch the cell where the primary card camps and the cell where the secondary card camps from the first cell to the target cell according to the first measurement result corresponding to the primary card.
[0164] In one implementation:
[0165] The terminal device can determine a first reconfiguration message and a second reconfiguration message according to the first measurement result corresponding to the primary card. Among them, the first reconfiguration message corresponds to the primary card and the target cell, and the second reconfiguration message corresponds to the secondary card and the target cell.
[0166] The terminal device can switch the cell where the primary card camps from the first cell to the target cell according to the first reconfiguration message.
[0167] The terminal device can switch the cell where the secondary card camps from the first cell to the target cell according to the second reconfiguration message.
[0168] It should be noted that the process of the terminal device switching the cell where the primary card camps from the first cell to the target cell and the process of the terminal device switching the cell where the secondary card camps from the first cell to the target cell occur simultaneously.
[0169] Through the above method, it is possible to synchronously switch the primary card and the secondary card to the same cell, avoid antenna interference caused by switching to different cells, and improve the communication performance of the terminal device.
[0170] Next, from the perspective of threads, the process in which the terminal device switches the cell where the primary card camps and the cell where the secondary card camps from the first cell to the target cell according to the first measurement result corresponding to the primary card will be described.
[0171] In one implementation:
[0172] Figure 2b This is a schematic diagram of a cell handover scenario provided for an embodiment of the present application. As Figure 2b shown, when the first card is the primary card and the second card is the secondary card, the terminal device runs the first thread (the thread corresponding to the first card), and can determine the first reconfiguration message and the second reconfiguration message according to the first measurement result corresponding to the primary card. The terminal device runs the first thread and can send the second reconfiguration message to the second thread (the thread corresponding to the second card). The terminal device runs the first thread and can switch the cell where the primary card camps from the first cell to the target cell according to the first reconfiguration message. The terminal device runs the second thread and can switch the cell where the secondary card camps from the first cell to the target cell according to the second reconfiguration message.
[0173] In one implementation:
[0174] Figure 2c This is another schematic diagram of a cell handover scenario provided for an embodiment of the present application. As Figure 2c shown, when the first card is the secondary card and the second card is the primary card, the terminal device runs the second thread, determines the first reconfiguration message and the second reconfiguration message according to the first measurement result corresponding to the primary card. The terminal device runs the second thread and can send the second reconfiguration message to the first thread. The terminal device runs the second thread and can switch the cell where the primary card camps from the first cell to the target cell according to the first reconfiguration message. The terminal device runs the first thread and can switch the cell where the secondary card camps from the first cell to the target cell according to the second reconfiguration message.
[0175] Next, the process in which the terminal device determines the first reconfiguration message and the second reconfiguration message according to the first measurement result corresponding to the primary card will be described.
[0176] In one implementation:
[0177] The terminal device may send the first measurement result corresponding to the primary card to the network device. The first measurement result corresponding to the primary card is used for the network device to determine the first reconfiguration message and the second reconfiguration message. It should be noted that, in one implementation, the first card is taken as the primary card. After the terminal device obtains the first measurement result corresponding to the primary card (the first card), when the network device recognizes that the first card is changed from the primary card to the secondary card, the network device may delete the first measurement result corresponding to the first card and send the first measurement configuration message corresponding to the new primary card to the terminal device.
[0178] The terminal device may obtain the first reconfiguration message and the second reconfiguration message sent by the network device.
[0179] It should be noted that, when both the first cell and the target cell are NR cells, that is, when the network types corresponding to the first cell and the target cell are both NR, the terminal device may obtain the RRC Reconfiguration message sent by the network device. The RRC Reconfiguration message includes the first reconfiguration message and the dsda_same_cell_other_card_configuration field, and this field is used to record the second reconfiguration message.
[0180] It should also be noted that, when both the first cell and the target cell are LTE cells, that is, when the network types corresponding to the first cell and the target cell are both LTE, the terminal device may obtain the RRC Connection Reconfiguration message sent by the network device. The RRC Connection Reconfiguration message includes the first reconfiguration message and the dsda_same_cell_other_card_configuration field, and this field is used to record the second reconfiguration message.
[0181] It should also be noted that, when the network types corresponding to the first cell and the target cell are different, the terminal device may obtain the handover information sent by the network device. The handover information includes the first reconfiguration message and the second reconfiguration message. Both the first reconfiguration message and the second reconfiguration message match the network type of the target cell.
[0182] For example, when the network type corresponding to the first cell is NR and the network type corresponding to the target cell is LTE, the terminal device can obtain the handover information (Mobility From NR Command message) sent by the network device. The Mobility From NR Command message includes a first reconfiguration message (RRC Connection Reconfiguration) and a dsda_same_cell_other_card_configuration field, which is used to record the second reconfiguration message.
[0183] For another example, when the network type corresponding to the first cell is LTE and the network type corresponding to the target cell is NR, the terminal device can obtain the handover information sent by the network device. The handover information includes a first reconfiguration message and a second reconfiguration message. Both the first reconfiguration message and the second reconfiguration message match the network type of the target cell - NR.
[0184] Figure 2d It is a schematic diagram of a cell handover process provided by an embodiment of this application. Next, in combination with Figure 2d , from the perspectives of the first thread and the second thread, an implementation method during the cell handover process will be described.
[0185] Both the first card and the second card are in the idle state. The cell where the first card camps and the cell where the second card camps are both the first cell. The terminal device runs the first thread to control the first card to enter the connected state. The terminal device runs the second thread. When the first card enters the connected state, during the process of the second card entering the connected state, it determines the primary card and the secondary card among the first card and the second card, and sends indication information and the identifier of the first card to the network device. Taking the first card as the primary card as an example, the terminal device runs the first thread. In response to the first measurement configuration message corresponding to the primary card sent by the network device, it performs measurements to obtain the first measurement result corresponding to the primary card. The terminal device runs the first thread to send the first measurement result corresponding to the primary card to the network device. The terminal device runs the first thread to obtain the first reconfiguration message and the second reconfiguration message sent by the network device. The terminal device runs the first thread to send the second reconfiguration message to the second thread. The terminal device runs the first thread. According to the first reconfiguration message, it switches the cell where the primary card camps from the first cell to the target cell. The terminal device runs the second thread. According to the second reconfiguration message, it switches the cell where the secondary card camps from the first cell to the target cell.
[0186] In one implementation:
[0187] The first measurement configuration message includes information corresponding to multiple candidate cells. The message corresponding to each candidate cell includes the conditional handover (CHO) configuration information corresponding to the candidate cell, the reconfiguration message corresponding to the first card and the candidate cell, and the reconfiguration message corresponding to the second card and the candidate cell. In other words, the network device can configure the same CHO configuration information corresponding to the candidate cell for both the first and second cards. It should be noted that, for each candidate cell, the reconfiguration message corresponding to the first card and the reconfiguration message corresponding to the second card may be the same or different. In one implementation, the first measurement configuration message includes a cell list 1 corresponding to the first card and a cell list 2 corresponding to the second card. Cell list 1 includes the CHO configuration message corresponding to each of the multiple candidate cells. Cell list 1 also includes the reconfiguration message corresponding to each candidate cell from the first card. Cell list 2 includes the CHO configuration message corresponding to each of the multiple candidate cells. Cell list 2 also includes the reconfiguration message corresponding to each candidate cell from the second card.
[0188] The first measurement result includes measurement results of multiple candidate cells.
[0189] The terminal device can determine the target cell among the multiple candidate cells based on the first measurement result (the measurement results of the multiple candidate cells) and the CHO configuration information corresponding to each candidate cell. In one implementation, the terminal device can determine a candidate cell as the target cell when it is determined that the measurement result of a candidate cell matches the CHO configuration information corresponding to the candidate cell. It should be noted that when the first card is the main card, the terminal device runs the first thread and can determine the target cell among the multiple candidate cells based on the measurement results of the multiple candidate cells and the CHO configuration information corresponding to each candidate cell; when the second card is the main card, the terminal device runs the second thread and can determine the target cell among the multiple candidate cells based on the measurement results of the multiple candidate cells and the CHO configuration information corresponding to each candidate cell.
[0190] After determining the target cell, the terminal device may determine the reconfiguration message corresponding to the first card and the target cell as the first reconfiguration message.
[0191] The terminal device may also determine the reconfiguration message corresponding to the second card and the target cell as the second reconfiguration message.
[0192] It should also be noted that, in one implementation, the terminal device can cancel the association between the first card and the second card when the primary card exits the DSDA. In other words, the terminal device can perform measurement configuration on the secondary card.
[0193] Advantages of this embodiment: In this embodiment, the terminal device includes a first card and a second card. The first card and the second card camp in the first cell. When the first card enters the connected state, during the process of the second card entering the connected state, the terminal device can determine the primary card and the secondary card among the first card and the second card, and send indication information and the identifier of the first card to the network device; the indication information indicates whether the second card is the primary card or the secondary card. In response to the first measurement configuration message corresponding to the primary card sent by the network device, the terminal device can perform measurements to obtain the first measurement result corresponding to the primary card; wherein, the first test configuration message is determined by the network device according to the indication information and the identifier of the first card. The terminal device can, according to the first measurement result corresponding to the primary card, switch the cells where the primary card and the secondary card camp from the first cell to the target cell. In the method of this application embodiment, the network device only needs to perform measurement configuration on the primary card among the first card and the second card. The terminal device can, according to the first measurement result corresponding to the primary card, control the primary card and the secondary card to perform cell switching, ensuring that the two cards can be switched to the same cell (target cell), and further enabling both cards to be in the connected state after switching to the same cell, thereby improving the communication performance of the terminal device.
[0194] Figure 3 It is the second flowchart of a cell switching method provided by an embodiment of this application. Please refer to Figure 3 , this method may include:
[0195] S301: When the first card enters the connected state, during the process of the second card entering the connected state, determine the primary card and the secondary card among the first card and the second card, and send indication information and the identifier of the first card to the network device.
[0196] In this embodiment, the first card and the second card camp in the first cell. When the first card enters the connected state, during the process of the second card entering the connected state, the terminal device can determine the primary card and the secondary card among the first card and the second card, and send indication information and the identifier of the first card to the network device.
[0197] Wherein, the indication information indicates whether the second card is the primary card or the secondary card.
[0198] The specific implementation process is the same as that of S201 and will not be elaborated here.
[0199] S302: In response to the first measurement configuration message corresponding to the primary card sent by the network device, perform measurements to obtain the first measurement result corresponding to the primary card.
[0200] In this embodiment, the terminal device can obtain the first measurement configuration message corresponding to the primary card sent by the network device. Wherein, the first test configuration message is determined by the network device according to the indication information and the identifier of the first card.
[0201] The terminal device can perform measurements in response to the first measurement configuration message corresponding to the primary card sent by the network device, and obtain the first measurement result corresponding to the primary card.
[0202] The specific implementation process is the same as that of S202, and will not be elaborated here.
[0203] S303: According to the first measurement result corresponding to the primary card, switch the cell where the primary card camps and the cell where the secondary card camps from the first cell to the target cell.
[0204] In this embodiment, the terminal device can switch the cell where the primary card camps and the cell where the secondary card camps from the first cell to the target cell according to the first measurement result corresponding to the primary card.
[0205] The specific implementation process is the same as that of S203, and will not be elaborated here.
[0206] S304: In response to the second measurement configuration message corresponding to the primary card sent by the network device, perform measurements to obtain the second measurement result corresponding to the primary card.
[0207] In this embodiment, when the terminal device is in a dual-connection scenario and both the primary card and the secondary card are allocated a Secondary Cell group (SCG), the network device can, after obtaining the indication information sent by the terminal device and the identifier of the first card, determine the second test configuration message corresponding to the primary card based on the indication information and the identifier of the first card. The second measurement configuration message is used to perform SCG measurement configuration on the primary card.
[0208] It should be noted that the SCG where the primary card camps and the SCG where the secondary card camps are the same SCG - the first SCG.
[0209] The terminal device can perform measurements after obtaining the second measurement configuration message corresponding to the primary card sent by the network device, and obtain the second measurement result corresponding to the primary card.
[0210] In one implementation, when the first card is the primary card, the terminal device runs the first thread corresponding to the first card, and performs measurements after obtaining the second measurement configuration message corresponding to the primary card sent by the network device, and obtains the second measurement result corresponding to the primary card.
[0211] In one implementation, when the second card is the primary card, the terminal device runs the second thread corresponding to the second card, and performs measurements after obtaining the second measurement configuration message corresponding to the primary card sent by the network device, and obtains the second measurement result corresponding to the primary card.
[0212] S305: According to the second measurement result corresponding to the primary card, switch the SCG where the primary card camps and the SCG where the secondary card camps from the first SCG to the target SCG.
[0213] In this embodiment, the terminal device may, according to the second measurement result corresponding to the primary card, switch the secondary cell group (SCG) where the primary card camps and the SCG where the secondary card camps from the first SCG to the target SCG.
[0214] In one implementation:
[0215] The terminal device may, according to the second measurement result corresponding to the primary card, determine a third reconfiguration message and a fourth reconfiguration message. Among them, the third reconfiguration message corresponds to the primary card and the target SCG, and the fourth reconfiguration message corresponds to the secondary card and the target SCG.
[0216] The terminal device may, according to the third reconfiguration message, switch the SCG where the primary card camps from the first SCG to the target SCG.
[0217] The terminal device may, according to the fourth reconfiguration message, switch the SCG where the secondary card camps from the first SCG to the target SCG.
[0218] It should be noted that the process of the terminal device switching the SCG corresponding to the primary card from the first SCG to the target SCG and the process of the terminal device switching the SCG corresponding to the secondary card from the first SCG to the target SCG occur simultaneously.
[0219] Through the above method, it is possible to achieve synchronous switching of the primary card and the secondary card to the same SCG in a dual-connection scenario, improving the communication performance of the terminal device.
[0220] Next, from the perspective of threads, the process of the terminal device switching the SCG where the primary card camps and the SCG where the secondary card camps from the first SCG to the target SCG according to the second measurement result corresponding to the primary card will be described.
[0221] In one implementation, when the first card is the primary card and the second card is the secondary card, the terminal device runs a first thread (the thread corresponding to the first card). It may, according to the second measurement result corresponding to the primary card, determine a third reconfiguration message and a fourth reconfiguration message. The terminal device runs the first thread and may send the fourth reconfiguration message to the second thread. The terminal device runs the first thread and may, according to the third reconfiguration message, switch the SCG where the primary card camps from the first SCG to the target SCG. The terminal device runs the second thread and may, according to the fourth reconfiguration message, switch the SCG where the secondary card camps from the first SCG to the target SCG.
[0222] In one implementation, when the first card is a secondary card and the second card is a primary card, the terminal device runs a second thread (the thread corresponding to the second card) and can determine a third reconfiguration message and a fourth reconfiguration message based on the second measurement result corresponding to the primary card. The terminal device runs the second thread and can send a fourth reconfiguration message to the first thread (the thread corresponding to the first card). The terminal device runs the second thread and can switch the SCG where the primary card resides from the first SCG to the target SCG based on the third reconfiguration message. The terminal device runs the first thread and can switch the SCG where the secondary card resides from the first SCG to the target SCG based on the fourth reconfiguration message.
[0223] Next, a process of determining the third reconfiguration message and the fourth reconfiguration message by the terminal device according to the second measurement result corresponding to the primary card is described.
[0224] In one implementation:
[0225] The terminal device may send the second measurement result corresponding to the master card to the network device, wherein the second measurement result corresponding to the master card is used by the network device to determine the third reconfiguration message and the fourth reconfiguration message.
[0226] The terminal device can obtain the third reconfiguration message and the fourth reconfiguration message sent by the network device.
[0227] In one implementation:
[0228] The second measurement configuration message includes information corresponding to multiple candidate SCGs. The message corresponding to each candidate SCG includes the Conditional Primary Secondary CellChange (CPC) configuration information corresponding to the candidate SCG, the reconfiguration message corresponding to the first card and the candidate SCG, and the reconfiguration message corresponding to the second card and the candidate SCG. In one implementation, the second measurement configuration message includes SCG list 1 corresponding to the first card, and SCG list 2 corresponding to the second card. SCG list 1 includes CPC configuration messages corresponding to each candidate SCG in multiple candidate SCGs. SCG list 1 also includes reconfiguration messages corresponding to the first card and each candidate SCG. SCG list 2 includes CPC configuration messages corresponding to each candidate SCG in multiple candidate SCGs. SCG list 2 also includes reconfiguration messages corresponding to the second card and each candidate SCG.
[0229] The second measurement result includes measurement results of a plurality of candidate SCGs.
[0230] The terminal device can determine the target SCG among multiple candidate SCGs based on the measurement results of multiple candidate SCGs and the CPC configuration information corresponding to each candidate SCG.
[0231] The terminal device may determine the reconfiguration message corresponding to the primary card and the target SCG as the third reconfiguration message. It should be noted that, when the first card is the primary card, the terminal device may determine the reconfiguration message corresponding to the first card and the target SCG as the third reconfiguration message; when the second card is the primary card, the terminal device may determine the reconfiguration message corresponding to the second card and the target SCG as the third reconfiguration message.
[0232] The terminal device may determine the reconfiguration message corresponding to the secondary card and the target SCG as the fourth reconfiguration message. It should be noted that, when the first card is a secondary card, the terminal device may determine the reconfiguration message corresponding to the first card and the target SCG as the fourth reconfiguration message; when the second card is a secondary card, the terminal device may determine the reconfiguration message corresponding to the second card and the target SCG as the fourth reconfiguration message.
[0233] Next, from the perspective of thread, a process in which the terminal device determines the third reconfiguration message and the fourth reconfiguration message according to the second measurement result corresponding to the primary card is described.
[0234] In one implementation, take the first card as the main card as an example. The terminal device runs the first thread, and determines the target SCG among the multiple candidate SCGs based on the measurement results of the multiple candidate SCGs and the CPC configuration information corresponding to each candidate SCG. The terminal device runs the first thread, can search SCG list 1, and determine the reconfiguration message corresponding to the first card and the target SCG as the third reconfiguration message. The terminal device runs the first thread, and sends the target SCG to the second thread (for example, the identifier of the target SCG can be sent to the second thread). The terminal device runs the second thread, can search SCG list 2, and determine the reconfiguration message corresponding to the second card and the target SCG as the fourth reconfiguration message.
[0235] It should be noted that the terminal device may first execute S302 and S303, and then execute S304 and S305. The terminal device may also first execute S304 and S305, and then execute S302 and S303. The terminal device may also execute S304 and S305 while executing S302 and S303. This embodiment of the present application is not limited to this.
[0236] The beneficial effects of this embodiment: when the first card has entered the connected state, during the process of the second card entering the connected state, the terminal device can determine the main card and the secondary card among the first card and the second card, and send indication information (indicating whether the second card is the main card or the secondary card) and the identifier of the first card to the network device. The terminal device can perform measurements in response to the second measurement configuration message corresponding to the main card sent by the network device, and obtain the second measurement result corresponding to the main card. The terminal device can directly switch the SCG where the main card resides and the SCG where the secondary card resides from the first SCG to the target SCG based on the second measurement result corresponding to the main card. According to the method of the embodiment of the present application, the network device only needs to perform SCG measurement configuration on the main card among the first card and the second card. The terminal device can control the main card and the secondary card to perform SCG switching based on the second measurement result corresponding to the main card, thereby ensuring that the two cards can switch to the same SCG (target SCG) synchronously, and then the two cards can be in a connected state after switching to the same SCG, thereby improving the communication performance of the terminal device.
[0237] Figure 4 A schematic diagram of a cell switching method provided in an embodiment of the present application Figure 3 See Figure 4 , the method may include:
[0238] S401: When the first card enters the connection state and the second card enters the connection state, determine the primary card and the secondary card among the first card and the second card, and send indication information and the identifier of the first card to the network device.
[0239] In this embodiment, the first card and the second card reside in the first cell. When the first card enters the connected state and the second card enters the connected state, the terminal device can determine the primary card and the secondary card of the first card and the second card, and send indication information and the identifier of the first card to the network device.
[0240] The indication information indicates whether the second card is a primary card or a secondary card.
[0241] The specific implementation process is the same as S201 and will not be repeated here.
[0242] S402: In response to a first measurement configuration message corresponding to the primary card sent by the network device, perform measurement to obtain a first measurement result corresponding to the primary card.
[0243] In this embodiment, the terminal device may obtain a first measurement configuration message corresponding to the primary card sent by the network device, wherein the first measurement configuration message is determined by the network device according to the indication information and the identifier of the first card.
[0244] The terminal device may perform measurement in response to the first measurement configuration message corresponding to the primary card sent by the network device, and obtain a first measurement result corresponding to the primary card.
[0245] The specific implementation process is the same as that of S202 and will not be elaborated here.
[0246] S403: According to the first measurement result corresponding to the primary card, switch the cell where the primary card camps and the cell where the secondary card camps from the first cell to the target cell.
[0247] In this embodiment, the terminal device can switch the cell where the primary card camps and the cell where the secondary card camps from the first cell to the target cell according to the first measurement result corresponding to the primary card.
[0248] The specific implementation process is the same as that of S203 and will not be elaborated here.
[0249] S404: When the primary card or the secondary card meets the reconstruction trigger condition, disconnect the connection between the primary card and the network device, and disconnect the connection between the secondary card and the network device.
[0250] In this embodiment, the terminal device can disconnect the connection between the primary card and the network device, and disconnect the connection between the secondary card and the network device when the primary card or the secondary card meets the reconstruction trigger condition. It should be noted that the reconstruction trigger condition can be the existence of a radio link failure (RLF for short), or a cell handover failure, or other situations. The embodiments of the present application do not limit this.
[0251] Next, an explanation will be given from the perspective of threads.
[0252] Taking the first card as the primary card and the second card as the secondary card as an example.
[0253] In one implementation:
[0254] The terminal device runs the first thread. When it determines that the primary card meets the reconstruction condition, it sends network disconnection information to the second thread.
[0255] The terminal device runs the first thread and disconnects the connection between the primary card and the network device. The terminal device runs the second thread and disconnects the connection between the secondary card and the network device according to the network disconnection information.
[0256] In one implementation:
[0257] The terminal device runs the second thread. When it determines that the secondary card meets the reconstruction condition, it sends network disconnection information to the first thread.
[0258] The terminal device runs the first thread and disconnects the connection between the primary card and the network device according to the network disconnection information. The terminal device runs the second thread and disconnects the connection between the secondary card and the network device.
[0259] S405: Determine the target reconstruction cell corresponding to the primary card, and perform cell reconstruction processing on the primary card according to the target reconstruction cell.
[0260] In this embodiment, the terminal device can determine the target reconstruction cell corresponding to the primary card, and perform cell reconstruction processing on the primary card according to the target reconstruction cell.
[0261] Next, from the perspective of threads, the process of the terminal device determining the target reconstruction cell corresponding to the primary card and performing cell reconstruction processing on the primary card according to the target reconstruction cell will be described.
[0262] In one implementation, taking the first card as the primary card as an example. The terminal device runs the first thread to perform cell selection processing to obtain the target reconstruction cell. The terminal device runs the first thread to send a reconstruction request message (RRC Reestablishment Request message) to the network device (the network device corresponding to the target reconstruction cell) according to the target reconstruction cell. The terminal device runs the first thread to receive the reconstruction message (RRC Reestablishment message) sent by the network device. The terminal device runs the first thread to send a reconstruction complete message (RRC Reestablishment Complete message) to the network device.
[0263] S406: During the process of performing cell reconstruction processing on the secondary card according to the target reconstruction cell, send indication information and the identifier of the primary card to the network device.
[0264] In this embodiment, during the process of the terminal device performing cell reconstruction processing on the secondary card according to the target reconstruction cell, the terminal device can send indication information and the identifier of the primary card to the network device. Among them, the indication information indicates that the card for which cell reconstruction is performed is the secondary card.
[0265] For example, in the case where the second card is the secondary card, during the process of the terminal device performing cell reconstruction processing on the secondary card (the second card) according to the target reconstruction cell, the terminal device can send indication information and the identifier of the primary card to the network device. Among them, the indication information indicates that the card for which cell reconstruction is performed - the second card, is the secondary card.
[0266] Next, from the perspective of threads, the process of the terminal device performing cell reconstruction processing on the secondary card according to the target reconstruction cell will be described.
[0267] In one implementation, take the first card as the main card and the second card as the secondary card as an example. The terminal device runs the second thread and obtains the identifier of the target re-established cell sent by the first thread. The terminal device runs the second thread and sends a re-establishment request message (RRC ReestablishmentRequest message) to the network device (the network device corresponding to the target re-established cell) based on the target re-established cell. The terminal device runs the second thread and receives the re-establishment message (RRCReestablishment message) sent by the network device. The terminal device runs the second thread and sends a re-establishment completion message (RRCReestablishment Complete message) to the network device. Among them, the RRC Reestablishment Complete message includes the dsda_same_cell_and_master field and the dsda_same_cell_other_card_c_rnti field. The dsda_same_cell_and_master field is indication information, which indicates that the card performing cell re-establishment is a secondary card. The dsda_same_cell_other_card_c_rnti field records the identifier of the main card.
[0268] Based on the reconstruction completion message, the network device may perform measurement configuration only on the primary card when measurement configuration needs to be performed on the first card and the second card.
[0269] The beneficial effects of this embodiment are as follows: the terminal device can disconnect the main card from the network device and disconnect the secondary card from the network device when the main card or the secondary card meets the reconstruction trigger condition. The terminal device can determine the target reconstruction cell corresponding to the main card, and perform cell reconstruction processing on the main card according to the target reconstruction cell. The terminal device can send indication information (indicating that the card performing cell reconstruction is the secondary card) and the identifier of the main card to the network device during the process of performing cell reconstruction processing on the secondary card according to the target reconstruction cell. In the above manner, when the main card or the secondary card needs to be rebuilt, the main card and the secondary card can be controlled to reconnect to the same cell (target reconstruction cell), so that the two cards can be in a connected state after being connected to the same cell, thereby improving the communication performance of the terminal device.
[0270] Figure 5 This is a schematic diagram of the structure of a cell switching device provided by an exemplary embodiment of the present application. The cell switching device is applied to a terminal device, which includes a first card and a second card, and the first card and the second card reside in a first cell. Figure 5 The cell switching device 50 includes a processing module 51 and a transceiver module 52, wherein:
[0271] A processing module 51, configured to, when a first card enters the connected state and during the process of a second card entering the connected state, determine a primary card and a secondary card among the first card and the second card, and send indication information and an identifier of the first card to a network device; the indication information indicates whether the second card is the primary card or the secondary card.
[0272] A transceiver module 52, configured to perform measurements in response to a first measurement configuration message corresponding to the primary card sent by the network device, and obtain a first measurement result corresponding to the primary card; the first test configuration message is determined by the network device according to the indication information and the identifier of the first card.
[0273] The processing module 51 is further configured to, according to the first measurement result corresponding to the primary card, switch the cell where the primary card camps and the cell where the secondary card camps from a first cell to a target cell.
[0274] The cell switching device provided by an embodiment of the present application may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, and will not be elaborated here.
[0275] In one implementation, the processing module 51 is specifically configured to:
[0276] Determine a first reconfiguration message and a second reconfiguration message according to the first measurement result corresponding to the primary card; the first reconfiguration message corresponds to the primary card and the target cell, and the second reconfiguration message corresponds to the secondary card and the target cell.
[0277] According to the first reconfiguration message, switch the cell where the primary card camps from the first cell to the target cell.
[0278] According to the second reconfiguration message, switch the cell where the secondary card camps from the first cell to the target cell.
[0279] The cell switching device provided by an embodiment of the present application may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, and will not be elaborated here.
[0280] In one implementation, the processing module 51 is specifically configured to:
[0281] Send the first measurement result corresponding to the primary card to the network device; the first measurement result corresponding to the primary card is used for the network device to determine the first reconfiguration message and the second reconfiguration message.
[0282] Obtain the first reconfiguration message and the second reconfiguration message sent by the network device.
[0283] The cell switching device provided by an embodiment of the present application may execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, and will not be elaborated here.
[0284] In one implementation, the first measurement configuration message includes information corresponding to multiple candidate cells; the message corresponding to each candidate cell includes conditional handover (CHO) configuration information corresponding to the candidate cell, a reconfiguration message corresponding to the first card and the candidate cell, and a reconfiguration message corresponding to the second card and the candidate cell;
[0285] The first measurement result includes measurement results of multiple candidate cells;
[0286] The processing module 51 is specifically configured to:
[0287] Determine a target cell among the multiple candidate cells according to the measurement results of the multiple candidate cells and the CHO configuration information corresponding to each candidate cell;
[0288] Determine the reconfiguration message corresponding to the first card and the target cell as the first reconfiguration message;
[0289] Determine the reconfiguration message corresponding to the second card and the target cell as the second reconfiguration message.
[0290] The cell handover device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, and will not be elaborated here.
[0291] In one implementation,
[0292] The transceiver module 52 is further configured to perform measurement in response to a second measurement configuration message corresponding to the primary card sent by the network device, and obtain a second measurement result corresponding to the primary card; the second test configuration message is determined by the network device according to the indication information and the identifier of the first card;
[0293] The processing module 51 is further configured to switch the secondary cell group (SCG) where the primary card camps and the SCG where the secondary card camps from the first SCG to the target SCG according to the second measurement result corresponding to the primary card.
[0294] The cell handover device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, and will not be elaborated here.
[0295] In one implementation, the processing module 51 is specifically configured to:
[0296] Determine a third reconfiguration message and a fourth reconfiguration message according to the second measurement result corresponding to the primary card; the third reconfiguration message corresponds to the primary card and the target SCG, and the fourth reconfiguration message corresponds to the secondary card and the target SCG;
[0297] Switch the SCG where the primary card camps from the first SCG to the target SCG according to the third reconfiguration message;
[0298] According to the fourth reconfiguration message, switch the SCG where the secondary card camps from the first SCG to the target SCG.
[0299] The cell switching device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, which will not be elaborated here.
[0300] In one implementation, the second measurement configuration message includes information corresponding to multiple candidate SCGs; the message corresponding to each candidate SCG includes conditional primary-secondary cell change (CPC) configuration information corresponding to the candidate SCG, a reconfiguration message corresponding to the first card and the candidate SCG, and a reconfiguration message corresponding to the second card and the candidate SCG;
[0301] The second measurement result includes measurement results of multiple candidate SCGs;
[0302] The processing module 51 is specifically configured to:
[0303] Determine the target SCG among the multiple candidate SCGs according to the measurement results of the multiple candidate SCGs and the CPC configuration information corresponding to each candidate SCG;
[0304] Determine the reconfiguration message corresponding to the primary card and the target SCG as the third reconfiguration message;
[0305] Determine the reconfiguration message corresponding to the secondary card and the target SCG as the fourth reconfiguration message.
[0306] The cell switching device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, which will not be elaborated here.
[0307] In one implementation, the processing module 51 is further configured to:
[0308] When the primary card or the secondary card meets the reconstruction trigger condition, disconnect the connection between the primary card and the network device, and disconnect the connection between the secondary card and the network device;
[0309] Determine the target reconstruction cell corresponding to the primary card, and perform cell reconstruction processing on the primary card according to the target reconstruction cell;
[0310] During the process of performing cell reconstruction processing on the secondary card according to the target reconstruction cell, send indication information and the identifier of the primary card to the network device; the indication information indicates that the card for which cell reconstruction is performed is the secondary card.
[0311] The cell switching device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, which will not be elaborated here.
[0312] In one implementation, the processing module 51 is specifically configured to:
[0313] When the first card enters the connected state and the second card enters the connected state from the deactivated state, determine the primary card and the secondary card among the first card and the second card;
[0314] In response to the recovery message sent by the network device, send a recovery completion message to the network device; the recovery completion message includes indication information and the identifier of the first card.
[0315] The cell switching device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, and will not be elaborated here.
[0316] In one implementation, the processing module 51 is specifically configured to:
[0317] When the first card enters the connected state from the idle state and the second card enters the connected state from the idle state, determine the primary card and the secondary card among the first card and the second card;
[0318] In response to the establishment message sent by the network device, send an establishment completion message to the network device; the establishment completion message includes indication information and the identifier of the first card.
[0319] The cell switching device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, and will not be elaborated here.
[0320] In one implementation, the network type corresponding to the first cell is different from the network type corresponding to the target cell;
[0321] The processing module 51 is specifically configured to:
[0322] Obtain the handover information sent by the network device; the handover message includes a first reconfiguration message and a second reconfiguration message; wherein, both the first reconfiguration message and the second reconfiguration message match the network type of the target cell.
[0323] The cell switching device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principle and beneficial effects are similar, and will not be elaborated here.
[0324] The embodiments of the present application further provide a chip. It can be understood that the chip can be a fifth-generation mobile communication technology (5th Generation Mobile Communication Technology, abbreviated as 5G) chip.
[0325] A computer program is stored on the chip. When the computer program is executed by the chip, the method as described in the above method embodiment is implemented.
[0326] An embodiment of the present application further provides a chip module. It can be understood that the chip module can be a 5G chip module.
[0327] A computer program is stored on the chip module. When the computer program is executed by the chip module, the method as described in the above method embodiment is implemented.
[0328] Figure 6 It is a schematic structural diagram of a terminal device provided by an embodiment of the present application. It can be understood that the terminal device can be a 5G chip module.
[0329] Please refer to Figure 6 , the terminal device 60 may include a first card ( Figure 6 not shown) and a second card ( Figure 6 not shown). The terminal device 60 may further include a processor 61 and a memory 62. Exemplarily, the processor 61, the memory 62 are interconnected with each other through a bus 63.
[0330] The memory 62 stores computer-executable instructions;
[0331] The processor 61 executes the computer-executable instructions stored in the memory 62, so that the processor 61 executes the method as shown in the above method embodiment.
[0332] All or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a readable memory. When the program is executed, it executes the steps including the above method embodiments; and the foregoing memory (storage medium) includes: read-only memory (English: read-only memory, abbreviation: ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppydisk), optical disc (English: optical disc) and any combination thereof.
[0333] Correspondingly, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the method of the above method embodiment.
[0334] Correspondingly, an embodiment of the present application may further provide a computer program product, including computer-executable instructions. When the computer-executable instructions are executed by a processor, the method shown in the above method embodiment is executed.
[0335] These computer-executable instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction means that implements the function specified in one or more processes of the flowchart and / or one or more blocks of the block diagram.
[0336] These computer-executable instructions may also be loaded onto a computer or other programmable data processing apparatus, such that a series of operational steps are performed on the computer or other programmable apparatus to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable apparatus provide steps for implementing the function specified in one or more processes of the flowchart and / or one or more blocks of the block diagram.
[0337] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these changes and modifications.
[0338] In the present application, the term "comprising" and its variations may mean non-limiting inclusion; the term "or" and its variations may mean "and / or". In the present application, terms such as "first", "second", etc. are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In the present application, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
Claims
1. A cell handover method, characterized in that, Applied to a terminal device, the terminal device includes a first card and a second card, and the first card and the second card reside in a first cell; the method includes: When the first card enters the connected state, during the process of the second card entering the connected state, determine the primary card and the secondary card among the first card and the second card, and send indication information and the identifier of the first card to a network device; the indication information indicates that the second card is the primary card or the secondary card; In response to a first measurement configuration message corresponding to the primary card sent by the network device, perform measurements to obtain a first measurement result corresponding to the primary card; the first test configuration message is determined by the network device according to the indication information and the identifier of the first card; According to the first measurement result corresponding to the primary card, switch the cell where the primary card resides and the cell where the secondary card resides from the first cell to a target cell.
2. The method according to claim 1, characterized in that, The step of switching the cell where the primary card resides and the cell where the secondary card resides from the first cell to a target cell according to the first measurement result corresponding to the primary card includes: According to the first measurement result corresponding to the primary card, determine a first reconfiguration message and a second reconfiguration message; the first reconfiguration message corresponds to the primary card and the target cell, and the second reconfiguration message corresponds to the secondary card and the target cell; According to the first reconfiguration message, switch the cell where the primary card resides from the first cell to the target cell; According to the second reconfiguration message, switch the cell where the secondary card resides from the first cell to the target cell.
3. The method according to claim 2, wherein The step of determining a first reconfiguration message and a second reconfiguration message according to the first measurement result corresponding to the primary card includes: Send the first measurement result corresponding to the primary card to the network device; the first measurement result corresponding to the primary card is used for the network device to determine the first reconfiguration message and the second reconfiguration message; Obtain the first reconfiguration message and the second reconfiguration message sent by the network device.
4. The method according to claim 2, wherein The first measurement configuration message includes information corresponding to multiple candidate cells; the message corresponding to each candidate cell includes conditional handover CHO configuration information corresponding to the candidate cell, a reconfiguration message corresponding to the first card and the candidate cell, and a reconfiguration message corresponding to the second card and the candidate cell; The first measurement result includes measurement results of multiple candidate cells; The step of determining a first reconfiguration message and a second reconfiguration message according to the first measurement result corresponding to the primary card includes: According to the measurement results of the multiple candidate cells and the CHO configuration information corresponding to each candidate cell, determine the target cell among the multiple candidate cells; Determine the reconfiguration message corresponding to the first card and the target cell as the first reconfiguration message; Determine the reconfiguration message corresponding to the second card and the target cell as the second reconfiguration message.
5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: In response to the second measurement configuration message corresponding to the primary card sent by the network device, perform measurements to obtain the second measurement result corresponding to the primary card; the second test configuration message is determined by the network device according to the indication information and the identifier of the first card. According to the second measurement result corresponding to the primary card, switch the secondary cell group (SCG) where the primary card camps and the SCG corresponding to the camped secondary card from the first SCG to the target SCG.
6. The method according to claim 5, wherein The step of switching the secondary cell group (SCG) where the primary card camps and the SCG where the secondary card camps from the first SCG to the target SCG according to the second measurement result corresponding to the primary card includes: Determine a third reconfiguration message and a fourth reconfiguration message according to the second measurement result corresponding to the primary card; the third reconfiguration message corresponds to the primary card and the target SCG, and the fourth reconfiguration message corresponds to the secondary card and the target SCG. According to the third reconfiguration message, switch the SCG where the primary card camps from the first SCG to the target SCG. According to the fourth reconfiguration message, switch the SCG where the secondary card camps from the first SCG to the target SCG.
7. The method according to claim 6, wherein The second measurement configuration message includes information corresponding to multiple candidate SCGs; the message corresponding to each candidate SCG includes conditional primary-secondary cell change (CPC) configuration information corresponding to the candidate SCG, a reconfiguration message corresponding to the first card and the candidate SCG, and a reconfiguration message corresponding to the second card and the candidate SCG. The second measurement result includes measurement results of multiple candidate SCGs. The step of determining a third reconfiguration message and a fourth reconfiguration message according to the second measurement result corresponding to the primary card includes: Determine the target SCG among the multiple candidate SCGs according to the measurement results of the multiple candidate SCGs and the CPC configuration information corresponding to each candidate SCG. Determine the reconfiguration message corresponding to the primary card and the target SCG as the third reconfiguration message. Determine the reconfiguration message corresponding to the secondary card and the target SCG as the fourth reconfiguration message.
8. The method according to any one of claims 1 to 7, characterized in that The method further includes: When the primary card or the secondary card meets the reconstruction trigger condition, disconnect the connection between the primary card and the network device, and disconnect the connection between the secondary card and the network device. Determine the target reconstruction cell corresponding to the primary card, and perform cell reconstruction processing on the primary card according to the target reconstruction cell. During the process of performing cell reconstruction processing on the secondary card according to the target reconstruction cell, send the indication information and the identifier of the primary card to the network device; the indication information indicates that the card for which cell reconstruction is performed is the secondary card.
9. The method according to any one of claims 1-8, characterized in that The step of determining the primary card and the secondary card among the first card and the second card and sending the indication information and the identifier of the first card to the network device when the second card enters the connected state while the first card is in the connected state includes: When the first card enters the connected state, during the process of the second card entering the connected state from the deactivated state, determine the primary card and the secondary card among the first card and the second card; In response to the recovery message sent by the network device, send a recovery completion message to the network device; the recovery completion message includes the indication information and the identifier of the first card.
10. The method according to any one of claims 1-8, characterized in that, When the first card enters the connected state, during the process of the second card entering the connected state, determine the primary card and the secondary card among the first card and the second card, and send the indication information and the identifier of the first card to the network device, including: When the first card enters the connected state from the idle state, during the process of the second card entering the connected state from the idle state, determine the primary card and the secondary card among the first card and the second card; In response to the establishment message sent by the network device, send an establishment completion message to the network device; the establishment completion message includes the indication information and the identifier of the first card.
11. The method according to claim 3, wherein The network type corresponding to the first cell is different from the network type corresponding to the target cell; Obtaining the first reconfiguration message and the second reconfiguration message sent by the network device includes: Obtain the handover information sent by the network device; the handover message includes the first reconfiguration message and the second reconfiguration message; wherein, both the first reconfiguration message and the second reconfiguration message match the network type of the target cell.
12. A cell handover device, characterized in that, Applied to a terminal device, the terminal device includes a first card and a second card, and the first card and the second card camp in a first cell; the apparatus includes: A processing module, configured to determine the primary card and the secondary card among the first card and the second card when the first card enters the connected state, and during the process of the second card entering the connected state, and send the indication information and the identifier of the first card to the network device; the indication information indicates that the second card is the primary card or the secondary card; A transceiver module, configured to perform measurements in response to the first measurement configuration message corresponding to the primary card sent by the network device, and obtain the first measurement result corresponding to the primary card; the first test configuration message is determined by the network device according to the indication information and the identifier of the first card; The processing module is further configured to, according to the first measurement result corresponding to the primary card, switch the cell where the primary card camps and the cell where the secondary card camps from the first cell to the target cell.
13. A terminal device, characterized in that, Including a first card and a second card, the terminal device further includes: a memory and a processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method according to any one of claims 1-11.
14. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1-11.
15. A computer program product, characterized in that, Including computer-executable instructions, when the computer-executable instructions are executed by a processor, the method according to any one of claims 1-11 is executed.