CN104602275B - Client identification module SIM card switching method and device - Google Patents
Client identification module SIM card switching method and device Download PDFInfo
- Publication number
- CN104602275B CN104602275B CN201410805635.9A CN201410805635A CN104602275B CN 104602275 B CN104602275 B CN 104602275B CN 201410805635 A CN201410805635 A CN 201410805635A CN 104602275 B CN104602275 B CN 104602275B
- Authority
- CN
- China
- Prior art keywords
- sim card
- network type
- network
- preferable
- networks
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The disclosure discloses a kind of client identification module SIM card switching method and device, belongs to field of computer technology.The SIM switching methods include:Receive the switching command that the second SIM card is switched to from the first SIM card;Detect whether the second SIM card supports 4G networks;If the second SIM card supports 4G networks, determine to select excellent network type using the history usage record of network type according to the second SIM card;The second SIM card is controlled to use preferable network type.Preferable network type is determined by the history usage record then according to the second SIM card, and controls the second SIM card of switchback to use the preferable network type;Solve when the SIM card for switching back into support 4G networks is given tacit consent to and is set to 4G networks, the problem of causing to waste various flow;Having reached when switching back into the second SIM card of 4G networks, can meet the use habit and demand of user, avoid wasting the effect of excessive flow.
Description
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of client identification module SIM card switching method and device.
Background technology
In order to meet the needs of user, at least two necks are provided with many mobile phones, each neck can be inserted with different
SIM (English full name:Subscriber Identity Module, Chinese:Client identification module) to block, each SIM card can prop up
Different network types is held, and user can switch between these SIM cards as needed.
Because the network type of SIM card is different, particularly with support 4G (English full name:the 4th Generation
Mobile communication technology, Chinese:Fourth generation mobile communication technology) SIM card for, when from other
When SIM card switches to the SIM card, the 4G nets that the network type of the SIM card is set as to the SIM card and supported typically given tacit consent to
Network.And because 4G networks consume very much flow, user must obtain the manual network type by the SIM card from 4G network switchings be 3G
(English full name:The 3th Generation mobile communication technology, Chinese:The third generation moves
The communication technology) network.
The content of the invention
In order to solve the problems, such as in correlation technique, the disclosure provides a kind of client identification module SIM card switching method and dress
Put.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of client identification module SIM card switching method, applied to extremely
In the electronic equipment for including the first SIM card and the second SIM card less, methods described includes:
Receive the switching command that second SIM card is switched to from first SIM card;
Detect whether second SIM card supports 4G networks;
If second SIM card supports 4G networks, note is used using the history of network type according to second SIM card
Record is determined to select excellent network type;
Second SIM card is controlled to use the preferable network type.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of client identification module SIM card switching device, applied to extremely
In the electronic equipment for including the first SIM card and the second SIM card less, described device includes:
Receiving module, it is configured as receiving the switching command for switching to second SIM card from first SIM card;
Detection module, it is configured as detecting whether second SIM card supports 4G networks;
First determining module, it is configured as when the detection module detects that second SIM card supports 4G networks, root
Determine to select excellent network type using the history usage record of network type according to second SIM card;
Second determining module, it is configured as controlling second SIM card to use the preferable network type.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of client identification module SIM card switching device, applied to extremely
In the electronic equipment for including the first SIM card and the second SIM card less, described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Receive the switching command that second SIM card is switched to from first SIM card;
Detect whether second SIM card supports 4G networks;
If second SIM card supports 4G networks, note is used using the history of network type according to second SIM card
Record is determined to select excellent network type;
Second SIM card is controlled to use the preferable network type.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By when need switch to the second SIM card from the first SIM card when, if second SIM card support 4G networks, root
Preferable network type is determined according to the history usage record of second SIM card, and controls second SIM card preferable using this
Network type;Due to that can be that the second SIM card pushes away according to the history usage record of user when the second SIM card supports 4G networks
Preferable network type is recommended, therefore is solved when the SIM card for switching back into support 4G networks is given tacit consent to and is set to 4G networks, it is caused
The problem of wasting various flow;Reached when switching back into the second SIM card of 4G networks, can meet the use habit of user with
And demand, avoid wasting the effect of excessive flow.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited
It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used in specification to explain the principle of the disclosure together.
Fig. 1 is a kind of flow chart of client identification module SIM card switching method according to an exemplary embodiment;
Fig. 2A is a kind of flow of client identification module SIM card switching method according to another exemplary embodiment
Figure;
Fig. 2 B are that the network traffics of the SIM card of utilization first according to an exemplary embodiment determine the second SIM card
Flow chart during preferable network type;
Fig. 3 is a kind of flow chart of client identification module SIM card switching method according to another exemplary embodiment;
Fig. 4 is a kind of block diagram of client identification module SIM card switching device according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of client identification module SIM card switching device according to another exemplary embodiment;
Fig. 6 is a kind of block diagram of client identification module SIM card switching device according to another exemplary embodiment;
Fig. 7 is a kind of block diagram of the device of switching SIM card according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of client identification module SIM card switching method according to an exemplary embodiment, such as
Shown in Fig. 1, the client identification module SIM card switching method is applied to comprise at least the electronics for having the first SIM card and the second SIM card
In equipment, electronic equipment here is usually smart mobile phone.The client identification module SIM card switching method, comprises the following steps.
In a step 101, the switching command that the second SIM card is switched to from the first SIM card is received.
In a step 102, whether the second SIM card of detection supports 4G networks.
In step 103, if the second SIM card supports 4G networks, made according to the second SIM card using the history of network type
Determine to select excellent network type with record.
At step 104, the second SIM card of control uses the preferable network type.
In summary, the SIM card switching method provided in the embodiment of the present disclosure, by switching when needs from the first SIM card
During to the second SIM card, if second SIM card supports 4G networks, determined according to the history usage record of second SIM card
Preferable network type, and control second SIM card to use the preferable network type;Due to supporting 4G nets when the second SIM card
Can be that the second SIM card recommends preferable network type according to the history usage record of user, therefore solve and switching during network
Return and support that the SIM card of 4G networks is given tacit consent to when being set to 4G networks, caused the problem of wasting various flow;Reach and switched back into
During the second SIM card of 4G networks, the use habit and demand of user can be met, avoid wasting the effect of excessive flow.
When the networking type that the second SIM card last time uses is 3G network, show user when using the second SIM card
May tend to use 3G network, now can the flow according to used in the first SIM card further determine that whether user makes
With 3G network, the network type of the second SIM card after switchback is controlled according to SIM flows, specifically may refer to the description in Fig. 2A.
Fig. 2A is a kind of flow of client identification module SIM card switching method according to another exemplary embodiment
Figure, as shown in Figure 2 A, the client identification module SIM card switching method, which is applied to comprise at least, the first SIM card and the second SIM card
Electronic equipment in, electronic equipment here is usually smart mobile phone.The client identification module SIM card switching method, including with
Lower step.
In step 201, the switching command that the second SIM card is switched to from the first SIM card is received.
When user wants to switch to the second SIM card from the first SIM card, can be selected according to SIM setting interface from the
One SIM card switches to the second SIM card, corresponding, and electronic equipment can receive from the first SIM card and switch to the second SIM card
Switching command.
Optionally, when which SIM card electronic equipment need to allow user's selection using, SIM card selection interface can be shown, is used
Family can select to switch to the second SIM card from the first SIM card in the SIM card selection interface.
If switching to the second SIM card from the first SIM card, show that electronic equipment does not use the first SIM card after handover
Flow perform the business related to flow, for example browse webpage, receiving and dispatching mail, instant messaging etc., but the second SIM card of use
Flow perform the business related to flow.Conversely, when switching to the first SIM card from the second SIM card, show electronics after handover
The flow that equipment does not use the second SIM card performs the business related to flow, but use the first SIM card flow execution and
The related business of flow.
In step 202, whether the second SIM card of detection supports 4G networks.
Each SIM card has supported network type, some SIM cards can direct 4G networks, generally, support 4G networks
SIM card similarly support 3G network, and some SIM cards can only support 3G network, and such SIM card can not then use 4G nets
Network.
Here " the supporting 4G networks " said refers to that SIM card can use 4G networks to complete the business related to flow, than
Such as web page browsing, receiving and dispatching mail and instant messaging.Corresponding, " not supporting 4G networks " shows that SIM card can not use 4G nets
Network completes the business related to flow.
When needing to switch to the second SIM card from the first SIM card, in order to which preferable net can be provided for the second SIM card automatically
Network type, the network type that SIM card is supported can be first determined, if the second SIM card only supports 3G network, without supporting 4G nets
Network, then the network type of the second SIM card after switching is directly arranged to 3G network, to allow the second SIM card to use 3G
Network completes the business related to flow.
And if the second SIM card also supports 4G networks, in order to use up in the case where being more bonded the use habit of user
The saving flow of amount, to reduce use cost, it is also necessary to select more preferably network type for the second SIM card, that is, perform step
203 and step 204.
In step 203, if the second SIM card supports 4G networks, the second SIM card last time for obtaining record is used
When network type.
Electronic equipment can include the following two kinds situation when recording the network type that the second SIM card uses:
In the case of the first, electronic equipment it is every second SIM card is switched into other SIM cards when, record this
The network type that two SIM cards use, and the network type that the second SIM card recorded using last time is used replaces it preceding record
The network type that uses of the second SIM card, namely only retain the second SIM card finally used network type.So, electronics is set
For when detecting that the second SIM card supports 4G networks, only the second SIM card last time directly can be obtained according to record and be used
When network type.
In the case of second, electronic equipment it is every second SIM card is switched into other SIM cards when, record this
The network type that two SIM cards use, and can retain second in the record moment, namely electronic equipment corresponding to record simultaneously
Network type when SIM card uses every time.So, electronic equipment can be searched when detecting that the second SIM card supports 4G networks
The nearest record moment, and the network type that the second SIM card that the nearest record moment is recorded uses is defined as the 2nd SIM
Network type when card last time is used.
In step 204, when the network type is 3G network, the 2nd SIM is determined using the network traffics of the first SIM card
The preferable network type of card.
When network type when the second SIM card last time got is used is 3G, even if then showing the 2nd SIM
Card supports 4G networks, but user is more likely to the 3G network using the second SIM card, therefore in order to further determine that user uses
The tendency of network type, further it can determine the second SIM card using the network traffics for the first SIM card being used before switching
Preferable network type.
Electronic equipment, can be with when the network traffics using the first SIM card determine the preferable network type of the second SIM card
Including following three kinds of situations:
In the case of the first, when the network traffics of the first SIM card are more than first flow threshold value, then 4G networks are defined as
The preferable network type of second SIM card.
When the network traffics of the first SIM card are more than first flow threshold value, generally indicate that user is more likely to use 4G nets
Network, therefore 4G networks directly can be defined as to the preferable network type of the second SIM card.
Here first flow threshold value is typically identified flow threshold when actually using 4G networks according to the first SIM card
Value, as long as being generally higher than the flow threshold, then shows that the network type that the first SIM card uses is 4G networks.The first flow threshold
Required flow determines when value can actually use 4G networks according to the first SIM card, and the disclosure is to first flow threshold value
Specific value is not construed as limiting.
It should be noted that the network traffics of the first SIM card here can switch to last list after first SIM card
Network traffics in the time of position, for example network traffics within 1 minute or switch to average single after first SIM card
Network traffics in the time of position, that is, switch to used overall network flow after first SIM card and be in and switch to the first SIM
Duration used in card.
In the case of second, when the network traffics of the first SIM card are less than first flow threshold value and are more than second flow threshold value
When, then the first prompt message of the network type for selecting the second SIM card is shown, and will select according to the first prompt message
Network type is defined as the preferable network type of the second SIM card.
When the network traffics of the first SIM card are less than first flow threshold value and are more than second flow threshold value, root is generally indicated that
It not can determine that network used in first SIM card is 4G networks or 3G network according to the network traffics of the first SIM card, now,
User can be then allowed to select oneself to want so that the network type that the second SIM card switched back into uses.The first flow threshold value can
Required flow determines during actually using 4G networks according to the first SIM card, the network traffics of the first SIM card higher than this
One flow threshold then shows that the first SIM card uses 4G networks, and the second flow threshold value can make according to the first SIM card is actual
Required flow determines during with 3G network, and the network traffics of the first SIM card then show first less than the second flow threshold value
SIM card uses 3G network, and the disclosure is not construed as limiting to the specific value of first flow threshold value and second flow threshold value.
Similarly, the network traffics of the first SIM card here can be switched to after first SIM card in the last unit interval
Network traffics, such as network traffics within last 1 minute or when switching to mean unit after first SIM card
In network traffics, that is, switch to used overall network flow after first SIM card and be in and switch to the first SIM card institute
The duration used.
In the case of the third, when the network traffics of the first SIM card are less than second flow threshold value, then 3G network is defined as
The preferable network type of second SIM card.
When the network traffics of the first SIM card are less than second flow threshold value, the network flow according to the first SIM card is generally indicated that
Amount determines that network used in first SIM card is 3G network, now, shows to be used to be more likely to use 3G network, therefore can
So that 3G network to be directly defined as to the preferable network type of the second SIM card.
Required flow determines when the second flow threshold value can actually use 3G network according to the first SIM card, the
The network traffics of one SIM card then show that the first SIM card uses 3G network less than the second flow threshold value, and the disclosure is to second
The specific value of flow threshold is not construed as limiting.
Similarly, the network traffics of the first SIM card here can be switched to after first SIM card in the last unit interval
Network traffics, such as network traffics within last 1 minute or when switching to mean unit after first SIM card
In network traffics, that is, switch to used overall network flow after first SIM card and be in and switch to the first SIM card institute
The duration used.
In step 205, the second SIM card of control uses the preferable network type.
Electronic equipment then can directly control the second SIM card after the preferable network type of the second SIM card is determined
It is most so as to avoid the setting that user uses the second SIM card network type to carry out manually using the preferable network type
Amount ensure that network type used in the second SIM card is more likely to the use habit of user, improve the usage experience of user.
In summary, the SIM card switching method provided in the embodiment of the present disclosure, by switching when needs from the first SIM card
During to the second SIM card, if second SIM card supports 4G networks, determined according to the history usage record of second SIM card
Preferable network type, and control second SIM card to use the preferable network type;Due to supporting 4G nets when the second SIM card
Can be that the second SIM card recommends preferable network type according to the history usage record of user, therefore solve and switching during network
Return and support that the SIM card of 4G networks is given tacit consent to when being set to 4G networks, caused the problem of wasting various flow;Reach and switched back into
During the second SIM card of 4G networks, the use habit and demand of user can be met, avoid wasting the effect of excessive flow.
In a kind of preferable implementation, refer to shown in Fig. 2 B, it is the profit according to an exemplary embodiment
Flow chart during the preferable network type of the second SIM card is determined with the network traffics of the first SIM card.When the network type is 3G
, can be with when electronic equipment determines the preferable network type of the second SIM card using the network traffics of the first SIM card during network
Comprise the following steps:
In step 204a, when the network type when the second SIM card last time of acquisition is used is 3G network, show
Show the second prompt message of the network type for selecting the second SIM card, the network type includes 3G network and 4G networks;
When network type when the second SIM card last time of acquisition is used is 3G network, show that user is more prone to
In using 3G network, therefore in order to more ensure the use habit of user, user can be allowed to select oneself to want the 2nd SIM used
The network type of card, now, electronic equipment can be shown on screen for selecting the second of the network type of the second SIM card to carry
Show information, network type here includes 3G network and 4G networks.
In step 204b, when selection network type for 3G network when, 3G network is defined as the preferred of the second SIM card
Network type;
When user selection network type for 3G network when, show that user wants to use 3G network before this, at this point it is possible to 3G nets
Network is defined as the preferable network type of the second SIM card.
In step 204c, when selection network type for 4G networks when, determine using the network traffics of the first SIM card
The preferable network type of two SIM cards.
When user selection network type for 4G networks when, show that user wants to use 4G networks before this, at this point it is possible to 4G nets
Network is defined as the preferable network type of the second SIM card.
In summary, the SIM card switching method provided in the embodiment of the present disclosure, it is last by working as the second SIM card obtained
When network type when once being used is 3G network, according to the selection of user, preferable network class is determined for the second SIM card
Type, so that the preferable network type of the second SIM card more meets the use tendency of user, improve user uses body
Test.
In actual use, the conventional network type of the second SIM card can be counted, and the conventional network type is true
It is set to the network type of the second SIM card after switchback, specifically may refer to the description in Fig. 3.
Fig. 3 is a kind of flow chart of client identification module SIM card switching method according to another exemplary embodiment,
As shown in figure 3, the client identification module SIM card switching method is applied to comprise at least the electricity for having the first SIM card and the second SIM card
In sub- equipment, electronic equipment here is usually smart mobile phone.The client identification module SIM card switching method, including following step
Suddenly.
In step 301, the switching command that the second SIM card is switched to from the first SIM card is received.
In step 302, whether the second SIM card of detection supports 4G networks.
Step 301 and step 302 are similar with the step 201 described in Fig. 2A and step 202 respectively, can specifically join
The description seen in step 201 and step 202, is just repeated no more here.
In step 303, if the second SIM card supports 4G networks, made according to the second SIM card using the history of network type
With record, the network class that the network type that the second SIM card uses uses for the use ratio of 3G network and the second SIM card is calculated
Type is the use ratio of 4G networks.
Optionally, when switching to other network cards from second SIM card every time, electronic equipment records one time second
SIM card used network type before being switched, and the network type of record is used into network type added to the second SIM card
History usage record in.So, the history usage record for the network type that the second SIM card uses is saved in electronic equipment.
Can include when the 2nd SIM supports 4G, in the history usage record the second SIM card using the record of 3G network with
And second SIM card use 4G networks record.Electronic equipment can calculate the second SIM card according to the history usage record and use
The number of 3G network, the second SIM card are switched number (i.e. the 2nd SIM used using the number and the second SIM card of 4G networks
Card using 3G network number and the second SIM card using 4G networks number sum), further, electronic equipment can be by the
Two SIM cards are switched the number used using the number divided by the second SIM card of 3G network, obtain the second SIM card and use 3G network
Use ratio, electronic equipment the second SIM card can be switched using the number divided by the second SIM card of 4G networks use time
Number, obtain the use ratio that the second SIM card uses 4G networks.
In step 304, the big network type of use ratio value is defined as preferable network type.
The big network type of use ratio value shows user when using the second SIM card using the number ratio of the network type
It is more, further demonstrate that user is more likely to use the network type, therefore now can be by the big network class of use ratio value
Type is defined as the preferable network type of the second SIM card.
In step 305, the second SIM card of control uses the preferable network type.
Electronic equipment then can directly control the second SIM card after the preferable network type of the second SIM card is determined
It is most so as to avoid the setting that user uses the second SIM card network type to carry out manually using the preferable network type
Amount ensure that network type used in the second SIM card is more likely to the use habit of user, improve the usage experience of user.
In summary, the SIM card switching method provided in the embodiment of the present disclosure, by switching when needs from the first SIM card
During to the second SIM card, if second SIM card supports 4G networks, determined according to the history usage record of second SIM card
Preferable network type, and control second SIM card to use the preferable network type;Due to supporting 4G nets when the second SIM card
Can be that the second SIM card recommends preferable network type according to the history usage record of user, therefore solve and switching during network
Return and support that the SIM card of 4G networks is given tacit consent to when being set to 4G networks, caused the problem of wasting various flow;Reach and switched back into
During the second SIM card of 4G networks, the use habit and demand of user can be met, avoid wasting the effect of excessive flow.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.It is real for disclosure device
The details not disclosed in example is applied, refer to embodiments of the present disclosure.
Fig. 4 is a kind of block diagram of client identification module SIM card switching device according to an exemplary embodiment, is such as schemed
Shown in 4, the client identification module SIM card switching device, which is applied to comprise at least, has the first SIM card and the electronics of the second SIM card to set
In standby, electronic equipment here is usually smart mobile phone.The client identification module SIM card switching device includes but is not limited to:Connect
Receive module 402, detection module 404, determining module 406 and control module 408.
The receiving module 402, it is configured as receiving the switching command for switching to the second SIM card from the first SIM card;
The detection module 404, it is configured as detecting whether the second SIM card supports 4G networks;
The determining module 406, it is configured as when detection module 404 detects that the second SIM card supports 4G networks, according to the
Two SIM cards are determined to select excellent network type using the history usage record of network type;
The control module 408, it is configured as controlling the second SIM card to use the preferable network type.
In summary, the SIM card switching device provided in the embodiment of the present disclosure, by switching when needs from the first SIM card
During to the second SIM card, if second SIM card supports 4G networks, determined according to the history usage record of second SIM card
Preferable network type, and control second SIM card to use the preferable network type;Due to supporting 4G nets when the second SIM card
Can be that the second SIM card recommends preferable network type according to the history usage record of user, therefore solve and switching during network
Return and support that the SIM card of 4G networks is given tacit consent to when being set to 4G networks, caused the problem of wasting various flow;Reach and switched back into
During the second SIM card of 4G networks, the use habit and demand of user can be met, avoid wasting the effect of excessive flow.
Fig. 5 is a kind of block diagram of client identification module SIM card switching device according to another exemplary embodiment, such as
Shown in Fig. 5, the client identification module SIM card switching device is applied to comprise at least the electronics for having the first SIM card and the second SIM card
In equipment, electronic equipment here is usually smart mobile phone.The client identification module SIM card switching device includes but is not limited to:
Receiving module 502, detection module 504, determining module 506 and control module 508.
The receiving module 502, it is configured as receiving the switching command for switching to the second SIM card from the first SIM card;
The detection module 504, it is configured as detecting whether the second SIM card supports 4G networks;
The determining module 506, it is configured as when detection module 504 detects that the second SIM card supports 4G networks, according to the
Two SIM cards are determined to select excellent network type using the history usage record of network type;
The control module 508, it is configured as controlling the second SIM card to use the preferable network type.
In a kind of optional implementation, the determining module 506 can include:Acquisition submodule 506a and first is determined
Submodule 506b.
Acquisition submodule 506a, it is configured as obtaining network class when the second SIM card last time recorded is used
Type;
First determination sub-module 506b, the network type for being configured as acquisition submodule 506a acquisitions is 3G network
When, the preferable network type of the second SIM card is determined using the network traffics of the first SIM card.
In a kind of optional implementation, first determination sub-module 506b can include:Second determination sub-module
506b1, or, the 3rd determination sub-module 506b2, or, the 4th determination sub-module 506b3.
Second determination sub-module 506b1, the network traffics for being configured as the first SIM card are more than first flow threshold value
When, then 4G networks are defined as to the preferable network type of the second SIM card;
3rd determination sub-module 506b2, be configured as the first SIM card network traffics be less than first flow threshold value and
During more than second flow threshold value, then the first prompt message of the network type for selecting the second SIM card is shown, and will be according to the
The network type of one prompt message selection is defined as the preferable network type of the second SIM card;
4th determination sub-module 506b3, the network traffics for being configured as the first SIM card are less than second flow threshold value
When, then 3G network is defined as to the preferable network type of the second SIM card.
In a kind of optional implementation, the determining module 506 can also include:Display sub-module 506c and the 5th is true
Stator modules 506d.
Display sub-module 506c, being configured as the second SIM card last time of acquisition submodule 506a acquisitions is made
When the network type of used time is 3G network, the second prompt message of the network type for selecting the second SIM card, network class are shown
Type includes 3G network and 4G networks;
5th determination sub-module 506d, be configured as the network type of selection for 3G network when, 3G network is determined
For the preferable network type of the second SIM card;
First determination sub-module 506b, be additionally configured to network type when selection for 4G networks when, perform and utilize the
The network traffics of one SIM card determine the step of preferable network type of the second SIM card.
In summary, the SIM card switching device provided in the embodiment of the present disclosure, by switching when needs from the first SIM card
During to the second SIM card, if second SIM card supports 4G networks, determined according to the history usage record of second SIM card
Preferable network type, and control second SIM card to use the preferable network type;Due to supporting 4G nets when the second SIM card
Can be that the second SIM card recommends preferable network type according to the history usage record of user, therefore solve and switching during network
Return and support that the SIM card of 4G networks is given tacit consent to when being set to 4G networks, caused the problem of wasting various flow;Reach and switched back into
During the second SIM card of 4G networks, the use habit and demand of user can be met, avoid wasting the effect of excessive flow.
Fig. 6 is a kind of block diagram of client identification module SIM card switching device according to another exemplary embodiment, such as
Shown in Fig. 6, the client identification module SIM card switching device is applied to comprise at least the electronics for having the first SIM card and the second SIM card
In equipment, electronic equipment here is usually smart mobile phone.The client identification module SIM card switching device includes but is not limited to:
Receiving module 602, detection module 604, determining module 606 and control module 608.
The receiving module 602, it is configured as receiving the switching command for switching to the second SIM card from the first SIM card;
The detection module 604, it is configured as detecting whether the second SIM card supports 4G networks;
The determining module 606, it is configured as when detection module 604 detects that the second SIM card supports 4G networks, according to the
Two SIM cards are determined to select excellent network type using the history usage record of network type;
The control module 608, it is configured as controlling the second SIM card to use the preferable network type.
In a kind of optional implementation, the determining module 606 can include:Calculating sub module 606a and the 6th is determined
Submodule 606b.
Calculating sub module 606a, it is configured as using the history usage record of network type according to the second SIM card, calculates
The network type that second SIM card uses is that the network type that the use ratio of 3G network and the second SIM card use is 4G networks
Use ratio;
6th determination sub-module 606b, it is configured as the big network type of use ratio value being defined as preferable network
Type.
In a kind of optional implementation, the SIM card switching device can also include:Logging modle 610.
The logging modle 610, when being configured as switching to other network cards from the second SIM card every time, record once
Second SIM card used network type before being switched, and the network type of record is used into network added to the second SIM card
In the history usage record of type.
In summary, the SIM card switching device provided in the embodiment of the present disclosure, by switching when needs from the first SIM card
During to the second SIM card, if second SIM card supports 4G networks, determined according to the history usage record of second SIM card
Preferable network type, and control second SIM card to use the preferable network type;Due to supporting 4G nets when the second SIM card
Can be that the second SIM card recommends preferable network type according to the history usage record of user, therefore solve and switching during network
Return and support that the SIM card of 4G networks is given tacit consent to when being set to 4G networks, caused the problem of wasting various flow;Reach and switched back into
During the second SIM card of 4G networks, the use habit and demand of user can be met, avoid wasting the effect of excessive flow.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
The exemplary embodiment of the disclosure one provides a kind of client identification module SIM switching devices, applied to including at least
In the electronic equipment for having the first SIM card and the second SIM card, the client identification module SIM switching sides that the disclosure provides can be realized
Method, client identification module SIM switching devices include:Processor, the memory for storing processor-executable instruction;
Wherein, processor is configured as:
Receive the switching command that second SIM card is switched to from first SIM card;
Detect whether second SIM card supports 4G networks;
If second SIM card supports 4G networks, note is used using the history of network type according to second SIM card
Record is determined to select excellent network type;
Second SIM card is controlled to use the preferable network type.
Fig. 7 is a kind of block diagram of the device of switching SIM card according to an exemplary embodiment.For example, device 700 can
To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, it is good for
Body equipment, personal digital assistant etc..
Reference picture 7, device 700 can include following one or more assemblies:Processing component 702, memory 704, power supply
Component 706, multimedia groupware 708, audio-frequency assembly 710, input/output (I/O) interface 712, sensor cluster 714, Yi Jitong
Believe component 716.
The integrated operation of the usual control device 700 of processing component 702, such as communicated with display, call, data, phase
The operation that machine operates and record operation is associated.Processing component 702 can refer to including one or more processors 718 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 702 can include one or more modules, just
Interaction between processing component 702 and other assemblies.For example, processing component 702 can include multi-media module, it is more to facilitate
Interaction between media component 708 and processing component 702.
Memory 704 is configured as storing various types of data to support the operation in device 700.These data are shown
Example includes the instruction of any application program or method for being operated on device 700, contact data, telephone book data, disappears
Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 706 provides electric power for the various assemblies of device 700.Power supply module 706 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 700.
Multimedia groupware 708 is included in the screen of one output interface of offer between device 700 and user.In some realities
Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can
To be implemented as touch-screen, to receive the input signal from user.Touch panel include one or more touch sensors with
Gesture on sensing touch, slip and touch panel.Touch sensor can the not only border of sensing touch or sliding action, and
And also detection and the duration and pressure touched or slide is related.In certain embodiments, multimedia groupware 708 includes
One front camera and/or rear camera.It is preceding during such as screening-mode or video mode when device 700 is in operator scheme
The multi-medium data of outside can be received by putting camera and/or rear camera.Each front camera and rear camera can
To be a fixed optical lens system or there is focusing and optical zoom capabilities.
Audio-frequency assembly 710 is configured as output and/or input audio signal.For example, audio-frequency assembly 710 includes a Mike
Wind (MIC), when device 700 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 704 or via communication set
Part 716 is sent.In certain embodiments, audio-frequency assembly 710 also includes a loudspeaker, for exports audio signal.
I/O interfaces 712 provide interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 714 includes one or more sensors, and the state for providing various aspects for device 700 is commented
Estimate.For example, sensor cluster 714 can detect opening/closed mode of device 700, the relative positioning of component, such as component
For the display and keypad of device 700, sensor cluster 714 can be with the position of 700 1 components of detection means 700 or device
Put change, the existence or non-existence that user contacts with device 700, the orientation of device 700 or acceleration/deceleration and the temperature of device 700
Change.Sensor cluster 714 can include proximity transducer, be configured in no any physical contact near detection
The presence of object.Sensor cluster 714 can also include optical sensor, such as CMOS or ccd image sensor, for should in imaging
With middle use.In certain embodiments, the sensor cluster 714 can also include acceleration transducer, gyro sensor, magnetic
Sensor, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device
700 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof.In an exemplary reality
Apply in example, communication component 716 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel
Breath.In one exemplary embodiment, communication component 716 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned SIM card switching method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 704 of instruction, above-mentioned instruction can be performed by the processor 718 of device 700 to complete above-mentioned SIM card switching side
Method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape,
Floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (9)
1. a kind of client identification module SIM card switching method, it is characterised in that applied to including at least having the first SIM card and
In the electronic equipment of two SIM cards, methods described includes:
Receive the switching command that second SIM card is switched to from first SIM card;
Detect whether second SIM card supports 4G networks;
It is true using the history usage record of network type according to second SIM card if second SIM card supports 4G networks
Make preferable network type;
Second SIM card is controlled to use the preferable network type;
It is described that preferable network type is determined using the history usage record of network type according to second SIM card, including:
Obtain network type when second SIM card last time recorded is used;When the network type is 3G network
When, the preferable network type of second SIM card is determined using the network traffics of first SIM card;
Or the history usage record of network type is used according to second SIM card, calculate what second SIM card used
Network type is the use ratio that the network type that the use ratio of 3G network and second SIM card use is 4G networks;
The big network type of use ratio value is defined as the preferable network type.
2. according to the method for claim 1, it is characterised in that the network traffics using first SIM card determine
The preferable network type of second SIM card, including:
When the network traffics of first SIM card are more than first flow threshold value, then 4G networks are defined as second SIM card
The preferable network type;
When the network traffics of first SIM card are less than the first flow threshold value and are more than second flow threshold value, then show
For the first prompt message of the network type for selecting second SIM card, and will be selected according to first prompt message
Network type is defined as the preferable network type of second SIM card;
When the network traffics of first SIM card are less than the second flow threshold value, then 3G network is defined as described second
The preferable network type of SIM card.
3. according to the method for claim 1, it is characterised in that methods described also includes:
When network type when second SIM card last time of acquisition is used is 3G network, show for selecting institute
The second prompt message of the network type of the second SIM card is stated, the network type includes 3G network and 4G networks;
When selection network type for 3G network when, 3G network is defined as to the preferable network class of second SIM card
Type;
When selection network type for 4G networks when, perform the network traffics using first SIM card and determine described the
The step of preferable network type of two SIM cards.
4. according to the method for claim 1, it is characterised in that methods described also includes:
When switching to other network cards from second SIM card every time, second SIM card is recorded once before being switched
Used network type, and the network type of record is used described in network type added to second SIM card
In history usage record.
5. a kind of client identification module SIM card switching device, it is characterised in that applied to including at least having the first SIM card and
In the electronic equipment of two SIM cards, described device includes:
Receiving module, it is configured as receiving the switching command for switching to second SIM card from first SIM card;
Detection module, it is configured as detecting whether second SIM card supports 4G networks;
Determining module, it is configured as when the detection module detects that second SIM card supports 4G networks, according to described the
Two SIM cards determine preferable network type using the history usage record of network type;
Control module, it is configured as controlling second SIM card to use the preferable network type;
The determining module, including:
Acquisition submodule, it is configured as obtaining network type when second SIM card last time recorded is used;
First determination sub-module, when the network type for being configured as the acquisition submodule acquisition is 3G network, utilize
The network traffics of first SIM card determine the preferable network type of second SIM card;
Or the determining module, including:
Calculating sub module, it is configured as using the history usage record of network type according to second SIM card, calculates described the
The network type that two SIM cards use is that the network type that the use ratio of 3G network and second SIM card use is 4G nets
The use ratio of network;
6th determination sub-module, it is configured as the big network type of use ratio value being defined as the preferable network type.
6. device according to claim 5, it is characterised in that first determination sub-module, including:
Second determination sub-module, when being configured as the network traffics of first SIM card and being more than first flow threshold value, then by 4G
Network is defined as the preferable network type of second SIM card;
3rd determination sub-module, the network traffics for being configured as first SIM card are less than the first flow threshold value and big
When second flow threshold value, then the first prompt message of the network type for selecting second SIM card is shown, and by basis
The network type of the first prompt message selection is defined as the preferable network type of second SIM card;
4th determination sub-module, when being configured as the network traffics of first SIM card and being less than the second flow threshold value, then
3G network is defined as to the preferable network type of second SIM card.
7. device according to claim 5, it is characterised in that the determining module, in addition to:
Display sub-module, it is configured as when second SIM card last time that the acquisition submodule obtains is used
When network type is 3G network, the second prompt message of the network type for selecting second SIM card, the network are shown
Type includes 3G network and 4G networks;
5th determination sub-module, be configured as the network type of selection for 3G network when, 3G network is defined as described second
The preferable network type of SIM card;
First determination sub-module, be additionally configured to network type when selection for 4G networks when, perform described in the utilization
The network traffics of first SIM card determine the step of preferable network type of second SIM card.
8. device according to claim 5, it is characterised in that described device also includes:
Logging modle, when being configured as switching to other network cards from second SIM card every time, record once described
Two SIM cards used network type before being switched, and the network type of record is made added to second SIM card
With in the history usage record of network type.
9. a kind of client identification module SIM card switching device, it is characterised in that applied to including at least having the first SIM card and
In the electronic equipment of two SIM cards, described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Receive the switching command that second SIM card is switched to from first SIM card;
Detect whether second SIM card supports 4G networks;
It is true using the history usage record of network type according to second SIM card if second SIM card supports 4G networks
Make preferable network type;
Second SIM card is controlled to use the preferable network type;
It is described that preferable network type is determined using the history usage record of network type according to second SIM card, including:
Obtain network type when second SIM card last time recorded is used;When the network type is 3G network
When, the preferable network type of second SIM card is determined using the network traffics of first SIM card;
Or the history usage record of network type is used according to second SIM card, calculate what second SIM card used
Network type is the use ratio that the network type that the use ratio of 3G network and second SIM card use is 4G networks;
The big network type of use ratio value is defined as the preferable network type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410805635.9A CN104602275B (en) | 2014-12-19 | 2014-12-19 | Client identification module SIM card switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410805635.9A CN104602275B (en) | 2014-12-19 | 2014-12-19 | Client identification module SIM card switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104602275A CN104602275A (en) | 2015-05-06 |
CN104602275B true CN104602275B (en) | 2018-03-23 |
Family
ID=53127685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410805635.9A Active CN104602275B (en) | 2014-12-19 | 2014-12-19 | Client identification module SIM card switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104602275B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106341856A (en) * | 2015-07-10 | 2017-01-18 | 西安中兴新软件有限责任公司 | Method and device for automatically switching card using of dual-card terminal |
CN105282325B (en) * | 2015-09-14 | 2019-02-22 | Oppo广东移动通信有限公司 | The setting method and system of communication terminal SIM card preferred network type |
CN106658629B (en) * | 2015-10-28 | 2019-10-01 | 小米科技有限责任公司 | Method for switching network and device |
CN105530626A (en) * | 2015-12-22 | 2016-04-27 | 东莞酷派软件技术有限公司 | Network mode configuration method and mobile terminal |
CN113055836B (en) * | 2015-12-31 | 2022-12-27 | 柏思科技有限公司 | Method and apparatus for using apparatus having multiple SIM cards |
CN106068015A (en) * | 2016-08-19 | 2016-11-02 | 宇龙计算机通信科技(深圳)有限公司 | Method for switching network and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750698A (en) * | 2005-09-19 | 2006-03-22 | 北京天碁科技有限公司 | Quick selecting network registrated double mode or multiple mode terminal and method |
CN102413547A (en) * | 2011-12-05 | 2012-04-11 | 中兴通讯股份有限公司 | Network selection method and device of multimode terminal |
CN104168387A (en) * | 2014-08-25 | 2014-11-26 | 深圳市中兴移动通信有限公司 | Mobile terminal user identity recognition card switching method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130196663A1 (en) * | 2012-01-27 | 2013-08-01 | Qualcomm Incorporated | System selection in multi-rat user equipment |
-
2014
- 2014-12-19 CN CN201410805635.9A patent/CN104602275B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750698A (en) * | 2005-09-19 | 2006-03-22 | 北京天碁科技有限公司 | Quick selecting network registrated double mode or multiple mode terminal and method |
CN102413547A (en) * | 2011-12-05 | 2012-04-11 | 中兴通讯股份有限公司 | Network selection method and device of multimode terminal |
CN104168387A (en) * | 2014-08-25 | 2014-11-26 | 深圳市中兴移动通信有限公司 | Mobile terminal user identity recognition card switching method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104602275A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104219388B (en) | Sound control method and device | |
CN104602275B (en) | Client identification module SIM card switching method and device | |
CN104780155B (en) | Apparatus bound method and device | |
CN104731688B (en) | Point out the method and device of reading progress | |
CN103944963B (en) | Method of data synchronization, device, equipment and system | |
CN107544809A (en) | The method and apparatus for showing the page | |
CN105160239A (en) | Application program access restriction method and apparatus | |
CN105955618A (en) | Information display method and device | |
CN107066172A (en) | The document transmission method and device of mobile terminal | |
CN104298547A (en) | Terminal setting method and device | |
CN106897937A (en) | A kind of method and apparatus for showing social sharing information | |
CN106791092A (en) | The searching method and device of contact person | |
CN104503690A (en) | Arrangement method and device for application icons | |
CN107229411A (en) | Control the method and device of split screen state | |
CN105530167A (en) | Method and device for setting group name card | |
CN107273013A (en) | Text handling method, device and electronic equipment | |
CN106095236A (en) | The method and device of arranging desktop icons | |
CN107301242A (en) | Method, device and the storage medium of page jump | |
CN104267881A (en) | Toolbar operating method and device | |
CN105488145A (en) | Webpage content display method and apparatus and terminal | |
CN107193393A (en) | Input method switching method and device | |
CN104703255A (en) | Resident network adjustment method and device and electronic device | |
CN105468281A (en) | Setup interface display method and device | |
CN106844717A (en) | Webpage search display methods and device | |
CN106775708A (en) | The page layout switch control method and device of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |