CN111970683A - Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium - Google Patents

Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium Download PDF

Info

Publication number
CN111970683A
CN111970683A CN202010923247.6A CN202010923247A CN111970683A CN 111970683 A CN111970683 A CN 111970683A CN 202010923247 A CN202010923247 A CN 202010923247A CN 111970683 A CN111970683 A CN 111970683A
Authority
CN
China
Prior art keywords
application
data transmission
sim card
switching
tcp
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.)
Granted
Application number
CN202010923247.6A
Other languages
Chinese (zh)
Other versions
CN111970683B (en
Inventor
张峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010923247.6A priority Critical patent/CN111970683B/en
Publication of CN111970683A publication Critical patent/CN111970683A/en
Application granted granted Critical
Publication of CN111970683B publication Critical patent/CN111970683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The embodiment of the application discloses a method, a device, a terminal device and a storage medium for switching SIM cards, wherein the method comprises the following steps: in the running process of the application, acquiring data transmission parameters of a first Subscriber Identity Module (SIM) card, wherein the data transmission parameters are used for representing the data transmission capability of the first SIM card currently carrying data services; and when the data transmission parameters meet the switching conditions corresponding to the application, switching the first SIM card to a second SIM card. The method, the device, the terminal equipment and the storage medium for switching the SIM cards can automatically switch the SIM cards and improve the data transmission capability of the terminal.

Description

Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for switching an SIM card, a terminal device, and a storage medium.
Background
With the rapid development of scientific technology, network communication functions of various terminal devices (such as smart phones and wearable devices) are becoming stronger. In order to meet different network communication requirements, many terminal devices have been supported to place multiple Subscriber Identity Module (SIM) cards to support communication using different networks. In a traditional mode, the switching of different SIM cards mainly depends on manual switching of a user, and the operation is complex.
Disclosure of Invention
The embodiment of the application discloses a method and a device for switching an SIM card, terminal equipment and a storage medium, which can automatically switch the SIM card and improve the data transmission capability of the terminal.
The embodiment of the application discloses a method for switching SIM cards, which comprises the following steps:
in the running process of the application, acquiring data transmission parameters of a first Subscriber Identity Module (SIM) card, wherein the data transmission parameters are used for representing the data transmission capability of the first SIM card currently carrying data services;
and when the data transmission parameters meet the switching conditions corresponding to the application, switching the first SIM card to a second SIM card.
The embodiment of the application discloses a device for switching SIM cards, comprising:
the system comprises a parameter acquisition module, a data transmission module and a data transmission module, wherein the parameter acquisition module is used for acquiring data transmission parameters of a first Subscriber Identity Module (SIM) card in the running process of an application, and the data transmission parameters are used for representing the data transmission capability of the first SIM card carrying data service currently;
and the switching module is used for switching the first SIM card to a second SIM card when the data transmission parameters meet the switching conditions corresponding to the application.
The embodiment of the application discloses a terminal device, which comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is enabled to realize the method.
An embodiment of the application discloses a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method as described above.
The method, the device, the terminal device and the storage medium for switching the SIM cards, disclosed by the embodiment of the application, can be used for acquiring data transmission parameters of a first SIM card currently bearing data services in the application running process, wherein the data transmission parameters can be used for representing the data transmission capacity of the first SIM card, when the data transmission parameters meet the corresponding switching conditions of the application, the first SIM card is switched to a second SIM card, the data transmission capacity of the SIM card currently bearing the data services can be quantified through the data transmission parameters, whether SIM card switching is carried out or not is judged by combining the running application, the automatic switching of the SIM cards can be more accurately realized, and the data transmission capacity of the terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a diagram illustrating an exemplary embodiment of a method for switching SIM cards;
FIG. 2 is a block diagram showing the structure of a terminal device according to an embodiment;
FIG. 3 is a flow diagram of a method for switching SIM cards in one embodiment;
FIG. 4 is a flowchart of a method for switching SIM cards in another embodiment;
FIG. 5 is a diagram of TCP establishing a connection in one embodiment;
FIG. 6 is a block diagram of a device that switches SIM cards in one embodiment.
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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the examples and figures of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first SIM card may be referred to as a second SIM card, and similarly, a second SIM card may be referred to as a first SIM card, without departing from the scope of the present application. Both the first SIM card and the second SIM card are SIM cards, but they are not the same SIM card.
Fig. 1 is an application scenario diagram of a method for switching a SIM card in one embodiment. As shown in fig. 1, a communication connection is established between the terminal device 10 and the network device 20, optionally, the terminal device 10 and the network device 20 may establish a communication connection through communication technologies such as a fourth generation (4G) and a fifth generation (5G), and a communication connection manner of the terminal device and the network device is not limited in this embodiment.
In some embodiments, the terminal device 10 may be referred to as a User Equipment (UE). The terminal device may be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), or the like, and may also be a mobile phone, a Mobile Station (MS), a terminal device (mobile terminal), a notebook computer, or the like, and the terminal device 10 may communicate with one or more core networks through a Radio Access Network (RAN). The terminal equipment 10 may be, for example, a mobile telephone (or so-called "cellular" telephone) or a computer with terminal equipment, etc., and the terminal equipment 10 may also be, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device that exchanges voice and/or data with the radio access network. The terminal device 10 may also be a handheld device with a wireless communication function, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a network evolved in the future, and the like, and the implementation of the present application is not limited.
In some embodiments, the network device 20 may be an evolved Node B (eNB or e-NodeB) macro base station, a micro base station (also referred to as a "small base station"), a pico base station, an Access Point (AP), a Transmission Point (TP), a new generation NodeB (g), or the like in a Long Term Evolution (LTE) system, an NR communication system, or a licensed assisted access long-term evolution (LAA-LTE) system. The network device 20 may also be other types of network devices in a future evolution network, and the implementation of the present application is not limited.
The terminal device 10 may be provided with a plurality of (two or more) SIM card slots, and the user may place a plurality of corresponding SIM cards in the terminal device 10, and may select one of the SIM cards as a main card, and use the main SIM card to implement network communication. After scanning the network device 20, the terminal device 10 may obtain the user Identity information, such as an International Mobile Subscriber Identity (IMSI), a Temporary Mobile Subscriber Identity (TMSI), a Personal Identity Number (PIN), and the like, from the SIM master card, but is not limited thereto. The terminal device 10 may send the user identification information to the network device 20, and the network device 20 may verify the user identification information, and when it is determined that the user identification information is valid, allow the terminal device 10 to access the network, and the terminal device 10 may implement network communication with the network device 20. The terminal device 10 can switch between multiple SIM cards, and can connect with different networks through different SIM cards. In a conventional manner, generally, when a user perceives that the signal quality of a currently used SIM master card is poor, the user manually switches to another SIM card, which is cumbersome to operate.
The embodiment of the application provides a method and a device for switching an SIM card, a terminal device and a storage medium, which can accurately realize automatic switching of the SIM card and improve data transmission capability of the terminal.
Fig. 2 is a block diagram of a terminal device in one embodiment. As shown in fig. 2, the terminal device may include: a radio frequency module 210, a memory 220, an input unit 230, a display unit 240, a sensor 250, an audio circuit 260, a WiFi (Wireless Fidelity) module 270, a processor 280, and a power supply 290. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 2 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The rf module 210 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the downlink information to the processor 280; in addition, the data for designing uplink is transmitted to the base station. Generally, the rf module 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the rf module 210 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), long term evolution, email, Short Message Service (SMS), etc.
The memory 220 may be used to store software programs and modules, and the processor 280 executes various functional applications and data processing of the terminal device by operating the software programs and modules stored in the memory 220. The memory 220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 220 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
In one embodiment, the computer program stored in the memory 220, when executed by the processor 280, causes the processor 280 to implement a method as described in embodiments herein.
The input unit 230 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 230 may include a touch panel 232 and other input devices 234. The touch panel 232, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on or near the touch panel 232 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 232 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and then provides the touch point coordinates to the processor 280, and can receive and execute commands from the processor 280. In addition, the touch panel 232 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 230 may include other input devices 234 in addition to the touch panel 232. In particular, other input devices 234 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 240 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 240 may include a display panel 242, and optionally, the display panel 242 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 232 can cover the display panel 242, and when the touch panel 232 detects a touch operation on or near the touch panel 232, the touch panel is transmitted to the processor 280 to determine the type of the touch event, and then the processor 280 provides a corresponding visual output on the display panel 242 according to the type of the touch event. Although in fig. 2, the touch panel 232 and the display panel 242 are two separate components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 232 and the display panel 242 may be integrated to implement the input and output functions of the terminal device.
The terminal device may also include at least one sensor 250, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 242 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 242 and/or the backlight when the terminal device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the terminal device, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, detailed description is omitted here.
Audio circuitry 260, speaker 262, microphone 264 may provide an audio interface between the user and the terminal device. The audio circuit 260 may transmit the electrical signal converted from the received audio data to the speaker 262, and convert the electrical signal into a sound signal by the speaker 262 for outputting; on the other hand, the microphone 264 converts the collected sound signal into an electrical signal, which is received by the audio circuit 260 and converted into audio data, and then the audio data is processed by the audio data output processor 280, and then the audio data is sent to another terminal device through the rf module 210, or the audio data is output to the memory 220 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the terminal device can help a user send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 270, and provides wireless broadband internet access for the user.
The processor 280 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 220 and calling data stored in the memory 220, thereby integrally monitoring the terminal device. Alternatively, processor 280 may include one or more processing units; preferably, the processor 280 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 280.
The terminal device also includes a power supply 290 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 280 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. Although not shown, the terminal device may further include a camera, a bluetooth module, and the like, which are not described herein.
As shown in fig. 3, in an embodiment, a method for switching a SIM card is provided, which is applicable to the terminal device described above, and the method may include the following steps:
step 310, in the running process of the application, obtaining data transmission parameters of the first subscriber identity module SIM card.
The first SIM card may be an SIM card currently carrying data services in the terminal device, i.e. the above-mentioned SIM master card. When the application on the terminal device runs, data transmission parameters of the first SIM card in the running process of the application can be collected, the data transmission parameters can be used for representing the data transmission capability of the first SIM card in the running process of the application, and the data transmission capability of the first SIM card can also be understood as the data transmission capability of a network accessed by the terminal device through the first SIM card.
Optionally, when the terminal device receives a start request for starting an application, it may determine whether the application is using a cellular network (i.e., a mobile network), and if the application is using the cellular network, it may indicate that the application uses the cellular network and a server to perform data transmission during the operation process, and may obtain data transmission parameters of the first SIM card during the operation process of the application, where the cellular network may include, but is not limited to, a GSM network, a CDMA network, a 4G, 5G, WCDMA network, a TDMA (Time division multiple access) network, and the like.
In one embodiment, the usage right of the cellular network of the application running can be acquired, and if the application running is provided with the usage right of the cellular network, the application can be determined to use the cellular network. As another embodiment, an application service provided by the started application may also be acquired, and whether the started application uses the cellular network is determined according to the application service. For example, if the launched application provides a service that does not require networking, such as a calendar, a stand-alone game, image processing, etc., it may be determined that the launched application does not require use of the cellular network; if the started and running application provides a service needing networking, such as web browsing, chat communication and the like, it can be determined that the started and running application needs to use a cellular network.
Optionally, in the application running process, the terminal device may obtain the data transmission parameter of the first SIM card in real time, or may obtain the data transmission parameter of the first SIM card at regular intervals according to a time period, for example, the data transmission parameter may be obtained at intervals of 1 second, 2 seconds, 500 milliseconds, and the like, but is not limited thereto.
In some embodiments, the terminal device may use a Transmission Control Protocol (TCP) to perform data Transmission with the network device. The data transmission capability of the first SIM card may be evaluated using TCP integrated capabilities, which may include TCP handshake capabilities and TCP success rates. The data transmission parameters of the first SIM card in the application running process may include a TCP handshake success rate and a TCP retransmission rate when the application uses the first SIM card to perform data transmission in the running process. The TCP handshake success rate can refer to the success rate of sending TCP handshake by the terminal equipment, and data transmission can be normally carried out only after the TCP handshake is successful; the TCP retransmission rate may refer to the probability that a TCP packet retransmission occurs. The current data service transmission state can be reflected through data transmission parameters such as TCP handshake success rate, TCP retransmission rate and the like, and the data transmission capability of the first SIM card can be accurately reflected.
It should be noted that the data transmission parameters may include other parameters, such as signal strength, signal-to-noise ratio, and the like, in addition to the TCP handshake capability and the TCP success rate, which is not limited herein.
And step 320, when the data transmission parameters meet the switching conditions corresponding to the application, switching the first SIM card to the second SIM card.
The terminal equipment can be provided with a plurality of SIM cards, different SIM cards can respectively correspond to different mobile network operators, or the same mobile network operator but different corresponding network systems, and the like. For example, the terminal device may include at least a first SIM card and a second SIM card, where the first SIM card and the second SIM card may belong to different mobile network operation terminals respectively, and may also correspond to different network standards respectively, for example, the first SIM card supports a 3G network, the second SIM card supports a 4G network, and the like.
The switching condition corresponding to the running application can be obtained. In some embodiments, different applications may have different requirements for data transmission capability, for example, some applications may require high quality service data and require stronger data transmission capability (e.g., video applications, game applications, etc.), and some applications may require less quality service data (e.g., reading applications, chat applications, etc.), and require weaker data transmission capability. Therefore, the switching condition corresponding to the application can be set according to the requirement applied to the data transmission capability. When the acquired data transmission parameters meet the switching conditions corresponding to the application, it can be shown that the first SIM card currently carrying the service data is not enough to support the requirement of the application on the data transmission capability, and the SIM card needs to be switched.
As an embodiment, the switching condition may include that the TCP handshake success rate is less than a first threshold and/or the TCP retransmission rate is greater than a second threshold, and requirements for data transmission capabilities of different applications are different, and then the first threshold and the second threshold may be set according to a degree of the requirements for the data transmission capabilities of the applications. Further, the demand degree for the data transmission capacity can be in positive correlation with the first threshold, and the higher the demand degree is, the higher the requirement for the TCP handshake success rate can be; the level of demand for data transmission capacity may be inversely related to the second threshold, and the higher the level of demand, the lower the acceptable TCP retransmission rate may be.
In some embodiments, when the SIM card is switched, the terminal device may have a "network off" condition for a period of time, that is, during the process of switching from the first SIM card to the second SIM card, the terminal device may have a network-absent state since it just exits from the original network and does not use the new SIM card to access the new network. Therefore, the switching condition corresponding to the application can be set according to the sensitivity of the user to the SIM card switching in the running process of the application. For applications with higher sensitivity (e.g., mobile phone networking game applications, instant voice/video communication applications, etc.), a stricter switching condition may be set, and for applications with lower sensitivity (e.g., reading applications, web browsing applications, etc.), a more moderate switching condition may be set. For example, for an application in which the user has a high sensitivity to the SIM card switching, the corresponding switching condition may be that the TCP handshake success rate is smaller than the first threshold and the TCP retransmission rate is greater than the second threshold, and for an application in which the user has a low sensitivity to the SIM card switching, the corresponding switching condition may be that the TCP handshake success rate is smaller than the first threshold or the TCP retransmission rate is greater than the second threshold, but is not limited thereto. When the SIM card is switched, the experience of the user on the SIM card switching can be comprehensively considered, so that the influence of the SIM card switching on the use of the user is reduced.
When the data transmission parameters meet the switching conditions corresponding to the currently running application, it can be shown that the first SIM card currently carrying the data service cannot meet the requirements of the application on the quality of service data, the first SIM card can be switched to the second SIM card, and the second SIM card is used as a data master card and is accessed to a network corresponding to the second SIM card for communication, so that the data transmission capability of the terminal device can be improved. Optionally, after switching to the second SIM card for network communication, the terminal device may continue to acquire the data transmission parameter of the second SIM card, and may determine the data transmission capability of the second SIM card according to the data transmission parameter of the second SIM card. If the data transmission capability of the second SIM card is lower than that of the first SIM card, the second SIM card can be switched back to the first SIM card again, or the second SIM card is continuously switched to another SIM card under the condition that other SIM cards exist, so that the data service quality in the application running process is guaranteed.
In the embodiment of the application, in the running process of the application, the data transmission parameter of the first SIM card currently carrying the data service is acquired, the data transmission parameter can be used for representing the data transmission capability of the first SIM card, when the data transmission parameter meets the switching condition corresponding to the application, the first SIM card is switched to the second SIM card, the data transmission capability of the SIM card currently carrying the data service can be quantified through the data transmission parameter, whether the SIM card is switched or not is judged by combining the running application, the automatic switching of the SIM card can be more accurately realized, and the data transmission capability of the terminal is improved.
As shown in fig. 4, in an embodiment, another method for switching a SIM card is provided, which is applicable to the terminal device described above, and the method may include the following steps:
step 402, in the running process of the application, acquiring data transmission parameters of the first subscriber identity module SIM card.
The description of step 402 can refer to the related description of step 310 in the above embodiments, and is not repeated herein.
In some embodiments, when the application is started, a network standard corresponding to a data service that needs to be executed in an application running process can be acquired, whether a network standard of a first SIM card currently carrying the data service is matched with a network standard corresponding to the data service that needs to be executed by the application is judged, if not, the first SIM card can be directly switched to a second SIM card, and the network standard of the second SIM card can be matched with the network standard corresponding to the data service that needs to be executed by the application. For example, the started application is a game application, the network system corresponding to the data service that the game application needs to execute may be 4G, 5G, and the like, and if the network system of the SIM card currently serving as the data master card is 3G, the SIM card may be switched to the SIM card supporting 4G or 5G and accessed to the network of 4G or 5G for data transmission.
After the SIM card with the network system matched with the network system corresponding to the data service required to be executed by the application is accessed into the corresponding network, the normal operation of the application can be ensured, the data transmission parameters of the application are acquired by the SIM card currently bearing the service data in the operation process of the application, and whether the data transmission is abnormal or not is judged according to the acquired data transmission parameters.
And step 404, when the data transmission is determined to be abnormal according to the data transmission parameters, determining the application type of the application.
In some embodiments, the data transmission abnormality may include at least one of a TCP handshake success rate being less than a first threshold and a TCP retransmission rate being greater than a second threshold. Alternatively, the first threshold and the second threshold may be fixed values, for example, the first threshold is 60%, the second threshold is 50%, and the like, and the first threshold and the second threshold may also be dynamically adjusted, for example, the setting may be performed according to the requirement of the currently running application on the data transmission capability, and the like, and is not limited herein.
Fig. 5 is a diagram illustrating TCP establishing a connection in one embodiment. As shown in fig. 5, the terminal device 10 may initiate a TCP connection request to the network device 20, and the terminal device 10 may transmit a SYN (synchronization Sequence number) message to the network device 20. After receiving the SYN message sent by the terminal device 10, the network device 20 may return an acknowledgement message of SYN + ACK (acknowledgement character) to the terminal device 10. After receiving the acknowledgement message of SYN + ACK sent by network device 20, terminal device 10 may send an ACK acknowledgement message to network device 20, and through three-way handshake, TCP connection is successfully established between terminal device 10 and network device 20, and terminal device 10 and network device 20 may perform data transmission.
In the application running process, when different service modules need to transmit service data to the network device, TCP connection can be established with the network device 20. The total TCP handshake initiation times applied in the current operation process (namely from the start operation to the current time) can be obtained at regular intervals, the TCP handshake success times applied in the current operation process can be obtained, the proportion of the TCP handshake success times to the total TCP handshake initiation times can be calculated, and the TCP handshake success rate can be obtained. The TCP handshake success refers to completing three-way handshake and establishing TCP connection, and the TCP handshake failure refers to failure of establishing TCP connection caused by any failure in the three-way handshake (for example, the terminal device does not receive an acknowledgement message of SYN + ACK returned by the network device, or the network device does not receive a SYN acknowledgement message sent by the terminal device, etc.).
After the terminal device establishes TCP connection with the network device, the terminal device may send a TCP data packet to the network device for data transmission, and if a response data packet returned by the network device is not received within a certain time period, the terminal device may resend the TCP data packet to the network device, that is, perform TCP data packet retransmission. The number of times of TCP data packet retransmission of the application in the current operation process (namely from starting operation to the current time) can be obtained at regular intervals, the total number of times of TCP data packet transmission of the application in the current operation process is obtained, the ratio of the TCP data packet retransmission number to the TCP data packet transmission number can be calculated, and the TCP retransmission rate is obtained.
In some embodiments, the terminal device may obtain the data transmission parameter of the first SIM card in the running process of the foreground application. When the obtained TCP handshake success rate is less than a first threshold and/or the TCP retransmission rate is greater than a second threshold, it may be determined that data transmission of the currently running application in the foreground is abnormal in the running process, an application type to which the currently running application in the foreground belongs may be obtained, and it may be determined whether a data transmission parameter of the currently data service-bearing first SIM card in the running process of the currently running application in the foreground satisfies a switching condition corresponding to the application type, and if so, the first SIM card may be switched to the second SIM card.
And step 406, when the data transmission parameter meets a switching condition corresponding to the application type, switching the first SIM card to the second SIM card.
In some embodiments, applications may be classified according to the amount of data that the applications need to transmit, the way they interact with the user, and so on, and the types of applications to which the applications belong may include, but are not limited to, the following types:
the type I and the application type are real-time interaction type applications. The real-time interactive application can comprise game applications and social media applications (such as short video applications and news applications), data transmission needs to be carried out in real time in the application running process, a user can possibly interact with the application in real time, and the user has high sensitivity on SIM card switching. The switching condition corresponding to the real-time interactive application may be a relatively strict switching condition.
Optionally, the data transmission parameter further includes Round-Trip Time (RTT), where RTT refers to Time for transmitting a data packet from the terminal device to the network device, and a longer RTT may indicate a slower data transmission speed and a poorer network quality. The switching condition corresponding to the real-time interactive application may include: the TCP handshake success rate is smaller than a first threshold, the TCP retransmission rate is larger than a second threshold, and the RTT is larger than a time threshold. When the terminal device determines that the TCP handshake success rate is smaller than the first threshold and the TCP retransmission rate is greater than the second threshold, it may further determine whether the RTT of the TCP data packet transmitted by the application is greater than a time threshold, if the RTT is greater than the time threshold, the first SIM card may be switched to the second SIM card, and if the RTT is not greater than the time threshold, it may be said that the current data transmission is within a tolerable range, the switching may not be performed. The time threshold may be set according to actual requirements or empirical values, such as 250 ms, 230 ms, 276 ms, and the like. The SIM card is switched when necessary, so that the adverse effect of the SIM card switching on the use process of the application of the user can be reduced.
Further, when the acquired data transmission parameters meet the switching conditions corresponding to the real-time interactive application, the interactive operation performed by the user can be detected, and if the interactive operation is not detected within the first time period, the first SIM card can be switched to the second SIM card. The first time period may also be set according to actual requirements or empirical values, such as 5 seconds, 10 seconds, 13 seconds, and the like. The first time length can also be set according to the network disconnection time length in the SIM card switching process, and the longer the network disconnection time length is, the larger the influence on the user in the application and use process is, the longer the set first time length can be; the shorter the network disconnection time is, the smaller the influence on the user in the application use process is, and the shorter the set first time can be. When the user does not perform interactive operation, the attention of the user to the application is slightly reduced, and the SIM card switching is performed at the moment, so that the adverse effect of the SIM card switching on the user in the application using process can be further reduced.
And the type II, the application type is a resource preloading type application. The resource preloading application can comprise a video application, an audio application and the like, and a part of multimedia resources can be preloaded in the running process of the application, so that the user is prevented from being blocked when the multimedia data is played and displayed. Because the application will pre-load a part of resources, the sensitivity of the user to the SIM card switching is slightly low, but because the resource pre-loading application has a large demand for network resources, if the data transmission capability of the first SIM card currently carrying data services is too poor, the use of the resource pre-loading application will be affected.
Optionally, the switching condition corresponding to the preloaded class application may include: the TCP handshake success rate is less than a first threshold, and the TCP retransmission rate is greater than a second threshold. The pre-loading application does not judge whether the RTT is larger than a time threshold value, but switches the first SIM card to the second SIM card when detecting that the TCP handshake success rate is smaller than a first threshold value and the TCP retransmission rate is larger than a second threshold value, so that the data transmission capacity of the terminal equipment when the pre-loading application is used can be improved, the set switching condition is neither too strict nor too moderate, and the influence of SIM card switching on the application use process can be reduced while the data transmission capacity is ensured.
Further, when the acquired data transmission parameters satisfy the switching conditions corresponding to the resource preloading type application, the data volume of the currently preloaded resource can be acquired. If the current preloaded resource is larger than the resource threshold value, which indicates that the data volume of the preloaded resource is large enough, and the use of the user is not affected when the SIM card is switched, the first SIM card can be switched to the second SIM card. The resource threshold may also be set according to actual requirements or empirical values, such as 2MB (megabyte), 0.5MB, 1.7MB, and the like. The resource threshold value can also be set according to the network disconnection time length in the SIM card switching process, and the longer the network disconnection time length is, the larger the set resource threshold value can be; the shorter the network disconnection time is, the smaller the set resource threshold value can be. The adverse effect of SIM card switching on the use process of the application for the user can be further reduced.
And the type III, the application type is a page browsing application. The page browsing application may include a browser application, a reading application, and the like, and the page browsing application has a smaller demand for network resources, and the user has a low sensitivity to SIM card switching during the application use process, so the switching condition corresponding to the page browsing application may be a relatively mild switching condition.
Optionally, the switching condition corresponding to the page browsing application may be that the TCP handshake success rate is less than a first threshold, or that the TCP retransmission rate is greater than a second threshold. And when the terminal equipment detects that the TCP handshake success rate is smaller than a first threshold or detects that the TCP retransmission rate is larger than a second threshold, the first SIM card can be switched to the second SIM card.
It should be understood that the application types to which the application belongs are not limited to the above-mentioned types, each application type may set different switching conditions, multiple application types may also set the same switching conditions, and the switching conditions are not limited to the above-mentioned conditions, and the application types and the switching conditions are not limited in the embodiments of the present application.
In some embodiments, the applications may include a foreground running application and/or a background running application, wherein the foreground running application may refer to an application that can see a running interface on a screen of the terminal device, and the background running application may refer to an application that does not see a running interface. For an application running on a terminal device, there may be, but are not limited to, the following:
1. there is only a foreground application running. If the current terminal equipment has the application running in the foreground, the data transmission parameters of the first SIM card aiming at the foreground application can be obtained in the process that the foreground application is running, and whether the SIM card is switched or not is judged according to the method described in the steps 402-406.
2. There is only a background application running. If the applications in the current terminal device are all running in the background, the data transmission parameters of the first SIM card for each background application can be acquired, and different applications may have a requirement for data transmission with the network device during running, so that the data transmission parameters can be acquired according to TCP data packets sent to the network device during the running process of each background application. The first SIM card can be analyzed for data transmission parameters of each background application, and whether SIM card switching is needed or not is judged.
Optionally, the TCP handshake success rate and the TCP retransmission rate of each background application may be obtained, and whether data transmission abnormality occurs in each background application is determined according to the TCP handshake success rate and the TCP retransmission rate. If the proportion of the background application with abnormal data transmission is larger than a proportion threshold value, the abnormal data transmission is a common phenomenon, and the quality of the network accessed through the first SIM card is poor, the first SIM card can be switched to the second SIM card.
3. There is foreground application and background application running at the same time. Optionally, only in the process that the foreground application is in foreground operation, the first SIM card may determine whether to perform SIM card switching according to the method described in the above steps 402 to 406, with respect to the data transmission parameter of the foreground application.
Optionally, the data transmission parameters of the first SIM card for the foreground application may also be obtained in the running process of the foreground application, and meanwhile, the data transmission parameters of the first SIM card for each background application may be obtained in the running process of each background application. The data transmission parameters of foreground application and background application can be analyzed at the same time, and whether SIM card switching is needed or not is judged. The TCP handshake success rate and the TCP retransmission rate of foreground application can be obtained, and whether data transmission abnormity occurs in the foreground application or not is judged according to the TCP handshake success rate and the TCP retransmission rate.
If the foreground application has data transmission abnormity, whether the data transmission abnormity also occurs in each background application can be judged according to the TCP handshake success rate and the TCP retransmission rate of each background application. When data transmission of background application is normal, network resources occupied by the background application with normal data transmission can be acquired, if the occupied network resources are larger than a preset resource threshold value, the background application can occupy too many network resources, data transmission of foreground application is influenced, and the background application can be suspended or closed. Alternatively, the resource threshold may be set according to actual requirements, e.g., 500kbps (kilobits), 687kbps, etc.
Optionally, if data transmission abnormality occurs in the foreground application, meanwhile, the proportion of the data transmission abnormality occurring in the background application is greater than the proportion threshold, and the network resource occupied by the background application with normal data transmission is not greater than the resource threshold, it can be said that the data transmission abnormality is a general phenomenon, and the quality of the network accessed through the first SIM card is poor at present, the first SIM card can be switched to the second SIM card.
In the embodiment of the application, in the running process of the application, if the data transmission is determined to be abnormal according to the acquired data transmission parameter of the first SIM card, the application type to which the application belongs is determined, and when the data transmission parameter meets the switching condition corresponding to the application type, the first SIM card is switched to the second SIM card, and different switching conditions can be set for different application types, so that the influence of SIM card switching on the application using process can be reduced while the data transmission capability in the running process of the application is improved, and the automatic switching of the SIM cards can be more accurately realized.
As shown in fig. 6, in an embodiment, an apparatus for switching a SIM card is provided, which is adapted to be used in the terminal device described above, and the apparatus for switching a SIM card 600 may include a parameter obtaining module 610 and a switching module 620.
The parameter obtaining module 610 is configured to obtain a data transmission parameter of the first SIM card in an application running process, where the data transmission parameter is used to characterize a data transmission capability of the first SIM card currently carrying a data service.
The switching module 620 is configured to switch the first SIM card to the second SIM card when the data transmission parameter meets a switching condition corresponding to the application.
In the embodiment of the application, in the running process of the application, the data transmission parameter of the first SIM card currently carrying the data service is acquired, the data transmission parameter can be used for representing the data transmission capability of the first SIM card, when the data transmission parameter meets the switching condition corresponding to the application, the first SIM card is switched to the second SIM card, the data transmission capability of the SIM card currently carrying the data service can be quantified through the data transmission parameter, whether the SIM card is switched or not is judged by combining the running application, the automatic switching of the SIM card can be more accurately realized, and the data transmission capability of the terminal is improved.
In an embodiment, the apparatus 600 for switching a SIM card may include a parameter obtaining module 610 and a switching module 620, and further include a type determining module.
And the type determining module is used for determining the application type of the application when determining that the data transmission is abnormal according to the data transmission parameters.
In one embodiment, the data transmission parameters include a TCP handshake success rate, which is a ratio of a TCP handshake success number to a total number of TCP initiated handshakes, and a TCP retransmission rate, which is a ratio of a number of times TCP packet retransmission occurs to a total number of times TCP packet transmission occurs.
The data transmission abnormity comprises at least one condition that the TCP handshake success rate is less than a first threshold value and the TCP retransmission rate is greater than a second threshold value.
In an embodiment, the parameter obtaining module 610 is further configured to obtain data transmission parameters of the first SIM card in an operation process of the foreground application. And the type determining module is also used for determining the application type of the application currently running in the foreground when the data transmission is determined to be abnormal according to the data transmission parameters.
The switching module 620 is further configured to switch the first SIM card to the second SIM card when the data transmission parameter meets a switching condition corresponding to the application type.
In one embodiment, the application type includes a real-time interactive class application. The data transmission parameters also include the round trip time RTT. The switching conditions corresponding to the real-time interactive application comprise: the TCP handshake success rate is smaller than a first threshold, the TCP retransmission rate is larger than a second threshold, and the RTT is larger than a time threshold.
In an embodiment, the switching module 620 is further configured to switch the first SIM card to the second SIM card if the interactive operation is not detected within the first time period when the data transmission parameter satisfies a switching condition corresponding to the real-time interactive application.
In one embodiment, the application type comprises a resource preload class application. The switching condition corresponding to the preloaded class application includes: the TCP handshake success rate is less than a first threshold, and the TCP retransmission rate is greater than a second threshold.
In an embodiment, the switching module 620 is further configured to, when the data transmission parameter meets a switching condition corresponding to the resource preloading type application, switch the first SIM card to the second SIM card if the currently preloaded resource is greater than the resource threshold.
In one embodiment, the application type includes a page view type application. The switching condition corresponding to the page browsing application comprises the following steps: the TCP handshake success rate is less than a first threshold, or the TCP retransmission rate is greater than a second threshold.
In the embodiment of the application, in the running process of the application, if the data transmission is determined to be abnormal according to the acquired data transmission parameter of the first SIM card, the application type to which the application belongs is determined, and when the data transmission parameter meets the switching condition corresponding to the application type, the first SIM card is switched to the second SIM card, and different switching conditions can be set for different application types, so that the influence of SIM card switching on the application using process can be reduced while the data transmission capability in the running process of the application is improved, and the automatic switching of the SIM cards can be more accurately realized.
The embodiment of the application discloses a computer readable storage medium, which stores a computer program, wherein the computer program realizes the method described in the above embodiments when being executed by a processor.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the method as described in the embodiments above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
The method, the apparatus, the terminal device and the storage medium for switching the SIM card disclosed in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application. Meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A method for switching SIM cards is characterized by comprising the following steps:
in the running process of the application, acquiring data transmission parameters of a first Subscriber Identity Module (SIM) card, wherein the data transmission parameters are used for representing the data transmission capability of the first SIM card currently carrying data services;
and when the data transmission parameters meet the switching conditions corresponding to the application, switching the first SIM card to a second SIM card.
2. The method according to claim 1, wherein switching the first SIM card to a second SIM card when the data transmission parameter satisfies a switching condition corresponding to the application type comprises:
when determining that data transmission is abnormal according to the data transmission parameters, determining the application type of the application;
and when the data transmission parameters meet the switching conditions corresponding to the application types, switching the first SIM card to a second SIM card.
3. The method according to claim 2, wherein the data transmission parameters include a Transmission Control Protocol (TCP) handshake success rate and a TCP retransmission rate, the TCP handshake success rate is a ratio of a TCP handshake success number to a total number of TCP initiation handshakes, and the TCP retransmission rate is a ratio of a number of times that TCP packet retransmission occurs to a total number of times that TCP packet transmission occurs;
the data transmission abnormity comprises at least one condition that the TCP handshake success rate is smaller than a first threshold value and the TCP retransmission rate is larger than a second threshold value.
4. The method of claim 3, wherein the application type comprises a real-time interactive class application, and wherein the data transmission parameter further comprises a Round Trip Time (RTT); the switching condition corresponding to the real-time interactive application comprises the following steps: the TCP handshake success rate is smaller than the first threshold, the TCP retransmission rate is larger than the second threshold, and the RTT is larger than a time threshold.
5. The method according to claim 4, wherein the switching the first SIM card to a second SIM card when the data transmission parameter satisfies a switching condition corresponding to the application type comprises:
and when the data transmission parameters meet the switching conditions corresponding to the real-time interactive application, if the interactive operation is not detected within a first time period, switching the first SIM card to a second SIM card.
6. The method of claim 3, wherein the application type comprises a resource pre-loading class application, and wherein the switching condition corresponding to the pre-loading class application comprises: the TCP handshake success rate is less than the first threshold, and the TCP retransmission rate is greater than the second threshold.
7. The method according to claim 6, wherein the switching the first SIM card to a second SIM card when the data transmission parameter satisfies a switching condition corresponding to the application type comprises:
and when the data transmission parameters meet the switching conditions corresponding to the resource preloading type application, if the current preloaded resources are greater than a resource threshold value, switching the first SIM card to a second SIM card.
8. The method of claim 3, wherein the application type comprises a page browsing application, and wherein the switching condition corresponding to the page browsing application comprises: the TCP handshake success rate is smaller than the first threshold, or the TCP retransmission rate is larger than the second threshold.
9. The method according to any one of claims 2 to 8, wherein the determining the application type to which the application belongs comprises:
and determining the application type of the application currently running in the foreground.
10. An apparatus for switching a SIM card, comprising:
the system comprises a parameter acquisition module, a data transmission module and a data transmission module, wherein the parameter acquisition module is used for acquiring data transmission parameters of a first Subscriber Identity Module (SIM) card in the running process of an application, and the data transmission parameters are used for representing the data transmission capability of the first SIM card carrying data service currently;
and the switching module is used for switching the first SIM card to a second SIM card when the data transmission parameters meet the switching conditions corresponding to the application.
11. A terminal device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to implement the method of any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1 to 9.
CN202010923247.6A 2020-09-04 2020-09-04 Method, device, terminal equipment and storage medium for switching SIM card Active CN111970683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010923247.6A CN111970683B (en) 2020-09-04 2020-09-04 Method, device, terminal equipment and storage medium for switching SIM card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010923247.6A CN111970683B (en) 2020-09-04 2020-09-04 Method, device, terminal equipment and storage medium for switching SIM card

