CN111182602A - SIM card switching method of mobile terminal, mobile terminal and computer storage medium - Google Patents

SIM card switching method of mobile terminal, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN111182602A
CN111182602A CN201811340522.0A CN201811340522A CN111182602A CN 111182602 A CN111182602 A CN 111182602A CN 201811340522 A CN201811340522 A CN 201811340522A CN 111182602 A CN111182602 A CN 111182602A
Authority
CN
China
Prior art keywords
sim card
current
network quality
mobile terminal
data service
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.)
Withdrawn
Application number
CN201811340522.0A
Other languages
Chinese (zh)
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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen 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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201811340522.0A priority Critical patent/CN111182602A/en
Publication of CN111182602A publication Critical patent/CN111182602A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a SIM card switching method of a mobile terminal, the mobile terminal and a computer storage medium. The SIM card switching method comprises the following steps: judging whether the first network quality based on the current first SIM card can bear the current data service or not; if not, switching the current first SIM card to a second SIM card; determining whether a second network quality based on a current second SIM card is lower than a first network quality; and if so, switching the current second SIM card to the first SIM card. By the SIM card switching method, the first network quality of the first SIM card and the second network quality of the second SIM card can be respectively obtained, and the first network quality and the second network quality are compared to automatically switch the SIM card with higher network quality, so that the mobile terminal keeps high network quality and improves user experience.

Description

