CN111970683B - Method, device, terminal equipment and storage medium for switching SIM card - Google Patents

Method, device, terminal equipment and storage medium for switching SIM card Download PDF

Info

Publication number
CN111970683B
CN111970683B CN202010923247.6A CN202010923247A CN111970683B CN 111970683 B CN111970683 B CN 111970683B CN 202010923247 A CN202010923247 A CN 202010923247A CN 111970683 B CN111970683 B CN 111970683B
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.)
Active
Application number
CN202010923247.6A
Other languages
Chinese (zh)
Other versions
CN111970683A (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

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, terminal equipment 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 capacity of the first SIM card currently carrying data service; and when the data transmission parameters meet the switching conditions corresponding to the application, switching the first SIM card to the second SIM card. The method, the device, the terminal equipment and the storage medium for switching the SIM card can automatically switch the SIM card, and improve the data transmission capacity of the terminal.

Description

Method, device, terminal equipment and storage medium for switching SIM card
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a terminal device, and a storage medium for switching SIM cards.
Background
With rapid development of science and technology, network communication functions of various terminal devices (such as smart phones, wearable devices, etc.) are becoming stronger. To meet the different network communication needs, many terminal devices have supported the placement of multiple subscriber identity module (Subscriber Identity Module, SIM) cards to support communication using different networks. In the traditional mode, the switching of different SIM cards mainly relies on the manual switching of user, and the complex operation.
Disclosure of Invention
The embodiment of the application discloses a method, a device, terminal equipment and a storage medium for switching SIM cards, which can automatically switch the SIM cards and improve the data transmission capacity of a 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 capacity of the first SIM card currently carrying data service;
and when the data transmission parameters meet the switching conditions corresponding to the application, switching the first SIM card to the second SIM card.
The embodiment of the application discloses a device for switching SIM cards, which comprises:
the system comprises a parameter acquisition module, a first user identification module and a second user identification module, wherein the parameter acquisition module is used for acquiring data transmission parameters of a first user identification module SIM card in the running process of an application, and the data transmission parameters are used for representing the data transmission capacity of the first SIM card currently carrying data service;
and the switching module is used for switching the first SIM card to the 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 the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to realize the method as described above.
The embodiment of the application discloses a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the method as described above.
According to the method, the device, the terminal equipment and the storage medium for switching the SIM card, disclosed by the embodiment of the application, in the running process of an application, the data transmission parameter of the first SIM card carrying the data service at present is obtained, the data transmission parameter can be used for representing the data transmission capacity 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 capacity of the SIM card carrying the data service at present can be quantified through the data transmission parameter, and whether the SIM card is switched or not is judged by combining with the running application, so that the automatic switching of the SIM card can be realized more accurately, and the data transmission capacity of the terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an application scenario diagram of a method of switching SIM cards in one embodiment;
FIG. 2 is a block diagram of a terminal device in one embodiment;
FIG. 3 is a flow chart of a method of switching SIM cards in one embodiment;
FIG. 4 is a flow chart of a method of switching SIM cards in another embodiment;
FIG. 5 is a schematic diagram of TCP setup connection in one embodiment;
figure 6 is a block diagram of an apparatus for switching SIM cards in one embodiment.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "comprising" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings 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 listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It will be understood that the terms first, second, etc. as used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. 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 identical SIM cards.
Fig. 1 is an application scenario diagram of a method for switching SIM cards in one embodiment. As shown in fig. 1, the terminal device 10 and the network device 20 establish a communication connection, alternatively, the terminal device 10 may establish a communication connection with the network device 20 through a fourth generation (4th generation,4G), a fifth generation (5th generation,5G) and other communication technologies, and the communication connection manner is not limited in the embodiment of the present application.
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 (personal communication service, PCS) phone, cordless phone, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA) or the like, or a handset, mobile Station (MS), terminal device (mobile terminal), laptop or the like, and the terminal device 10 may communicate with one or more core networks via a radio access network (radio access network, RAN). For example, the terminal device 10 may be a mobile telephone (or "cellular" telephone) or a computer or the like having a terminal device, e.g., the terminal device 10 may also be a portable, pocket, hand-held, computer-built-in or vehicle-mounted mobile device that exchanges voice and/or data with a radio access network. The terminal device 10 may also be a handheld device, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future evolution network, etc., and the implementation of the present application is not limited.
In some embodiments, the network device 20 may be a long term evolution (long term evolution, LTE) system, an NR communication system, or an evolved node b (evolutional node B, which may be simply eNB or e-NodeB) macro base station, micro base station (also referred to as "small base station"), pico base station, access Point (AP), transmission point (transmission point, TP), or new generation base station (new generation Node B, gndeb) in an licensed assisted access long term evolution (authorized auxiliary access long-term evolution, LAA-LTE) system, or the like. The network device 20 may be other network devices in future evolution networks, 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 a user may put a corresponding plurality of SIM cards into the terminal device 10, select one of the SIM cards as a main card, and use the SIM main card to implement network communication. After scanning the network device 20, the terminal device 10 may obtain subscriber identity information, such as, but not limited to, an international mobile subscriber identity (International Mobile Subscriber Identity, IMSI), a temporary mobile subscriber identity (Temporary Mobile Subscriber Identity, TMSI), a personal identity (Personal identification number, PIN), etc., from the SIM master card. The terminal device 10 may send the user identification information to the network device 20, the network device 20 may verify the user identification information, and when determining 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 a plurality of SIM cards, and can connect to different networks through different SIM cards. In the conventional manner, when a user senses that the signal quality of a currently used SIM main card is poor, the user manually switches to other SIM cards, and the operation is complicated.
The embodiment of the application provides a method, a device, terminal equipment and a storage medium for switching SIM cards, which can accurately realize automatic switching of the SIM cards and improve the data transmission capacity of a terminal.
Fig. 2 is a block diagram of a terminal device in one embodiment. As shown in fig. 2, the terminal device may include: radio frequency module 210, memory 220, input unit 230, display unit 240, sensor 250, audio circuit 260, wiFi (Wireless Fidelity ) module 270, processor 280, and power supply 290. It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 2 does not constitute a limitation of the terminal device, and the terminal device may comprise more or less components than shown, or may combine certain components, or may have a different arrangement of components.
The radio frequency module 210 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 280; in addition, the data of the design uplink is sent to the base station. Typically, the radio frequency module 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (low noise amplifier, LNA), a duplexer, and the like. In addition, the radio frequency module 210 may also communicate with networks and other devices via wireless communications. The wireless communications may use any communications standard or protocol including, but not limited to, global system for mobile communications (global system of mobile communication, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), long term evolution, email, short message service (short messaging service, SMS), etc.
The memory 220 may be used to store software programs and modules, and the processor 280 performs various functional applications and data processing of the terminal device by executing the software programs and modules stored in the memory 220. The memory 220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the terminal device, and the like. In addition, 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, a computer program stored in memory 220, when executed by processor 280, causes processor 280 to implement a method as described in various embodiments of the application.
The input unit 230 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal device. In particular, 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 thereon or thereabout by a user (e.g., operations of the user on the touch panel 232 or thereabout using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a predetermined 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 azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 280, and can receive commands from the processor 280 and execute them. In addition, the touch panel 232 may be implemented in various types such as resistive, capacitive, infrared, and 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 (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
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 (liquid crystal display, LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 232 may overlay the display panel 242, and when the touch panel 232 detects a touch operation thereon or thereabout, the touch panel is transferred to the processor 280 to determine the type of touch event, and then the processor 280 provides a corresponding visual output on the display panel 242 according to the type of touch event. Although in fig. 2, the touch panel 232 and the display panel 242 are two separate components to implement the input and input 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, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 242 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 242 and/or backlight when the terminal device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the terminal equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured for the terminal device are not described in detail herein.
Audio circuitry 260, speaker 262, microphone 264 may provide an audio interface between a user and the terminal device. The audio circuit 260 may transmit the received electrical signal converted from audio data to the speaker 262, and the electrical signal is converted into a sound signal by the speaker 262 to be output; on the other hand, the microphone 264 converts the collected sound signal into an electrical signal, receives the electrical signal from the audio circuit 260, converts the electrical signal into audio data, outputs the audio data to the processor 280 for processing, and transmits the audio data to, for example, another terminal device via the rf module 210, or outputs the audio data to the memory 220 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and terminal equipment can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 270, so that wireless broadband Internet access is provided 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 running or executing software programs and/or modules stored in the memory 220 and calling data stored in the memory 220, thereby performing overall monitoring of the terminal device. Optionally, the processor 280 may include one or more processing units; preferably, the processor 280 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 280.
The terminal device also includes a power supply 290 (e.g., a battery) for powering the various components, which may be logically connected to the processor 280 via a power management system, such as a power management system for performing functions such as charge, discharge, and power consumption management. Although not shown, the terminal device may further include a camera, a bluetooth module, etc., which will not be described herein.
As shown in fig. 3, in one embodiment, a method for switching a SIM card is provided and may be applied to the terminal device described above, where the method may include the following steps:
step 310, acquiring data transmission parameters of the first subscriber identity module SIM card during the running process of the application.
The first SIM card may be a SIM card currently carrying a data service in the terminal device, i.e. the SIM master card described above. When an application on the terminal equipment is running, 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 capacity of the first SIM card in the running process of the application, and the data transmission capacity of the first SIM card can be understood as the data transmission capacity of a network accessed by the terminal equipment through the first SIM card.
Optionally, when the terminal device receives a start request for starting the application, it may determine whether the application started uses a cellular network (i.e. a mobile network), and if the application started uses the cellular network, it may indicate that the application uses the cellular network and a server to perform data transmission during operation, and may acquire a data transmission parameter of the first SIM card during operation of the application, where the cellular network may include, but is not limited to, a GSM network, a CDMA network, a 4G, a 5G, WCDMA network, a TDMA (Time division multiple access ) network, and so on.
As one embodiment, the use authority of the cellular network of the application started and operated may be acquired, and if the application started and operated has the use authority of using the cellular network, it may be determined that the application uses the cellular network. As another embodiment, an application service provided by the application started to run may be obtained, and whether the application started to run uses the cellular network may be determined according to the application service. For example, if the application started to run provides a service such as a calendar, a stand-alone game, image processing, etc. that does not need to be networked, it may be determined that the application started to run does not need to use a cellular network; if the application started to run provides the service requiring networking, such as web browsing, chat communication, etc., then it can be determined that the application started to run needs to use the cellular network.
Optionally, during the application running process, the terminal device may acquire the data transmission parameters of the first SIM card in real time, or may acquire the data transmission parameters of the first SIM card at regular intervals according to a time period, for example, may acquire the data transmission parameters of the first SIM card at intervals of 1 second, 2 seconds, 500 milliseconds, or the like, but is not limited thereto.
In some embodiments, the terminal device may employ TCP (Transmission Control Protocol ) for data transmission with the network device. The data transmission capability of the first SIM card may be evaluated using a TCP integration capability, which may include a TCP handshake capability and a TCP success rate. The data transmission parameters of the first SIM card in the running process of the application can comprise TCP handshake success rate, TCP retransmission rate and the like when the application uses the first SIM card for data transmission in the running process. The success rate of TCP handshake can refer to the success rate of the terminal equipment to send TCP handshake, and data transmission can be normally performed only after the TCP handshake is successful; the TCP retransmission rate may refer to the probability that a TCP packet retransmission will occur. The current data service transmission state can be reflected through the data transmission parameters such as TCP handshake success rate, TCP retransmission rate and the like, and the data transmission capacity of the first SIM card can be accurately reflected.
It should be noted that, the data transmission parameters may include, in addition to the TCP handshake capability and the TCP success rate, other parameters, such as signal strength, signal-to-noise ratio, and the like, which are not limited herein.
Step 320, when the data transmission parameter satisfies the switching condition corresponding to the application, the first SIM card is switched to the second SIM card.
The terminal equipment can be provided with a plurality of SIM cards, and different SIM cards can respectively correspond to different mobile network operators, or can be the same mobile network operators but different corresponding network systems and the like. 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 ends, or may respectively correspond to different network formats, for example, the first SIM card supports a 3G network, the second SIM card supports a 4G network, and so on.
The switching condition corresponding to the running application may be obtained. In some embodiments, the requirements of different applications for data transmission capability may be different, for example, some applications require high quality of service data, and then require stronger data transmission capability (e.g., video applications, game applications, etc.), and some applications require less quality of service data (e.g., reading applications, chat applications, etc.), and then require weaker data transmission capability. Accordingly, 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 stated that the first SIM card carrying the service data currently is insufficient to support the requirement of the application on the data transmission capability, and the SIM card needs to be switched.
As an implementation manner, the switching condition may include that the success rate of the TCP handshake is smaller than a first threshold and/or the retransmission rate of the TCP is larger than a second threshold, and the first threshold and the second threshold may be set according to the degree of the requirement of the application for the data transmission capability if the requirements of different applications for the data transmission capability are different. Further, the degree of demand for data transmission capability may be in positive correlation with the first threshold, and the higher the degree of demand, the higher the requirement for TCP handshake success rate may be; the degree of demand for data transmission capacity may be inversely related to the second threshold, the higher the degree of demand, the lower the acceptable TCP retransmission rate.
In some embodiments, the terminal device may have a network failure state because the terminal device just exits the network to which the terminal device has been connected and does not use a new SIM card to access a new network when the terminal device performs the SIM card switching, i.e., the terminal device may have a network failure state in the process of switching from the first SIM card to the second SIM card. Therefore, the corresponding switching condition of the application can be set according to the sensitivity degree of the user to the switching of the SIM card in the running process of the application. For applications with higher sensitivity (such as mobile phone networking game applications, instant voice/video communication applications, etc.), more stringent switching conditions can be set, and for applications with lower sensitivity (such as reading applications, web browsing applications, etc.), more moderate switching conditions can be set. For example, the application with higher sensitivity of the user to SIM card switching may be an application with lower sensitivity of the user to SIM card switching, where the corresponding switching condition may be, but is not limited to, the TCP handshake success rate is less than the first threshold and the TCP retransmission rate is greater than the second threshold. And when the SIM card is switched, the user experience of 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 stated that the first SIM card carrying the data service can not meet the requirements of the application on the quality of service data, the first SIM card can be switched to the second SIM card, the second SIM card is used as a data main card and is accessed into a network corresponding to the second SIM card for communication, and the data transmission capability of the terminal equipment can be improved. Optionally, after switching to the second SIM card to perform network communication, the terminal device may continuously 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 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 ensured.
In the embodiment of the application, in the running process of the application, the data transmission parameter of the first SIM card carrying the data service at present is obtained, the data transmission parameter can be used for representing the data transmission capacity 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 capacity of the SIM card carrying the data service at present can be quantified through the data transmission parameter, and whether the SIM card is switched or not is judged by combining the running application, so that the automatic switching of the SIM card can be realized more accurately, and the data transmission capacity of the terminal is improved.
As shown in fig. 4, in one embodiment, another method for switching SIM cards is provided and may be applied to the terminal device described above, where the method may include the following steps:
step 402, acquiring data transmission parameters of a first Subscriber Identity Module (SIM) card in the running process of an application.
The description of step 402 may refer to the related description of step 310 in the above embodiment, and will not be repeated here.
In some embodiments, when an application is started, a network system corresponding to a data service to be executed in an application running process may be obtained, and whether the network system of a first SIM card currently carrying the data service matches the network system corresponding to the data service to be executed by the application may be determined, if not, the first SIM card may be directly switched to a second SIM card, where the network system of the second SIM card may match the network system corresponding to the data service to be executed by the application. For example, the application started is a game application, the network system corresponding to the data service required to be executed by the game application may be 4G, 5G, etc., if the network system of the SIM card currently used as the data master card is 3G, the network system is not matched, the network system may be switched to the SIM card supporting 4G or 5G, and the network system is accessed to the network of 4G or 5G for data transmission.
After the SIM card which adopts the network system and can be matched with the network system corresponding to the data service required to be executed by the application is accessed to the corresponding network, the normal operation of the application can be ensured, the data transmission parameters of the current SIM card carrying the service data aiming at the application in the operation process of the application are acquired, 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 to which the application belongs.
In some embodiments, the occurrence of the anomaly in the data transmission 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 value and the second threshold value may be fixed, for example, the first threshold value is 60%, the second threshold value is 50%, and the like, and the first threshold value and the second threshold value may be dynamically adjusted, for example, the first threshold value and the second threshold value may be set according to the requirement of the data transmission capability of the currently running application, and the like, which is not limited herein.
Fig. 5 is a schematic diagram of TCP setup connection in one embodiment. As shown in fig. 5, terminal device 10 may initiate a TCP connection request to network device 20, and terminal device 10 may send a SYN (Synchronize Sequence Numbers, synchronization sequence number) message to network device 20. The network device 20, upon receiving the SYN message sent by the terminal device 10, may return an acknowledgement message of syn+ack (Acknowledge character, acknowledgement character) to the terminal device 10. After receiving the acknowledgement message of syn+ack sent by the network device 20, the terminal device 10 may send an ACK acknowledgement message to the network device 20, and through three handshakes, the terminal device 10 and the network device 20 successfully establish a TCP connection, and the terminal device 10 and the 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, a TCP connection can be established with the network device 20. The total number of times of TCP initiation handshake in the current operation process (namely from starting operation to current time) of the application can be obtained at regular intervals, the successful number of times of TCP handshake in the current operation process of the application is obtained, and the ratio of the successful number of times of TCP handshake to the total number of times of TCP initiation handshake can be calculated to obtain the success rate of TCP handshake. The successful TCP handshake refers to that the three-way handshake is completed and the TCP connection is established, and the failure of the TCP handshake refers to that any failure in the three-way handshake (for example, the terminal device does not receive the acknowledgement application message of syn+ack returned by the network device, or the network device does not receive the SYN acknowledgement message sent by the terminal device, etc.) results in failure to establish the TCP connection.
After the terminal device establishes TCP connection with the network device, the terminal device can send TCP data packets to the network device for data transmission, and if the response data packets returned by the network device are not received within a certain duration range, the TCP data packets can be resent to the network device, namely, the TCP data packet retransmission is carried out. The number of times of TCP data packet retransmission of the application in the running process (namely from starting running to the current moment) can be obtained at regular intervals, the total number of times of TCP data packet transmission of the application in the running process can be obtained, and the ratio of the number of times of TCP data packet retransmission to the total number of times of TCP data packet transmission can be calculated to obtain the TCP retransmission rate.
In some embodiments, the terminal device may obtain the data transmission parameters of the first SIM card during the running of the foreground application. When the acquired TCP handshake success rate is smaller than a first threshold value and/or the TCP retransmission rate is larger than a second threshold value, determining that data transmission abnormality occurs in the running process of the application running in the foreground at present, acquiring the application type of the application running in the foreground at present, judging whether the data transmission parameters of the first SIM card carrying the data service at present in the running process of the application running in the foreground meet the switching conditions corresponding to the application type, and if so, switching the first SIM card to the second SIM card.
And step 406, switching the first SIM card to the second SIM card when the data transmission parameter meets the switching condition corresponding to the application type.
In some embodiments, applications may be categorized according to the amount of data that the application needs to transfer, the manner in which the application interacts with the user, etc., and exemplary types of applications to which the application belongs may include, but are not limited to, the following:
the type one and the application type are real-time interactive applications. The real-time interaction applications can comprise game applications and social media applications (such as short video applications and news applications), data transmission is required to be carried out in real time in the application running process, a user can interact with the applications in real time, and the sensitivity of the user to SIM card switching is high. The switching condition corresponding to the real-time interactive application may be a stricter switching condition.
Optionally, the data transmission parameters further include Round-Trip Time (RTT), where RTT refers to a Time for a data packet to be transmitted from the terminal device to the network device, and the longer the RTT, the slower the data transmission speed, and the network quality is worse. The switching conditions corresponding to the real-time interactive 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, and the RTT is greater than a time threshold. When the terminal equipment judges 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, the terminal equipment can further judge whether the RTT of the TCP data packet transmitted by the application is larger than a time threshold value, if so, the terminal equipment can switch the first SIM card to the second SIM card, and if not, the terminal equipment can indicate that the current data transmission is in a tolerable range, and can not switch the terminal equipment. The time threshold may be set according to actual requirements or empirical values, such as 250 ms, 230 ms, 276 ms, etc. The SIM card is switched when necessary, so that adverse effects caused by the SIM card switching to the user in the application use process can be reduced.
Further, when the acquired data transmission parameters meet the switching conditions corresponding to the real-time interactive application, the interactive operation time of the user can be detected, and if the interactive operation is not detected within the first duration, the first SIM card can be switched to the second SIM card. The first duration may also be set according to actual requirements or empirical values, for example, 5 seconds, 10 seconds, 13 seconds, etc. The first time length can also be set according to the network breaking time length for the SIM card switching process, and the longer the network breaking 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 break time length is, the smaller the influence on the user in the application using process is, and the shorter the set first time length 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 is switched at the moment, so that the adverse effect of the SIM card switching to the user in the application using process can be further reduced.
And the type II and the application type are resource preloading type applications. 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 a user is prevented from being blocked when playing and displaying multimedia data. Because the application can pre-load a part of resources, the user has low sensitivity to SIM card switching, but because the resource pre-load application has high demand on network resources, if the data transmission capability of the first SIM card carrying the data service is too bad, the use of the resource pre-load application can be influenced.
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 can not judge whether the RTT is larger than the time threshold, but can switch the first SIM card to the second SIM card when the TCP handshake success rate is detected to be smaller than the first threshold and the TCP retransmission rate is detected to be larger than the second threshold, so that the data transmission capacity of the terminal equipment when the pre-loading application is used can be improved, the set switching conditions are not too strict or too mild, and the influence of the 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 meet the switching conditions corresponding to the resource preloading class application, the data amount of the currently preloaded resource can be acquired. If the current preloaded resource is larger than the resource threshold, the preloaded resource data size is large enough, the user is not influenced when the SIM card is switched, and the first SIM card can be switched to the second SIM card. The resource threshold may also be set according to actual requirements or experience values, such as 2MB (megabytes), 0.5MB, 1.7MB, etc. The resource threshold value can be set according to the network disconnection time length of 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 off-network duration, the smaller the set resource threshold may be. The adverse effect of SIM card switching to the user in the application using process can be further reduced.
And the third application type is a page browsing application. The page browsing application can comprise a browser application, a reading application and the like, the page browsing application has small requirement on network resources, and the user has low sensitivity on SIM card switching in the application using process, so that the switching condition corresponding to the page browsing application can be a milder switching condition.
Alternatively, the handoff condition corresponding to the page view class 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 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, or multiple application types may set the same switching conditions, and the switching conditions are not limited to the above-mentioned types, and the embodiment of the present application is not limited to the application types and the switching conditions.
In some embodiments, the applications may include applications running in the foreground, which may refer to applications where the running interface may be seen on the screen of the terminal device, and/or applications running in the background, which may refer to applications where the running interface is not seen. For applications running on a terminal device, there may be, but are not limited to, the following:
1. only foreground applications exist running. If the application exists in the current terminal device and is running in the foreground, the data transmission parameters of the first SIM card for the foreground application can be obtained in the process that the foreground application is running in the foreground, and whether to switch the SIM card is judged according to the method described in the steps 402 to 406.
2. Only background applications exist running. If the applications in the current terminal equipment are all running in the background, the data transmission parameters of the first SIM card aiming at each background application can be obtained, and different applications can have the data transmission requirements with the network equipment during running, so that the data transmission parameters can be obtained according to the TCP data packets sent to the network equipment by each background application during running. The first SIM card can analyze the data transmission parameters of each background application and judge whether SIM card switching is needed.
Optionally, a TCP handshake success rate and a 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 the proportion threshold value, the abnormal data transmission is a common phenomenon, and the network quality accessed through the first SIM card is poor currently, the first SIM card can be switched to the second SIM card.
3. And running a foreground application and a background application at the same time. Alternatively, only the data transmission parameters of the foreground application for the foreground application may be obtained during the foreground running process, and whether to switch the SIM card is determined according to the methods described in steps 402 to 406.
Optionally, in the running process of the foreground application, the data transmission parameters of the first SIM card for the foreground application may be obtained, and in the running process of each background application, the data transmission parameters of the first SIM card for each background application may be obtained. The method can analyze the data transmission parameters of the foreground application and the data transmission parameters of the background application at the same time and judge whether SIM card switching is needed. The TCP handshake success rate and the TCP retransmission rate of the foreground application can be obtained, and whether the foreground application has abnormal data transmission or not is judged according to the TCP handshake success rate and the TCP retransmission rate.
If the foreground application has abnormal data transmission, judging whether the background application has abnormal data transmission according to the TCP handshake success rate and the TCP retransmission rate of the background application. When the data transmission of the background application is normal, network resources occupied by the background application with normal data transmission can be obtained, if the occupied network resources are larger than a preset resource threshold value, the background application can be indicated to occupy too much network resources, the data transmission of the foreground application is affected, and the background application can be suspended or closed. Alternatively, the resource threshold may be set according to actual requirements, for example, 500kbps (kilobit rate), 687kbps, and the like.
Optionally, if the foreground application has abnormal data transmission, and meanwhile, the proportion of the abnormal data transmission of the background application is greater than a 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 stated that the abnormal data transmission is a common phenomenon, and the network quality accessed through the first SIM card is poor at present, and 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 abnormal according to the acquired data transmission parameters of the first SIM card, the application type to which the application belongs is determined, and when the data transmission parameters meet the switching conditions 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 the SIM card switching on the application using process can be reduced while the data transmission capacity in the running process of the application is improved, and the automatic switching of the SIM card can be realized more accurately.
As shown in fig. 6, in one embodiment, an apparatus for switching a SIM card may be adapted to the terminal device described above, and the apparatus 600 for switching a SIM card may include a parameter obtaining module 610 and a switching module 620.
The parameter obtaining module 610 is configured to obtain, during an application running process, a data transmission parameter of the first subscriber identity module SIM card, where the data transmission parameter is used to characterize a data transmission capability of the first SIM card that currently carries a data service.
And 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 carrying the data service at present is obtained, the data transmission parameter can be used for representing the data transmission capacity 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 capacity of the SIM card carrying the data service at present can be quantified through the data transmission parameter, and whether the SIM card is switched or not is judged by combining the running application, so that the automatic switching of the SIM card can be realized more accurately, and the data transmission capacity of the terminal is improved.
In one embodiment, the apparatus 600 for switching SIM cards 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 to which the application belongs 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 number of TCP handshake successes to a total number of TCP initiated handshakes, and a TCP retransmission rate, which is a ratio of a number of times a TCP data packet retransmission occurs to a total number of times a TCP data packet is transmitted.
The abnormal data transmission comprises at least one of a TCP handshake success rate smaller than a first threshold and a TCP retransmission rate larger than a second threshold.
In one embodiment, the parameter obtaining module 610 is further configured to obtain a data transmission parameter of the first SIM card during a running 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 satisfies a switching condition corresponding to the application type.
In one embodiment, the application types include real-time interactive class applications. The data transmission parameters also include round trip time RTT. The switching conditions corresponding to the real-time interactive application include: the TCP handshake success rate is less than a first threshold, and the TCP retransmission rate is greater than a second threshold, and the RTT is greater than a time threshold.
In one embodiment, the switching module 620 is further configured to switch the first SIM card to the second SIM card if no interaction is detected within the first duration when the data transmission parameter satisfies a switching condition corresponding to the real-time interaction class application.
In one embodiment, the application type includes a resource preloading class application. The switching conditions corresponding to the preloaded class application include: the TCP handshake success rate is less than a first threshold and the TCP retransmission rate is greater than a second threshold.
In one embodiment, the switching module 620 is further configured to switch the first SIM card to the second SIM card if the currently preloaded resource is greater than the resource threshold when the data transmission parameter satisfies the switching condition corresponding to the resource preloading class application.
In one embodiment, the application types include a page browsing class application. The switching conditions corresponding to the page browsing application include: 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 abnormal according to the acquired data transmission parameters of the first SIM card, the application type to which the application belongs is determined, and when the data transmission parameters meet the switching conditions 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 the SIM card switching on the application using process can be reduced while the data transmission capacity in the running process of the application is improved, and the automatic switching of the SIM card can be realized more accurately.
The embodiments of the present application disclose a computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the method as described in the above embodiments.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, which when executed by a processor, implements a method as described in the above embodiments.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. 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 nonvolatile 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 DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory 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 will also appreciate that the embodiments described in the specification are alternative embodiments and that the acts and modules referred to are not necessarily required for the present application.
In various embodiments of the present application, it should be understood that the sequence numbers of the foregoing processes do not imply that the execution sequences of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation of the embodiments of the present application.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a memory, comprising several requests for a computer device (which may be a personal computer, a server or a network device, etc., in particular may be a processor in a computer device) to execute some or all of the steps of the above-mentioned method of the various embodiments of the present application.
The above describes in detail a method, apparatus, terminal device and storage medium for switching SIM card disclosed in the embodiments of the present application, and specific examples are applied to illustrate the principles and implementation of the present application, where the foregoing description of the embodiments is only used to help understand the method and core idea of the present application. Meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (11)

1. A method for switching a SIM card, comprising:
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 capacity of the first SIM card currently carrying data service;
when the data transmission is determined to be abnormal according to the data transmission parameters, determining the application type of the application;
when the data transmission parameters meet the switching conditions corresponding to the application types, switching the first SIM card to a second SIM card;
the application comprises a foreground application and a background application, and the obtaining the data transmission parameters of the first Subscriber Identity Module (SIM) card comprises the following steps:
when the foreground application and the background application exist and run at the same time, acquiring data transmission parameters of the first SIM card for the foreground application in the running process of the foreground application, and acquiring data transmission parameters of the first SIM card for each background application in the running process of each background application;
when the data transmission parameter meets a switching condition corresponding to the application type, switching the first SIM card to a second SIM card, including:
And if the foreground application is determined to have abnormal data transmission, and meanwhile, the proportion of abnormal data transmission of each background application is larger than a proportion threshold value, and network resources occupied by the background application with normal data transmission are not larger than a resource threshold value, switching the first SIM card to the second SIM card.
2. The method of claim 1, wherein the data transmission parameters include a TCP handshake success rate and a TCP retransmission rate, the TCP handshake success rate being a ratio of a number of TCP handshake successes to a total number of TCP initiated handshakes, the TCP retransmission rate being a ratio of a number of times a TCP data packet retransmission occurs to a total number of times a TCP data packet is transmitted;
the abnormal data transmission comprises at least one of the TCP handshake success rate being smaller than a first threshold and the TCP retransmission rate being larger than a second threshold.
3. The method of claim 2, wherein the application type comprises a real-time interactive application, and wherein the data transmission parameters further comprise round trip time RTT; the switching conditions corresponding to the real-time interactive application comprise: the TCP handshake success rate is less than the first threshold, the TCP retransmission rate is greater than the second threshold, and the RTT is greater than a time threshold.
4. A method according to claim 3, 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:
and when the data transmission parameters meet the switching conditions corresponding to the real-time interactive application, if no interactive operation is detected within a first duration, switching the first SIM card to a second SIM card.
5. The method of claim 2, wherein the application type comprises a resource preloading class application, and wherein the switching conditions corresponding to the preloading class application comprise: the TCP handshake success rate is less than the first threshold and the TCP retransmission rate is greater than the second threshold.
6. The method of claim 5, 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:
and when the data transmission parameters meet the switching conditions corresponding to the resource preloading type application, if the currently preloaded resource is larger than a resource threshold, switching the first SIM card to a second SIM card.
7. The method of claim 2, wherein the application type comprises a page browsing type application, and wherein the switching condition corresponding to the page browsing type application comprises: the TCP handshake success rate is less than the first threshold, or the TCP retransmission rate is greater than the second threshold.
8. The method according to any one of claims 1 to 7, wherein said determining the application type to which the application belongs comprises:
and determining the application type of the application running in the foreground.
9. An apparatus for switching SIM cards, comprising:
the system comprises a parameter acquisition module, a first user identification module and a second user identification module, wherein the parameter acquisition module is used for acquiring data transmission parameters of a first user identification module SIM card in the running process of an application, and the data transmission parameters are used for representing the data transmission capacity of the first SIM card currently carrying data service;
the type determining module is used for determining the application type of the application when the data transmission is abnormal according to the data transmission parameters, wherein the application comprises a foreground application and a background application;
the switching module is used for switching the first SIM card to the second SIM card when the data transmission parameters meet the switching conditions corresponding to the application;
The parameter obtaining module is further configured to obtain, when the foreground application and the background application coexist and run, data transmission parameters of the first SIM card for the foreground application in a running process of the foreground application, and obtain, in a running process of each background application, data transmission parameters of the first SIM card for each background application;
the switching module is further configured to switch the first SIM card to the second SIM card if it is determined that the foreground application has abnormal data transmission, and meanwhile, the proportion of abnormal data transmission occurring in each background application is greater than a proportion threshold, and network resources occupied by the background application with normal data transmission are not greater than a resource threshold.
10. A terminal device comprising a memory and a processor, wherein the memory stores a computer program which, when executed by the processor, causes the processor to implement the method of any one of claims 1-8.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method according to any one of claims 1-8.
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 CN111970683A (en) 2020-11-20
CN111970683B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112566218B (en) * 2020-12-01 2021-10-26 中兴通讯股份有限公司 SIM card selection method, device, terminal and storage medium
CN112788685B (en) * 2020-12-28 2023-03-21 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium
CN112969207B (en) * 2021-02-23 2022-12-27 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
CN113890905B (en) * 2021-06-16 2022-11-22 荣耀终端有限公司 Channel switching method, electronic device and storage medium
CN113795018A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 SIM card switching method and device
CN113660653B (en) * 2021-08-30 2023-08-18 联想(北京)有限公司 Transmission method and device and electronic equipment
CN116709368B (en) * 2022-10-17 2024-04-16 荣耀终端有限公司 Network acceleration method and device

Citations (15)

* 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
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
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140295831A1 (en) * 2013-03-29 2014-10-02 Broadcom Corporation Background Paging Monitoring in Dual SIM Wireless Communication Device
CN106332208A (en) * 2015-06-24 2017-01-11 中兴通讯股份有限公司 Multi-card resource management method and device, and multi-card terminal
CN105872998A (en) * 2015-12-31 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and system for realizing automatic call forwarding on dual-card dual-standby mobile phone

Patent Citations (15)

* 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
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
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 (1)

* Cited by examiner, † Cited by third party
Title
嵌入式设备的双路SIM卡的切换电路的探讨;熊永峰;《通信电源技术》;20200410;全文 *

Also Published As

Publication number Publication date
CN111970683A (en) 2020-11-20

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
CN110831041B (en) Cell beam failure processing method, mobile communication terminal and network equipment
CN111343699B (en) Icon display method and device, storage medium and electronic equipment
CN112188577A (en) Cell residence method, device, terminal equipment and computer readable storage medium
CN112492704B (en) Session management method, device, terminal equipment and computer readable storage medium
CN106604314B (en) WiFi roaming network access method and terminal equipment
CN107948919B (en) Shared information processing method and mobile terminal
CN107959952B (en) Method and terminal for detecting inter-system cell
CN109819489B (en) Terminal calling method and terminal
CN109600808B (en) Cell selection method, terminal and network side equipment
US20220150788A1 (en) Communication processing method, terminal device, and medium
CN111885748B (en) Method for releasing RRC connection, terminal equipment and network equipment
CN112954755B (en) Optimized network switching method and device and computer readable storage medium
CN112770279B (en) Network sharing method, mobile terminal and computer readable storage medium
CN111885689B (en) Antenna control method and device and terminal equipment
CN113543313B (en) Paging response method, terminal and network equipment
CN109769262B (en) VoLTE call recovery method and terminal equipment
CN112351487A (en) Network registration control method and device and terminal equipment
CN109699058B (en) Cell switching method and device
CN107529171B (en) Method for detecting terminal access pseudo base station and related product
CN114125739B (en) Network switching method and device, electronic equipment and storage medium
CN112911666B (en) Cell reselection method and device
CN115226089A (en) Call capability monitoring method, device, terminal and readable storage medium
CN110944356B (en) Reporting method, receiving method, terminal and network side 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
GR01 Patent grant
GR01 Patent grant