Publications (2)

Publication Number Publication Date
CN111970683A true CN111970683A (en) 2020-11-20
CN111970683B CN111970683B (en) 2023-09-12

Family

ID=73392196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010923247.6A Active CN111970683B (en) 2020-09-04 2020-09-04 Method, device, terminal equipment and storage medium for switching SIM card

Country Status (1)

Country Link
CN (1) CN111970683B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112566218A (en) * 2020-12-01 2021-03-26 中兴通讯股份有限公司 SIM card selection method, device, terminal and storage medium
CN112788685A (en) * 2020-12-28 2021-05-11 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium
CN112969207A (en) * 2021-02-23 2021-06-15 Oppo广东移动通信有限公司 Switching method and device of default data main card, electronic equipment and storage medium
CN113518404A (en) * 2021-04-19 2021-10-19 Tcl通讯(宁波)有限公司 Automatic switching method and device of 5G network, storage medium and mobile terminal
CN113660653A (en) * 2021-08-30 2021-11-16 联想(北京)有限公司 Transmission method, transmission device and electronic equipment
CN113795018A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 SIM card switching method and device
CN113890905A (en) * 2021-06-16 2022-01-04 荣耀终端有限公司 Channel switching method, electronic device and storage medium
CN116709368A (en) * 2022-10-17 2023-09-05 荣耀终端有限公司 Network acceleration method and device

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242359A (en) * 2008-02-27 2008-08-13 华为技术有限公司 Dynamic code rate allocation method and packet domain stream media server
KR20110036464A (en) * 2009-10-01 2011-04-07 엘지전자 주식회사 Dual sim mobile terminal and operating method thereof
US20140295831A1 (en) * 2013-03-29 2014-10-02 Broadcom Corporation Background Paging Monitoring in Dual SIM Wireless Communication Device
CN104954546A (en) * 2015-01-23 2015-09-30 深圳市卡卓无线信息技术有限公司 Dual-card intelligent terminal and intelligent SIM card switching method based on the same
CN106341856A (en) * 2015-07-10 2017-01-18 西安中兴新软件有限责任公司 Method and device for automatically switching card using of dual-card terminal
US20170195929A1 (en) * 2015-12-31 2017-07-06 Le Holdings (Beijing) Co., Ltd. Method and device for realizing automatic call transfer in a dual sim dual standby mobile phone
CN107071760A (en) * 2017-03-31 2017-08-18 努比亚技术有限公司 Data service automatic switching method and mobile terminal
CN107277880A (en) * 2017-07-26 2017-10-20 奇酷互联网络科技(深圳)有限公司 The method, device and mobile terminal of data network switching
CN107635266A (en) * 2017-08-30 2018-01-26 努比亚技术有限公司 A kind of method for switching network, terminal and computer-readable recording medium
CN107872855A (en) * 2017-11-30 2018-04-03 河南浩德科技有限公司 Method for switching network, device, mobile terminal and computer-readable storage medium
CN107979858A (en) * 2017-12-07 2018-05-01 北京小米移动软件有限公司 Data path switching method, device, terminal and computer-readable recording medium
CN108235384A (en) * 2016-12-12 2018-06-29 华为技术有限公司 A kind of wireless network switching method and device
US20180191913A1 (en) * 2015-06-24 2018-07-05 Zte Corporation Multi-card resource management method, device and multi-card terminal
CN109151954A (en) * 2018-10-16 2019-01-04 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its double card method for switching network and storage medium
CN109587747A (en) * 2018-10-26 2019-04-05 努比亚技术有限公司 SIM card method for handover control, terminal and computer storage medium
CN110062372A (en) * 2019-03-29 2019-07-26 维沃移动通信(深圳)有限公司 A kind of SIM card control method and terminal device
CN110072263A (en) * 2019-03-26 2019-07-30 华为技术有限公司 A kind of method and electronic equipment switching card of surfing Internet
CN111182602A (en) * 2018-11-12 2020-05-19 奇酷互联网络科技(深圳)有限公司 SIM card switching method of mobile terminal, mobile terminal and computer storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242359A (en) * 2008-02-27 2008-08-13 华为技术有限公司 Dynamic code rate allocation method and packet domain stream media server
KR20110036464A (en) * 2009-10-01 2011-04-07 엘지전자 주식회사 Dual sim mobile terminal and operating method thereof
US20140295831A1 (en) * 2013-03-29 2014-10-02 Broadcom Corporation Background Paging Monitoring in Dual SIM Wireless Communication Device
CN104954546A (en) * 2015-01-23 2015-09-30 深圳市卡卓无线信息技术有限公司 Dual-card intelligent terminal and intelligent SIM card switching method based on the same
US20180191913A1 (en) * 2015-06-24 2018-07-05 Zte Corporation Multi-card resource management method, device and multi-card terminal
CN106341856A (en) * 2015-07-10 2017-01-18 西安中兴新软件有限责任公司 Method and device for automatically switching card using of dual-card terminal
US20170195929A1 (en) * 2015-12-31 2017-07-06 Le Holdings (Beijing) Co., Ltd. Method and device for realizing automatic call transfer in a dual sim dual standby mobile phone
CN108235384A (en) * 2016-12-12 2018-06-29 华为技术有限公司 A kind of wireless network switching method and device
CN107071760A (en) * 2017-03-31 2017-08-18 努比亚技术有限公司 Data service automatic switching method and mobile terminal
CN107277880A (en) * 2017-07-26 2017-10-20 奇酷互联网络科技(深圳)有限公司 The method, device and mobile terminal of data network switching
CN107635266A (en) * 2017-08-30 2018-01-26 努比亚技术有限公司 A kind of method for switching network, terminal and computer-readable recording medium
CN107872855A (en) * 2017-11-30 2018-04-03 河南浩德科技有限公司 Method for switching network, device, mobile terminal and computer-readable storage medium
CN107979858A (en) * 2017-12-07 2018-05-01 北京小米移动软件有限公司 Data path switching method, device, terminal and computer-readable recording medium
CN109151954A (en) * 2018-10-16 2019-01-04 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its double card method for switching network and storage medium
CN109587747A (en) * 2018-10-26 2019-04-05 努比亚技术有限公司 SIM card method for handover control, terminal and computer storage medium
CN111182602A (en) * 2018-11-12 2020-05-19 奇酷互联网络科技(深圳)有限公司 SIM card switching method of mobile terminal, mobile terminal and computer storage medium
CN110072263A (en) * 2019-03-26 2019-07-30 华为技术有限公司 A kind of method and electronic equipment switching card of surfing Internet
CN110062372A (en) * 2019-03-29 2019-07-26 维沃移动通信(深圳)有限公司 A kind of SIM card control method and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
熊永峰: "嵌入式设备的双路SIM卡的切换电路的探讨", 《通信电源技术》 *
熊永峰: "嵌入式设备的双路SIM卡的切换电路的探讨", 《通信电源技术》, 10 April 2020 (2020-04-10) *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112566218A (en) * 2020-12-01 2021-03-26 中兴通讯股份有限公司 SIM card selection method, device, terminal and storage medium
CN112788685A (en) * 2020-12-28 2021-05-11 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium
CN112788685B (en) * 2020-12-28 2023-03-21 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium
CN112969207A (en) * 2021-02-23 2021-06-15 Oppo广东移动通信有限公司 Switching method and device of default data main card, electronic equipment and storage medium
CN113518404A (en) * 2021-04-19 2021-10-19 Tcl通讯(宁波)有限公司 Automatic switching method and device of 5G network, storage medium and mobile terminal
CN113890905A (en) * 2021-06-16 2022-01-04 荣耀终端有限公司 Channel switching method, electronic device and storage medium
CN113795018A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 SIM card switching method and device
CN113660653A (en) * 2021-08-30 2021-11-16 联想(北京)有限公司 Transmission method, transmission device and electronic equipment
CN113660653B (en) * 2021-08-30 2023-08-18 联想(北京)有限公司 Transmission method and device and electronic equipment
CN116709368A (en) * 2022-10-17 2023-09-05 荣耀终端有限公司 Network acceleration method and device
CN116709368B (en) * 2022-10-17 2024-04-16 荣耀终端有限公司 Network acceleration method and device