SIM card switching method of mobile terminal, mobile terminal and computer storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for switching an SIM card of a mobile terminal, the mobile terminal, and a computer storage medium.
Background
With the rapid development of smart phones, the smart function of the mobile phones is stronger, and especially the internet access function becomes an important index in the mobile phones. The terminal user can utilize the mobile phone to have the functions of chatting, watching videos, browsing webpages, listening to music and the like, and can swim freely in the world of the network.
However, when the end user accesses the internet through the mobile phone, the problem that the internet cannot be accessed or the network speed is very slow due to poor signals may occur. When such a problem occurs, in the current smart phone supporting the dual card system, the problem can be solved by switching the data service function to another card. For example, when a user accesses the internet through one of the cards, if the accessed web page cannot be opened in time due to reasons such as arrearages or poor signals, the user usually manually switches the data service to the other card. Then, the operation burden of the user is increased by the operation, the operation is troublesome, the accessed webpage needs to be opened again by the user, and the internet surfing experience of the user is reduced.
Further, the user cannot compare the network quality of the dual cards, so that the user cannot accurately select the SIM card with higher network quality.
Disclosure of Invention
The application provides an SIM card switching method of a mobile terminal, the mobile terminal and a computer storage medium, and mainly solves the technical problem of how to automatically switch an SIM card with high network quality, so that the mobile terminal keeps high network quality and improves user experience.
In order to solve the above technical problem, the present application provides an SIM card switching method for a mobile terminal, where the SIM card switching method includes:
judging whether the first network quality based on the current first SIM card can bear the current data service or not;
if not, switching the current first SIM card to a second SIM card;
determining whether a second network quality based on a current second SIM card is lower than the first network quality;
and if so, switching the current second SIM card to the first SIM card.
In order to solve the above technical problem, the present application further provides a mobile terminal, where the mobile terminal includes a processor, and a memory and a communication module coupled to the processor;
the memory is used for storing program data, and the processor is used for executing the program data to realize the SIM card switching method.
In order to solve the above technical problem, the present application further provides a computer storage medium for storing program data, which when executed by a processor, is used to implement the SIM card switching method as described above.
Compared with the prior art, the beneficial effects of this application are: judging whether the first network quality based on the current first SIM card can bear the current data service or not; if not, switching the current first SIM card to a second SIM card; determining whether a second network quality based on a current second SIM card is lower than a first network quality; and if so, switching the current second SIM card to the first SIM card. In the process, when the first network quality of the first SIM card used by the mobile terminal is not enough to bear the current data service, the mobile terminal actively switches the current first SIM card to the second SIM card; after the switching is completed, the mobile terminal obtains the second network quality of the second SIM card, compares the first network quality with the second network quality, and automatically controls to keep the second SIM card or switch back to the first SIM card according to the comparison result, so that the SIM card with higher network quality is automatically switched, the mobile terminal keeps high network quality, and further user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
fig. 1 is a schematic flowchart of a first embodiment of a SIM card switching method according to the present application;
fig. 2 is a schematic structural diagram of the mobile terminal in fig. 1;
FIG. 3 is a schematic flowchart of a second embodiment of a SIM card switching method according to the present application;
FIG. 4 is a schematic flowchart of a third embodiment of a SIM card switching method according to the present application;
FIG. 5 is a schematic flowchart of a fourth embodiment of a SIM card switching method according to the present application;
fig. 6 is a schematic flowchart of a fifth embodiment of a SIM card switching method according to the present application;
fig. 7 is a schematic flowchart of a sixth embodiment of a SIM card switching method according to the present application;
FIG. 8 is a block diagram of an embodiment of a mobile terminal according to the present application;
FIG. 9 is a schematic structural diagram of an embodiment of a computer storage medium according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, 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.
The application provides an SIM card switching method applied to a mobile terminal, which can realize the automatic switching of the SIM card in a dual-card or multi-card mechanism mobile terminal, wherein the mobile terminal can be a smart phone, a tablet computer, a personal digital assistant and other devices. Specifically, refer to fig. 1 and fig. 2, where fig. 1 is a schematic flowchart of a first embodiment of a SIM card switching method according to the present application, and fig. 2 is a schematic structural diagram of the mobile terminal in fig. 1.
The mobile terminal 20 of this embodiment at least includes a first SIM card 21 and a second SIM card 22, and the mobile terminal 20 is further provided with a processing device (not shown in the figure) such as a processor, and through the relevant processing device, the mobile terminal 20 can automatically switch between the first SIM card 21 mode and the second SIM card mode 22, so as to ensure that the SIM card mode with higher network quality is used.
The mobile terminal 20 may be embodied in various forms, among others. For example, the mobile terminal 20 described in the present application may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. In the following embodiments, it is assumed that the terminal is the mobile terminal 20. However, those skilled in the art will appreciate that the configuration according to the embodiment of the present embodiment can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
As shown in fig. 1, in combination with the schematic structural diagram of fig. 2, the SIM card switching method includes the following steps:
s11: and judging whether the first network quality based on the current first SIM card can bear the current data service.
The SIM card also becomes a subscriber identity card or an intelligent card, and the mobile terminal 20 must be equipped with the SIM card to perform information transmission with other mobile terminals 20 and base stations; the SIM card is mainly used in GSM networks, W-CDMA networks and TD-SCDMA networks, and can be produced and managed by different communication carriers, for example, communication carriers include china mobile, china unicom, and chinese telecommunications. SIM cards of different communication carriers may be installed in one mobile terminal 20 to use communication networks provided by the different communication carriers.
The mobile terminal 20 of the embodiment is a dual-card or multi-card mechanism terminal, and the installed first SIM card 21 and second SIM card 22 can be used normally. The mobile terminal 20 sets the first SIM card 21 as a master SIM card, and when the mobile terminal 20 is powered on or restarted, the mobile terminal 20 actively connects the first SIM card 21 and sets the first SIM card 21 as a master communication card.
When the mobile terminal 20 receives the user command, it needs to select the first SIM card 21 carrying the corresponding data service according to the user command. At this time, the first SIM card 21 receives data related to implementing the data service from the corresponding communication carrier, and the speed of receiving the data depends on the first network quality between the first SIM card 21 and the communication carrier.
When the mobile terminal 20 obtains the first network quality of the first SIM card 21, the real-time network quality value may be obtained by calling the application program for measuring network quality installed in the mobile terminal 20, or the network quality value fed back by the communication operator may be obtained by sending an inquiry instruction to the communication operator. After acquiring the real-time first network quality, the mobile terminal 20 determines whether the first network quality can carry the current data service. When the first network quality of the first SIM card 21 is judged to be capable of carrying the current data service, the mobile terminal 20 continues to use the first SIM card 21 to receive and execute the current data service; when the first network quality of the first SIM card 21 is judged not to be sufficient to carry the current data traffic, the process proceeds to step S12.
S12: and switching the current first SIM card to the second SIM card.
In the prior art, when a user needs to switch a SIM card in use, the user needs to open a "setup" page in the mobile terminal 20, then click the "dual card and mobile network" option in the "setup" page, and click to switch the SIM card in use after entering the "dual card and mobile network" setup page. In the switching process, a user needs to perform manual operation on a display interface for many times to realize switching of the SIM card, and the switching method in the prior art is too complex and has too many user operations, which easily influences user experience.
In this embodiment, when the mobile terminal 20 determines that the first network quality of the first SIM card 21 cannot carry the current data service, the mobile terminal 20 automatically cancels the connection with the first SIM card 21 and connects to the second SIM card 22.
Before connecting the second SIM card 22, the mobile terminal 20 needs to detect whether the electrical connection with the second SIM card 22 is normal or whether the second SIM card 22 is disposed in the corresponding SIM card slot. When the detection result is that the second SIM card 22 can be normally connected, the mobile terminal 20 connects the second SIM card and sets the second SIM card as the primary communication card.
S13: it is determined whether a second network quality based on the current second SIM card is lower than the first network quality.
After the mobile terminal 20 switches the second SIM card 22 to bear the current data service, the mobile terminal 20 obtains the second network quality of the second SIM card 22 in the same method as the method for obtaining the first network quality of the first SIM card 21, which is specifically referred to in step S11.
After acquiring the numerical data of the second network quality, the mobile terminal 20 determines whether the current second network quality of the second SIM card 22 is lower than the first network quality of the first SIM card 21. If not, it indicates that the mobile terminal 20 can obtain higher network quality by using the current second SIM card 22, and the mobile terminal 20 continues to use the second SIM card 22 to carry the current data service; if yes, the process proceeds to step S14.
S14: and switching the current second SIM card to the first SIM card.
When the second network quality of the current second SIM card 22 is lower than the first network quality of the first SIM card 21, the mobile terminal 20 switches the current second SIM card 22 to the first SIM card 21 to obtain higher network quality.
Further, when the mobile terminal 20 is a multi-card terminal, the mobile terminal 20 further includes a third SIM card (not shown in the figure) and the like. When the mobile terminal 20 determines that the second network quality of the current second SIM card 22 is lower than the first network quality of the first SIM card 21, the mobile terminal 20 switches the current second SIM card 22 to a third SIM card, then reacquires and compares the third network quality of the current third SIM card with the first network quality of the first SIM card 21, and selects to continue using the third SIM card to carry the current data service or switch to the first SIM card 21 according to the comparison result.
In this embodiment, when the mobile terminal 20 uses the SIM card to carry the current data service, it needs to determine whether the first network quality of the current first SIM card 21 can meet the requirement of the data service; if the current first SIM card 21 cannot be satisfied, the mobile terminal 20 automatically switches the current first SIM card 21 to the second SIM card 22, so as to obtain higher network quality; after the SIM card is switched, the mobile terminal 20 may further compare the first network quality before switching with the second network quality after switching to determine to continue using the second SIM card 22 to carry the current data service or switch to the first SIM card 21, so that the mobile terminal 20 can always maintain a communication environment with a higher network quality, thereby improving user experience.
In the above embodiment, the mobile terminal 20 determines whether the first SIM card 21 or the second SIM card 22 can carry the current data service according to the network quality. The present application may also determine whether the first SIM card 21 or the second SIM card 22 can carry the current data service according to other determination conditions, and refer to the SIM card switching method in the following embodiments specifically.
Based on the embodiment of the SIM card switching method shown in fig. 1, the present application further provides an SIM card switching method of another embodiment, and referring to fig. 3, fig. 3 is a schematic flowchart of a second embodiment of the SIM card switching method of the present application.
The SIM card switching method of the present embodiment is applied to the mobile terminal 20 of the above embodiment, and please refer to fig. 2 for a specific structure of the mobile terminal 20, which is not described herein again.
On the basis of step 11 of the SIM card switching method in the foregoing embodiment, the SIM card switching method in this embodiment includes the following steps:
s21: and acquiring the current network type of the first SIM card and the current data service type.
The mobile terminal 20 acquires a current network type of the first SIM card 21, where the network type at least includes at least one of 2G, 3G, 4G, and 5G. The different network systems are mainly distinguished by uplink rate, download rate and bandwidth. From the second generation mobile communication technology (2G) to the fifth generation mobile communication technology (5G), the uplink rate and the download rate of the mobile communication technology are faster and the bandwidth is larger. Further, in the same mobile communication technology, SIM cards produced by different communication operators also have different network standards, and correspondingly, the corresponding uplink rate, download rate, and bandwidth are also different. The following statistical tables of common systems in each network can be specifically referred to:
Figure BDA0001862429270000071
as can be seen from the above table, different network systems correspond to different uplink rates, download rates, and bandwidths, and the above parameters directly affect the ability of the SIM card to carry data services.
Further, the mobile terminal 20 further acquires the current data service type. According to the function of the data service, the data service can be classified into an information service, an entertainment service, a message service, a mobile commerce service, and the like.
Different types of data services have different corresponding data volumes, resulting in different capabilities for being able to carry the data services.
S22: and judging whether the current network type of the first SIM card is matched with the data service type.
When the network type of the first SIM card 21 and the data service type currently carried are acquired, the mobile terminal 20 needs to determine whether the network type of the current first SIM card is matched with the data service type.
For example, the mobile terminal 20 obtains that the current data service type is an entertainment service, the data service specifically refers to opening and using a live video APP, and since a relatively high download rate is required for watching live video, the download speed needs to be higher than 1Mbps, so that when watching live video, the video is clear and smooth. At this time, when the network standard of the first SIM card 21 acquired by the mobile terminal 20 is one of 3G, 4G and 5G, the mobile terminal 20 determines that the current network standard of the first SIM card 21 matches the data service type, and then the current first SIM card 21 can bear the current data service, and the mobile terminal 20 continues to use the first SIM card 21. When the network type of the first SIM card 21 acquired by the mobile terminal 20 is 2G, and the mobile terminal 20 determines that the current network type of the first SIM card 21 does not match the data service type, then step S23 is performed.
S23: determining that the current first network quality of the first SIM card cannot carry the current data traffic.
The mobile terminal 20 determines, according to the uplink rate, the download rate, and the bandwidth in the acquired network standard of the first SIM card 21, that the acquired network standard is not matched with the type of the data service currently being carried, so as to determine that the first network quality of the current first SIM card cannot carry the current data service.
In other cases, when one or more of the uplink rate, the download rate, and the bandwidth of the network system are lower than the parameters required by the data service type, it indicates that the corresponding first SIM card 21 cannot carry the current data service.
In this embodiment, the mobile terminal 20 determines whether the first network quality of the current first SIM card 21 can bear the current data service according to the current first SIM card 21 and the current data service type, so as to enrich the determination condition for determining whether the first SIM card 21 or the second SIM card 22 can bear the current data service, and improve the flexibility of the SIM card switching method.
Based on the embodiment of the SIM card switching method shown in fig. 1, the present application further provides a SIM card switching method according to another embodiment, and referring to fig. 4, fig. 4 is a schematic flowchart of a third embodiment of the SIM card switching method according to the present application.
The SIM card switching method of the present embodiment is applied to the mobile terminal 20 of the above embodiment, and please refer to fig. 2 for a specific structure of the mobile terminal 20, which is not described herein again.
On the basis of the SIM card switching step 11 of the above embodiment, the SIM card switching method of the present embodiment includes the following steps:
s31: and acquiring the data flow required by the current data service.
The mobile terminal 20 obtains the data traffic required for carrying or executing the current data service, for example, when the data service is a picture sending service, the mobile terminal 20 obtains the size of a picture to determine the data traffic required for sending the picture service; or when the data service is a video downloading service, the mobile terminal 20 first obtains the size of the video to determine the size of the data traffic required for downloading the video service.
S32: and judging whether the first network quality of the current first SIM card can meet the transmission condition of the data traffic.
The mobile terminal 20 determines the current first network quality of the first SIM card 21, so as to obtain the average uplink rate or the average download rate in the network communication. Based on the transmission conditions, the mobile terminal 20 determines whether the first network quality can satisfy the transmission conditions of the data traffic. Wherein, the transmission condition includes a time limit, etc.
For example, when the data service is a picture sending service, the mobile terminal 20 obtains a picture with a size of 5M, and the transmission condition is that the picture file is completely transmitted within 5 seconds; when the average uplink rate of the first SIM card 21 obtained by the mobile terminal 20 is greater than or equal to 1M/S, determining that the current first network quality of the first SIM card 21 can carry the current data service; when the average uplink rate of the mobile terminal 20 acquiring the first SIM card 21 is less than 1M/S, the process proceeds to step S33.
For another example, when the data service is a video downloading service, the size of the video acquired by the mobile terminal 20 is 600M, and the transmission condition is that the video file is downloaded within 30 seconds; when the average download rate of the first SIM card 21 acquired by the mobile terminal 20 is greater than or equal to 20M/S, determining that the current first network quality of the first SIM card 21 can carry the current data service; when the average uplink rate of the mobile terminal 20 acquiring the first SIM card 21 is less than 20M/S, the process proceeds to step S33.
S33: determining that the current first network quality of the first SIM card cannot carry the current data traffic.
After the above steps, when the mobile terminal 20 determines that the first network quality of the current first SIM card 21 cannot carry the current data service, the SIM card switching method of the above step S12 and the following steps is executed.
In this embodiment, the mobile terminal 20 determines whether the current first network quality of the first SIM card 21 can bear the current data service according to whether the current first network quality of the first SIM card 21 meets the transmission condition, so as to enrich the determination condition for determining whether the first SIM card 21 or the second SIM card 22 can bear the current data service, and improve the flexibility of the SIM card switching method.
Based on the embodiment of the SIM card switching method shown in fig. 1, the present application further provides a SIM card switching method according to another embodiment, referring to fig. 5, and fig. 5 is a schematic flowchart of a fourth embodiment of the SIM card switching method according to the present application.
The SIM card switching method of the present embodiment is applied to the mobile terminal 20 of the above embodiment, and please refer to fig. 2 for a specific structure of the mobile terminal 20, which is not described herein again.
On the basis of steps 11 and 13 of the SIM card switching method of the above embodiment, the SIM card switching method of the present embodiment includes the following steps:
s41: and sending an internet surfing request by adopting the current first SIM card.
The mobile terminal 20 sends an internet access request to a communication operator by using the current first SIM card 21, and receives returned data information; the mobile terminal 20 performs a current data service according to the data information.
S42: and acquiring the current first network quality of the first SIM card.
Wherein, in the process of executing the current data service, the mobile terminal 20 acquires the current first network quality of the first SIM card 21. The network quality at least comprises one of a network signal strength value, a network signal strength change rate, a signal-to-noise ratio, a signal sensitivity and RB resources.
For example, when the network signal strength value is characterized as the network quality, the mobile terminal 20 obtains the average strength value of the network signal during the process that the first SIM card 21 carries the current data service, and then calculates the estimated time required for executing the remaining data service according to the average strength value of the network signal. When the total time obtained by adding the estimated time to the completed time is within the preset time range, it indicates that the first network quality of the first SIM card 21 can bear the current data service with the current network signal strength value, and the mobile terminal 20 continues to use the first SIM card 21; when the total time obtained by adding the estimated time to the completed time exceeds the preset time range, the process proceeds to step S43.
For another example, when the network quality is characterized by the network signal strength change rate, the mobile terminal 20 obtains a strength change curve of the network signal of the first SIM card 21 in the process of carrying the current data service, and analyzes the strength change curve. When the difference between the maximum network signal strength value and the minimum network signal strength value is greater than the set threshold value within the set time period, the mobile terminal 20 considers that the network signal is unstable. Alternatively, the mobile terminal 20 collects the number of times that the network signal strength value below the set signal strength threshold appears, and when the number of times is greater than the preset time, for example, within one minute, the number of times that the weak signal strength value appears is greater than 5 times, the mobile terminal 20 considers that the network signal is unstable, and then the process goes to step S43.
S43: and when the first network quality of the first SIM card cannot bear the current data service, switching the current first SIM card to the second SIM card.
Step S43 of the present embodiment is the same as step S12 of the above embodiments, and is not repeated herein.
S44: and initiating an internet surfing request by adopting the current second SIM card.
After switching from the first SIM card 21 to the second SIM card 22, the mobile terminal 20 initiates an internet access request by using the current second SIM card, and receives the returned data information.
Further, the data information also includes reply information. Specifically, after receiving the internet access request sent by the mobile terminal 20 through the second SIM card 22, the communication carrier checks whether the second SIM card 22 has a sufficient fee for completing the current data service. If there is no or insufficient charge, the communication carrier will reject the request from the mobile terminal 20 and return a reply message (e.g., due or insufficient charge, etc.). If there is enough fee, the communication operator will respond to the request of the mobile terminal 20 for surfing the internet and return a corresponding message. This process is also applicable to the first SIM card 21, and will not be described herein.
S45: it is determined whether the second network quality is lower than the first network quality.
After acquiring the numerical data of the second network quality, the mobile terminal 20 determines whether the current second network quality of the second SIM card 22 is lower than the first network quality of the first SIM card 21. If not, it indicates that the mobile terminal 20 can obtain higher network quality by using the current second SIM card 22, and the mobile terminal 20 continues to use the second SIM card 22 to carry the current data service; if yes, the current second SIM card 22 is switched to the first SIM card 21.
Further, because the first network quality and/or the second network quality fluctuates greatly due to environmental influences, the mobile terminal 20 may continuously switch between the first SIM card 21 and the second SIM card 22, which may increase power consumption and cause resource waste. Therefore, in this embodiment, when the mobile terminal 20 detects that the SIM card is switched in the set time period more than the set number of times, the SIM card will not be switched. In addition, the mobile terminal 20 may set an interval, for example, the interval between two SIM card switching operations must be greater than 1 minute or other set interval.
In this embodiment, the mobile terminal 20 determines whether the current first network quality of the first SIM card 21 can carry the current data service according to the current first network quality of the first SIM card 21, where the first network quality includes one or more data of a network signal strength value, a network signal strength change rate, a signal-to-noise ratio, a signal sensitivity, and an RB resource, so as to enrich a determination condition for determining whether the first SIM card 21 or the second SIM card 22 can carry the current data service, and improve flexibility of the SIM card switching method.
Based on the embodiment of the SIM card switching method shown in fig. 1, the present application further provides a SIM card switching method according to another embodiment, referring to fig. 6, and fig. 6 is a schematic flowchart of a fifth embodiment of SIM card switching according to the present application.
The SIM card switching method of the present embodiment is applied to the mobile terminal 20 of the above embodiment, and please refer to fig. 2 for a specific structure of the mobile terminal 20, which is not described herein again.
On the basis of steps 11 and 13 of the SIM card switching method of the above embodiment, the SIM card switching method of the present embodiment includes the following steps:
s51: and acquiring current position information.
The mobile terminal 20 obtains current location information through its own location information module, such as GPS, and stores the location information in the storage unit. The location information includes longitude information, latitude information, and the like, and is generally stored in the storage unit together with communication record information such as historical network quality and the like.
S52: and acquiring first historical network quality corresponding to the first SIM card in historical data corresponding to the current position information.
After acquiring the current location information, the mobile terminal 20 queries corresponding history data in the storage unit according to the location information. The history data includes a first history network quality corresponding to the first SIM card 21, and may further include communication operator information of the first SIM card 21, preference information of the user, and the like.
S53: and judging whether the first historical network quality can bear the current data service.
Wherein, according to the first historical network quality in the historical data, the mobile terminal 20 determines whether the current first SIM card can carry the current data service. When the first historical network quality corresponding to the position information can bear the current data service, the current first network quality is considered to also bear the current data service; when the first historical network quality corresponding to the location information cannot carry the current data service, the process proceeds to step S54.
Or, if the communication operator information and/or the preference information of the user corresponding to the location information is matched with the information of the current first SIM card 21, it is determined that the current first SIM card 21 can carry the current data service; if the communication carrier information and/or the user preference information corresponding to the location information do not match the current information of the first SIM card 21, the process proceeds to step S54.
For example, when the current location of the mobile terminal 20 is an a-zone, the history data related to the a-zone is extracted from the storage unit, and the mobile terminal 20 uses the first SIM card 21 or the second SIM card 22 corresponding to the communication carrier information according to the communication carrier information in the history data.
S54: and switching the current first SIM card to the second SIM card.
Step S54 of the present embodiment is the same as step S12 of the above embodiments, and is not repeated herein.
S55: and acquiring second historical network quality corresponding to the second SIM card in historical data corresponding to the current position information.
After the mobile terminal 20 switches the current first SIM card 21 to the second SIM card 22, the mobile terminal 20 also queries the historical data corresponding to the second SIM card 22 in the storage unit according to the current location information, and obtains the second historical network quality corresponding to the second SIM card from the historical data.
S56: it is determined whether the second historical network quality is less than the first historical network quality.
Wherein, the mobile terminal 20 obtains the first historical network quality and the second historical network quality through the above steps, and compares the first historical network quality with the second historical network quality. When the second historical network quality is lower than the first historical network quality, the current second network quality is considered to be also lower than the first network quality, and the mobile terminal 20 switches the current second SIM card 22 to the first SIM card 21. When the second historical network quality is higher than the first historical network quality, the current second network quality is considered to be higher than the first network quality, and the mobile terminal 20 continues to use the current second SIM card 22 to carry the current data service.
In this embodiment, the mobile terminal 20 queries the corresponding first historical network quality and second historical network quality according to the current location information, and determines whether the current first network quality of the first SIM card 21 can bear the current data service by determining whether the first historical network quality can bear the current data service, so as to enrich the determination condition for determining whether the first SIM card 21 or the second SIM card 22 can bear the current data service, and improve the flexibility of the SIM card switching method.
Based on the embodiment of the SIM card switching method shown in fig. 1, the present application further provides a SIM card switching method according to another embodiment, and referring to fig. 7, fig. 7 is a flowchart illustrating a sixth embodiment of the SIM card switching method according to the present application.
The SIM card switching method of the present embodiment is applied to the mobile terminal 20 of the above embodiment, and please refer to fig. 2 for a specific structure of the mobile terminal 20, which is not described herein again.
On the basis of the SIM card switching method of the above embodiment, the SIM card switching method of this embodiment further includes the following steps:
s61: and judging whether the current position information corresponds to the set special position.
The mobile terminal 20 obtains current location information through its own location information module, such as a GPS, and matches the current location information with the specific location information set in the storage unit. The special location generally refers to a place having a large influence on the network quality, such as a tunnel, an elevator, an underground garage, and the like.
If the current location information matches the special location information, it indicates that the mobile terminal 20 is in a location having a large impact on the network quality, at this time, the SIM card switching cannot achieve the effect of changing the network quality, and based on the premise of saving the power consumption of the mobile terminal 20, the process proceeds to step S62.
Or, the current location information does not match the special location information, but when the mobile terminal 20 detects that the first network quality of the first SIM card 21 and the second network quality of the second SIM card 22 are both less than the set network quality threshold during the SIM card switching process, at this time, the SIM card switching also fails to achieve the effect of changing the network quality, and based on the premise of saving the power consumption of the mobile terminal 20, the process proceeds to step S62.
S62: the SIM card is not switched all the time.
Wherein, the mobile terminal 20 keeps adopting the current first SIM card 21 or the current second SIM card 22 to carry the current data service within the preset time.
In the present embodiment, the mobile terminal 20 detects whether the current location information matches the special location information stored in the storage unit; if so, the mobile terminal 20 does not execute the SIM card switching method, so as to reduce the power consumption of the mobile terminal 20.
Based on the above embodiment of the SIM card switching method, the present application further provides a mobile terminal, and please refer to fig. 8 specifically, where fig. 8 is a schematic structural diagram of an embodiment of the mobile terminal of the present application.
The mobile terminal 30 of the embodiment includes a processor 31, a memory 32 coupled to the processor 31, and a communication module 33.
The memory 32 is used for storing program data, and the processor 31 is used for executing the program data to implement the SIM card switching method of the above embodiment.
In the present embodiment, the processor 31 may also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip having signal processing capabilities. The processor 31 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor 31 may be any conventional processor or the like.
The present application also provides a computer storage medium, as shown in fig. 9, the computer storage medium 400 stores program data, which can be executed to implement the method described in the embodiment of the SIM card switching method of the present application.
The method related in the embodiment of the SIM card switching method of the present application, when implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a device, for example, a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method for switching SIM cards of a mobile terminal is characterized by comprising the following steps:
judging whether the first network quality based on the current first SIM card can bear the current data service or not;
if not, switching the current first SIM card to a second SIM card;
determining whether a second network quality based on a current second SIM card is lower than the first network quality;
and if so, switching the current second SIM card to the first SIM card.
2. The SIM card switching method of claim 1,
the step of judging whether the first network quality based on the current first SIM card can carry the current data service includes:
acquiring a current network type of a first SIM card and acquiring a current data service type; the network system comprises at least one of 2G, 3G, 4G and 5G;
judging whether the current network type of the first SIM card is matched with the data service type;
if not, determining that the first network quality of the current first SIM card cannot bear the current data service.
3. The SIM card switching method of claim 1,
the step of judging whether the first network quality based on the current first SIM card can carry the current data service includes:
acquiring the data flow required by the current data service;
judging whether the first network quality of the current first SIM card can meet the transmission condition of the data traffic;
if not, determining that the first network quality of the current first SIM card cannot bear the current data service.
4. The SIM card switching method of claim 1,
the step of judging whether the first network quality based on the current first SIM card can carry the current data service includes:
initiating an internet surfing request by adopting a current first SIM card;
acquiring the first network quality of the current first SIM card;
the step of judging whether the second network quality based on the current second SIM card is lower than the first network quality includes:
initiating an internet surfing request by adopting a current second SIM card;
acquiring the second network quality of the current second SIM card;
determining whether the second network quality is lower than the first network quality.
5. The SIM card switching method of claim 1 or 4,
the network quality at least comprises one of a network signal strength value, a network signal strength change rate, a signal-to-noise ratio, a signal sensitivity and RB resources.
6. The SIM card switching method of claim 1,
the step of judging whether the first network quality based on the current first SIM card can carry the current data service includes:
acquiring current position information;
acquiring first historical network quality corresponding to the first SIM card in historical data corresponding to current position information;
and judging whether the first historical network quality can bear the current data service.
7. The SIM card switching method of claim 6,
the step of judging whether the second network quality based on the current second SIM card is lower than the first network quality includes:
acquiring second historical network quality corresponding to the second SIM card in historical data corresponding to the current position information;
determining whether the second historical network quality is less than the first historical network quality.
8. The SIM card switching method of claim 7,
the SIM card switching method further comprises the following steps:
judging whether the current position information corresponds to a set special position;
if yes, the SIM card is not switched all the time.
9. A mobile terminal is characterized in that the mobile terminal comprises a processor, a memory coupled with the processor, and a communication module;
wherein the memory is used for storing program data and the processor is used for executing the program data to realize the SIM card switching method of any one of claims 1-8.
10. A computer storage medium for storing program data which, when executed by a processor, is adapted to implement the SIM card switching method according to any one of claims 1 to 8.
CN201811340522.0A 2018-11-12 2018-11-12 SIM card switching method of mobile terminal, mobile terminal and computer storage medium Withdrawn CN111182602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811340522.0A CN111182602A (en) 2018-11-12 2018-11-12 SIM card switching method of mobile terminal, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811340522.0A CN111182602A (en) 2018-11-12 2018-11-12 SIM card switching method of mobile terminal, mobile terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN111182602A true CN111182602A (en) 2020-05-19

