CN117693075A - SIM card switching method and related equipment - Google Patents
SIM card switching method and related equipment Download PDFInfo
- Publication number
- CN117693075A CN117693075A CN202310549745.2A CN202310549745A CN117693075A CN 117693075 A CN117693075 A CN 117693075A CN 202310549745 A CN202310549745 A CN 202310549745A CN 117693075 A CN117693075 A CN 117693075A
- Authority
- CN
- China
- Prior art keywords
- card
- sim card
- terminal
- data service
- pdu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 89
- 230000009849 deactivation Effects 0.000 claims abstract description 44
- 230000008569 process Effects 0.000 claims abstract description 23
- 230000015654 memory Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 7
- 230000000903 blocking effect Effects 0.000 claims description 2
- 230000004913 activation Effects 0.000 abstract description 35
- 230000003213 activating effect Effects 0.000 description 10
- 230000003993 interaction Effects 0.000 description 9
- 230000009977 dual effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the application provides a SIM card switching method and related equipment. The method can be applied to a terminal provided with two SIM cards. According to the method, in the process that the terminal switches the data service SIM card from the main card to the auxiliary card, the main card in the terminal does not need to disconnect PDU connection, and in the process that the subsequent terminal switches the data service SIM card from the auxiliary card to the main card, the auxiliary card in the terminal does not need to disconnect PDU connection, and the main card in the terminal does not need to reestablish PDU connection. After the above-mentioned switching from the sub card to the main card is completed, the sub card in the terminal can disconnect the PDU connection. The method can greatly shorten the deactivation time and the activation time of the terminal when the data service SIM card is switched under the condition that the network garbage bag is prevented from being received by the auxiliary card as much as possible.
Description
Technical Field
The present disclosure relates to the field of communications, and in particular, to a SIM card switching method and related devices.
Background
Currently, many terminals can support the use of dual cards, i.e., two subscriber identity (Subscriber Identity Module, SIM) cards. These terminals may also be referred to as dual card terminals. The dual-card terminal only supports one SIM card to use Radio Frequency (RF) resources at the same time. That is, the dual-card terminal can only use one of the SIM cards as the data service network card at the same time. It will be appreciated that the dual card terminal would otherwise use card 1 as a data service SIM card, and that card 2 could also be used later as a data service SIM card. In the process that the dual-card terminal switches the data service SIM card from the card 1 to the card 2, the dual-card terminal firstly needs to deactivate the data service by the card 1, and after the data service is deactivated by the card 1, the data service is activated by the card 2. That is, only one SIM card in the dual card terminal activates the data service if the other SIM card deactivates the data service. In the process of deactivating and activating the data service, the dual-card terminal cannot access the internet, so that the internet surfing experience of the user is affected.
Therefore, how to reduce the time that the dual-card terminal cannot access the internet in the process of switching the data service SIM card is a problem to be solved.
Disclosure of Invention
The application provides a SIM card switching method and related equipment. The method can be applied to a terminal provided with two SIM cards. According to the method, in the process that the terminal switches the data service SIM card from the main card to the auxiliary card, the main card in the terminal does not need to disconnect PDU connection, and in the process that the subsequent terminal switches the data service SIM card from the auxiliary card to the main card, the auxiliary card in the terminal does not need to disconnect PDU connection, and the main card in the terminal does not need to reestablish PDU connection. After the above-mentioned switching from the sub card to the main card is completed, the sub card in the terminal can disconnect the PDU connection.
In a first aspect, the present application provides a SIM card switching method. The method may be applied to a terminal comprising a first SIM card and a second SIM card. The first SIM card is a data service SIM card used by the terminal by default. The method may include: under the condition that the terminal detects that the current scene is a first switching scene, the terminal can switch the used data service SIM card from the first SIM card to a second SIM card; the terminal can set a second SIM card PDU keep-alive; and under the condition that the terminal detects to exit the first switching scene, the terminal can switch the used data service SIM card from the second SIM card to the first SIM card. The terminal can keep PDU connection of the second SIM card in the process of switching the used data service SIM card from the second SIM card to the first SIM card.
In the scheme provided by the application, the terminal can switch the data service SIM card from the first SIM card to the second SIM card under a specific scene (for example, a first switching scene), and the second SIM card PDU is set to keep alive after the switching is completed, so that the second SIM card can keep PDU connection without disconnecting in the process of switching the data service SIM card back to the first SIM card. The method can greatly shorten the time for switching the data service SIM card by the terminal under the condition that the network garbage bag is prevented from being received by the auxiliary card as much as possible.
In some embodiments of the present application, the terminal may set the first SIM card PDU keep alive in case the terminal detects that the data service is turned on for the first time. And whether PDU keep-alive is set by the second SIM card or not, the terminal starts the PDU keep-alive of the first SIM card.
In some embodiments of the present application, when the terminal detects that the data service is turned on for the first time, the terminal may set the second SIM card not to perform PDU keep-alive, and then the terminal sets the second SIM card again to perform PDU keep-alive under a specific scenario (for example, the switching of the data service card to the second SIM card is completed under the first switching scenario).
It can be understood that the data service SIM card is a SIM card corresponding to a data service used by the terminal. Namely, the data service used by the terminal is the data service of the data service SIM card. The terminal sets the second SIM card PDU to keep alive, which can be understood as: and the second SIM card in the terminal performs PDU keep-alive. I.e. the terminal opens the second SIM card PDU keep alive.
In some embodiments of the present application, the first SIM card is card 1 and the second SIM card is card 2.
In some embodiments of the present application, the first switching scenario refers to an automatic switching data service SIM card scenario. The description of the automatic switching data service SIM card scenario will be referred to later and will not be explained here.
With reference to the first aspect, in a possible implementation manner, the method may further include: after the terminal switches the used data service SIM card from the second SIM card to the first SIM card, the terminal may disconnect the PDU connection of the second SIM card.
In the scheme provided by the application, after the terminal switches the data service SIM card from the first SIM card to the second SIM card and sets the PDU of the second SIM card to keep alive, once the terminal detects that the terminal exits the first switching scene, the terminal can switch the data service SIM card from the second SIM card to the first SIM card, and in the process, the terminal keeps the PDU connection of the first SIM card and the second SIM card. After the terminal switches the data service SIM card from the second SIM card to the first SIM card, the terminal uses the data service of the first SIM card. In this case, the terminal may disconnect the PDU of the second SIM card. By the mode, in the process of switching the data service SIM card by the terminal, the terminal does not need to disconnect PDU connection of the SIM card and reestablish PDU connection of the SIM card, so that the time of switching the data service SIM card by the terminal is shortened. After the data service SIM card is switched to the second SIM card, the terminal can not keep PDU connection of the second SIM card, and network garbage can be prevented from being received because PDU connection of the second SIM card is not disconnected when the data service of the first SIM card is used.
With reference to the first aspect, in a possible implementation manner, the disconnecting, by the terminal, the PDU of the second SIM card may specifically include: and under the condition that the duration after the used data service SIM card is switched from the second SIM card to the first SIM card exceeds the first time threshold, the terminal can disconnect the PDU connection of the second SIM card.
In the scheme provided by the application, the terminal does not need to disconnect the PDU connection of the second SIM card immediately after completing the switching of the data service card from the second SIM card to the first SIM card, but disconnects the PDU connection of the second SIM card after completing the switching for a period of time. In this way, the terminal can disconnect the PDU connection of the second SIM card again under the condition of stably using the data service of the first SIM card.
In some embodiments of the present application, the first time threshold is a default duration defined by a timer referred to hereinafter.
With reference to the first aspect, in a possible implementation manner, the setting, by the terminal, that the second SIM card PDU is kept alive may specifically include: under the condition that the terminal finishes switching the used data service SIM card from the first SIM card to the second SIM card, the terminal can send an instruction for starting the PDU keep-alive of the second SIM card to a second SIM card baseband chip in the terminal through the data service SIM card management module.
In some embodiments of the present application, the second SIM card baseband chip may be a card 2 baseband chip. The instruction to turn on the second SIM card PDU keep-alive may be card 2PDU keep-alive policy_2.
In some embodiments of the present application, the data service SIM card management module is not integrated in the telephone in the terminal. That is, the terminal includes a data service SIM card management module and a telephone. In this case, the terminal finishes switching the used data service SIM card from the first SIM card to the second SIM card, which may specifically include: the data service SIM card management module receives the handoff completion message_1 sent by the telephone. It will be appreciated that such an implementation may be particularly described with reference to fig. 5A.
In some embodiments of the present application, the data service SIM card management module is integrated in a telephone in the terminal. That is, the terminal includes Telephony, and Telephony integrates the function of a data service SIM card management module. In this case, the terminal finishes switching the used data service SIM card from the first SIM card to the second SIM card, which may specifically include: the Telephony receives a card 2 activation completion message sent by the card 2 baseband chip. It will be appreciated that such an implementation may be particularly described with reference to fig. 5B.
With reference to the first aspect, in one possible implementation manner, the switching, by the terminal, the used data service SIM card from the second SIM card to the first SIM card may specifically include: the terminal deactivates the data traffic of the second SIM card and activates the data traffic of the first SIM card. The terminal deactivates the second SIM card, which may specifically include: the terminal can send a first deactivation instruction to a second SIM card baseband chip in the terminal through Telephony; in the case that the second SIM card baseband chip maintains the PDU connection of the second SIM card, the terminal may send a first deactivation completion message to the telephone through the second SIM card baseband chip.
In the scheme provided by the application, after the terminal sets the second SIM card to keep alive, the terminal does not need to disconnect PDU connection of the second SIM card in the process of deactivating the data service of the second SIM card, so that the time for switching the data service SIM card can be reduced.
In some embodiments of the present application, the first deactivation instruction may be a deactivate card 2 instruction. The first deactivation completion message may be a card 2 deactivation completion message.
With reference to the first aspect, in a possible implementation manner, before the terminal disconnects the PDU of the second SIM card, the method may further include: and under the condition that the terminal finishes switching the used data service SIM card from the second SIM card to the first SIM card, the terminal can send an instruction for closing the PDU keep-alive of the second SIM card to a second SIM card baseband chip in the terminal through the data service SIM card management module.
In the scheme provided by the application, after the terminal sends the instruction for closing the keep-alive of the PDU of the second SIM card to the baseband chip of the second SIM card in the terminal through the data service SIM card management module, the PDU of the second SIM card is disconnected. The method can reduce the time length of the terminal for simultaneously maintaining the PDU connection of the two SIM cards, thereby reducing the situation that network garbage is received too much due to the fact that the PDU connection of the second SIM card is not disconnected when the first SIM card is used as the data service SIM card.
In some embodiments of the present application, the instruction to close the second SIM card PDU keep-alive may be card 2PDU keep-alive policy_3.
With reference to the first aspect, in one possible implementation manner, the terminal may maintain the PDU connection of the first SIM card during the process of switching the used data service SIM card from the first SIM card to the second SIM card, and during the process of switching the used data service SIM card from the second SIM card to the first SIM card.
In the scheme provided by the application, the terminal can set the PDU keep-alive of the first SIM card, and the terminal can always keep the PDU keep-alive strategy of the first SIM card. By the mode, the terminal does not need to disconnect or establish PDU connection of the first SIM card in the process of switching the data service SIM card, so that the time required by the terminal for switching the data service SIM card is reduced.
With reference to the first aspect, in one possible implementation manner, the first switching scenario may be that the second SIM card enters a call state. Exiting the first switching scenario may specifically include: the second SIM card exits the talk state.
It can be understood that the first switching scenario may be a terminal automatically switching a data service SIM card scenario. That is, the terminal may automatically switch the data service SIM card when detecting that the current scene is the first switching scene.
In the scheme provided by the application, the terminal can automatically switch the data service SIM card under the condition that the second SIM card enters a call state.
With reference to the first aspect, in one possible implementation manner, the first switching scenario may be that the first SIM card network is blocked. Exiting the first switching scenario may specifically include any one or more of: the duration of the terminal in the off-screen state exceeds a second time threshold; the time length of the foreground application of the terminal going back to the background exceeds a third time threshold; the method comprises the steps that the duration of a data service SIM card used by a terminal after being switched from a first SIM card to a second SIM card exceeds a fourth time threshold, the signal strength of the first SIM card exceeds a first signal strength threshold, and the network system of the first SIM card meets a first network system condition; the second SIM card is network-blocked, the signal intensity of the first SIM card exceeds a first signal intensity threshold, and the network system of the first SIM card meets the first network system condition.
In the scheme provided by the application, the terminal can automatically switch the data service SIM card under the condition that the first SIM card is blocked by the network.
In some embodiments of the present application, the second time threshold may be a time threshold_1. The third time threshold may be a time threshold_2. The fourth time threshold may be a time threshold_3. The first signal strength threshold may be a signal strength threshold_1. The first network system condition may be a network system condition_1. It is understood that the relevant descriptions of the time threshold_1, the time threshold_2, the time threshold_3, the signal strength threshold_1 and the network system condition_1 may be referred to hereinafter, and will not be described herein.
With reference to the first aspect, in one possible implementation manner, the network system of the first SIM card meets a first network system condition, and specifically includes: the network system of the first SIM card is 4G or 5G.
In a second aspect, the present application provides an electronic device. The electronic device may include a display screen, one or more memories, and one or more processors. The one or more processors are coupled with the display screen and the first one or more memories. The memory may be used to store a computer program. The processor may be adapted to invoke a computer program to cause an electronic device to perform a method as described in the first aspect or any implementation of the first aspect.
In a third aspect, the present application provides a computer storage medium. The computer storage medium comprises computer instructions which, when run on an electronic device, cause the electronic device to perform a method as described in the first aspect or any implementation of the first aspect.
In a fourth aspect, embodiments of the present application provide a chip. The chip may be applied to an electronic device, the chip comprising one or more processors for invoking computer instructions to cause the electronic device to perform the method as described in the first aspect or any implementation of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising instructions. The computer program product, when run on an electronic device, causes the electronic device to perform the method as described in the first aspect or any implementation of the first aspect.
It will be appreciated that the electronic device provided in the second aspect, the computer storage medium provided in the third aspect, the chip provided in the fourth aspect, and the computer program product provided in the fifth aspect are each for performing the method as described in the first aspect or any implementation of the first aspect. Thus, reference may be made to the advantages of any one of the possible implementation manners of the first aspect, and the description is omitted here.
Drawings
Fig. 1 is a schematic diagram of a software and hardware architecture of a terminal according to an embodiment of the present application;
fig. 2A and fig. 2B are a set of schematic diagrams of software and hardware interaction provided in an embodiment of the present application;
fig. 3A is a flowchart of a SIM card switching method provided in an embodiment of the present application;
fig. 3B is a flowchart of another SIM card switching method according to an embodiment of the present disclosure;
FIGS. 4A-4C are schematic diagrams illustrating yet another set of hardware and software interactions provided by embodiments of the present application;
fig. 5A is a flowchart of another SIM card switching method according to an embodiment of the present disclosure;
fig. 5B is a flowchart of another SIM card switching method according to an embodiment of the present disclosure;
fig. 6 is a schematic hardware structure of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and in addition, in the description of the embodiments of the present application, "plural" means two or more than two.
It should be understood that the terms first, second, and the like in the description and in the claims and drawings of the present application are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
For a terminal that supports the use of dual cards (i.e., two SIM cards), it can use only one of the dual cards as a data service SIM card at the same time, i.e., it can use only the data service of one of the dual cards at the same time. In the process of switching the data service SIM card by the terminal, the data service SIM card originally used by the terminal firstly needs to deactivate the data service, after the data service is deactivated, the other SIM card in the terminal can activate the data service, and after the data service is activated, the terminal completes the switching of the data service SIM card. That means that only one SIM card in the terminal activates the data service if the other SIM card deactivates the data service. In the process of deactivating the data service and activating the data service, the terminal cannot use the data service, i.e. the terminal cannot use the SIM card to access the internet.
The embodiment of the application provides a SIM card switching method and related equipment. The method can be applied to a terminal provided with two SIM cards. According to the method, the terminal may execute a policy of keep-alive the main card protocol data unit (Protocol Data Unit, PDU). Specifically, in the process that the terminal switches the data service SIM card from the main card to the auxiliary card, the main card in the terminal does not need to disconnect PDU connection when the data service is deactivated, and in the process that the terminal switches the data service SIM card from the auxiliary card to the main card again, the main card in the terminal does not need to reestablish PDU connection when the data service is activated, so that the deactivation time and the activation time of the terminal when the data service SIM card is switched are greatly shortened. According to the method, under the scene that the terminal automatically switches the data service SIM card, the terminal can execute the strategies of the keep-alive of the main card PDU and the keep-alive of the auxiliary card PDU. Specifically, after the terminal automatically switches the data service SIM card from the main card to the auxiliary card, and then switches the data service SIM card from the auxiliary card to the main card, the main card in the terminal does not need to change the PDU connection state when the data service is deactivated and activated, the auxiliary card in the terminal does not need to disconnect the PDU connection when the data service is deactivated, and after the main card in the terminal activates the data service, the auxiliary card in the terminal stops PDU keep-alive and deactivates the data service. The method can greatly shorten the deactivation time and the activation time of the terminal when the data service SIM card is switched under the condition that the network garbage bag is prevented from being received by the auxiliary card as much as possible.
It can be understood that the main card in the terminal refers to a default data service SIM card in the terminal, that is, a SIM card for surfing the internet that is used by default when the terminal is powered on. The sub card in the terminal refers to another SIM card in the terminal other than the main card. For convenience of description, the present application refers to a main card in a terminal as card 1, and refers to a sub card in a terminal as card 2.
It can be appreciated that in the scenario where the terminal automatically switches the data service SIM card, the terminal may switch the data service SIM card based on the above method. The scenario that the terminal automatically switches the data service SIM card may specifically include, but is not limited to: card 1 network is blocked, and card 2 enters a call state.
It is understood that a Terminal, i.e., a Terminal device (Terminal), which may also be referred to as a Mobile Station (MS), a Mobile Terminal (MT), etc., is a device that provides voice and/or data connectivity to a user. The terminal may be a handheld terminal, a notebook Computer, a Subscriber Unit (subscore Unit), a Cellular telephone (Cellular Phone), a Smart Phone (Smart Phone), a wireless data card, a personal digital assistant (Personal Digital Assistant, PDA) Computer, a tablet Computer, a wireless modem (modem), a handheld device (handleld), a Laptop Computer (lapop Computer), a Cordless telephone (Cordless Phone) or a wireless local loop (Wireless Local Loop, WLL) station, a machine type communication (Machine Type Communication, MTC) terminal, a wearable device (e.g., a Smart watch, a Smart bracelet, a pedometer, etc.), a vehicle-mounted device (e.g., an automobile, a bicycle, an electric car, an airplane, a ship, a train, a high-speed rail, etc.), a Virtual Reality (Virtual Reality, VR) device, an augmented Reality (Augmented Reality, AR) device, a wireless terminal in an industrial control (Industrial Control), a Smart Home device (e.g., a refrigerator, a television, an air conditioner, an ammeter, etc.), a Smart machine device, a Smart shop device, a wireless Smart mobile terminal (Smart television, a Smart Home terminal (Smart car), a Smart mobile Phone (Smart Phone) or a Smart mobile terminal (Smart Home) in a Smart Home (Smart Phone, a wireless terminal, or a Smart Home terminal, or a wireless terminal).
The software and hardware architecture of a terminal provided by the present application is first described below.
The software and hardware architecture of the terminal can be divided into an AP side and a BP side. Where AP refers to Application Processor, the application processor. The operating system, user interface, and applications all run on the AP. The AP side refers to the application processor side. The software and hardware architecture of the AP side of the terminal may be understood as the software architecture of the terminal running on the AP, and the hardware modules related to the AP. BP refers to Baseband Processor, the fundamental frequency processor. Both baseband radio frequency communications and control software run on the BP. The BP side refers to the baseband processor side. The software and hardware architecture of the terminal BP side can be understood as the software architecture running on the BP in the terminal, and the hardware modules related to the BP.
Referring to fig. 1, fig. 1 is a schematic diagram of a software and hardware architecture of a terminal according to an embodiment of the present application.
It is understood that the software system of the terminal may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, a Android (Android) operating system with a layered architecture is taken as an example, and the software architecture of a terminal is illustrated. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. As shown in fig. 1, the AP-side software architecture of the terminal includes an application layer and an application framework layer (Application Framework).
The application layer may include a series of application packages. Such as camera, gallery, settings, phone calls, maps, navigation, WLAN, bluetooth, music, video, short message, etc. applications. It is understood that the application layer may include system applications as well as third party applications.
The application framework layer provides an application programming interface (Application Programming Interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. The application framework layer may include a series of system services. System services are modular components that focus on specific functions. The functionality provided by the application framework APIs may communicate with system services to access underlying hardware.
As shown in fig. 1, an application framework layer in a software architecture of an AP side of a terminal may include a telephone, a data service SIM card management module, a window manager, a notification manager, a view system, a resource manager, and a content provider.
Telephony is understood to refer to a system service that provides support for a Telephony application (i.e., telephony application) programming interface (Telephony Application Programming Interface, TAPI), and can be understood to be part of Telephony Framework in Android Telephony. Telephony may also be referred to as Telephony services. Telephony may be used to provide communication functions for electronic devices, manage phone call status (including on, off, etc.), obtain phone information (device information, SIM card information, and network information), intercept phone status (call status service status, signal strength status, etc.), and invoke a phone dialer to place a phone call.
The data service SIM card management module is used for controlling the PDU keep-alive strategy of the SIM card in the terminal. Specifically, the data service SIM card management module is used for controlling the PDU connection state of the SIM card in the terminal in the processes of deactivating the data service and activating the data service.
The data service SIM card management module can also be used for detecting the scene of automatically switching the data service SIM card. In some embodiments of the present application, the data service SIM card management module may monitor the main card information and the sub card information in the terminal, and the call states of the main card and the sub card. If the auxiliary card enters a call state, the PDU keep-alive module can determine that the current data service SIM card scene is automatically switched. In some embodiments of the present application, the data service SIM card management module may monitor the current network state (i.e., the state of the network provided by the current data service SIM card). If the current network is in a cartoon state, the data service SIM card management module can determine that the current network is in a cartoon state, and automatically switch the data service SIM card scene.
In some embodiments of the present application, the data service SIM card management module may obtain information about a packet (or a data packet) sent by a terminal to a network side. For example, the number of messages sent by the terminal to the network side, and the number of response messages received by the terminal from the network side. If the terminal does not obtain the response of the network side one by one, the data service SIM card management module can determine the current network blocking. For example, if the terminal sends 10 data packets to the network side within 10 seconds and the terminal only receives 8 response messages sent by the network side, the data service SIM card management module in the terminal may determine that the current network is blocked. In some embodiments of the present application, the data service SIM card management module may obtain, from a corresponding module of the kernel layer, related information of a packet (or a data packet) sent by the terminal to the network side.
In some embodiments of the present application, the functionality of the data service SIM card management module may be integrated in telephone. In this case, the terminal may implement PDU policy issuing and automatic handover scene detection through Telephony.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification presented in the form of a chart or scroll bar text in the system top status bar, such as a notification of a background running application, or a notification presented on a screen in the form of a dialog interface. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
Fig. 1 only illustrates the hierarchy of the software modules on the terminal AP side according to the present application, and does not illustrate the hierarchy of the other software modules. It is to be appreciated that the AP-side software architecture of the terminal may also include other hierarchies (e.g., system libraries, runtime, hardware abstraction layer, and kernel layer), which are not limiting of the present application. In addition, the software architecture on the AP side of the terminal shown in fig. 1 is only an example, and is not limited to specific module division in different layers of the Android operating system, and the description of the software architecture of the Android operating system in the conventional technology may be referred to specifically. In addition, the method provided in the application may be implemented based on other operating systems, which are not exemplified herein. It will be appreciated that fig. 1 only illustrates a software architecture on the AP side of the terminal, and does not illustrate a hardware structure on the AP side thereof, and the hardware structure on the AP side of the terminal may refer to the following and related technical documents, which are not explained herein.
As shown in fig. 1, the BP side of the terminal may include a card 1 baseband chip and a card 2 baseband chip. The card 1 baseband chip is used for managing the card 1, and may be used in particular for managing voice traffic (e.g., telephone traffic) and data traffic (e.g., internet traffic, video telephony traffic, etc.) of the card 1. The card 2 baseband chip is used for managing the card 2, and may be used for managing voice traffic and data traffic of the card 2 in particular. It will be appreciated that the card 1 baseband chip is a software and hardware module associated with the card 1, while the card 2 baseband chip is a software and hardware module associated with the card 2.
Fig. 1 only illustrates software and hardware modules on the AP side of the terminal according to the present application, and other modules are not illustrated. It will be appreciated that the BP side of the terminal may also include other software modules and hardware modules, which the present application does not limit.
Based on the software and hardware architecture shown in fig. 1, the SIM card switching method provided by the present application is described below from the perspective of software and hardware interaction.
Referring to fig. 2A and fig. 2B, fig. 2A and fig. 2B are a set of software-hardware interaction diagrams according to an embodiment of the present application.
It will be appreciated that in the initial state (i.e. in case the terminal detects that the data service is open for the first time), the terminal may use the card 1 as a data service SIM card. Specifically, as shown in fig. 2A, in the case that the terminal detects that the data service is turned on for the first time, the data service SIM card management module in the terminal may send the card 1PDU keep-alive policy to the card 1 baseband chip and send the card 2PDU keep-alive policy_1 to the card 2 baseband chip.
It is understood that the card 1PDU keep-alive policy may specifically include: card 1 performs PDU keep-alive. PDU keep-alive refers to maintaining a PDU connection. Card 2PDU keep-alive policy_1 may specifically include: card 2 does not perform PDU keep-alive. In some embodiments of the present application, the data service SIM card management module may send only the instruction for PDU keep-alive to the card 1 baseband chip, without sending the instruction for no PDU keep-alive to the card 2 baseband chip to the card 2. The baseband chip of the card 2 can determine that the card 2 does not perform PDU keep-alive under the condition that the corresponding instruction sent by the data service SIM card management module is not received.
In some embodiments of the present application, after the terminal is powered on, the data service of the main card (i.e. card 1) may be used by default, without the user having to manually start the data service. In this case, the terminal detects that the data service is turned on for the first time, which may specifically include: and detecting the opening of the data service after the terminal is started. At this time, the terminal can use the data service of the card 1.
In still other embodiments of the present application, after the terminal is powered on, the user needs to manually start the data service. In this case, the terminal detects that the data service is turned on for the first time, which may specifically include: the terminal detects the operation of opening the data service by the user for the first time.
In case the terminal detects an automatic switching data service SIM card scenario, the terminal may switch the data service SIM card from card 1 to card 2.
Specifically, as shown in fig. 2A, the data service SIM card management module in the terminal may detect an automatic switching data service SIM card scenario, and send a command_1 for switching the data service SIM card to telephone in the terminal. After receiving the data service SIM card switching instruction_1 sent by the data service SIM card management module, the telephone may send an instruction for deactivating the card 1 to the baseband chip of the card 1. After the card 1 baseband chip receives the command of deactivating the card 1 sent by the Telephony, the card 1 baseband chip can send a card 1 deactivation completion message to the Telephony without disconnecting the PDU of the card 1 because the card 1 performs PDU keep-alive. After receiving the card 1 deactivation completion message sent by the card 1 baseband chip, telephony may send a card 2 activation instruction to the card 2 baseband chip. After receiving the command of activating card 2 sent by Telephony, since card 2 does not perform PDU keep-alive, card 2 baseband chip needs to establish PDU connection of card 2, and after PDU connection establishment of card 2 is completed, sends message of completing activation of card 2 to Telephony. After the Telephony receives the card 2 activation completion message sent by the card 2 baseband chip, the terminal completes the switching of the data service SIM card from the card 1 to the card 2. In this way, the terminal can use the data traffic of the card 2.
It will be appreciated that the data service SIM card command_1 may be used to instruct telephone to switch the data service SIM card. Specifically, data service SIM card command_1 may be used to instruct telephone to switch the data service SIM card from card 1 to card 2. The deactivate card 1 instruction may be used to instruct the data traffic of the deactivate card 1. The activate card 2 instruction may be used to instruct the data traffic of the activate card 2.
In case the terminal detects that the automatic switching data service SIM card scenario is exited, the terminal may switch the data service SIM card from card 1 to card 2.
Specifically, as shown in fig. 2B, the data service SIM card management module in the terminal may detect that the automatic switching data service SIM card scenario is exited, and send a command_2 for switching the data service SIM card to telephone in the terminal. After receiving the data service SIM card switching instruction_2 sent by the data service SIM card management module, the telephone may send an instruction for deactivating the card 2 to the card 2 baseband chip. After the card 2 baseband chip receives the command of deactivating the card 2 sent by Telephony, the card 2 baseband chip needs to disconnect the PDU of the card 2 because the card 2 does not perform PDU keep-alive. After the PDU connection of card 2 is broken, the card 2 baseband chip may send a card 2 deactivation completion message to Telephony. After receiving the card 2 deactivation completion message sent by the card 2 baseband chip, the Telephony may send a card 1 activation instruction to the card 1 baseband chip. After the card 1 baseband chip receives the instruction of activating the card 1 sent by the Telephony, since the card 1 performs PDU keep-alive and the PDU connection of the card 1 is not disconnected, the card 1 baseband chip can send a card 1 activation completion message to the Telephony without reestablishing the PDU connection of the card 1. After the Telephony receives the card 1 activation completion message sent by the baseband chip of the card 1, the terminal completes the switching of the data service SIM card from the card 2 to the card 1. In this way, the terminal can use the data traffic of the card 1.
It will be appreciated that the data service SIM card command_2 may be used to instruct telephone to switch the data service SIM card. Specifically, data service SIM card command_2 may be used to instruct telephone to switch the data service SIM card from card 2 to card 1. The deactivate card 2 instruction may be used to instruct the data traffic of the deactivate card 2. The activate card 1 instruction may be used to instruct the data traffic of the activate card 1.
In some embodiments of the present application, the detection by the data service SIM card management module in the terminal of the automatic switching of the data service SIM card scenario may specifically include: the data service SIM card management module in the terminal detects that the card 2 enters a call state. The data service SIM card management module in the terminal detects that the automatic switching data service SIM card scene is exited, which specifically comprises the following steps: the data service SIM card management module in the terminal detects that the card 2 is out of the talk state.
It can be appreciated that the above card 2 enters a call state, and specifically may include: the card 2 enters a call state in a called scene and the card 2 enters the call state in a calling scene. It can be appreciated that the call state may specifically include: a ringing state when not on, and an on-call state after having been on. The call state entered under the called scene of the card 2 may specifically include: the ringing state when the card 2 is not switched on in the called scene, and the on-call state after the card 2 is switched on in the called scene. The call state entered under the calling scene of the card 2 specifically may include: a ringing state when not switched on in the calling scene of the card 2, and a talking state when switched on in the calling scene of the card 2. In colloquial terms, caller refers to "making a call" and callee refers to "receiving a call". The specific meaning of the caller and the callee can be referred to the related art documents, and will not be explained here.
It can be appreciated that the card 2 exits the call state, and may specifically include: the calling state of the card 2 is exited under the called scene. It can be appreciated that exiting the talk state may specifically include: exit the ringing state (i.e., the ringing state when not on), and exit the on-call state (i.e., the on-call state after having been on). The card 2 exits from the call state under the called scene, which may specifically include: in the called scene of the card 2, no answer or hang-up is caused in the ringing state, and the hang-up is caused in the conversation state. The call state exiting under the calling scene of the card 2 can specifically include: in the card 2 calling scenario, there is no answer or hang-up in the ringing state, and hang-up in the talking state. It can be understood that both parties can hang up, which is not limited in this application.
In some embodiments of the present application, the detection by the data service SIM card management module in the terminal of the automatic switching of the data service SIM card scenario may specifically include: the data service SIM card management module in the terminal detects that the card 1 is stuck on the network. The data service SIM card management module exits from the automatic switching data service SIM card scene, and specifically may include any one or more of the following:
(1) The duration of the terminal in the off-screen state exceeds a time threshold value_1;
(2) The time length of the foreground application of the terminal going back to the background exceeds a time threshold value_2;
(3) The method comprises the steps that the time length after a terminal switches a data service SIM card from a card 1 to a card 2 exceeds a time threshold value_3, the signal strength of the card 1 exceeds a signal strength threshold value_1, and the network system of the card 1 meets a network system condition_1;
(4) The card 2 is in network jamming, the signal strength of the card 1 exceeds the signal strength threshold value_1, and the network system of the card 1 meets the network system condition_1.
It can be understood that the network system of the card 1 satisfies the network system condition_1, which may specifically include: the network system of the card 1 is not lower than 4G (Generation). For example, the network system of the card 1 is 4G or 5G.
It is understood that the time threshold_1, the time threshold_2, the time threshold_3 and the signal strength threshold_1 may be set according to actual needs, which is not particularly limited in this application. For example, the time threshold_1 may be 5 seconds. For example, the time threshold_2 may be 60 seconds. The time threshold_3 may be 5 minutes.
A specific implementation of the above embodiment is described below in conjunction with fig. 3A.
Referring to fig. 3A, fig. 3A is a flowchart of a SIM card switching method according to an embodiment of the present application. The method may include, but is not limited to, the steps of:
S101: and under the condition that the terminal detects that the data service is started for the first time, the data service SIM card management module sends a card 1PDU keep-alive strategy to the card 1 baseband chip. Card 1PDU keep-alive strategy includes card 1 performing PDU keep-alive.
Under the condition that the terminal detects that the data service is started for the first time, the data service SIM card management module can send a card 1PDU keep-alive strategy to the card 1 baseband chip so as to instruct the card 1 to carry out PDU keep-alive. Correspondingly, the card 1 baseband chip can receive the card 1PDU keep-alive strategy sent by the data service SIM card management module. Card 1PDU keep-alive strategy includes card 1 performing PDU keep-alive. It is understood that PDU keep-alive refers to maintaining a PDU connection.
In some embodiments of the present application, after the terminal is powered on, the data service of the main card (i.e. card 1) may be used by default, without the user having to manually start the data service. In this case, the terminal detects that the data service is turned on for the first time, which may specifically include: and detecting the opening of the data service after the terminal is started. At this time, the terminal can use the data service of the card 1.
In still other embodiments of the present application, after the terminal is powered on, the user needs to manually start the data service. In this case, the terminal detects that the data service is turned on for the first time, which may specifically include: the terminal detects the operation of opening the data service by the user for the first time.
S102: and under the condition that the terminal detects that the data service is started for the first time, the data service SIM card management module sends a card 2PDU keep-alive strategy_1 to the card 2 baseband chip. Card 2PDU keep-alive policy_1 includes card 2 not performing PDU keep-alive.
Under the condition that the terminal detects that the data service is started for the first time, the data service SIM card management module can send a card 2PDU keep-alive strategy_1 to the card 2 baseband chip so as to indicate that the card 2 does not carry out PDU keep-alive. Correspondingly, the card 2 baseband chip can receive the card 2PDU keep-alive policy_1 sent by the data service SIM card management module. It is understood that card 2PDU keep-alive policy_1 includes card 2 not performing PDU keep-alive.
In some embodiments of the present application, the terminal may not perform step S102. The baseband chip of the card 2 can determine that the card 2 does not perform PDU keep-alive under the condition that the corresponding instruction sent by the data service SIM card management module is not received.
It can be appreciated that the description of the first detection of the data service opening by the terminal may be referred to above, and will not be repeated here.
S103: and under the condition that the data service SIM card management module detects that the current scene is the scene of automatically switching the data service SIM card, the data service SIM card management module sends a command_1 for switching the data service SIM card to Telephony.
And under the condition that the data service SIM card management module detects that the current scene is the scene of automatically switching the data service SIM card, the data service SIM card management module can send a command_1 for switching the data service SIM card to Telephony. It will be appreciated that the data service SIM card command_1 may be used to instruct telephone to switch the data service SIM card. Specifically, the data service SIM card instruction_1 may be used to instruct telephone to switch the data service SIM card from card 1 to card 2.
According to the above, automatically switching data service SIM card scenarios may include, but are not limited to: card 2 enters a call state and card 1 is network-blocked. The description of the automatic switching data service SIM card scenario may be referred to above, and will not be repeated here.
Correspondingly, the Telephony can receive a data service SIM card switching instruction_1 sent by the data service SIM card management module.
S104: telephony sends a deactivate card 1 instruction to the card 1 baseband chip.
After receiving the data service SIM card switching instruction_1 sent by the data service SIM card management module, the telephone may send an instruction for deactivating the card 1 to the baseband chip of the card 1. It will be appreciated that the deactivate card 1 instruction is used to instruct the data service of the deactivate card 1.
Accordingly, the card 1 baseband chip may receive a command sent by Telephony to deactivate card 1.
S105: based on the card 1PDU keep-alive strategy, the card 1 baseband chip sends a card 1 deactivation completion message to Telephony.
It is understood that the card 1PDU keep-alive strategy includes card 1 performing PDU keep-alive. I.e. card 1 can maintain the PDU connection. After the card 1 baseband chip receives the card 1 deactivation command sent by the Telephony, the card 1 baseband chip can send a card 1 deactivation completion message to the Telephony without disconnecting the PDU of the card 1. It will be appreciated that the card 1 deactivation complete message is used to indicate that the card 1 has deactivated data traffic.
Accordingly, telephony may receive a card 1 deactivation completion message sent by the baseband chip of card 1.
S106: telephony sends an activate card 2 command to the card 2 baseband chip.
After receiving the card 1 deactivation completion message sent by the card 1 baseband chip, telephony may send a card 2 activation instruction to the card 2 baseband chip. It will be appreciated that the activate card 2 instruction is used to instruct the data traffic of the activate card 2.
Correspondingly, the card 2 baseband chip can receive the card 2 activating instruction sent by Telephony.
S107: based on the card 2PDU keep-alive policy_1, the card 2 baseband chip establishes the PDU connection of card 2.
It is understood that card 2PDU keep-alive policy_1 includes card 2 not performing PDU keep-alive. I.e. card 2 does not need to maintain the PDU connection. After the card 2 baseband chip receives the command sent by Telephony to activate card 2, the PDU connection of card 2 can be established.
In some embodiments of the present application, the data service SIM card management module does not send the card 2PDU keep-alive policy_1 to the card 2 baseband chip, and the card 2 baseband chip may determine that the card 2 does not perform PDU keep-alive. In this case, once the card 2 baseband chip receives the command to activate card 2 sent by Telephony, the card 2 baseband chip can establish the PDU connection of card 2.
S108: the card 2 baseband chip sends a card 2 activation complete message to Telephony.
After the card 2 baseband chip successfully establishes the PDU connection of card 2, the card 2 baseband chip may send a card 2 activation completion message to telephone.
Accordingly, telephony may receive a card 2 activation completion message sent by the card 2 baseband chip.
It will be appreciated that the terminal has performed step S108 to effect a switch of the data service SIM card from card 1 to card 2. In this case, the data service SIM card is switched to the card 2, and the terminal can use the data service of the card 2, i.e., the terminal can realize surfing the internet through the card 2.
S109: and under the condition that the data service SIM card management module detects that the terminal exits from the automatic switching data service SIM card scene, the data service SIM card management module sends a data service SIM card switching instruction_2 to Telephony.
Under the condition that the data service SIM card management module detects that the terminal exits from the automatic switching data service SIM card scene, the data service SIM card management module can send a data service SIM card switching instruction_2 to Telephony. It will be appreciated that the data service SIM card command_2 may be used to instruct telephone to switch the data service SIM card. Specifically, the data service SIM card instruction_2 may be used to instruct telephone to switch the data service SIM card from card 2 to card 1.
It can be understood that, when the automatically switching data service SIM card scenario is that the card 2 enters a call state, the terminal exits the automatically switching data service SIM card scenario, which specifically may include: card 2 exits the talk state.
Note that, in the case where the call state is specifically a ringing state when not connected, the call state may be a ringing state when not connected (specifically, may be a no-answer or a hang-up when not connected), or may be a call state after connected (specifically, may be a hang-up after connected). In the case where the call state is specifically the on-call state after having been switched on, the exiting of the call state may be the exiting of the on-call state.
It can be understood that, in the case that the automatically switched data service SIM card scenario is card 1 network card, the terminal exits the automatically switched data service SIM card scenario, which may specifically include any one or more of the following: (1) The terminal detects that the duration of the terminal in the off-screen state exceeds a time threshold value_1; (2) The terminal detects that the time length of the foreground application of the terminal going back to the background exceeds a time threshold value_2; (3) The terminal detects that the time length of the data service SIM card after being switched from the card 1 to the card 2 exceeds a time threshold value_3, the signal strength of the card 1 exceeds a signal strength threshold value_1, and the network system of the card 1 meets a network system condition_1; (4) The terminal detects that the card 2 is blocked by the network, the signal strength of the card 1 exceeds the signal strength threshold value_1, and the network system of the card 1 meets the network system condition_1.
Correspondingly, the Telephony can receive a data service SIM card switching instruction_2 sent by the data service SIM card management module.
S110: telephony sends a deactivate card 2 instruction to the card 2 baseband chip.
After the telephone receives the data service SIM card switching instruction_2 sent by the data service SIM card management module, the telephone may send a card 2 deactivation instruction to the card 2 baseband chip. It will be appreciated that the deactivate card 2 instruction may be used to instruct the data traffic of the deactivate card 2.
Correspondingly, the card 2 baseband chip may receive a command sent by Telephony to deactivate card 2.
S111: based on card 2PDU keep-alive policy_1, the card 2 baseband chip disconnects the PDU of card 2.
It is understood that card 2PDU keep-alive policy_1 includes card 2 not performing PDU keep-alive. I.e. card 2 does not need to maintain the PDU connection. After the card 2 baseband chip receives the command of deactivating the card 2 sent by Telephony, since the card 2 does not perform PDU keep-alive, the card 2 baseband chip can disconnect the PDU connection of the card 2.
S112: the card 2 baseband chip sends a card 2 deactivation complete message to Telephony.
Card 2 after the baseband chip of card 2 disconnects the PDU of card 2, a card 2 deactivation complete message may be sent to telephone. It will be appreciated that the card 2 deactivation complete message may be used to indicate that the card 2 has deactivated data traffic.
Accordingly, telephony may receive a card 2 deactivation completion message sent by the card 2 baseband chip.
S113: telephony sends an activate card 1 command to the card 1 baseband chip.
After receiving the card 2 deactivation completion message sent by the card 2 baseband chip, the Telephony may send a card 1 activation instruction to the card 1 baseband chip. It will be appreciated that the activate card 1 instruction may be used to instruct the data traffic of the activate card 1.
Correspondingly, the card 1 baseband chip can receive an instruction of activating the card 1 sent by Telephony.
S114: based on the card 1PDU keep-alive strategy, the card 1 baseband chip sends a card 1 activation completion message to Telephony.
It is understood that the card 1PDU keep-alive strategy includes card 1 performing PDU keep-alive. I.e. card 1 maintains the PDU connection. After the card 1 baseband chip receives the command of activating the card 1 sent by the Telephony, since the PDU connection is not disconnected when the card 1 previously deactivates the data service, the card 1 baseband chip can send the card 1 activation completion message to the Telephony without reestablishing the PDU connection of the card 1. It will be appreciated that the card 1 activation completion message is used to indicate that the card 1 has activated the data service.
Accordingly, telephony may receive a card 1 activation completion message sent by the baseband chip of card 1.
It will be appreciated that the terminal has performed step S114 to effect a switch of the data service SIM card from card 2 to card 1. In this case, the data service SIM card is switched to the card 1, and the terminal can use the data service of the card 1, i.e., can realize surfing the internet through the card 1.
In some embodiments of the present application, the functionality of the data service SIM card management module may be integrated in telephone. In this case, the interaction between the data service SIM card management module and the other modules involved in fig. 3A may be performed by telephone.
Referring to fig. 3B, fig. 3B is a flowchart of another SIM card switching method according to an embodiment of the present application. The method may include, but is not limited to, the following steps:
s115: and under the condition that the terminal detects that the data service is started for the first time, telephony sends a card 1PDU keep-alive strategy to the card 1 baseband chip. Card 1PDU keep-alive strategy includes card 1 performing PDU keep-alive.
S116: and under the condition that the terminal detects that the data service is started for the first time, telephony sends a card 2PDU keep-alive strategy_1 to the card 2 baseband chip. Card 2PDU keep-alive policy_1 includes card 2 not performing PDU keep-alive.
S117: and under the condition that the current scene is detected to be the scene of automatically switching the data service SIM card, telephony sends a card 1 deactivation instruction to the baseband chip of the card 1.
S118: based on the card 1PDU keep-alive strategy, the card 1 baseband chip sends a card 1 deactivation completion message to Telephony.
S119: telephony sends an activate card 2 command to the card 2 baseband chip.
S120: based on the card 2PDU keep-alive policy_1, the card 2 baseband chip establishes the PDU connection of card 2.
S121: the card 2 baseband chip sends a card 2 activation complete message to Telephony.
S122: and under the condition that the terminal exits from the automatic switching data service SIM card scene, telephony sends a card 2 deactivation instruction to the card 2 baseband chip.
S123: based on card 2PDU keep-alive policy_1, the card 2 baseband chip disconnects the PDU of card 2.
S124: the card 2 baseband chip sends a card 2 deactivation complete message to Telephony.
S125: telephony sends an activate card 1 command to the card 1 baseband chip.
S126: based on the card 1PDU keep-alive strategy, the card 1 baseband chip sends a card 1 activation completion message to Telephony.
It can be appreciated that the specific implementation manner of step S115-step S126 may refer to the related descriptions of step S101-step S114 shown in fig. 3A, and will not be described herein.
It can be appreciated that according to the above method, when the terminal switches the data service SIM card, the PDU connection of the card 1 does not need to be disconnected or re-established, so that the time required for the card 1 to deactivate and activate the data service is reduced.
Based on the software and hardware architecture shown in fig. 1, another SIM card switching method provided in the present application is described below from the perspective of software and hardware interaction.
Referring to fig. 4A, fig. 4B, and fig. 4C, fig. 4A to fig. 4C are schematic diagrams illustrating another set of software and hardware interaction according to an embodiment of the present application.
It will be appreciated that in the initial state (i.e. in case the terminal detects that the data service is open for the first time), the terminal may use the card 1 as a data service SIM card. Specifically, as shown in fig. 4A, in the case that the terminal detects that the data service is turned on for the first time, the data service SIM card management module in the terminal may send the card 1PDU keep-alive policy to the card 1 baseband chip and send the card 2PDU keep-alive policy_1 to the card 2 baseband chip.
It is understood that the card 1PDU keep-alive policy may specifically include: card 1 performs PDU keep-alive. PDU keep-alive refers to maintaining a PDU connection. Card 2PDU keep-alive policy_1 may specifically include: card 2 does not perform PDU keep-alive. The relevant descriptions of the card 1PDU keep-alive strategy and the card 2PDU keep-alive strategy_1 can be referred to above, and will not be repeated here.
In case the terminal detects an automatic switching data service SIM card scenario, the terminal may switch the data service SIM card from card 1 to card 2.
Specifically, as shown in fig. 4B, the data service SIM card management module in the terminal may detect an automatic switching data service SIM card scenario, and send a command_1 for switching the data service SIM card to telephone in the terminal. After receiving the data service SIM card switching instruction_1 sent by the data service SIM card management module, the telephone may send an instruction for deactivating the card 1 to the baseband chip of the card 1. After the card 1 baseband chip receives the command of deactivating the card 1 sent by the Telephony, the card 1 baseband chip can send a card 1 deactivation completion message to the Telephony without disconnecting the PDU of the card 1 because the card 1 performs PDU keep-alive. After receiving the card 1 deactivation completion message sent by the card 1 baseband chip, telephony may send a card 2 activation instruction to the card 2 baseband chip. After receiving the command of activating card 2 sent by Telephony, since card 2 does not perform PDU keep-alive, card 2 baseband chip needs to establish PDU connection of card 2, and after PDU connection establishment of card 2 is completed, sends message of completing activation of card 2 to Telephony. It can be understood that, after the Telephony receives the card 2 activation completion message sent by the baseband chip of the card 2, the terminal completes the switching of the data service SIM card from the card 1 to the card 2. In this way, the terminal can use the data traffic of the card 2.
It should be noted that, as shown in fig. 4B, after the telephone receives the card 2 activation completion message sent by the baseband chip of the card 2, a switch completion message_1 may be sent to the data service SIM card management module to notify the data service SIM card management module that the terminal has completed switching of the data service SIM card. It will be appreciated that the switch complete message_1 may be used in particular to indicate that the terminal has achieved a switch of the data service SIM card from card 1 to card 2. After receiving the handoff completion message_1 sent by the telesheny, the data service SIM card management module may send a card 2PDU keep-alive policy_2 to the card 2 baseband chip.
It can be appreciated that the card 2PDU keep-alive policy_2 may specifically include: card 2 performs PDU keep-alive. I.e. card 2 maintains the PDU connection.
In case the terminal detects that the automatic switching data service SIM card scenario is exited, the terminal may switch the data service SIM card from card 1 to card 2.
Specifically, as shown in fig. 4C, the data service SIM card management module in the terminal may detect that the automatic switching data service SIM card scenario is exited, and send a command_2 for switching the data service SIM card to telephone in the terminal. After receiving the data service SIM card switching instruction_2 sent by the data service SIM card management module, the telephone may send an instruction for deactivating the card 2 to the card 2 baseband chip. Since the card 2PDU keep-alive policy received by the card 2 baseband chip includes that the card 2 performs PDU keep-alive, after the card 2 baseband chip receives the command for deactivating the card 2 sent by the telephone, the card 2 baseband chip can send the card 2 deactivation completion message to the telephone without disconnecting the PDU of the card 2. After receiving the card 2 deactivation completion message sent by the card 2 baseband chip, the Telephony may send a card 1 activation instruction to the card 1 baseband chip. After the card 1 baseband chip receives the command of activating the card 1 sent by the Telephony, since the card 1 performs PDU keep alive, the PDU connection of the card 1 is not disconnected (as shown in FIG. 4B) in the previous switching, and the card 1 baseband chip can send the card 1 activation completion message to the Telephony without reestablishing the PDU connection of the card 1. After the Telephony receives the card 1 activation completion message sent by the baseband chip of the card 1, the terminal completes the switching of the data service SIM card from the card 2 to the card 1. In this way, the terminal can use the data traffic of the card 1.
It should be noted that, as shown in fig. 4C, after the telephone receives the card 1 activation completion message sent by the baseband chip of the card 1, a switch completion message_2 may be sent to the data service SIM card management module to notify the data service SIM card management module that the terminal has completed switching of the data service SIM card. It will be appreciated that the switch complete message 2 may be used in particular to indicate that the terminal has achieved switching of the data services SIM card from card 2 to card 1. After receiving the handoff completion message_2 sent by the telesheny, the data service SIM card management module may send a card 2PDU keep-alive policy_3 to the card 2 baseband chip. It can be appreciated that the card 2PDU keep-alive policy_3 may specifically include: card 2 does not perform PDU keep-alive. I.e. card 2 does not need to maintain the PDU connection. After the card 2 baseband chip receives the card 2PDU keep-alive policy_3 sent by the data service SIM card management module, the PDU connection of the card 2 can be disconnected.
A specific implementation of the above embodiment is described below in conjunction with fig. 5A.
Referring to fig. 5A, fig. 5A is a flowchart of another SIM card switching method according to an embodiment of the present application. The method may include, but is not limited to, the steps of:
s201: and under the condition that the terminal detects that the data service is started for the first time, the data service SIM card management module sends a card 1PDU keep-alive strategy to the card 1 baseband chip. Card 1PDU keep-alive strategy includes card 1 performing PDU keep-alive.
S202: and under the condition that the terminal detects that the data service is started for the first time, the data service SIM card management module sends a card 2PDU keep-alive strategy_1 to the card 2 baseband chip. Card 2PDU keep-alive policy_1 includes card 2 not performing PDU keep-alive.
S203: and under the condition that the data service SIM card management module detects that the current scene is the scene of automatically switching the data service SIM card, the data service SIM card management module sends a command_1 for switching the data service SIM card to Telephony.
S204: telephony sends a deactivate card 1 instruction to the card 1 baseband chip.
S205: based on the card 1PDU keep-alive strategy, the card 1 baseband chip sends a card 1 deactivation completion message to Telephony.
S206: telephony sends an activate card 2 command to the card 2 baseband chip.
S207: based on the card 2PDU keep-alive policy_1, the card 2 baseband chip establishes the PDU connection of card 2.
S208: the card 2 baseband chip sends a card 2 activation complete message to Telephony.
It can be appreciated that the specific implementation manner of step S201 to step S208 may refer to the description of step S101 to step S108, which is not repeated herein.
S209: telephony sends a handoff complete message_1 to the data service SIM card management module.
After receiving the card 2 activation completion message sent by the baseband chip of the card 2, the telephone may send a handoff completion message_1 to the data service SIM card management module. It will be appreciated that the switch complete message_1 may be used in particular to indicate that the terminal has achieved a switch of the data service SIM card from card 1 to card 2.
Correspondingly, the data service SIM card management module may receive the handoff completion message_1 sent by telephone.
S210: the data service SIM card management module sends a card 2PDU keep-alive strategy_2 to the card 2 baseband chip.
After receiving the handoff completion message_1 sent by the telesheny, the data service SIM card management module may send a card 2PDU keep-alive policy_2 to the card 2 baseband chip. It can be appreciated that the card 2PDU keep-alive policy_2 may specifically include: card 2 performs PDU keep-alive. I.e. card 2 maintains the PDU connection.
Correspondingly, the card 2 baseband chip can receive the card 2PDU keep-alive policy_2 sent by the data service SIM card management module.
S211: and under the condition that the data service SIM card management module detects that the terminal exits from the automatic switching data service SIM card scene, the data service SIM card management module sends a data service SIM card switching instruction_2 to Telephony.
S212: telephony sends a deactivate card 2 instruction to the card 2 baseband chip.
It can be appreciated that the specific implementation manner of step S211 to step S212 can refer to the related description of step S109 to step S110, which is not described herein.
S213: based on card 2PDU keep-alive policy_2, the card 2 baseband chip sends a card 2 deactivation completion message to telephone.
It is understood that card 2PDU keep-alive policy_2 includes card 2 performing PDU keep-alive. I.e. card 2 can maintain the PDU connection. After the card 2 baseband chip receives the card 2 deactivation command sent by the Telephony, the card 2 baseband chip can send a card 2 deactivation completion message to the Telephony without disconnecting the PDU of the card 2. It will be appreciated that the card 2 deactivation complete message is used to indicate that card 2 has deactivated data traffic (i.e., the terminal has deactivated data traffic for card 2).
Accordingly, telephony may receive a card 2 deactivation completion message sent by the card 2 baseband chip.
S214: telephony sends an activate card 1 command to the card 1 baseband chip.
S215: based on the card 1PDU keep-alive strategy, the card 1 baseband chip sends a card 1 activation completion message to Telephony.
It can be appreciated that the specific implementation manner of step S214-step S215 can refer to the related description of step S113-step S114, which is not described herein.
S216: telephony sends a handoff complete message_2 to the data service SIM card management module.
After receiving the card 1 activation completion message sent by the baseband chip of the card 1, the telephone may send a handoff completion message_2 to the data service SIM card management module. It will be appreciated that the switch complete message 2 may be used in particular to indicate that the terminal has achieved switching of the data services SIM card from card 2 to card 1.
Correspondingly, the data service SIM card management module may receive the handoff completion message_2 sent by telephone.
S217: the data service SIM card management module sends a card 2PDU keep-alive strategy_3 to the card 2 baseband chip.
After receiving the handoff completion message_2 sent by the telesheny, the data service SIM card management module may send a card 2PDU keep-alive policy_3 to the card 2 baseband chip. It can be appreciated that the card 2PDU keep-alive policy_3 may specifically include: card 2 does not perform PDU keep-alive. I.e. card 2 does not need to maintain the PDU connection.
In some embodiments of the present application, after receiving the handoff completion message_2 sent by telephone, the data service SIM card management module may start a timer. Once the timer expires, the data service SIM card may send card 2PDU keep-alive policy_3 to the card 2 baseband chip. It is understood that the timer timeout refers to the time duration reaching a default duration defined by the timer. It will be appreciated that the default duration defined by the timer may be set according to actual needs, which is not limited in this application. For example, the default duration defined by the timer may be 5 minutes.
Correspondingly, the card 2 baseband chip can receive the card 2PDU keep-alive policy_3 sent by the data service SIM card management module.
S218: based on the card 2PDU keep-alive policy_3, the card 2 baseband chip disconnects the PDU of card 2.
It is understood that card 2PDU keep-alive policy_3 includes card 2 not performing PDU keep-alive. I.e. card 2 does not need to maintain the PDU connection. After the card 2 baseband chip receives the card 2PDU keep-alive policy_3 sent by the data service SIM card management module, since the card 2 does not perform PDU keep-alive, the card 2 baseband chip can disconnect the PDU connection of the card 2.
In some embodiments of the present application, the functionality of the data service SIM card management module may be integrated in telephone. In this case, the interaction between the data service SIM card management module and the other modules involved in fig. 5A may be performed by telephone.
Referring to fig. 5B, fig. 5B is a flowchart of another SIM card switching method according to an embodiment of the present application. The method may include, but is not limited to, the following steps:
s219: and under the condition that the terminal detects that the data service is started for the first time, telephony sends a card 1PDU keep-alive strategy to the card 1 baseband chip. Card 1PDU keep-alive strategy includes card 1 performing PDU keep-alive.
S220: and under the condition that the terminal detects that the data service is started for the first time, telephony sends a card 2PDU keep-alive strategy_1 to the card 2 baseband chip. Card 2PDU keep-alive policy_1 includes card 2 not performing PDU keep-alive.
S221: and under the condition that the current scene is detected to be the scene of automatically switching the data service SIM card, telephony sends a card 1 deactivation instruction to the baseband chip of the card 1.
S222: based on the card 1PDU keep-alive strategy, the card 1 baseband chip sends a card 1 deactivation completion message to Telephony.
S223: telephony sends an activate card 2 command to the card 2 baseband chip.
S224: based on the card 2PDU keep-alive policy_1, the card 2 baseband chip establishes the PDU connection of card 2.
S225: the card 2 baseband chip sends a card 2 activation complete message to Telephony.
S226: telephony sends card 2PDU keep-alive policy_2 to the card 2 baseband chip. Card 2PDU keep-alive policy_2 includes card 2 performing PDU keep-alive.
S227: and under the condition that the terminal exits from the automatic switching data service SIM card scene, telephony sends a card 2 deactivation instruction to the card 2 baseband chip.
S228: based on card 2PDU keep-alive policy_2, the card 2 baseband chip sends a card 2 deactivation completion message to telephone.
S229: telephony sends an activate card 1 command to the card 1 baseband chip.
S230: based on the card 1PDU keep-alive strategy, the card 1 baseband chip sends a card 1 activation completion message to Telephony.
S231: telephony sends card 2PDU keep-alive policy_3 to the card 2 baseband chip. Card 2PDU keep-alive policy_3 includes card 2 not performing PDU keep-alive.
S232: based on the card 2PDU keep-alive policy_3, the card 2 baseband chip disconnects the PDU of card 2.
It can be appreciated that the specific implementation manner of step S219 to step S232 may refer to the related descriptions of step S201 to step S218 shown in fig. 5A, and will not be described herein.
The following describes the apparatus according to the embodiments of the present application.
Fig. 6 is a schematic hardware structure of a terminal according to an embodiment of the present application.
The terminal may include a processor, an external memory interface, an internal memory, an audio module, a speaker, a receiver, a microphone, and a display screen.
The structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal. In some embodiments of the present application, the terminal may include more components than illustrated. For example, the terminal may include sensors such as a touch sensor, an acceleration sensor, and a gyro sensor. In some embodiments of the present application, the terminal may include fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. The interface connection relation between the modules illustrated in the embodiment of the present application is only illustrative, and does not limit the structure of the terminal.
The terminal may implement audio functions through an audio module, a speaker, a receiver, a microphone, an earphone interface, an application processor, and the like.
The terminal may implement display functions through a graphics processor (Graphics Processing Unit, GPU), a display screen, an application processor, and the like. The GPU is a microprocessor for image processing and is connected with the display screen and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more GPUs that execute program instructions to generate or change display information. The display screen is used for displaying images, videos, and the like. In some embodiments of the present application, the terminal may include 1 or more display screens.
In some embodiments of the present application, the ability of the terminal to display the user interface depends on the display functionality provided by the GPU, the display screen, and the application processor described above.
The internal Memory may include one or more random access memories (Random Access Memory, RAM) and one or more Non-Volatile memories (NVM). Random access memory may be read directly from and written to by a processor, may be used to store executable programs (e.g., machine instructions) for an operating system or other on-the-fly programs, may also be used to store data for users and applications, and the like. The nonvolatile memory may also store executable programs, store data of users and application programs, and the like, and may be loaded into the random access memory in advance for the processor to directly read and write.
In the present application, codes for implementing the SIM card switching method described in the embodiments of the present application may be stored in a nonvolatile memory. The terminal may load executable code stored in the non-volatile memory into the random access memory while running the drop-in application.
The external memory interface can be used for connecting an external nonvolatile memory to realize the memory capacity of the expansion terminal.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims (12)
1. The SIM card switching method is characterized in that the method is applied to a terminal comprising a first SIM card and a second SIM card; the first SIM card is a data service SIM card used by the terminal by default; the method comprises the following steps:
when the terminal detects that the current scene is a first switching scene, the terminal switches the used data service SIM card from the first SIM card to the second SIM card;
The terminal sets the PDU keep-alive of the second SIM card;
under the condition that the terminal detects that the terminal exits from the first switching scene, the terminal switches the used data service SIM card from the second SIM card to the first SIM card;
and the terminal keeps PDU connection of the second SIM card in the process of switching the used data service SIM card from the second SIM card to the first SIM card.
2. The method of claim 1, wherein the method further comprises: after the terminal switches the used data service SIM card from the second SIM card to the first SIM card, the terminal disconnects the PDU of the second SIM card.
3. The method of claim 2, wherein the terminal disconnects the PDU of the second SIM card, specifically comprising: and under the condition that the duration after the data service SIM card to be used is switched from the second SIM card to the first SIM card exceeds a first time threshold, the terminal disconnects PDU of the second SIM card.
4. A method according to any one of claims 1-3, characterized in that the terminal sets the second SIM card PDU keep alive, comprising in particular:
And under the condition that the terminal finishes switching the used data service SIM card from the first SIM card to the second SIM card, the terminal sends an instruction for starting the PDU keep-alive of the second SIM card to a second SIM card baseband chip in the terminal through a data service SIM card management module.
5. The method according to any of claims 1-4, wherein the terminal switches the used data service SIM card from the second SIM card to the first SIM card, in particular comprising: the terminal deactivates the data service of the second SIM card and activates the data service of the first SIM card;
the terminal deactivates the second SIM card, specifically including:
the terminal sends a first deactivation instruction to a second SIM card baseband chip in the terminal through Telephony;
and under the condition that the second SIM card baseband chip keeps PDU connection of the second SIM card, the terminal sends a first deactivation completion message to the Telephony through the second SIM card baseband chip.
6. A method according to claim 2 or 3, wherein before the terminal disconnects the PDU of the second SIM card, the method further comprises:
And under the condition that the terminal finishes switching the used data service SIM card from the second SIM card to the first SIM card, the terminal sends an instruction for closing the PDU keep-alive of the second SIM card to a second SIM card baseband chip in the terminal through a data service SIM card management module.
7. A method according to any of claims 1-6, characterized in that the terminal maintains the PDU connection of the first SIM card during the switching of the data service SIM card to be used from the first SIM card to the second SIM card, and during the switching of the data service SIM card to be used from the second SIM card to the first SIM card.
8. The method according to any one of claims 1-7, wherein the first switching scenario is that the second SIM card enters a call state; the exiting the first switching scene specifically includes: and the second SIM card exits the call state.
9. The method of any of claims 1-7, wherein the first switching scenario is the first SIM card network blocking; the exiting the first switching scenario specifically includes any one or more of the following:
The duration of the terminal in the off-screen state exceeds a second time threshold;
the duration of the foreground application of the terminal going back to the background exceeds a third time threshold;
the method comprises the steps that the time length of a data service SIM card to be used by a terminal after the terminal is switched from a first SIM card to a second SIM card exceeds a fourth time threshold, the signal strength of the first SIM card exceeds a first signal strength threshold, and the network system of the first SIM card meets a first network system condition;
the second SIM card is network-blocked, the signal strength of the first SIM card exceeds the first signal strength threshold, and the network system of the first SIM card meets the first network system condition.
10. The method of claim 9, wherein the network system of the first SIM card meets the first network system condition, specifically comprising: the network system of the first SIM card is 4G or 5G.
11. An electronic device, comprising: a display screen, one or more memories, one or more processors; the one or more processors are coupled with the display screen and the first one or more memories; the memory is used for storing a computer program; the processor is configured to invoke the computer program to cause the electronic device to perform the method of any of claims 1-10.
12. A computer storage medium, comprising: computer instructions; the computer instructions, when run on a first device, cause the first device to perform the method of any of claims 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310549745.2A CN117693075A (en) | 2023-05-15 | 2023-05-15 | SIM card switching method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310549745.2A CN117693075A (en) | 2023-05-15 | 2023-05-15 | SIM card switching method and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117693075A true CN117693075A (en) | 2024-03-12 |
Family
ID=90128903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310549745.2A Pending CN117693075A (en) | 2023-05-15 | 2023-05-15 | SIM card switching method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117693075A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105101164A (en) * | 2015-07-23 | 2015-11-25 | 努比亚技术有限公司 | Dual-card dual-standby terminal and data communication method |
CN111757406A (en) * | 2020-06-15 | 2020-10-09 | Oppo广东移动通信有限公司 | Data service communication method, terminal, electronic device and storage medium |
CN111918270A (en) * | 2020-07-31 | 2020-11-10 | 展讯通信(上海)有限公司 | Communication card switching processing method and device |
CN111970683A (en) * | 2020-09-04 | 2020-11-20 | Oppo(重庆)智能科技有限公司 | Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium |
CN113498032A (en) * | 2020-03-20 | 2021-10-12 | 华为技术有限公司 | Internet access method and electronic equipment |
CN115022473A (en) * | 2017-10-09 | 2022-09-06 | 华为技术有限公司 | Method and terminal for simultaneously supporting voice service and data service |
-
2023
- 2023-05-15 CN CN202310549745.2A patent/CN117693075A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105101164A (en) * | 2015-07-23 | 2015-11-25 | 努比亚技术有限公司 | Dual-card dual-standby terminal and data communication method |
WO2017012532A1 (en) * | 2015-07-23 | 2017-01-26 | 努比亚技术有限公司 | Dual-sim-dual-standby terminal and data communication method |
CN115022473A (en) * | 2017-10-09 | 2022-09-06 | 华为技术有限公司 | Method and terminal for simultaneously supporting voice service and data service |
CN113498032A (en) * | 2020-03-20 | 2021-10-12 | 华为技术有限公司 | Internet access method and electronic equipment |
CN111757406A (en) * | 2020-06-15 | 2020-10-09 | Oppo广东移动通信有限公司 | Data service communication method, terminal, electronic device and storage medium |
CN111918270A (en) * | 2020-07-31 | 2020-11-10 | 展讯通信(上海)有限公司 | Communication card switching processing method and device |
CN111970683A (en) * | 2020-09-04 | 2020-11-20 | Oppo(重庆)智能科技有限公司 | Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11843721B2 (en) | Method and terminal for supporting voice service and data service simultaneously | |
CN106961526B (en) | Notification message display method and device and electronic equipment | |
CN105979067B (en) | Control method and electronic device | |
US20200178327A1 (en) | Method and device for indicating radio bearer | |
US11343741B2 (en) | Data transmission method and device based on mobile network, and storage medium | |
CN105898069A (en) | Information reminding method and device | |
CN115190197B (en) | Bluetooth headset-based communication method and device and storage medium | |
CN114500716A (en) | Cooperative call method, apparatus, device, storage medium and program product | |
CN113645715A (en) | Method and terminal device for monitoring link | |
CN111356159B (en) | Network-resident mode adjusting method, device and storage medium | |
CN105517078A (en) | Network connection switching method and device | |
CN113727289A (en) | Electronic equipment and communication method | |
CN107371222B (en) | Virtual card disabling method and device | |
CN117693075A (en) | SIM card switching method and related equipment | |
CN108028810B (en) | Method and device for establishing service connection | |
CN108429849A (en) | Processing method, device and the equipment of data service | |
US11799705B2 (en) | Message transmission method and device | |
CN116347537B (en) | Call processing method and device | |
CN112770107B (en) | Modification method of load bearing and related device | |
US20050130623A1 (en) | Facilitating emergency calls made from a radio communication device | |
WO2021057858A1 (en) | Method for answering incoming call in instant messaging application, mobile terminal and computer storage medium | |
CN111432502B (en) | Random access method, base station and terminal equipment | |
CN114615647A (en) | Call control method, device and storage medium | |
CN105578576A (en) | Method for reducing power consumption of terminal and terminal | |
CN114173315B (en) | Bluetooth reconnection method and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |