Data transmission method and terminal equipment
By receiving and processing calls and events in dual-card dual-pass terminal devices, sending cancel messages to reject incoming calls, and synchronizing session status before network switching, the problem of session status out of synchronization in SIM card call service is solved, and information synchronization between the terminal device and the network side is realized.
Patent Information
- Application Number
- CN202211620134.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-15
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-12-15
AI Technical Summary
In a dual-card dual-pass terminal device, when the SIM card 1 is talking, the SIM card 2 cannot perform data services, callers and be called, causing the terminal device to actively hang up the incoming call of the SIM card 2, causing the session status of the SIM card 2 to be out of synchronization with the network device, affecting subsequent call services.
By receiving a second call from the third terminal device in the first terminal device and sending a cancel message to reject the second call after receiving an event from the base station, ensuring that the session status of the SIM card is synchronized before the network handover.
The synchronization of session status information between the terminal device and the network side is achieved, avoiding the problem that the SIM card cannot conduct call services, and ensuring the normal operation of the dual-card dual-pass function.
Smart Images

Figure CN118215035B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data transmission method and terminal equipment. Background Art
[0002] With the rapid development of wireless communication technology, people are increasingly dependent on wireless terminals. In order to provide users with a better service experience, the market currently includes terminal devices supporting dual SIM dual standby (DSDS), and the terminal devices supporting dual SIM dual standby include terminal devices supporting dual SIM dual standby single pass (hereinafter referred to as dual SIM single pass) and terminal devices supporting dual SIM dual active (DSDA) (hereinafter referred to as dual SIM dual pass). Two independent subscriber identity modules (SIMs) can be installed in terminal devices supporting dual SIM single pass and terminal devices supporting dual SIM dual pass. For terminal devices supporting dual SIM single pass, although both SIM cards can be on standby at the same time, they cannot make voice calls or use data traffic to access the Internet at the same time. For terminal devices supporting dual SIM dual pass, the two SIM cards can be on standby at the same time, and can also make voice calls at the same time (for example, one SIM card is on a call, and the other SIM card can receive an incoming call).
[0003] Taking the dual SIM cards as SIM card 1 and SIM card 2 as an example, for a dual SIM dual pass terminal device that only supports dual SIM card registration of the fifth generation mobile communication technology (5G) network, in the scenario where SIM card 1 is on a call and SIM card 2 has an incoming call, if SIM card 1 and / or SIM card 2 switches from the 5G network to the fourth generation mobile communication technology (4G) network, the terminal device will fall back from dual SIM dual pass to dual SIM single pass. When the terminal device is in dual SIM single pass, since SIM card 1 is on a call, SIM card 2 cannot use data services, cannot make calls or be called, and the terminal device will actively hang up the incoming call of SIM card 2.
[0004] However, the terminal device hangs up the call of SIM card 2 locally, and does not synchronize the call hang-up message to the network device. This will cause the session status of SIM card 2 and the network device to be out of sync. The network device will think that SIM card 2 is still performing call services, resulting in SIM card 2 being unable to make or receive calls subsequently. Summary of the invention
[0005] The present application provides a data transmission method and a terminal device, which are conducive to realizing information synchronization of the session status of the terminal device and the network, thereby avoiding the problem that the SIM card of the terminal device cannot perform call services.
[0006] In a first aspect, the present application provides a data transmission method, which is applied to a first terminal device, wherein the first terminal device is provided with a first SIM card and a second SIM card, wherein the first SIM card is registered with a first network, and the second SIM card is registered with a second network. The method comprises: the first terminal device receives a first call from the second terminal device; in response to an operation of a user answering the first call on the first terminal device, a first call is established between the first terminal device and the second terminal device; during the first call, the first terminal device receives a second call from a third terminal device, wherein the first call and the second call respectively call the number of the first SIM card and the number of the second SIM card; after receiving a first event from a base station, the first terminal device sends a cancellation message to reject the second call, and when receiving the first event, the second call is not answered; after receiving a confirmation message of the cancellation message, the first terminal device sends a first measurement report to the base station, and after receiving the first event and before sending the first measurement report, the first terminal device meets the measurement report reporting condition of the first event; the first terminal device receives a first switching instruction from the base station, and registers the second SIM card with a third network, wherein the network standard of the third network is different from that of the second network.
[0007] In the present application, the first terminal device has the dual-SIM dual-pass function when the first SIM card is registered with the first network and the second SIM card is registered with the second network. When at least one of the first SIM card and the second SIM card is registered with other networks different from the first network and the second network, the first terminal device no longer has the dual-SIM dual-pass function.
[0008] Exemplarily, the first network is a 5G network and the second network is a 5G network. When the first terminal device switches the network of the second SIM card and registers the 4G network, the first terminal device no longer has the dual-card dual-pass function.
[0009] Exemplarily, a first terminal device establishes a first call with a second terminal device through a first SIM card, and the first terminal device receives a second call from a third terminal device through a second SIM card. In this scenario, if the first terminal device receives a first event, the first terminal device obtains a first measurement report according to the first event, and the first terminal device needs to report the measurement report of the first event to the base station when the measurement report reporting condition of the first event is met. Since the base station instructs the first terminal device to switch the network after receiving the measurement report of the first event, the first terminal device no longer meets the first SIM card registration of the first network and the second SIM card registration of the second network after the network switching, so that the first terminal device no longer has the dual-card dual-communication function, so the first terminal device will reject the second call to the second SIM card, but because the first terminal device no longer has the dual-card dual-communication function, the cancellation message for rejecting the second call cannot be sent to the network side, and the network side cannot synchronize the session state of the second SIM card, and will think that the second SIM card is still in an occupied state, thereby causing the first terminal device to be unable to make and receive calls through the second SIM card.
[0010] Based on the technical solution of the present application, the first terminal device can delay (suppress) the reporting of the first measurement report when the measurement report reporting conditions of the first event are met. That is to say, the first terminal device first sends a cancellation message for rejecting the second call to the base station when the network switching is not performed, that is, it still has the dual-card dual-pass function. At this time, the cancellation message for rejecting the second call can be sent normally. After receiving the confirmation message for the cancellation message, the first terminal device determines that the network side has synchronized the session status of the second SIM card. After this, the first terminal device can send the first measurement report to the base station, and then register the second SIM card with the 4G network based on the first switching instruction of the base station. This is conducive to realizing the information synchronization of the session status of the terminal device and the network side, thereby avoiding the problem that the SIM card of the terminal device cannot perform call services.
[0011] In combination with the first aspect, in certain implementations of the first aspect, after the first terminal device receives a second call from a third terminal device, when answering the second call, the method also includes: in response to the user's operation of answering the second call on the first terminal device, establishing a second call between the first terminal device and the third terminal device, and retaining the first call; after receiving a second event from the base station, the first terminal device sends a hang-up message to end the first call; after receiving a confirmation message of the hang-up message, the first terminal device sends a second measurement report to the base station, and after receiving the second event and before sending the second measurement report, the first terminal device meets the measurement report reporting conditions of the second event; the first terminal device receives a second switching instruction from the base station, and registers the second SIM card with the third network.
[0012] In the present application, exemplarily, the first terminal device establishes a first call with the second terminal device through the first SIM card, the first terminal device receives a second call from the third terminal device through the second SIM card, answers the second call, and establishes a second call with the third terminal device. After the first terminal device answers the second call, the first call between the first terminal device and the second terminal device is retained. In this scenario, if the first terminal device receives the second event, the first terminal device obtains a second measurement report based on the second event, and the first terminal device needs to report the measurement report of the second event to the base station when the measurement report reporting conditions of the second event are met.
[0013] Based on the technical solution of the present application, the first terminal device can delay (suppress) the reporting of the second measurement report when the measurement report reporting conditions of the second event are met. That is to say, the first terminal device first sends a hang-up message for ending the first call to the base station when the network switching is not performed, that is, when the dual-card dual-pass function is still available. At this time, the hang-up message for ending the first call can be sent normally. After receiving the confirmation message for the hang-up message, the first terminal device determines that the network side has synchronized the session status of the first SIM card. After this, the first terminal device can send a second measurement report to the base station, and then register the second SIM card with the 4G network based on the second switching instruction of the base station. This is conducive to realizing the information synchronization of the session status of the terminal device and the network side, thereby avoiding the problem that the SIM card of the terminal device cannot perform call services.
[0014] In combination with the first aspect, in certain implementations of the first aspect, if the first network and the second network are 5G networks, the first terminal device has the function of dual-SIM dual-pass; if one of the first network and the second network is a 5G network and the other network is a 4G network, the first terminal device has the function of dual-SIM single-pass.
[0015] In combination with the first aspect, in certain implementations of the first aspect, before the first terminal device sends a cancellation message, the method includes: the first terminal device determines that the first SIM card and the second SIM card are SIM cards registered with the 5G network, and the first SIM card and the second SIM card are both in an occupied state, and the occupied state includes a call state or an incoming call state.
[0016] In the present application, the first terminal device can determine whether the first SIM card and the second SIM card meet the preset conditions when sending a cancellation message. The preset conditions at least include: the first SIM card and the second SIM card are SIM cards registered for the 5G network, and the first SIM card and the second SIM card are both in an occupied state.
[0017] In combination with the first aspect, in certain implementations of the first aspect, the first event is a B1 event / B2 event; after receiving the first event from the base station, the method also includes: the first terminal device measures the signal quality of the first cell based on the B1 event / B2 event, and the first cell and the service cell of the first terminal device belong to different communication systems; the first terminal device obtains a first measurement report based on the signal quality of the first cell.
[0018] In the present application, the first cell and the service cell of the first terminal device belong to different communication systems, that is, the first cell is a cell of a different system than the service cell of the first terminal device. Optionally, the first cell is a cell of a different system adjacent to the service cell of the first terminal device, which is called a neighboring cell of a different system. Among them, the neighboring cell is determined by the operator according to the coverage area of the base station and the requirements of inter-zone switching. Two cells with overlapping coverage and a switching relationship can be called neighboring cells. The communication system of the neighboring cell of a different system is different from that of the service cell, and the communication systems include 4G, 5G, etc. For example, the service cell of the first terminal device is a 5G cell, and the first cell is a 4G cell. The B1 event / B2 event is used to indicate the measurement of the signal quality of the neighboring cell of a different system of the first terminal device. The first measurement report is a measurement report of the B1 event / B2 event, including the signal quality of the neighboring cell of the different system of the first terminal device.
[0019] In combination with the first aspect, in certain implementations of the first aspect, before receiving the first event from the base station, the method also includes: the first terminal device receives a third event from the base station, the third event is used to indicate the measurement of the signal quality of the service cell of the first terminal device; if the signal quality of the service cell of the first terminal device is lower than the threshold value, the first terminal device sends a third measurement report to the base station, and the third measurement report includes the signal quality of the service cell of the first terminal device.
[0020] In a second aspect, the present application provides a data transmission method, which is applied to a first terminal device, wherein the first terminal device is provided with a first SIM card and a second SIM card, wherein the first SIM card is registered with a first network, and the second SIM card is registered with a second network. The method comprises: the first terminal device receives a first event from a base station; after receiving the first event from the base station, the first terminal device determines whether the first SIM card and the second SIM card meet a preset condition, wherein the preset condition at least comprises: the first network and the second network are 5G networks, and the first SIM card and the second SIM card are in an occupied state, and the occupied state includes a call state or an incoming call state; when the first SIM card and the second SIM card meet the preset condition, the first terminal device sends a termination message to reject the incoming call of the second SIM card, or hangs up the call of the first SIM card; after receiving a confirmation message of the termination message, the first terminal device sends a first measurement report to the base station, and after receiving the first event and before sending the first measurement report, the first terminal device meets the measurement report reporting condition of the first event; the first terminal device receives a third switching instruction from the base station, and registers the second SIM card with a third network, and the network standard of the third network is different from that of the second network.
[0021] In the present application, the first terminal device has the dual-SIM dual-pass function when the first SIM card is registered with the first network and the second SIM card is registered with the second network. When at least one of the first SIM card and the second SIM card is registered with other networks different from the first network and the second network, the first terminal device no longer has the dual-SIM dual-pass function.
[0022] Exemplarily, the first network is a 5G network and the second network is a 5G network. When the first terminal device switches the network of the second SIM card and registers the 4G network, the first terminal device no longer has the dual-card dual-pass function.
[0023] In the technical solution of the present application, before sending the termination message, the first terminal device determines whether the first SIM card and the second SIM card meet the preset conditions. If the preset conditions are met, the network switching needs to be delayed, and if the preset conditions are not met, the network switching does not need to be delayed.
[0024] In a possible scenario, the first terminal device talks with other terminal devices through the first SIM card. During the call, the first terminal device receives an incoming call from the other terminal device through the second SIM card. If the first terminal device receives the first event at this time, the first terminal device first sends a termination message to the network side for rejecting the incoming call from the second SIM card, wherein the termination message can be a CANCEL message in the session initiation protocol (SIP) signaling, which is used to terminate an unestablished session. After receiving a confirmation message of the termination message from the network side, the first terminal device reports a first measurement report to the base station, and the first measurement report is a measurement report of the first event. Afterwards, the first terminal device can register the second SIM card with the third network based on the third switching instruction of the base station.
[0025] In another possible scenario, the first terminal device communicates with other terminal devices through the first SIM card. During the call, the first terminal device receives an incoming call from the other terminal device through the second SIM card, and the first terminal device answers the incoming call from the second SIM card in response to the user operation, and reserves the call through the first SIM card. If the first terminal device receives the first event at this time, the first terminal device first sends a termination message to the network side for hanging up the call of the first SIM card, wherein the termination message may be a hang-up (BYE) message in the SIP signaling, which is used to terminate an established session. After receiving a confirmation message of the termination message from the network side, the first terminal device reports a first measurement report to the base station, and the first measurement report is a measurement report of the first event. Afterwards, the first terminal device may register the second SIM card with the third network based on the third switching instruction of the base station.
[0026] The technical solution based on the present application is conducive to achieving information synchronization of the session status of the terminal device and the network side, thereby avoiding the problem that the SIM card of the terminal device cannot perform call services.
[0027] In a third aspect, the present application provides a data transmission method, applied to a base station, the method comprising:
[0028] The base station sends a first event to a first terminal device, wherein the first terminal device is provided with a first SIM card and a second SIM card, the first SIM card is registered with a first network, the second SIM card is registered with a second network, the first terminal device is making a first call with the second terminal device, and the first terminal device is receiving a second call from a third terminal device; the base station sends a cancellation message, the cancellation message is used to reject the second call; the base station receives a confirmation message of the cancellation message; after sending the confirmation message of the cancellation message to the first terminal device, the base station receives a first measurement report from the first terminal device; the base station sends a first switching instruction to the first terminal device, the first switching instruction instructs the first terminal device to register the second SIM card with a third network, and the network standard of the third network is different from that of the second network.
[0029] In the present application, the base station may send a cancellation message for rejecting the second call before instructing the first terminal device to switch networks, and receive a confirmation message of the cancellation message. This is beneficial for the network side to synchronize the session state of the SIM card of the first terminal device, thereby avoiding the problem that the SIM card of the first terminal device cannot perform call services.
[0030] In a fourth aspect, the present application provides a data transmission method, which is applied to a communication system including a first terminal device and a base station, wherein the first terminal device is provided with a first SIM card and a second SIM card, wherein the first SIM card is registered with a 5G network, and the second SIM card is registered with a 5G network. The method comprises: the first terminal device receives a first call from the second terminal device; in response to the operation of the user answering the first call on the first terminal device, a first call is established between the first terminal device and the second terminal device; during the first call, the first terminal device receives a second call from a third terminal device, wherein the first call and the second call respectively call the number of the first SIM card and the number of the second SIM card; the base station sends a first event to the first terminal device; after receiving the first event, the first terminal device sends a cancellation message to reject the second call; when receiving the first event, the second call is not answered; after receiving a confirmation message of the cancellation message, the first terminal device sends a first measurement report to the base station, and after receiving the first event and before sending the first measurement report, the first terminal device meets the measurement report reporting condition of the first event; after receiving the first measurement report, the base station sends a fourth switching instruction to the first terminal device, and the fourth switching instruction instructs the first terminal device to register the second SIM card with the 4G network.
[0031] In the fourth aspect, taking the first network being a 5G network, the second network being a 5G network, and the third network being a 4G network in the first aspect and the third aspect as an example, the beneficial effects achieved by the feasible embodiments corresponding to the fourth aspect are similar to the descriptions of the first and third aspects, and will not be repeated here.
[0032] In a fifth aspect, the present application provides a terminal device, which may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device may be a mobile phone, a personal computer (PC), a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
[0033] The terminal device includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the method of the first aspect or the second aspect.
[0034] In a sixth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method of the first aspect or the second aspect is implemented.
[0035] In a seventh aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the method of the first aspect or the second aspect.
[0036] In an eighth aspect, the present application provides a chip, the chip comprising a processor, the processor being used to call a computer program in a memory to execute the method described in the first aspect or the second aspect.
[0037] It should be understood that the fifth to eighth aspects of the present application correspond to the technical solutions of the first or second aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of the structure of a terminal device applicable to the embodiment of the present application;
[0039] Figure 2 is a schematic diagram of a communication scenario provided in an embodiment of the present application;
[0040] Figure 3 It is a flowchart of a calling method provided in an embodiment of the present application;
[0041] Figure 4 is a schematic flow chart of a data transmission method provided in an embodiment of the present application;
[0042] FIG. 5A to FIG. 5C is a schematic diagram of network switching provided in an embodiment of the present application;
[0043] Figure 6 is a schematic flow chart of another data transmission method provided in an embodiment of the present application;
[0044] Figure 7 This is a schematic diagram of a call interface of a terminal device with 5G dual-SIM dual-pass function provided in an embodiment of the present application;
[0045] Figure 8 It is a schematic flowchart of another data transmission method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0047] In order to clearly describe the technical solutions of the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0048] 1. In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects, and do not limit their order. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0049] 2. In this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0050] 3. "At least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or plural.
[0051] 4. The mobility management of wireless communication systems is usually achieved through the terminal equipment reporting measurement reports, and the base station decides whether to perform network switching (for example, switching from a 5G cell to a 4G cell) based on the measurement reports. The terminal equipment can have a variety of measurement indicators to measure the signal quality of the serving cell and / or the neighboring cell of the heterogeneous system. Among them, the various measurement indicators include reference signal receiving power (RSRP), reference signal receiving quality (RSRQ), and signal to interference plus noise ratio (SINR).
[0052] Ideally, the base station allows the terminal device to report the signal quality of the current serving cell and adjacent cells (including heterogeneous system adjacent cells), and triggers switching through unilateral measurement. However, in actual applications, unnecessary ping-pong switching may cause overload. To avoid this, the 3rd Generation Partnership Project (3GPP) specification 38.331 defines a set of predefined measurement reporting mechanisms to be performed by the terminal device. The types of these measurement reports are called "events", such as A1 events, A2 events, B1 events, B2 events, etc. The type of event that the terminal device needs to report is specified by the radio resource control (RRC) message sent by the base station, such as the RRC connection reconfiguration message.
[0053] It should be noted that the "at..." in the embodiment of the present application can be the instant when a certain situation occurs, or a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the display interface provided in the embodiment of the present application is only an example, and the display interface can also include more or less content.
[0054] Figure 1 Schematic diagram of the structure of a terminal device applicable to the embodiment of the present application. Figure 1 As shown, the terminal device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc.
[0055] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0056] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, a display processing unit (displayprocess unit, DPU), and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. In some embodiments, the terminal device 100 may also include one or more processors 110. Among them, the processor may be the nerve center and command center of the terminal device 100. The processor may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory may also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a high-speed cache memory. The memory may save instructions or data used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110 , and thus improves the efficiency of the terminal device 100 .
[0057] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a USB interface, etc. Among them, the USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a MicroUSB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and a peripheral device. It can also be used to connect headphones and play audio through the headphones.
[0058] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is for illustrative purposes only and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0059] The wireless communication function of the terminal device 100 can be implemented by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modulation and demodulation processor and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. For example, antenna 1 can be reused as a diversity antenna of a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0060] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier, etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0061] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0062] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), NFC, infrared technology (IR), etc. applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0063] In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, GNSS, WLAN, NFC, FM, and / or IR technology. The above-mentioned GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0064] The terminal device 100 can realize the display function through the GPU, the display screen 194 and the application processor. The application processor may include an NPU and / or a DPU. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute instructions to generate or change display information. The NPU is a neural network (NN) computing processor, which quickly processes input information by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, and can also continuously self-learn. The NPU can realize applications such as intelligent cognition of the terminal device 100, such as image recognition, face recognition, voice recognition, text understanding, etc. The DPU is also called a display subsystem (DSS). The DPU is used to adjust the color of the display screen 194. The DPU can adjust the color of the display screen through a color three-dimensional (3D) lookup table (LUT). DPU can also perform image scaling, noise reduction, contrast enhancement, backlight brightness management, HDR processing, and display parameter Gamma adjustment.
[0065] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed or a quantum dot light-emitting diode (QLED). In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0066] The terminal device 100 can realize the shooting function through an ISP, one or more cameras 193, a video codec, a GPU, one or more display screens 194, and an application processor.
[0067] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, data files such as music, photos, and videos are stored in the external memory card.
[0068] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can enable the terminal device 100 to perform various functional applications and data processing by running the above instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the terminal device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. In some embodiments, the processor 110 can enable the terminal device 100 to perform various functional applications and data processing by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110.
[0069] The terminal device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. For example, music playback, recording, etc. Among them, the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be set in the processor 110, or some functional modules of the audio module 170 are set in the processor 110. The speaker 170A, also known as a "speaker", is used to convert audio electrical signals into sound signals. The terminal device 100 can listen to music or listen to hands-free calls through the speaker 170A. The receiver 170B, also known as a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 100 answers a call or voice message, the voice can be answered by placing the receiver 170B close to the human ear. Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C with his mouth to input the sound signal into the microphone 170C. The terminal device 100 can be provided with at least one microphone 170C. In other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording functions, etc. The headphone jack 170D is used to connect wired headphones. The headphone jack 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0070] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
[0071] In addition, on top of the above components, an operating system is running in the terminal device, such as an iOS operating system, an Android operating system, a Windows operating system, etc. Applications can be installed and run on the operating system. In other embodiments, there may be multiple operating systems running in the terminal device.
[0072] It should be understood that Figure 1 The hardware modules included in the terminal device shown are only illustrative descriptions and do not limit the specific structure of the terminal device. In fact, the terminal device provided in the embodiment of the present application may also include other hardware modules that have an interactive relationship with the hardware modules illustrated in the figure, which are not specifically limited here. For example, the terminal device may also include a flashlight, a micro-projection device, etc. For another example, if the terminal device is a PC, then the terminal device may also include components such as a keyboard and a mouse.
[0073] The terminal device involved in the embodiments of the present application may be a device with wireless transceiver functions, which may be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; may also be deployed on water (such as ships, etc.); may also be deployed in the air (such as airplanes, balloons, and satellites, etc.). The terminal device may be a user equipment (UE), access terminal, terminal unit, subscriber unit, terminal station, mobile station (MS), mobile station, remote station, remote terminal, mobile device, wireless communication device, terminal agent or terminal device in a 5G network or a future evolved public land mobile network (PLMN). The access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The terminal may be mobile or fixed. The embodiments of the present application do not limit the specific type and structure of the terminal.
[0074] It should be understood that in the embodiments of the present application, the terminal device may be a device for implementing the functions of the terminal device, or a device capable of supporting the terminal device to implement the functions, such as a chip system, which may be installed in the terminal. In the embodiments of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.
[0075] The terminal device in the embodiments of the present application may also be referred to as: user equipment (UE), mobile station (mobilestation, MS), mobile terminal (mobile terminal, MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0076] The network devices involved in the embodiments of the present application include base stations deployed in a radio access network (RAN), core network devices deployed in a 5G core network, and IMS devices deployed in an IP multimedia subsystem (IMS) network. The base stations include but are not limited to: the next generation node B (gNB) in a 5G system.
[0077] The 5G core network is mainly responsible for user access control, mobility management, session management, user security authentication, billing and other services. The 5G core network consists of multiple functional units and can be divided into two functional entities: the 5G control plane and the 5G data plane.
[0078] The 5G control plane includes the access and mobility management function (AMF) and the session management function (SMF). AMF is responsible for user access management, security authentication, and mobility management. SMF is responsible for interacting with the separated 5G data plane, creating, updating, and deleting protocol data unit (PDU) sessions, and managing the session environment with PDU.
[0079] The 5G data plane includes the user plane function (UPF) and the data network. The UPF is responsible for interacting with the data network and managing functions such as the transmission of user plane data, traffic statistics, and secure eavesdropping. The data network can provide massive and diverse data for the UPD.
[0080] In the embodiments of the present application, network elements in the 5G core network are collectively referred to as core network devices.
[0081] The IMS network includes at least one of an access-session border controller (A-SBC), a proxy-call session control function (P-CSCF), an interrogating-call session control function (I-CSCF), a serving-call session control function (S-CSCF), or a multimedia telephony service application server (MMTEL AS).
[0082] In the embodiment of the present application, the network elements related to processing call services in the IMS network are collectively referred to as IMS devices.
[0083] It should be understood that in the embodiments of the present application, the network device may be a device for implementing the function of the network device, or may be a device capable of supporting the network device to implement the function, such as a chip system, which may be installed in the network device. It should be understood that all or part of the functions of the network device in the present application may also be implemented by software functions running on hardware, or by virtualization functions instantiated on a platform (such as a cloud platform).
[0084] It should also be understood that the network devices and terminal devices in the embodiments of the present application can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; or deployed on the water surface; or deployed on aircraft, balloons and satellites in the air. The embodiments of the present application do not limit the application scenarios of the network devices and terminal devices.
[0085] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as the fifth generation (5G) system or the future evolved communication system, vehicle-to-X V2X, where V2X may include vehicle to network (V2N), vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to pedestrian (V2P), etc., long term evolution-vehicle communication technology (LTE-V), Internet of Vehicles, machine type communication (MTC), Internet of Things (IoT), long term evolution-machine communication technology (LTE-M), machine to machine (M2M), device to device (D2D), etc.
[0086] Figure 2 It is a schematic diagram of a communication scenario provided in an embodiment of the present application. Figure 2 The communication scenario shown shows terminal device A, terminal device B and terminal device C. Among them, terminal device A is installed with SIM card 1 and SIM card 2, and supports dual-card dual-standby mode. Terminal device B and terminal device C can be installed with one or more SIM cards, which is not limited in the embodiment of the present application.
[0087] Among them, terminal device A supports dual-SIM dual-standby mode, including supporting dual-SIM single pass or dual-SIM dual pass.
[0088] Optionally, if terminal device A supports dual 5G dual-SIM dual-pass, then when SIM card 1 is registered with the 5G network and SIM card 2 is registered with the 5G network, terminal device A has the function of dual-SIM dual-pass; if at least one SIM card among SIM card 1 and SIM card 2 is not registered with the 5G network, terminal device A does not have the function of dual-SIM dual-pass.
[0089] Optionally, if terminal device A supports dual 5G+4G dual-card dual-pass, then when any one of SIM card 1 and SIM card 2 is registered to the 5G network and the other is registered to the 4G network or the 5G network, terminal device A has the function of dual-card dual-pass; when SIM card 1 and SIM card 2 are both registered to the 4G network, terminal device A does not have the function of dual-card dual-pass.
[0090] The embodiment of the present application takes the example that terminal device A has the dual-SIM dual-pass function when SIM card 1 is registered to the 5G network and SIM card 2 is registered to the 5G network, and terminal device A has the dual-SIM single-pass function when at least one of SIM card 1 and SIM card 2 is registered to the 4G network.
[0091] like Figure 2 As shown in a, SIM card 1 of terminal device A is registered for 5G network, and SIM card 2 is registered for 4G network. In this case, terminal device A has the function of dual-card single-call. Therefore, when terminal device A is making a voice over new radio (VoNR) call with terminal device B through SIM card 1, SIM card 2 is temporarily unavailable. If terminal device C calls SIM card 2 of terminal device A at this time, terminal device A cannot receive the call from terminal device C, and terminal device A cannot communicate with terminal device C. The reason for the above problem is that for terminal device A that supports dual-card single-call, the two SIM cards share a set of radio frequency resources. When SIM card 1 is in a call state, SIM card 1 will occupy all radio frequency resources, and SIM card 2 has no radio frequency resources available, so it can only be temporarily disconnected from the network and cannot make or receive calls.
[0092] like Figure 2 As shown in b, SIM card 1 of terminal device A is registered with 5G network, and SIM card 2 is registered with 5G network. In this case, terminal device A has the dual-card dual-pass function. Therefore, when terminal device A is making a VoNR call with terminal device B through SIM card 1, if terminal device C calls SIM card 2 of terminal device A at this time, terminal device A can receive the call from terminal device C through SIM card 2, and terminal device A and terminal device C can communicate normally.
[0093] by Figure 2 For example, in the example of terminal device A having dual-SIM dual-pass function, in one possible scenario, when terminal device A is making a VoNR call with terminal device B through SIM card 1, terminal device A receives an incoming call from terminal device C through SIM card 2. If terminal device A switches SIM card 1 and / or SIM card 2 from the 5G network to the 4G network based on the instruction of the base station, terminal device A falls back from dual-SIM dual-pass to dual-SIM single-pass.
[0094] When terminal device A has the dual-SIM single-call function, since SIM card 1 is on a call, SIM card 2 cannot use data services, cannot make calls or be called, so terminal device A will actively hang up the call from SIM card 2.
[0095] However, since SIM card 1 is occupying radio frequency resources for a call, terminal device A only hangs up the call from SIM card 2 locally, and the message for hanging up the call from SIM card 2 cannot be sent to the IMS device. In this way, the session status of terminal device A and the IMS device is not synchronized, and the IMS device will think that SIM card 2 is still performing a call service, which will cause SIM card 2 to be unable to make calls or be called subsequently.
[0096] Figure 3 3 is a flowchart of a call method 300 provided in an embodiment of the present application. Figure 3 As shown, method 300 describes the call flow and hang-up flow of a SIP session. Figure 2 , method 300 is composed of Figure 2 The terminal device A, terminal device B, terminal device C and network device in the embodiment interact and execute. The network device includes base station, core network device and IMS device ( Figure 3 (not shown), SIP messages are transmitted between terminal device A and terminal device B / terminal device C through base stations, core network devices and IMS devices.
[0097] Terminal device A is provided with SIM card 1 and SIM card 2, SIM card 1 is registered with the first network, and SIM card 2 is registered with the second network. In the embodiment of the present application, the first network is a 5G network, and the second network is a 5G network. For example, the terminal device A has the dual-card dual-pass function.
[0098] The method 300 includes S301 to S324, and the specific steps are as follows:
[0099] S301, terminal device B sends a first INVITE message to terminal device A through a network device, where the first INVITE message is used to request to start a session. Correspondingly, terminal device A receives the first INVITE message.
[0100] S302, terminal device A sends a first 100Trying message to terminal device B through the network device, the first 100Trying message is used to indicate that the first INVITE message has been received and the retransmission of the INVITE message is stopped. Accordingly, terminal device B receives the first 100Trying message.
[0101] S303, terminal device A sends a first 183 (session_progress) message to terminal device B through the network device, the first 183 message is used to indicate that the call is in progress. Correspondingly, terminal device B receives the first 183 message.
[0102] S304, terminal device B sends a first PRACK message to terminal device A through the network device. The first PRACK message is used to ensure the reliable transmission of temporary messages (including 101 to 199, such as the first 183 message mentioned above). If the first PRACK message is not received, the temporary message will be retransmitted. Accordingly, terminal device A receives the first PRACK message.
[0103] S305, terminal device A sends a first 200OK message to terminal device B through the network device. The first 200OK message is a response to the first INVITE message. The message transmitted from S301 to S304 above will carry the content of the session description protocol (SDP). For example, the first INVITE message includes the address of the caller and the called party, the call subject, the call priority and other information. Terminal device A sends the first 200OK message, indicating that the content exchange of SDP is completed. Correspondingly, terminal device B receives the first 200OK message.
[0104] S306, terminal device B sends a first UPDATA message to terminal device A through the network device, where the first UPDATA message is used to update the media stream state. Correspondingly, terminal device A receives the first UPDATA message.
[0105] S307, terminal device A sends a second 200OK message to terminal device B through the network device, the second 200OK message is a response to the first UPDATA message, indicating that the media stream status has been updated. Correspondingly, terminal device B receives the first 200OK message.
[0106] S308, terminal device A sends a first 180 (Ringing) message to terminal device B via the network device, the first 180 message being used to indicate that the called party has been ringing. Correspondingly, terminal device B receives the first 180 message.
[0107] S309, terminal device A sends a third 200OK message to terminal device B through the network device, and the third 200OK message indicates that the called party (terminal device A) has answered the call. Accordingly, terminal device B receives the third 200OK message.
[0108] S310, terminal device B sends an ACK message to terminal device A through a network device, wherein the first ACK message is used to indicate that the session has been established. Accordingly, terminal device A receives the first ACK message.
[0109] The above S301 to S310 introduce a complete conversation process by taking the example of terminal device B making a call to SIM card 1 of terminal device A and terminal device A answering the call. After S310, call data can be transmitted between terminal device A and terminal device B.
[0110] During the process of terminal device B and terminal device A talking through SIM card 1, terminal device C makes a call to SIM card 2 of terminal device A. The process (S311 to S318) of terminal device C calling terminal device A is similar to the process (S301 to S308) of terminal device B calling terminal device A, and will not be repeated here.
[0111] When SIM card 1 is in a call state and SIM card 2 is in an incoming call state, terminal device A can hang up the call of SIM card 1 and answer the incoming call of SIM card 2, or reject the incoming call of SIM card 2 in response to user operation.
[0112] The following S319 to S322 describe the process of hanging up SIM card 1 and connecting SIM card 2, and S323 to S324 describe the process of rejecting SIM card 2.
[0113] S319, terminal device A sends a first BYE message to terminal device B through the network device, where the first BYE message is used to terminate an established call. Correspondingly, terminal device B receives the first BYE message.
[0114] In this step, terminal device A sends a first BYE message to terminal device B in response to the user hanging up the call of SIM card 1.
[0115] S320, terminal device B sends a sixth 200OK message to terminal device A through the network device. The sixth 200OK message is a response to the first BYE message, indicating that the first BYE message has been received.
[0116] S321, terminal device A sends the seventh 200OK message to terminal device C through the network device, and the seventh 200OK message indicates that the called party (terminal device A) has answered the call. Accordingly, terminal device C receives the seventh 200OK message.
[0117] In this step, terminal device A sends a seventh 200OK message to terminal device C in response to the user's operation of answering the incoming call of SIM card 2.
[0118] S322, terminal device C sends a second ACK message to terminal device A through the network device, and the second ACK message is used to indicate that the session has been established. Correspondingly, terminal device A receives the second ACK message.
[0119] S323, terminal device A sends a first CANCEL message to terminal device C through the network device, where the first CANCEL message is used to terminate a session that has not been established. Accordingly, terminal device C receives the first CANCEL message.
[0120] S324, terminal device C sends an eighth 200OK message to terminal device A through the network device. The eighth 200OK message is a response to the first CANCEL message, indicating that the established session has been canceled.
[0121] In the above S323 to S324, terminal device A may send a first CANCEL message to the network device to reject the incoming call from terminal device C to SIM card 2 of terminal device A. Accordingly, the network device may receive the first CANCEL message and send an eighth 200OK message to terminal device A to confirm that the established session has been cancelled.
[0122] However, if SIM card 1 is in a call state and SIM card 2 is in an incoming call state, and terminal device A switches SIM card 1 and / or SIM card 2 from the 5G network to the 4G network, then terminal device A no longer has the dual-SIM dual-pass function, so terminal device A will actively hang up the incoming call of SIM card 2. At this time, the CANCEL message of terminal device A hanging up the incoming call of SIM card 2 cannot be sent to the network device, and the network device cannot synchronize the session status of SIM card 2.
[0123] It should be understood that in method 300, the first INVITE message and the second INVITE message are the same type of message, but not the same message. Similarly, the first 100Trying message and the second 100Trying message are the same type of message, but not the same message; the first 183 message and the second 183 message are the same type of message, but not the same message; the first PRACK message and the second PRACK message are the same type of message, but not the same message; the first 200OK to the eighth 200OK are the same type of message, but not the same message; the first UPDATE message and the second UPDATE message are the same type of message, but not the same message; the first 180 message and the second 180 message are the same type of message, but not the same message; the first ACK message and the second ACK message are the same type of message, but not the same message.
[0124] Figure 4 4 is a schematic flow chart of a data transmission method 400 provided in an embodiment of the present application. The method 400 is applied to a communication system including a first terminal device, a second terminal device, a third terminal device and a base station. The first terminal device is provided with a first SIM card and a second SIM card, the first SIM card is registered with a first network, and the second SIM card is registered with a second network.
[0125] Combination Figure 3 and Figure 6 Method 400 illustrates a process in which the first terminal device switches networks when the first terminal device receives an incoming call from a third terminal device during a call with a second terminal device. For a detailed description, see S401 to S409.
[0126] In the embodiment of the present application, when the first SIM card is registered with the first network and the second SIM card is registered with the second network, the first terminal device has the dual-SIM dual-communication function. The first network and the second network may be the same or different. The embodiment of the present application takes the case where the first network and the second network are the same as an example in which the first terminal device has the dual-SIM dual-communication function.
[0127] It should be understood that the first network and the second network are the same, which means that the communication systems are the same, and the communication systems include 5G, 4G, etc. For example, the first network and the second network are both 5G networks.
[0128] It should be understood that different operators may use the same or different network standards for the same communication system. For example, the 4G network standard of the first operator is time division long term evolution (TDD-LTE), and the 4G network standard of the second operator is time division long term evolution and frequency division long term evolution (TDD-LTE&FDD-LTE). For another example, the 5G network standard of the first operator and the second operator is the global unified standard 5G new radio (NR).
[0129] The method 400 includes S401 to S409, and the specific steps are as follows:
[0130] S401: A second terminal device sends a first call to a first terminal device. Correspondingly, the first terminal device receives the first call.
[0131] Exemplarily, the first terminal device may be Figure 2 Terminal device A shown in b or Figure 3 In the terminal device A, the first SIM card may be SIM card 1 of the terminal device A, and the second SIM card may be SIM card 2 of the terminal device A. The first network and the second network are 5G networks. For example, the second terminal device may be Figure 2 Terminal device B shown in b or Figure 3 Terminal device B in.
[0132] Exemplarily, when the first SIM card and the second SIM card of the first terminal device are registered with the 5G network, the first terminal device has the dual-SIM dual-pass function.
[0133] In combination with the description of the above method 300, the first terminal device and the second terminal device can communicate through the base station, the core network device and the IMS device. The first call can be the first INVITE message in S301. After receiving the first call, the first terminal device can interactively perform S302 to S308 with the second terminal device.
[0134] S402: In response to a user answering a first call on a first terminal device, a first call is established between the first terminal device and a second terminal device.
[0135] In combination with the description of the above method 300, the first terminal device starts ringing after S307, and indicates to the second terminal device that the called party has been ringing through S308. After ringing, the first terminal device answers the call from the second terminal device in response to the user's operation, and interacts with the second terminal device to perform S309 and S310, thereby establishing the first call.
[0136] S403, during the first call, the third terminal device sends a second call to the first terminal device. Correspondingly, the first terminal device receives the second call, and the first call and the second call call the number of the first SIM card and the number of the second SIM card respectively.
[0137] In conjunction with the example in S401, the first terminal device has a dual-SIM dual-communication function, so the first terminal device can receive a second call from a third terminal device during a call with the second terminal device. Figure 2 Terminal device C shown in b or Figure 3 Terminal device C in.
[0138] In combination with the description of the above method 300, the first terminal device and the third terminal device can communicate through the base station, the core network device and the IMS device. The second call can be the second INVITE message in S311. After receiving the second call, the first terminal device can interact with the third terminal device to perform S312 to S318.
[0139] In a possible scenario, the second terminal device can call the number of the first SIM card or the number of the second SIM card of the first terminal device, and the third terminal device can also call the number of the first SIM card or the number of the second SIM card of the first terminal device.
[0140] For example, the second terminal device calls the number of the first SIM card of the first terminal device. If the third terminal device calls the first SIM card of the first terminal device, the third terminal device cannot successfully call the first terminal device, and the third terminal device will prompt the user that the call is in progress; if the third terminal device calls the second SIM card of the first terminal device, the third terminal device can successfully call the first terminal device.
[0141] In the embodiment of the present application, an example is taken in which the second terminal device calls the number of the first SIM card of the first terminal device, and the third terminal device calls the number of the second SIM card of the first terminal device.
[0142] Here, calling the number of the SIM card means calling the telephone number corresponding to the SIM card.
[0143] S404, the base station sends a first event to the first terminal device. Correspondingly, the first terminal device receives the first event.
[0144] The first event is an inter-system measurement event, which is used to instruct the first terminal device to measure the signal quality of an inter-system cell adjacent to the service cell of the first terminal device. The inter-system cell and the service cell of the first terminal device belong to different communication systems. For example, the service cell of the first terminal device is a 5G cell, and the inter-system cell is a 4G cell. In the embodiment of the present application, the inter-system cell adjacent to the service cell of the first terminal device may be referred to as an inter-system neighboring cell.
[0145] It should be understood that the first terminal device may be in a mobile environment. During the movement of the first terminal device, there may be a situation where the base station instructs the first terminal device to perform network switching.
[0146] Combined with the example in S401, FIG. 5A to FIG. 5C : is a schematic diagram of network switching provided in an embodiment of the present application. Exemplarily, the first SIM card is a SIM card of a first operator, and the second SIM card is a SIM card of a second operator, then the first SIM card registers the network of the first operator, and the second SIM card registers the network of the second operator. The first operator and the second operator are the same or different. The embodiment of the present application is introduced by taking the first operator and the second operator as different examples.
[0147] like Figure 5AAs shown, the first terminal device 501 is in the overlapping area of the 5G cell of the first operator and the 5G cell of the second operator. The first SIM card and the second SIM card of the first terminal device 501 are registered with the 5G network. The first terminal device 501 can make or receive calls through the first SIM card, and the first terminal device 501 can also make or receive calls through the second SIM card. Exemplarily, at time T1, the first terminal device 501 establishes a first call with the second terminal device 502 through the first SIM card, and the second SIM card is in an unoccupied state and can normally receive calls from other terminal devices. As the first terminal device 501 moves, the position of the first terminal device 501 is constantly changing.
[0148] like Figure 5B As shown, at time T2, the first terminal device 501 moves to the edge of the second operator's 5G cell, which is in the overlapping area of the second operator's 5G cell and the second operator's 4G cell. At this time, the first terminal device 501 is conducting a first call with the second terminal device 502 through the first SIM card, and receives a second call from the third terminal device 503 through the second SIM card.
[0149] like Figure 5C As shown, after the first terminal device 501 moves to the overlapping area of the 5G cell of the second operator and the 4G cell of the second operator, the base station can send a first event to the first terminal device 501, instructing the first terminal device 501 to perform a different system measurement to measure the signal quality of the 4G cell of the second operator adjacent to the 5G cell of the second operator. Exemplarily, at time T3 after receiving the first event, the first terminal device 501 rejects the second call of the third terminal device 503, and switches the second SIM card from the 5G network of the second operator to the 4G network of the second operator based on the instruction of the base station. After the second SIM card switches from the 5G network of the second operator to the 4G network of the second operator, the first SIM card is still a SIM card registered with the 5G network of the first operator, and the second SIM card becomes a SIM card registered with the 4G network of the second operator. In this case, the first terminal device 501 no longer has the dual-card dual-pass function.
[0150] It should be understood that after the first terminal device 501 receives the first event, the second call has not been answered. When the first terminal device 501 no longer has the dual-card dual-communication function, the first terminal device 501 cannot connect the second call and will actively hang up the second call.
[0151] Optionally, the first event is a B1 event. After receiving the B1 event, the first terminal device measures the signal quality of the heterogeneous system neighboring cell of the service cell of the first terminal device based on the B1 event, and determines whether the measurement report reporting conditions of the B1 event are met. Among them, the determination of whether the measurement report reporting conditions of the B1 event are met includes: if the signal quality of the heterogeneous system neighboring cell of the current service cell of the first terminal device is higher than a first threshold value, the first terminal device needs to report the measurement report of the B1 event to the base station; if the signal quality of the heterogeneous system neighboring cell of the current service cell of the first terminal device is lower than the first threshold value, the first terminal device does not report the measurement report of the B1 event to the base station.
[0152] Optionally, the first event is a B2 event. After receiving the B1 event, the first terminal device measures the signal quality of the service cell of the first terminal device and the signal and quality of the heterosystem neighboring cells of the service cell based on the B2 event, and determines whether the measurement report reporting conditions of the B2 event are met. Wherein, the determination of whether the measurement report reporting conditions of the B2 event are met includes: if the signal quality of the current service cell of the first terminal device is lower than the second threshold value, and the signal quality of the heterosystem neighboring cells of the current service cell of the first terminal device is higher than the third threshold value, the first terminal device needs to report the measurement report of the B2 event to the base station; if the signal quality of the current service cell of the first terminal device is higher than the second threshold value, and / or the signal quality of the heterosystem neighboring cells of the current service cell of the first terminal device is lower than the third threshold value, the first terminal device does not report the measurement report of the B2 event to the base station.
[0153] Optionally, the base station may send the B1 event / B2 event via an RRC message. Optionally, the RRC message may carry a threshold value of the B1 event / B2 event.
[0154] The measurement report of the B1 event / B2 event includes the signal quality of the heterogeneous system neighboring cell of the first terminal device, for example, RSRP, RSRQ, and SINR. Optionally, the measurement report also includes at least one of the following: the physical cell identity (PCI) of the heterogeneous system neighboring cell, downlink frequency, uplink frequency, downlink bandwidth, uplink bandwidth, cell identity (CI), tracking area code (TAC), frequency bandwidth indication, mobile country code (MCC), mobile network code (MNC), or number of MNC digits.
[0155] Combination Figure 6 Description, in an optional embodiment, when the first terminal device determines that it is necessary to report the measurement report of the B1 event / B2 event to the base station, the first terminal device can execute S602 to determine whether the first SIM card and the second SIM card meet the preset conditions. The preset conditions include at least: the first network registered by the first SIM card and the second network registered by the second SIM card are 5G networks, and the first SIM card and the second SIM card are in an occupied state, and the occupied state includes a call state or an incoming call state. In the example of the embodiment of the present application, the first SIM card is registered with the 5G network, the second SIM card is registered with the 5G network, and the first terminal device is making a first call with the second terminal device through the first SIM card, and the first terminal device is receiving a second call from the third terminal device through the second SIM card. Therefore, the first SIM card is in a call state and the second SIM card is in an incoming call state, which meets the preset conditions.
[0156] Exemplarily, the first terminal device can determine the status of the first SIM card and the second SIM card by checking the usage flags of the first SIM card and the second SIM card. For example, if the usage flags of the first SIM card and the second SIM card are both "1", it means that both the first SIM card and the second SIM card have services in progress (or are occupied), where the services in progress include being on a call, making a call, and receiving a call. For another example, if the usage flag of the first SIM card is "0", it means that the first SIM card is in an idle state.
[0157] The first SIM card and the second SIM card do not meet the preset conditions, including:
[0158] Case 1: The first SIM card and / or the second SIM card are not SIM cards registered for the 5G network. For example, the first SIM card is a SIM card registered for the 5G network, and the second SIM card is a SIM card registered for the 4G network. In this case, the first terminal device does not have the dual-card dual-pass function, but has the dual-card single-pass function. Therefore, when the first SIM card is in a call state, the second SIM card cannot receive calls from other terminal devices.
[0159] Case 2: The first SIM card and the second SIM card are SIM cards registered for the 5G network, but at least one of the first SIM card and the second SIM card is in an idle state. For example, the first SIM card is in a call state and the second SIM card is in an idle state. In this case, the first terminal device has the dual-card dual-pass function, but since no other terminal device calls the second SIM card, there is no problem of hanging up the call of the second SIM card, and there is no problem of not being able to notify the IMS device of the call of the second SIM card.
[0160] Case 3: The first SIM card and / or the second SIM card is not a SIM card registered for the 5G network, and at least one of the first SIM card and the second SIM card is in an idle state. Case 3 is a combination of Case 1 and Case 2, and will not be repeated here.
[0161] If the first terminal device determines that the preset conditions are met, it means that the dual-card dual-pass mode supported by the first terminal device is dual 5G dual-card dual-pass. After at least one SIM card in the first terminal device switches to register the 4G network, the first terminal device no longer has the dual-card dual-pass function. Therefore, the first terminal device needs to execute S407 after S405 and S406 to switch the network. In this way, when the first terminal device has the dual-card dual-pass function, the message rejecting the second call to the second SIM card can be sent to the network side, so as to achieve the purpose of synchronizing the session status of the second SIM card on the network side.
[0162] Optionally, before the base station sends the first event to the first terminal device, the base station sends a third event to the first terminal device, where the third event is used to indicate measuring the signal quality of the serving cell of the first terminal device. The first terminal device reports the third measurement report to the base station when the measurement report reporting condition of the third event is met.
[0163] Exemplarily, the third event includes an A2 event, and the third measurement report is a measurement report of the A2 event. After receiving the A2 event, the first terminal device measures the signal quality of the current service cell of the first terminal device, and determines whether the measurement report reporting conditions of the A2 event are met. Among them, the determination of whether the measurement report reporting conditions of the A2 event are met includes: if the signal quality of the current service cell of the first terminal device is lower than a fourth threshold value, the first terminal device needs to report the measurement report of the A2 event to the base station; if the signal quality of the current service cell of the first terminal device is higher than the fourth threshold value, the first terminal device does not report the measurement report of the A2 event to the base station.
[0164] Optionally, before the base station sends the A2 event to the first terminal device, the base station sends the A1 event to the first terminal device. After receiving the A1 event, the first terminal device measures the signal quality of the current service cell of the first terminal device, and determines whether the measurement report reporting conditions of the A1 event are met. If the signal quality of the current service cell of the first terminal device is higher than the fifth threshold value, the first terminal device needs to report the measurement report of the A1 event to the base station. After the base station receives the measurement report of the A1 event, it stops the hetero-frequency / hetero-system measurement; if the signal quality of the current service cell of the first terminal device is lower than the fifth threshold value, the first terminal device does not report the measurement report of the A1 event to the base station. If the base station does not receive the measurement report of the A1 event, it sends the A2 event to the first terminal device to instruct the first terminal device to continue measuring whether the signal quality of the current service cell is lower than the fourth threshold value.
[0165] S405: The first terminal device sends a cancellation message to the base station to reject the second call. Correspondingly, the base station receives the cancellation message.
[0166] Combination Figure 6 In an optional embodiment, when the first SIM card and the second SIM card meet the preset conditions, the first terminal device sends a cancellation message to the base station to reject the second call, that is, execute S603 in method 600. The second call is a call from the third terminal device to the second SIM card of the first terminal device.
[0167] In combination with the description of the above method 300, the cancellation message in this step may be the first CANCEL in S323, which is used to terminate a session that has not been established, which in the embodiment of the present application is to reject the second call of the third terminal device.
[0168] In this step, after receiving the first event, the first terminal device sends a cancellation message to the base station when it has the dual-card dual-pass function, so the cancellation message can be sent to the base station normally. It should be understood that after receiving the cancellation message, the base station sends the cancellation message to the IMS device through the core network device, so that the IMS device synchronizes the session state of the second SIM card to an unoccupied state, and then when other terminal devices call the number of the second SIM card of the first terminal device, the first terminal device can receive the call normally through the second SIM card. Alternatively, the first terminal device can make calls to other terminal devices normally through the second SIM card.
[0169] S406, the base station sends a confirmation message of the cancellation message to the first terminal device. Correspondingly, the first terminal device receives the confirmation message of the cancellation message.
[0170] Combined with the description of the above method 300, the confirmation message of the cancellation message in this step can be the eighth 200OK message in S324, indicating that the establishment of the session has been canceled. In the embodiment of the present application, the establishment of the session between the first terminal device and the third terminal device has been canceled.
[0171] In this step, after receiving a confirmation message of the cancellation message transparently transmitted from the IMS device through the core network device, the base station sends a confirmation message of the cancellation message to the first terminal device.
[0172] S407, the first terminal device sends a first measurement report to the base station. Correspondingly, the base station receives the first measurement report.
[0173] In this step, the first measurement report is a measurement report for the first event. Combined with the description in S404, after receiving the first event, the first terminal device measures the signal quality of the heterogeneous system neighboring cell of the current service cell of the first terminal device, and reports the first measurement report to the base station if the measurement report reporting conditions of the first event are met.
[0174] It should be noted that the first terminal device sends the first measurement report to the base station after receiving the confirmation message of the cancellation message (ie, S407 is executed after S406). In combination with the description in method 600, S407 can be executed after receiving the confirmation message of the cancellation message in S604 and before registering the second SIM card with the 4G network.
[0175] S408, the base station sends a first switching instruction to the first terminal device, the first switching instruction is used to instruct the first terminal device to register the second SIM card with a third network, the third network is different from the second network in network standard. Accordingly, the first terminal device receives the first switching instruction.
[0176] In this step, after receiving the first measurement report reported by the first terminal device, the base station sends a first switching instruction to the first terminal device. Exemplarily, the network standard of the second network is the 5G NR standard, and the third network is the 4G TT D-LTE standard.
[0177] S409: The first terminal device registers the second SIM card with the third network.
[0178] In this step, the first terminal device registers the second SIM card with the third network. The third network is different from the first network. It can be understood that the communication systems of the third network and the first network are different. For example, the first network is a 5G network and the third network is a 4G network.
[0179] In combination with the description in method 600, this step may be performed after S603, that is, corresponding to registering the second SIM card with the 4G network in S604.
[0180] After this step, the first SIM card of the first terminal device is registered with the first network, and the second SIM card is registered with the third network, and the first network and the third network are different. When the first network and the second network are different, the first terminal device no longer has the dual-card dual-pass function, but has the dual-card single-pass function.
[0181] Based on the technical solution of the present application, when the first SIM card of the two SIM cards of the first terminal device is in a call and the second SIM card is receiving an incoming call, if the first terminal device receives the first event of the base station, the first terminal device first sends a message to the base station for indicating the rejection of the incoming call, and after receiving the confirmation message of the network side for the message for indicating the rejection of the incoming call, the first terminal device sends a first measurement report to the base station, and then performs network switching based on the instruction of the base station. After the network switching, the first terminal device falls back from dual-card dual-pass to dual-card single-pass. Therefore, the first terminal device still has the dual-card dual-pass function when sending the message for indicating the rejection of the incoming call, and then the message for indicating the rejection of the incoming call can be sent to the network side, so that the network side can synchronize the session state of the second SIM card to the unoccupied state, which is conducive to avoiding the problem that the second SIM card cannot make calls or be called later.
[0182] Optionally, the method 400 further includes: after the call of the first SIM card is hung up, in response to a user operation, the first terminal device makes a call with the second terminal device through the second SIM card.
[0183] In an embodiment of the present application, the first terminal device can make a call with another terminal device in response to a user operation without re-registering the network. The user operation can be an operation of making a call, and the first terminal device can make a call to the second terminal device through the second SIM card after the first SIM card is hung up. The user operation can also be an operation of answering an incoming call, and the first terminal device can answer an incoming call from the second terminal device through the second SIM card after the first SIM card is hung up.
[0184] Figure 6 It is a schematic flow chart of another data transmission method 600 provided in an embodiment of the present application. The steps of method 600 are performed by a first terminal device, and the first terminal device is provided with a first SIM card and a second SIM card. If the first terminal device only supports dual 5G dual-card dual-pass, then when the first SIM card and the second SIM card are registered with the 5G network, the first terminal device has the dual-card dual-pass function, otherwise the first terminal device does not have the dual-card dual-pass function. Exemplarily, when the first terminal device has the dual-card dual-pass function, the first terminal device can talk with other terminal devices through the first SIM card. During the call, the first terminal device receives incoming calls from other terminal devices through the second SIM card, and the incoming calls have not been connected at this time.
[0185] Optionally, combined Figure 4 From S401 to S409 in the method 600, the first terminal device illustrates the internal judgment logic of switching the network mode after receiving the B1 event / B2 event in the scenario where the first terminal device makes a call through the first SIM card and receives an incoming call through the second SIM card. It should be noted that the method 600 does not rely on Figure 4 In order to facilitate understanding, this embodiment only exemplarily compares method 600 with Figure 4 The illustrated method is described in combination. The method 600 can be executed independently. The method 600 includes S601 to S606. The specific steps are as follows:
[0186] S601, determine whether the B1 event / B2 event sent by the base station is received. If yes, execute S602; if not, end this process.
[0187] The B1 event / B2 event may refer to the description of S404 and will not be described again here.
[0188] S602, determine whether the first SIM card and the second SIM card meet the preset conditions. The preset conditions include at least: the first SIM card and the second SIM card are SIM cards registered for the 5G network, and the first SIM card and the second SIM card are in an occupied state, and the occupied state includes a call state or an incoming call state. If yes, execute S603 and S604, wherein S603 is executed before S604; if not, execute S605 and S606, wherein S605 is executed before S606.
[0189] S603: Send a cancel message to the base station to reject the incoming call from the second SIM card.
[0190] It should be understood that at this time, the first SIM card and the second SIM card of the first terminal device are still registered with the 5G network, and the first terminal device still has the dual-card dual-pass function, so the first terminal device can normally send the hang-up message to the network side. The network side includes a base station, a core network device, and an IMS device. After receiving the hang-up message, the base station can send a hang-up message to the IMS device via the core network device, so that the IMS device can synchronize the session state of the second SIM card.
[0191] S604, after receiving the confirmation message of the cancellation message, register the second SIM card with the 4G network. After the first terminal device registers the second SIM card with the 4G network, the first terminal device no longer has the dual-SIM dual-communication function.
[0192] S605, register the second SIM card with the 4G network. After the first terminal device registers the second SIM card with the 4G network, the first terminal device no longer has the dual-SIM dual-communication function.
[0193] S606, sending a cancellation message to the base station to reject the incoming call from the second SIM card. It should be understood that at this time, the first SIM card of the first terminal device is registered with the 5G network, and the second SIM card is registered with the 4G network. The first terminal device no longer has the dual-card dual-communication function. Therefore, the first terminal device cannot send a hang-up message to the network side, but only hangs up the incoming call from the second SIM card locally.
[0194] In the embodiment of the present application, after receiving the B1 event / B2 event, the first terminal device determines whether the first SIM card and the second SIM card meet the preset conditions when the measurement report reporting conditions of the B1 event / B2 event are met. When the preset conditions are met, the first terminal device delays the reporting of the measurement report of the B1 event / B2 event, first sends a hang-up message for rejecting the incoming call of the second SIM card to the network side, and after receiving the confirmation message of the hang-up message from the network side, reports the measurement report of the B1 event / B2 event, and then registers the second SIM card with the 4G network to implement network switching. This is conducive to improving the success rate of sending the hang-up message, realizing the synchronization of the session status of the SIM card between the first terminal device and the network side, thereby avoiding the problem that the SIM card of the first terminal device cannot perform call services in the future.
[0195] by Figure 2 Taking the terminal device A shown in b as having the 5G dual-SIM dual-pass function as an example, in a possible scenario, when the terminal device A is making a VoNR call with the terminal device B through the SIM card 1, the terminal device A receives an incoming call from the terminal device C through the SIM card 2. In response to the user operation, the terminal device A answers the incoming call from the terminal device C and holds the call with the terminal device B. The terminal device A holding the call with the terminal device B means temporarily suspending the call without hanging up. After the call between the terminal device A and the terminal device C ends, the terminal device A can resume the call with the terminal device B.
[0196] Figure 7 This is a schematic diagram of a call interface of a terminal device with 5G dual-SIM dual-pass function provided in an embodiment of the present application.
[0197] like Figure 7 As shown in a, terminal device A is making a VoNR call with terminal device B through SIM card 1, and terminal device A displays the call interface with terminal device B.
[0198] During the process of terminal device A talking to terminal device B through SIM card 1, SIM card 2 of terminal device A receives an incoming call from terminal device C and displays the incoming call interface.
[0199] Figure 7 The figure b is a possible incoming call interface, which includes controls 01 and 02. Control 01 is used to end the call with terminal device B through SIM card 1 and answer the call from terminal device C through SIM card 2, control 02 is used to reject the call from SIM card 2, and control 03 is used to answer the call from SIM card 2 and keep the call from SIM card 1.
[0200] Figure 7c in FIG. 1 is another possible incoming call interface, which includes controls 04 and 05. In one possible design, control 04 is used to answer the incoming call from SIM card 2 and hold the incoming call from SIM card 1, and control 05 is used to hang up the incoming call from SIM card 2. In another possible design, control 04 is used to answer the incoming call from SIM card 2 and hang up the incoming call from SIM card 1.
[0201] For example, the user selects control 03 or control 04, and control 04 is used to answer the incoming call of SIM card 2 and hold the incoming call of SIM card 1. Figure 7 As shown in d in FIG, after the user answers the call from terminal device C on terminal device A, terminal device A conducts a VoNR call with terminal device C through SIM card 2, and terminal device A displays the call interface with terminal device C. At this time, the call between terminal device A and terminal device B is retained and not hung up. After the user hangs up the call on SIM card 2, he can switch back to the call with terminal device B on terminal device A.
[0202] However, when terminal device A is communicating with terminal device C through SIM card 2 and maintaining a call with terminal device B, if terminal device A switches SIM card 2 from the 5G network to the 4G network, terminal device A no longer has the dual-card dual-communication function. In this case, terminal device A cannot meet the needs of simultaneous calls with two SIM cards, and can hang up the call with terminal device B through SIM card 1 and continue the call with terminal device C through SIM card 2. However, after terminal device A switches SIM card 2 from the 5G network to the 4G network, the message of terminal device A hanging up the call with SIM card 1 cannot be synchronized to the network side, so terminal device A cannot make calls or be called through SIM card 1 subsequently.
[0203] Based on the above problems, Figure 8 8 is a schematic flow chart of another data transmission method 800 provided in an embodiment of the present application. The method 800 is applied to a communication system including a first terminal device, a second terminal device, a third terminal device and a base station. The first terminal device is provided with a first SIM card and a second SIM card, the first SIM card is registered with a first network, and the second SIM card is registered with a second network.
[0204] Combination Figure 3 and Figure 7 Method 800 illustrates a process in which the first terminal device performs network switching in a scenario in which the first terminal device retains a call with the second terminal device and conducts a call with the third terminal device. For a specific description, see S801 to S810.
[0205] In the embodiment of the present application, when the first SIM card is registered with the first network and the second SIM card is registered with the second network, the first terminal device has the dual-SIM dual-communication function. The first network and the second network may be the same or different. The embodiment of the present application takes the case where the first network and the second network are the same as an example in which the first terminal device has the dual-SIM dual-communication function.
[0206] In the embodiment of the present application, the first terminal device may correspond to Figure 2 For the terminal device A shown in b in FIG. 1 , when the first network is a 5G network and the second network is a 5G network, the first terminal device has the dual-SIM dual-pass function; when at least one of the first network and the second network is a 4G network, the first terminal device does not have the dual-SIM dual-pass function. The second terminal device can correspond to Figure 2 The terminal device B in the example, the third terminal device may correspond to Figure 2 Terminal device C shown in b.
[0207] The method 800 includes S801 to S810, and the specific steps are as follows:
[0208] S801: A second terminal device sends a first call to a first terminal device. Correspondingly, the first terminal device receives the first call from the second terminal device.
[0209] In combination with the description of the above method 300, the first terminal device and the second terminal device can communicate through the base station, the core network device and the IMS device. The first call can be the first INVITE message in S301. After receiving the first call, the first terminal device can interactively perform S302 to S308 with the second terminal device.
[0210] S802: In response to a user answering a first call on a first terminal device, a first call is established between the first terminal device and a second terminal device.
[0211] In combination with the description of the above method 300, the first terminal device starts ringing after S307, and indicates to the second terminal device that the called party has been ringing through S308. After ringing, the first terminal device answers the call from the second terminal device in response to the user's operation, and interacts with the second terminal device to perform S309 and S310, thereby establishing the first call.
[0212] S803, during the first call, the third terminal device sends a second call to the first terminal device. Correspondingly, the first terminal device receives the second call, and the first call and the second call respectively call the number of the first SIM card and the number of the second SIM card. The embodiment of the present application is introduced by taking the first call as a call to the number of the first SIM card and the second call as a call to the number of the second SIM card as an example.
[0213] In combination with the description of the above method 300, the first terminal device and the third terminal device can communicate through the base station, the core network device and the IMS device. The second call can be the second INVITE message in S311. After receiving the second call, the first terminal device can interact with the third terminal device to perform S312 to S318.
[0214] The above descriptions of S801 to S803 are similar to those of S501 to S503 and are not repeated here.
[0215] S804: In response to the user answering the second call on the first terminal device, a second call is established between the first terminal device and the second terminal device, and the first call is retained.
[0216] In combination with the description of the above method 300, the first terminal device starts ringing after S317, and indicates to the third terminal device that the called party has been ringing through S318. After ringing, the first terminal device answers the call from the third terminal device in response to the user's operation, and interacts with the third terminal device to perform S321 and S322, thereby establishing a second call.
[0217] The first call is on hold, indicating that the first terminal device temporarily suspends the first call without hanging up (e.g. Figure 7 As shown in d in FIG. 1 , the conversation path between the first terminal device and the second terminal device still exists, and the user can switch between the first call and the second call.
[0218] S805, the base station sends a second event to the first terminal device, and correspondingly, the first terminal device receives the second event.
[0219] Exemplarily, the second event is a B1 event / B2 event. The explanation of the B1 event / B2 event can refer to the description of S404, which will not be repeated here.
[0220] S806: The first terminal device sends a hang-up message to the base station to end the first call. Accordingly, the base station receives the hang-up message.
[0221] In this step, after receiving the second event, the first terminal device sends a hang-up message to the base station if it has the dual-SIM dual-communication function, so the hang-up message can be sent to the network side normally.
[0222] In combination with the description of the above method 300, the hang-up message may be the first BYE message in S319.
[0223] It should be understood that after receiving the hang-up message, the base station sends the hang-up message to the IMS device via the core network device, so that the IMS device synchronizes the session state of the first SIM card to an unoccupied state, and then when other terminal devices call the number of the first SIM card of the first terminal device, the first terminal device can normally receive the call through the first SIM card. Alternatively, the first terminal device can normally make calls to other terminal devices through the first SIM card.
[0224] S807, the base station sends a confirmation message of the hang-up message to the first terminal device. Correspondingly, the first terminal device receives the confirmation message of the hang-up message.
[0225] In combination with the description of the above method 300, the confirmation message of the hang-up message may be the sixth 200OK in S320.
[0226] In this step, after receiving the confirmation message of the hang-up message transparently transmitted from the IMS device through the core network device, the base station sends the confirmation message of the hang-up message to the first terminal device. After receiving the confirmation message of the hang-up message, the first terminal device can determine that the network side has synchronized the session state of the first SIM card.
[0227] S808, the first terminal device sends a second measurement report to the base station. Correspondingly, the base station receives the second measurement report.
[0228] It should be understood that the second measurement report is a measurement report for the second event. After receiving the second event, the first terminal device measures the signal quality of the heterosystem neighboring cell of the first terminal device. When the measurement report reporting conditions of the second event are met, the first terminal device sends the second measurement report to the base station. Exemplarily, the second event is a B1 event, and the measurement report reporting conditions of the second event are met, including: the signal quality of the heterosystem neighboring cell of the current service cell of the first terminal device is higher than the first threshold value.
[0229] S809, the base station sends a second switching instruction to the first terminal device, the second switching instruction is used to instruct the first terminal device to register the second SIM card with a third network, the third network is different from the second network in network standard. Accordingly, the first terminal device receives the second switching instruction.
[0230] In this step, after receiving the second measurement report reported by the first terminal device, the base station sends a second switching instruction to the first terminal device. Exemplarily, the network standard of the second network is the 5G NR standard, and the third network is the 4G TT D-LTE standard.
[0231] S810: The first terminal device registers the second SIM card with the third network.
[0232] In this step, the first terminal device registers the second SIM card with the third network. The third network is different from the first network. It can be understood that the communication systems of the third network and the first network are different. For example, the first network is a 5G network and the third network is a 4G network.
[0233] Based on the technical solution of the present application, when the first call of the first SIM card of the first terminal device is reserved and the second call is being made through the second SIM card, if the first terminal device receives the second event of the base station, the first terminal device first sends a message to the base station for instructing to hang up the first call of the first SIM card, and after receiving the confirmation message of the network side for the message for instructing to hang up the first call, the first terminal device sends a second measurement report to the base station, and then performs network switching based on the instruction of the base station. After the network switching, the first terminal device falls back from dual-card dual-pass to dual-card single-pass. Therefore, when the first terminal device sends the message for instructing to hang up the first call, it still has the function of dual-card dual-pass, and then the message for instructing to hang up the first call can be sent to the network side, so that the network side can synchronize the session state of the first SIM card to an unoccupied state, which is conducive to avoiding the problem that the first SIM card cannot make calls or be called later.
[0234] An embodiment of the present application provides a terminal device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the above method.
[0235] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.
[0236] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The above method is implemented when the computer program is executed by the processor. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.
[0237] In one possible implementation, a computer readable medium may include random access memory (RAM), read-only memory (ROM), compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile discs (DVD), floppy disks and Blu-ray discs, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer readable media.
[0238] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.
[0239] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0240] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above are only specific implementation methods of the present application and are not used to limit the protection scope of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the protection scope of the present application.
Claims
1. A data transmission method, characterized in that: Applied to a first terminal device, the first terminal device is provided with a first subscriber identity module SIM card and a second SIM card, the first SIM card is registered with a first network, and the second SIM card is registered with a second network; When the first SIM card is registered with the first network and the second SIM card is registered with the second network, the first terminal device is in a dual-SIM dual-connection state; the method includes: The first terminal device receives a first call from a second terminal device; In response to the user answering the first call on the first terminal device, establishing a first call between the first terminal device and the second terminal device; During the first call, the first terminal device receives a second call from a third terminal device, the first call and the second call call the number of the first SIM card and the number of the second SIM card respectively; After receiving the first event from the base station, the first terminal device sends a cancellation message to reject the second call; when receiving the first event, the second call is not answered; After receiving a confirmation message of the cancellation message, the first terminal device sends a first measurement report to the base station; after receiving the first event and before sending the first measurement report, the first terminal device determines that a measurement report reporting condition of the first event is met; the first measurement report is generated by the first terminal device based on the measurement triggered by the first event; The first terminal device receives a first switching instruction from the base station, and registers the second SIM card with a third network, where the third network is different from the second network in network standard; when the first SIM card is registered with the first network and the second SIM card is registered with the third network, the first terminal device is in a dual-card single-pass state; the first switching instruction is sent by the base station after receiving the first measurement report.
2. The method according to claim 1, characterized in that After the first terminal device receives a second call from a third terminal device, when answering the second call, the method further includes: In response to the user answering the second call on the first terminal device, a second call is established between the first terminal device and the third terminal device, and the first call is retained; After receiving the second event from the base station, the first terminal device sends a hang-up message to end the first call; After receiving a confirmation message of the hang-up message, the first terminal device sends a second measurement report to the base station; after receiving the second event and before sending the second measurement report, the first terminal device determines that a measurement report reporting condition of the second event is met; the second measurement report is generated by the first terminal device based on the measurement triggered by the second event; The first terminal device receives a second switching instruction from the base station and registers the second SIM card with the third network; the second switching instruction is sent by the base station after receiving the second measurement report.
3. The method according to claim 1 or 2, characterized in that: If the first network and the second network are fifth-generation mobile communication technology 5G networks, the first terminal device is in a dual-SIM dual-pass state.
4. The method according to claim 3, characterized in that Before the first terminal device sends a cancellation message, the method includes: The first terminal device determines that the first SIM card and the second SIM card are SIM cards registered with the 5G network, and the first SIM card and the second SIM card are both in an occupied state, and the occupied state includes a call state or an incoming call state.
5. The method according to any one of claims 1 to 2 and 4, characterized in that: The first event is a B1 event / B2 event; After receiving the first event from the base station, the method further includes: The first terminal device measures the signal quality of a first cell based on the B1 event / B2 event, where the first cell and a serving cell of the first terminal device belong to different communication systems; The first terminal device obtains the first measurement report according to the signal quality of the first cell.
6. The method according to any one of claims 1-2 and 4, characterized in that: Before receiving the first event from the base station, the method further includes: The first terminal device receives a third event from the base station, where the third event is used to indicate measuring a signal quality of a serving cell of the first terminal device; If the signal quality of the serving cell of the first terminal device is lower than a threshold value, the first terminal device sends a third measurement report to the base station, where the third measurement report includes the signal quality of the serving cell of the first terminal device.
7. A data transmission method, characterized in that: Applied to a first terminal device, the first terminal device is provided with a first subscriber identity module SIM card and a second SIM card, the first SIM card is registered with a first network, and the second SIM card is registered with a second network; When the first SIM card is registered with the first network and the second SIM card is registered with the second network, the first terminal device is in a dual-SIM dual-access state; The method comprises: The first terminal device receives a first event from a base station; After receiving the first event from the base station, the first terminal device determines whether the first SIM card and the second SIM card meet preset conditions; wherein the preset conditions at least include: the first network and the second network are fifth generation mobile communication technology 5G networks, and the first SIM card and the second SIM card are in an occupied state, and the occupied state includes a call state or an incoming call state; When the first SIM card and the second SIM card meet the preset condition, the first terminal device sends a termination message to reject the incoming call of the second SIM card, or hangs up the call of the first SIM card; After receiving a confirmation message of the termination message, the first terminal device sends a first measurement report to the base station; after receiving the first event and before sending the first measurement report, the first terminal device determines that a measurement report reporting condition of the first event is met; the first measurement report is generated by the first terminal device based on the measurement triggered by the first event; The first terminal device receives a third switching instruction from the base station, and registers the second SIM card with a third network, wherein the third network is different from the second network in network standard; when the first SIM card is registered with the first network and the second SIM card is registered with the third network, the first terminal device is in a dual-card single-pass state; the third switching instruction is sent by the base station after receiving the first measurement report.
8. A data transmission method, characterized in that: Applied to a base station, the method comprises: The base station sends a first event to a first terminal device; wherein the first terminal device is provided with a first subscriber identification module SIM card and a second SIM card, the first SIM card is registered with a first network, the second SIM card is registered with a second network, the first terminal device is making a first call with the second terminal device, and the first terminal device is receiving a second call from a third terminal device; when the first SIM card is registered with the first network and the second SIM card is registered with the second network, the first terminal device is in a dual-card dual-pass state; The base station receives a cancellation message from the first terminal device, where the cancellation message is used to reject the second call; The base station sends a confirmation message of the cancellation message to the first terminal device; After the base station sends a confirmation message of the cancellation message to the first terminal device, the base station receives a first measurement report from the first terminal device; the first measurement report is generated by the first terminal device performing measurement based on the triggering of the first event; The base station sends a first switching instruction to the first terminal device, where the first switching instruction instructs the first terminal device to register the second SIM card with a third network, where the network standard of the third network is different from that of the second network; when the first SIM card is registered with the first network and the second SIM card is registered with the third network, the first terminal device is in a dual-card single-pass state; the first switching instruction is sent by the base station after receiving the first measurement report.
9. A data transmission method, characterized in that: Applied to a communication system including a first terminal device and a base station, the first terminal device is provided with a first subscriber identification module SIM card and a second SIM card, the first SIM card is registered with a fifth generation mobile communication technology 5G network, and the second SIM card is registered with the 5G network; when the first SIM card is registered with the 5G network and the second SIM card is registered with the 5G network, the first terminal device is in a dual-card dual-pass state; the method includes: The first terminal device receives a first call from a second terminal device; In response to the user answering the first call on the first terminal device, establishing a first call between the first terminal device and the second terminal device; During the first call, the first terminal device receives a second call from a third terminal device, the first call and the second call call the number of the first SIM card and the number of the second SIM card respectively; The base station sends a first event to the first terminal device; After receiving the first event, the first terminal device sends a cancellation message to reject the second call; when receiving the first event, the second call is not answered; After receiving a confirmation message of the cancellation message, the first terminal device sends a first measurement report to the base station, and after receiving the first event and before sending the first measurement report, the first terminal device determines that a measurement report reporting condition of the first event is met; the first measurement report is generated by the first terminal device performing measurement based on the triggering of the first event; After receiving the first measurement report, the base station sends a fourth switching instruction to the first terminal device, and the fourth switching instruction instructs the first terminal device to register the second SIM card with the fourth generation mobile communication technology 4G network; when the first SIM card is registered with the 5G network and the second SIM card is registered with the 4G network, the first terminal device is in a dual-card single-pass state; the fourth switching instruction is sent by the base station after receiving the first measurement report.
10. A terminal device, characterized in that: For carrying out the method according to any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 7.
12. A computer program product, characterized in that The invention comprises a computer program which, when being executed, causes a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Processing requests for measurement of signal quality at the location of a user equipment with multiple sims
CN107889050A
Techniques for handling calls associated with user equipment transition from dual active mode to dual standby mode
US20220248274A1