Family

ID=70649857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811340522.0A Withdrawn CN111182602A (en) 2018-11-12 2018-11-12 SIM card switching method of mobile terminal, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN111182602A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757406A (en) * 2020-06-15 2020-10-09 Oppo广东移动通信有限公司 Data service communication method, terminal, electronic device and storage medium
CN111970683A (en) * 2020-09-04 2020-11-20 Oppo(重庆)智能科技有限公司 Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium
CN112311861A (en) * 2020-10-20 2021-02-02 大唐微电子技术有限公司 Internet of things terminal access device, network access method and Internet of things terminal
CN112492694A (en) * 2020-12-15 2021-03-12 中国联合网络通信集团有限公司 Slice management method and unit for dual-card terminal, terminal device and medium
CN113015136A (en) * 2021-03-31 2021-06-22 广州文远知行科技有限公司 Parking network switching method and device, movable carrier and storage medium
CN113163462A (en) * 2021-02-23 2021-07-23 深圳市优克联新技术有限公司 Cellular network switching method and device
CN113489853A (en) * 2021-07-19 2021-10-08 北京小米移动软件有限公司 Voice communication method and device, terminal and storage medium
CN113573260A (en) * 2021-06-30 2021-10-29 广州市瀚云信息技术有限公司 Communication signal adjusting method and device
CN113795018A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 SIM card switching method and device
WO2022000252A1 (en) * 2020-06-30 2022-01-06 Qualcomm Incorporated Apparatus and methods for handover from a long-term evolution network to a fifth generation new radio network for dual-subscriber identification module
WO2022156501A1 (en) * 2021-01-20 2022-07-28 华为技术有限公司 Service processing method and dual-sim dual-standby electronic device
CN115278648A (en) * 2021-09-14 2022-11-01 中国联合网络通信集团有限公司 Service bearer switching method and device
CN115361719A (en) * 2022-08-16 2022-11-18 国网福建省电力有限公司 SIM switching method based on cell channel quality
CN117156503A (en) * 2023-08-18 2023-12-01 联芯云(北京)科技有限公司 Data card network switching method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906156A (en) * 2012-12-25 2014-07-02 中国移动通信集团贵州有限公司 Network reselection method and apparatus, and terminal
CN105722159A (en) * 2016-02-05 2016-06-29 中国移动通信集团江苏有限公司 Network switching method, method and device for determining network switching area
CN107071760A (en) * 2017-03-31 2017-08-18 努比亚技术有限公司 Data service automatic switching method and mobile terminal
CN107548114A (en) * 2017-08-28 2018-01-05 新华三技术有限公司 A kind of switching method and apparatus of SIM card
US20180014239A1 (en) * 2015-12-23 2018-01-11 Pismo Labs Technology Limited Methods and systems for selecting sim card

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906156A (en) * 2012-12-25 2014-07-02 中国移动通信集团贵州有限公司 Network reselection method and apparatus, and terminal
US20180014239A1 (en) * 2015-12-23 2018-01-11 Pismo Labs Technology Limited Methods and systems for selecting sim card
CN105722159A (en) * 2016-02-05 2016-06-29 中国移动通信集团江苏有限公司 Network switching method, method and device for determining network switching area
CN107071760A (en) * 2017-03-31 2017-08-18 努比亚技术有限公司 Data service automatic switching method and mobile terminal
CN107548114A (en) * 2017-08-28 2018-01-05 新华三技术有限公司 A kind of switching method and apparatus of SIM card

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757406B (en) * 2020-06-15 2023-04-11 Oppo广东移动通信有限公司 Data service communication method, terminal, electronic device and storage medium
CN111757406A (en) * 2020-06-15 2020-10-09 Oppo广东移动通信有限公司 Data service communication method, terminal, electronic device and storage medium
WO2022000252A1 (en) * 2020-06-30 2022-01-06 Qualcomm Incorporated Apparatus and methods for handover from a long-term evolution network to a fifth generation new radio network for dual-subscriber identification module
CN111970683A (en) * 2020-09-04 2020-11-20 Oppo(重庆)智能科技有限公司 Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium
CN111970683B (en) * 2020-09-04 2023-09-12 Oppo(重庆)智能科技有限公司 Method, device, terminal equipment and storage medium for switching SIM card
CN112311861A (en) * 2020-10-20 2021-02-02 大唐微电子技术有限公司 Internet of things terminal access device, network access method and Internet of things terminal
CN112492694A (en) * 2020-12-15 2021-03-12 中国联合网络通信集团有限公司 Slice management method and unit for dual-card terminal, terminal device and medium
CN112492694B (en) * 2020-12-15 2023-11-28 中国联合网络通信集团有限公司 Slice management method, management unit, terminal equipment and medium of double-card terminal
WO2022156501A1 (en) * 2021-01-20 2022-07-28 华为技术有限公司 Service processing method and dual-sim dual-standby electronic device
CN113163462A (en) * 2021-02-23 2021-07-23 深圳市优克联新技术有限公司 Cellular network switching method and device
CN113015136A (en) * 2021-03-31 2021-06-22 广州文远知行科技有限公司 Parking network switching method and device, movable carrier and storage medium
CN113573260A (en) * 2021-06-30 2021-10-29 广州市瀚云信息技术有限公司 Communication signal adjusting method and device
CN113489853A (en) * 2021-07-19 2021-10-08 北京小米移动软件有限公司 Voice communication method and device, terminal and storage medium
CN113489853B (en) * 2021-07-19 2023-12-26 北京小米移动软件有限公司 Voice communication method and device, terminal and storage medium
CN113795018A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 SIM card switching method and device
CN115278648A (en) * 2021-09-14 2022-11-01 中国联合网络通信集团有限公司 Service bearer switching method and device
CN115278648B (en) * 2021-09-14 2024-03-29 中国联合网络通信集团有限公司 Service carrier switching method and device
CN115361719A (en) * 2022-08-16 2022-11-18 国网福建省电力有限公司 SIM switching method based on cell channel quality
CN117156503A (en) * 2023-08-18 2023-12-01 联芯云(北京)科技有限公司 Data card network switching method, device, equipment and storage medium
CN117156503B (en) * 2023-08-18 2024-03-01 联芯云(北京)科技有限公司 Data card network switching method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111182602A (en) SIM card switching method of mobile terminal, mobile terminal and computer storage medium
CN110493858B (en) Method and device for reducing power consumption and mobile terminal
WO2017161834A1 (en) E-sim card-based operator selection method, device and mobile terminal
CN110249661B (en) Network connection method and device
CN105722059B (en) Mobile terminal and communication method of dual-modem system
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN106162763B (en) SIM card switching method and device
CN112738745B (en) Method for controlling network connection and related product
CN112997528B (en) Network switching method and related equipment
CN109246815B (en) Communication method, paging method and device, storage medium, terminal, and base station
US20220322088A1 (en) Network roaming method, terminal device, and computer readable storage medium
CN111669799A (en) Network connection method and device and electronic equipment
CN109195197A (en) Dual-card dual-standby terminal network selecting method, device, terminal device and storage medium
CN111273769B (en) Equipment control method and device, electronic equipment and storage medium
CN113660653B (en) Transmission method and device and electronic equipment
TWI712273B (en) Method, device and small base station for eliminating adjacent channel interference
CN110299930B (en) Antenna switching method and related equipment
CN108882319A (en) Mobile network's switching method, mobile terminal and computer readable storage medium
CN105188100A (en) Method for intelligently switching 4G network frequency band of terminal
CN112153759B (en) Communication method and device of dual-card terminal
CN105828290A (en) Method and device for selecting terminal to process business event
CN107431524A (en) A kind of antenna allocation method and terminal
CN113225726A (en) Terminal-based switching method and device, terminal and storage medium
CN111918288A (en) Communication method, communication device and electronic equipment
US10609548B2 (en) User terminal, and method and device for providing mobile communication service

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200519