Also Published As

Publication number Publication date
CN111970683B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN111970683B (en) Method, device, terminal equipment and storage medium for switching SIM card
CN110831096B (en) Network switching method and electronic equipment
CN108965306B (en) Call processing method and mobile terminal
WO2018103492A1 (en) Method for setting wifi roaming, and terminal device
CN112492704B (en) Session management method, device, terminal equipment and computer readable storage medium
CN106604314B (en) WiFi roaming network access method and terminal equipment
US20230130963A1 (en) Method for processing relax measurement parameter update, and terminal device
CN109819489B (en) Terminal calling method and terminal
CN107959952B (en) Method and terminal for detecting inter-system cell
US20140317483A1 (en) Method and terminal for adding quick link
CN112600815B (en) Video display method, terminal and computer readable storage medium
CN110868240A (en) Frequency hopping method, terminal and network equipment during PUSCH (physical uplink shared channel) repeated transmission
CN104967634A (en) File upload method and apparatus thereof
EP4007361A1 (en) Method for network switching and terminal
CN110113779B (en) eSIM card testing method, system and medium
CN112040475A (en) Communication connection method, system, terminal equipment and network equipment
CN109862278B (en) Light supplementing method and device for face recognition and computer readable storage medium
CN111885748A (en) Method for releasing RRC connection, terminal equipment and network equipment
CN111800794A (en) Method and device for determining position of demodulation reference signal
CN112770279B (en) Network sharing method, mobile terminal and computer readable storage medium
EP4007372A1 (en) Network handover method, network device, and terminal
CN111642000B (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN113543313B (en) Paging response method, terminal and network equipment
CN106851784B (en) network scanning method and terminal equipment
CN112954755A (en) Method and device for optimizing network switching and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant