CN110351433A - A kind of method, apparatus and terminal device of double card switching - Google Patents
A kind of method, apparatus and terminal device of double card switching Download PDFInfo
- Publication number
- CN110351433A CN110351433A CN201910660209.3A CN201910660209A CN110351433A CN 110351433 A CN110351433 A CN 110351433A CN 201910660209 A CN201910660209 A CN 201910660209A CN 110351433 A CN110351433 A CN 110351433A
- Authority
- CN
- China
- Prior art keywords
- card
- network
- judgment module
- switching
- network operator
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of method that the present invention discloses double card switching is used for terminal, includes the first card and the second card in terminal, first card is main card, and the second card is vice card, which comprises S1, judge whether the first card and the second card belong to consolidated network operator, and is determined whether to enter step S2 according to judging result;S2, judges the superiority and inferiority for the network type that the first card and the second card are currently accessed, and is determined whether to enter step S3 according to judging result;Second card is switched to main card, and return step S2 by S3.Correspondingly, the device and terminal device of a kind of double card switching are also provided.It can solve user in the prior art and need to manually select card that signal covers as main card and carry out mobile data transfer, cumbersome problem.
Description
Technical field
The method, apparatus and terminal device switched the present invention relates to field of communication technology more particularly to a kind of double card.
Background technique
Support that the type accounting of double card is more than 90% in current market sales of smart phone, user can manually select double
Any card in card slot is set as main card (i.e. the card of progress mobile data transfer is known as main card), and another is then known as vice card,
Vice card can only make a phone call and send short messages, and not can be carried out mobile data transfer.
People often encounter such situation during routine use mobile phone: heterogeneous networks operator is in city building
The case where regions such as space, underground garage, suburb, remote mountain areas differ greatly there are signal covering.Generate the basic of this case
Reason is mainly heterogeneous networks operator base station number, base station distribution situation difference, or even since the factors such as exclusive agreement may
There are the same areas, and a network operator only to be allowed to build base station, and a series of Network Operator networks signals is thus caused to cover
The problem of, and mobile network's usage experience of user is affected for a long time.And current double-card mobile phone only supports user to manually select
Wherein a card is used as main card, when user encounters situation as described above, can only manually select the card that signal covers and set for setting
It is set to main card and carries out mobile data transfer, cause problem cumbersome, that user experience is bad.
Summary of the invention
The technical problem to be solved by the present invention is to be directed to the above-mentioned deficiency of the prior art, a kind of side of double card switching is provided
Method, device and terminal device, to solve user in the prior art need to manually select card that signal covers as main card into
Row mobile data transfer, cumbersome problem.
In order to solve the above technical problems, the present invention provides a kind of method of double card switching, it is used for terminal, includes the in terminal
One card and the second card, the first card are main card, and the second card is vice card, which comprises
S1, judges whether the first card and the second card belong to consolidated network operator, and according to judging result determine whether into
Enter step S2;
S2, judges the superiority and inferiority for the network type that the first card and the second card are currently accessed, and is determined whether according to judging result
Enter step S3;
Second card is switched to main card, and return step S2 by S3.
Optionally, step S1 is specifically included:
S11 reads the network number of the first card and the second card respectively;
S12 judges whether the first card and the second card belong to consolidated network operator according to network number: walking if so, returning
Rapid S11, if it is not, then entering step S2;
Step S2 is specifically included:
S21, monitoring first card and second be clamped into network type;
Whether S22, the network type for judging that the first card is currently accessed are inferior to the second card: if so, entering step S3;If
No, then it is main card that the first card, which is arranged, still, and return step S21.
Optionally, in step s 12, judge whether the first card and the second card belong to consolidated network operator and specifically include:
The first card and the corresponding network operator of the second card are first identified according to the network number of the first card and the second card, then compared
To the first card and the second corresponding network operator's title of card, if comparison result is consistent, the first card and the second card are judged
Belong to consolidated network operator;If comparison result is inconsistent, judge that the first card and the second card are not belonging to consolidated network operator.
Optionally, in step S22, whether the network type for judging that the first card is currently accessed is inferior to the second fixture body packet
It includes:
Whether it is inferior to what the second card was currently accessed according to the network type that following superiority and inferiority rule judges that the first card is currently accessed
Network type: GSM network is inferior to WCDMA/CDMA/TD-SCDMA network and LTE network, WCDMA/CDMA/TD-SCDMA network
It is inferior to LTE network.
Optionally, before step S2, this method further include:
The connection status of monitoring the first card and the second card, if the first card is in unregistered network, the second card connects in network
When connecing state, then S3 is entered step;If the first card is in network connection state, S21 is entered step.
Further, the present invention provides a kind of double card switching device, is used for terminal, and terminal includes that the first card and second block,
First card is main card, and the second card is vice card, and described device includes: first judgment module, the second judgment module and switching module,
The first judgment module, for judging the first card and second blocks whether belong to consolidated network operator, and according to
Judging result determines whether to trigger second judgment module;
Second judgment module, for judging that the first card and second blocks the superiority and inferiority of current network insertion type, and root
It is judged that as a result determining whether to trigger switching module;
The switching module for the second card to be switched to main card, and triggers the second judgment module.
Optionally, the first judgment module is specifically used for executing following steps:
S11 reads the network number of the first card and the second card respectively;
S12 judges whether the first card and the second card belong to consolidated network operator according to network number: walking if so, returning
Rapid S11, if it is not, then triggering the second judgment module;
Second judgment module is specifically used for executing following steps:
S21, monitoring first card and second be clamped into network type;
Whether S22, the network type for judging that the first card is currently accessed are inferior to the second card: if so, triggering switching module, if
No, then it is main card that the first card, which is arranged, still, and return step S21.
Optionally, first judgment module is for judging whether the first card and the second card belong to consolidated network operator and specifically hold
Row following steps:
For identifying the first card and the corresponding network operator of the second card according to the network number of the first card and the second card;
For comparing the first card and the second corresponding network operator's title of card: if comparison result is consistent, judging
First card and the second card belong to consolidated network operator;If comparison result is inconsistent, judge that the first card and the second card are not belonging to
Consolidated network operator.
Optionally, whether the network type that the second judgment module is used to judge that the first card to be currently accessed is inferior to the second fixture body
Are as follows:
First card is GSM network, when the second card is WCDMA/CDMA/TD-SCDMA network or LET network, judges the first card
The network type being currently accessed is inferior to the second card;
First card is WCDMA/CDMA/TD-SCDMA network, and the second card is LTE network, judges what the first card was currently accessed
Network type is inferior to the second card.
Optionally, before triggering the second judgment module, first judgment module is also used to execute following steps:
For monitoring the connection status of the first card and the second card, if the first card is in unregistered network, the second card is in net
When network connected state, then switching module is triggered;If the first card is in network connection state, the second judgment module is triggered.
In addition, the present invention also provides a kind of terminal device, including memory and processor, memory store instruction, processing
Device runs described instruction to execute the double card switching method for being applied to terminal.
Advantageous effects of the invention have:
In the method, apparatus of double card switching provided by the invention and the technical solution of terminal device, by reading the first card
With the network number of the second card, judge whether the first card and the second card belong to consolidated network operator according to network number, if double card category
In consolidated network operator, then without the switching of card;If double card is not belonging to consolidated network operator, the first card of monitoring and the
Two block the superiority and inferiority for the network type being currently accessed, and the superiority and inferiority of network type is judged according to superiority and inferiority rule, true according to judging result
It is fixed whether to block the network type for being switched to main card, and then continuing to monitor double card by second.It can also increase in technical solution simultaneously
The connection status of monitoring the first card and the second card, determines whether to switch over according to the connection status of double card.It is existing to solve
The card that user needs to manually select that signal covers in technology carries out mobile data transfer, cumbersome problem as main card.
Detailed description of the invention
A kind of Fig. 1: the flow chart of double card switching method of the embodiment of the present invention 1;
A kind of Fig. 2: the structural schematic diagram of double card switching device of the embodiment of the present invention 2.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, with reference to the accompanying drawings and examples to this
The method, apparatus and terminal device of the double card switching of invention are described in further detail.
Embodiment 1:
As shown in Figure 1, be used for terminal the present embodiment provides a kind of method of double card switching, include in terminal the first card and
Second card, the first card are main card, and the second card is vice card, which comprises
S1, judges whether the first card and the second card belong to consolidated network operator, and according to judging result determine whether into
Enter step S2;
Specifically, step S1 includes the following steps:
S11 reads the network number of the first card and the second card respectively;
S12 judges whether the first card and the second card belong to consolidated network operator according to network number: walking if so, returning
Rapid S11, if it is not, then entering step S2;
It include the first card and the second card in the present embodiment, in terminal, user is that the first card is used to move as main card
Data connection.Terminal booting after, respectively read first card and second card network number MNC (Mobile Network Code,
Mobile network code), the first card and the second corresponding network operator of card, such as MNC 01/ are identified according to network number
06/09/10 is China Unicom, and MNC 00/02/04/07/08 is China Mobile, and MNC 03/05/11 is China Telecom.It compares again
First card and the second corresponding network operator's title of card judge that the first card and the second card belong to if comparison result is consistent
In consolidated network operator, step S11 is continued to execute;If comparison result is inconsistent, judge that the first card and the second card are not belonging to
Consolidated network operator, enters step S2.Such as reading the first card MNC in the present embodiment is 06, the second card MNC is 04,
Then identify that the first card belongs to China Unicom network operator, the second card belongs to China Mobile network operator, then enters step
S2.It should be noted that if reading the first card MNC is 01, the second card MNC is 09, then identifies that the first card and the second card are equal
Belong to China Unicom network operator, then return step S11.
S2, judges the superiority and inferiority for the network type that the first card and the second card are currently accessed, and is determined whether according to judging result
Enter step S3;
Specifically, step S2 includes the following steps:
S21, monitoring first card and second be clamped into network type;
Whether S22, the network type for judging that the first card is currently accessed are inferior to the second card: if so, entering step S3;If
No, then it is main card that the first card, which is arranged, still, and return step S21.
Specifically, the network type that the first card of monitoring and the second card are currently accessed, judges first according to following superiority and inferiority rule
Block whether the network type being currently accessed is inferior to the network type that the second card is currently accessed: GSM network is inferior to WCDMA/CDMA/
TD-SCDMA network and LTE network, WCDMA/CDMA/TD-SCDMA network are inferior to LTE network.Such as when monitoring the first card net
Network type is GSM network, and the second card network type is WCDMA network or cdma network or TD-SCDMA network, then judges the
The network type that one card is currently accessed is inferior to the second card;When the network type for monitoring the first card is GSM network, the second card network
Type is LTE network, then the network type for judging that the first card is currently accessed is inferior to the second card;When the network class for monitoring the first card
Type is WCDMA network or cdma network or TD-SCDMA network, and the second card network type is LTE network, then judges the first card
The network type being currently accessed is inferior to the second card.It should be noted that if the network type for monitoring two cards is respectively WCDMA
The indistinguishable network such as=CDMA or WCDMA=TD-SCDMA or CDMA=TD-SCDMA or LTE=LTE or GSM=GSM
When the case where superiority and inferiority, then it is still main card that the first card, which is arranged,.
In the present embodiment, when the network type that the first card for belonging to network for China Unicom network operator is currently accessed is WDCMA
Network, belonging to the second of China Mobile network operator and blocking the network type being currently accessed is LTE network, then according to the above superiority and inferiority
Rule judges that the network type that the first card is currently accessed is inferior to the second card, then enters step S3.
Optionally, before step S2, this method further include:
The connection status of monitoring the first card and the second card, if the first card is in unregistered network, the second card connects in network
When connecing state, then S3 is entered step;If the first card is in network connection state, S21 is entered step.
In the present embodiment, connection status refers to whether the card in terminal successful registration and normally accesses network.When judging
One card and the second card are not belonging to consolidated network operator, the connection status of the first card and the second card are then monitored, for example, user hand
The first card for belonging to China Unicom network operator of dynamic setting is surfed the Internet, and is in unregistered network when monitoring the first card
(or without network), and the second card for belonging to China Mobile network operator is connected to the network in normal situation, then is cut the second card
It is changed to main card to surf the Internet, after the first card (card for belonging to China Unicom network operator) restores network connection, is then arranged the
One card still based on block and surf the Internet.When monitoring the first card of user's manual setting in network connection state, then enter step
S21。
Second card is switched to main card, and return step S2 by S3.
In the present embodiment, the second card is switched to main card and carries out mobile data transfer, and return step S2, is equivalent at end
After the booting of end, long-term and real-time perfoming is monitored, and is preferably blocked according to monitored results handover network type and moved as main card
Dynamic data transmission.
The beneficial effect of embodiment 1 has:
In the method for double card switching provided in this embodiment, by reading the network number of the first card and the second card, according to net
Network number judges whether the first card and the second card belong to consolidated network operator, if the first card and the second card belong to consolidated network operation
Quotient, then without switching;If the first card and the second card are not belonging to consolidated network operator, the first card of monitoring and the second card are current
The superiority and inferiority of the network type of access, and judge according to superiority and inferiority rule the superiority and inferiority of network type, according to judging result determine whether by
Second card is switched to main card, and then continues to monitor the network type of double card, always automatically switching network type preferably card conduct
Main card carries out data transmission.The connection status that monitoring the first card and the second card can also be increased in technical solution simultaneously, according to double
The connection status of card determines whether to switch over.To realize whether the SIM card being inserted into automatic identification user terminal card slot belongs to
In different network operators, and monitor in real time two be clamped into network type, can also monitor the connection shapes of two cards in real time
State automatically selects and is switched to card that signal covers as main card and carries out mobile data transfer.Such as it is equally put down in underground garage
The network operator A of Shi Zuowei main card does not have signal, and has signal as the network operator B of vice card originally, then automatically by net
The SIM card of network operator B is switched to main card, and uses the network of network operator B as data transmission channel.It solves existing
The card that user needs to manually select that signal covers in technology carries out mobile data transfer, cumbersome problem as main card.
Secondly, the present invention can utmostly reduce money under the premise of carrying out network investment construction without network operator
Source waste solves Network Operator networks covering problem, it is ensured that user terminal network uninterruptedly uses, and provides more for user
Good Web vector graphic experience.
Further, since China Unicom base station number in three network operators (China Unicom, China Mobile, China Telecom)
Amount is minimum, and especially in-door covering and covering problem from far-off regions are even more and are denounced for a long time by user, but the network speed and money of China Unicom
Expense all has clear superiority, therefore is suitable for using user of the China Unicom as main card on ordinary days, the poor signal once in a while the case where
Under, it can effectively solve that China Unicom base station is few, signal covers insufficient disadvantage using technical solution of the present invention.
Embodiment 2:
The present embodiment provides a kind of double card switching devices, are used for terminal, and terminal includes the first card and the second card, and the first card is
Main card, the second card is vice card, and described device includes: first judgment module 31, the second judgment module 32 and switching module 33,
The first judgment module 31, for judging whether the first card and the second card belong to consolidated network operator, and root
It is judged that as a result determining whether to trigger second judgment module 32;
The first judgment module 31 is specifically used for executing following steps:
S11 reads the network number of the first card and the second card respectively;
S12 judges whether the first card and the second card belong to consolidated network operator according to network number: walking if so, returning
Rapid S11, if it is not, then triggering the second judgment module 32;
In the present embodiment, terminal includes the first card and the second card, and double card switching device is applied in terminal, and every in terminal
After secondary starting up, which then brings into operation.The device includes: first judgment module 31, the second judgment module 32 and switching
Module 33, wherein being electrically connected between three modules, first judgment module 31 is for judging it is same whether the first card and the second card belong to
One network operator specifically executes following steps: for identifying the first card and second according to the network number of the first card and the second card
Block corresponding network operator, such as MNC 01/06/09/10 is China Unicom, MNC 00/02/04/07/08 is that China moves
Dynamic, MNC 03/05/11 is China Telecom;For comparing the first card and the second corresponding network operator's title of card: if than
It is consistent to result, then judge that the first card and the second card belong to consolidated network operator, then return step S11;If comparison result is not
Unanimously, then judge that the first card and the second card are not belonging to consolidated network operator, then trigger the second judgment module 32.Such as in this reality
Applying and reading the first card MNC in example is 01, and the second card MNC is 00, then identifies that the first card belongs to China Unicom network operator,
Second card belongs to China Mobile network operator, then triggers the second judgment module 32.It should be noted that if reading the first card
MNC is 09, and the second card MNC is 06, then identifies that the first card and the second card belong to China Unicom network operator, then return to step
Rapid S11.
Optionally, before triggering the second judgment module 32, first judgment module 31 is also used to execute first judgment module 31
Following steps:
For monitoring the connection status of the first card and the second card, if the first card is in unregistered network, the second card is in net
When network connected state, then switching module 33 is triggered;If the first card is in network connection state, the second judgment module 32 is triggered.
In the present embodiment, first judgment module 31 is also used to monitor the connection status of the first card and the second card, for example, user
Terminal enters underground garage, and first judgment module 31, which monitors, to be belonged to the first card of China Unicom network operator and be now in not
Registered network, and the second card for belonging to China Mobile network operator is in when being connected to the network state, then first judgment module 31 is touched
Send out switching module 33;If the first card is in network connection state, first judgment module 31 triggers the second judgment module 32.This
When, when preference is that first judgment module 31 is in network connection state for monitoring the first card, first judgment module 31 is then touched
Send out the second judgment module 32.
Second judgment module 32, for judging that the first card and second blocks the superiority and inferiority of current network insertion type, and
Determined whether to trigger switching module 33 according to judging result;
Second judgment module 32 is specifically used for executing following steps:
S21, monitoring first card and second be clamped into network type;
Whether S22, the network type for judging that the first card is currently accessed are inferior to the second card: if so, triggering switching module 33,
If it is not, then the first card of setting is still main card, and return step S21.
In the present embodiment, wherein the card in the terminal groove 1 of user's manual setting is that the first card (use by first judgment module 31
It is 01) to carry out mobile data transfer in monitoring the first card MNC, the card in card slot 2 is that (first judgment module 31 is used for the second card
Monitoring the second card MNC is that 00), after the user terminal enters the region of a certain signal covering difference, the second judgment module 32 is used
In the data monitored are as follows: the network type of the first card is GSM, and the network type of the second card is LTE, and the second judgment module 32 is used
Whether it is inferior to the second fixture body in the network type for judging that the first card is currently accessed are as follows: the first card is GSM network, and the second card is
When WCDMA/CDMA/TD-SCDMA network or LET network, the network type for judging that the first card is currently accessed is inferior to the second card;
First card is WCDMA/CDMA/TD-SCDMA network, and the second card is LTE network, judges what the first card was currently accessed
Network type is inferior to the second card.Second judgment module 32 is for judging that the network type of the first card is inferior to the network class of the second card
Type then triggers switching module 33.It should be noted that if the network type for monitoring two cards is respectively WCDMA=CDMA, or
The feelings of WCDMA=TD-SCDMA or CDMA=TD-SCDMA or the indistinguishable network superiority and inferiority such as LTE=LTE or GSM=GSM
When condition, then the second judgment module 32 is still main card for the first card to be arranged.
The switching module 33 for the second card to be switched to main card, and triggers the second judgment module 32.
In the present embodiment, the second card for belonging to China Mobile in card slot 2 is switched to main card and moved by switching module 33
Dynamic data transmission to guarantee that user terminal can uninterruptedly use network, and then triggers the second judgment module 32 for judging
The network type of double card access.When the network type being clamped for belonging to China Unicom in card slot 1 be restored back to in card slot 2
After belonging to the same network type or higher network type of card of China Mobile, then the second judgment module 32 is for being arranged first
Card is still main card.
The beneficial effect of embodiment 2 has:
In the device of double card switching provided in this embodiment, first judgment module 31 is with the second card for judging the first card
It is no to belong to consolidated network operator, and determined whether to trigger second judgment module 32 according to judging result;For judging
One card and second blocks the superiority and inferiority of current network insertion type, and is determined whether to trigger switching module 33 according to judging result;Institute
Switching module 33 is stated, for the second card to be switched to main card, and triggers the second judgment module 32.To realize automatically switching network
Type is preferably blocked to be carried out data transmission as main card.The first judgment module 31 in device can be also used for monitoring first simultaneously
The connection status of card and the second card determines whether to trigger the second judgment module 32 or switching module according to the connection status of double card
33.Whole device to realize whether the SIM card being inserted into automatic identification user terminal card slot belongs to different network operators,
And monitor in real time two be clamped into network type, can also monitor in real time two card connection status, automatically select and be switched to letter
Number card covered carries out mobile data transfer as main card.Such as equally in underground garage, usually transported as the network of main card
Battalion quotient A does not have signal, and has signal as the network operator B of vice card originally, then automatically cuts the SIM card of network operator B
It is changed to main card, and uses the network of network operator B as data transmission channel.It solves user in the prior art to need manually
The card that selection signal covers carries out mobile data transfer, cumbersome problem as main card.
Secondly, the present invention can utmostly reduce money under the premise of carrying out network investment construction without network operator
Source waste solves Network Operator networks covering problem, it is ensured that user terminal network uninterruptedly uses, and provides more for user
Good Web vector graphic experience.
Further, since China Unicom base station number in three network operators (China Unicom, China Mobile, China Telecom)
Amount is minimum, and especially in-door covering and covering problem from far-off regions are even more and are denounced for a long time by user, but the network speed and money of China Unicom
Expense all has clear superiority, therefore is suitable for using user of the China Unicom as main card on ordinary days, the poor signal once in a while the case where
Under, it can effectively solve that China Unicom base station is few, signal covers insufficient disadvantage using technical solution of the present invention.
Embodiment 3:
The present embodiment provides a kind of terminal device, including memory and processor, memory store instruction, processor operations
Described instruction is to execute the method for being applied to the double card of terminal and switching.
Wherein, memory is electrically connected with processor, and flash memory or read-only memory or other memories can be used in memory, place
Central processing unit or single-chip microcontroller can be used in reason device.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.
Claims (11)
1. a kind of method of double card switching, is used for terminal, which is characterized in that include the first card and the second card, the first card in terminal
For main card, the second card is vice card, which comprises
S1, judges whether the first card and the second card belong to consolidated network operator, and is determined whether to enter step according to judging result
Rapid S2;
S2, judges the superiority and inferiority for the network type that the first card and the second card are currently accessed, and determines whether to enter according to judging result
Step S3;
Second card is switched to main card, and return step S2 by S3.
2. the method for double card switching according to claim 1, which is characterized in that step S1 is specifically included:
S11 reads the network number of the first card and the second card respectively;
S12 judges whether the first card and the second card belong to consolidated network operator according to network number: if so, return step
S11, if it is not, then entering step S2;
Step S2 is specifically included:
S21, monitoring first card and second be clamped into network type;
Whether S22, the network type for judging that the first card is currently accessed are inferior to the second card: if so, entering step S3;If it is not, then
The first card of setting is still main card, and return step S21.
3. the method for double card according to claim 2 switching, which is characterized in that in step s 12, judge the first card and the
Whether two cards, which belong to consolidated network operator, specifically includes:
The first card and the second corresponding network operator of card are first identified according to the network number of the first card and the second card, then compare the
One card and the second corresponding network operator's title of card judge that the first card and the second card belong to if comparison result is consistent
Consolidated network operator;If comparison result is inconsistent, judge that the first card and the second card are not belonging to consolidated network operator.
4. the method for double card switching according to claim 3, which is characterized in that in step S22, judge that the first card is current
Whether the network type of access is inferior to the second fixture body
Judge that first blocks whether the network type being currently accessed is inferior to the network that the second card is currently accessed according to following superiority and inferiority rule
Type: GSM network is inferior to WCDMA/CDMA/TD-SCDMA network and LTE network, and WCDMA/CDMA/TD-SCDMA network is inferior to
LTE network.
5. the method for double card switching according to claim 4, which is characterized in that before step S2, this method further include:
The connection status of monitoring the first card and the second card, if the first card is in unregistered network, the second card is in network connection state
When, then enter step S3;If the first card is in network connection state, S21 is entered step.
6. a kind of double card switching device is used for terminal, which is characterized in that terminal includes that the first card and second block, based on the first card
Card, the second card is vice card, and described device includes: first judgment module, the second judgment module and switching module,
The first judgment module, for judging whether the first card and the second card belong to consolidated network operator, and according to judgement
As a result determine whether to trigger second judgment module;
Second judgment module, for judging the superiority and inferiority of the first card and the second current network insertion type of card, and according to sentencing
Disconnected result determines whether to trigger the switching module;
The switching module for the second card to be switched to main card, and triggers second judgment module.
7. double card switching device according to claim 6, which is characterized in that
The first judgment module is specifically used for executing following steps:
S11 reads the network number of the first card and the second card respectively;
S12 judges whether the first card and the second card belong to consolidated network operator according to network number: if so, return step
S11, if it is not, then triggering second judgment module;
Second judgment module is specifically used for executing following steps:
S21, monitoring first card and second be clamped into network type;
Whether S22, the network type for judging that the first card is currently accessed are inferior to the second card: if so, the switching module is triggered, if
No, then it is main card that the first card, which is arranged, still, and return step S21.
8. double card switching device according to claim 6, which is characterized in that the first judgment module is for judging first
Whether card and the second card belong to consolidated network operator and specifically execute following steps:
For identifying the first card and the corresponding network operator of the second card according to the network number of the first card and the second card;
For comparing the first card and the second corresponding network operator's title of card: if comparison result is consistent, judging first
Card and the second card belong to consolidated network operator;If comparison result is inconsistent, it is same to judge that the first card and the second card are not belonging to
Network operator.
9. double card switching device according to claim 8, which is characterized in that second judgment module is for judging first
Block whether the network type being currently accessed is inferior to the second fixture body are as follows:
First card is GSM network, when the second card is WCDMA/CDMA/TD-SCDMA network or LET network, judges that the first card is current
The network type of access is inferior to the second card;
First card is WCDMA/CDMA/TD-SCDMA network, and the second card is LTE network, judges the network that the first card is currently accessed
Type is inferior to the second card.
10. double card switching device according to claim 9, which is characterized in that before triggering second judgment module, institute
First judgment module is stated to be also used to execute following steps:
For monitoring the connection status of the first card and the second card, if the first card is in unregistered network, the second card connects in network
When connecing state, then switching module is triggered;If the first card is in network connection state, the second judgment module is triggered.
11. a kind of terminal device, which is characterized in that including memory and processor, memory store instruction, processor runs institute
Instruction is stated to execute method according to claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910660209.3A CN110351433A (en) | 2019-07-22 | 2019-07-22 | A kind of method, apparatus and terminal device of double card switching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910660209.3A CN110351433A (en) | 2019-07-22 | 2019-07-22 | A kind of method, apparatus and terminal device of double card switching |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110351433A true CN110351433A (en) | 2019-10-18 |
Family
ID=68179602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910660209.3A Pending CN110351433A (en) | 2019-07-22 | 2019-07-22 | A kind of method, apparatus and terminal device of double card switching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110351433A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111106844A (en) * | 2019-12-31 | 2020-05-05 | 上海寰创通信科技股份有限公司 | Switching method of universal user identification card of vehicle-mounted access unit |
CN111583427A (en) * | 2020-05-11 | 2020-08-25 | 北京智芯原动科技有限公司 | Parking management system based on end cloud |
CN114006978A (en) * | 2021-12-31 | 2022-02-01 | 荣耀终端有限公司 | Main card switching method and electronic equipment |
CN114401508A (en) * | 2021-12-31 | 2022-04-26 | 荣耀终端有限公司 | SIM card management method and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104902528A (en) * | 2015-04-28 | 2015-09-09 | 宇龙计算机通信科技(深圳)有限公司 | Dual-card terminal, method and device for automatically switching data services of dual-card terminal |
CN105338178A (en) * | 2015-09-30 | 2016-02-17 | 宇龙计算机通信科技(深圳)有限公司 | Communication method and device based on dual-card dual-standby single-communication terminal |
CN105392166A (en) * | 2015-11-06 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method and apparatus for data network switching of dual-card electronic terminal |
CN105873139A (en) * | 2016-03-30 | 2016-08-17 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105933944A (en) * | 2016-05-20 | 2016-09-07 | 广东欧珀移动通信有限公司 | 4G network optimum usage method and device and mobile terminal |
CN106413013A (en) * | 2016-09-21 | 2017-02-15 | 努比亚技术有限公司 | Network switching method and device, and mobile terminal |
US20180234878A1 (en) * | 2017-02-15 | 2018-08-16 | Qualcomm Incorporated | Multi-subscriber identity module (sim) call setup |
-
2019
- 2019-07-22 CN CN201910660209.3A patent/CN110351433A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104902528A (en) * | 2015-04-28 | 2015-09-09 | 宇龙计算机通信科技(深圳)有限公司 | Dual-card terminal, method and device for automatically switching data services of dual-card terminal |
CN105338178A (en) * | 2015-09-30 | 2016-02-17 | 宇龙计算机通信科技(深圳)有限公司 | Communication method and device based on dual-card dual-standby single-communication terminal |
CN105392166A (en) * | 2015-11-06 | 2016-03-09 | 广东欧珀移动通信有限公司 | Method and apparatus for data network switching of dual-card electronic terminal |
CN105873139A (en) * | 2016-03-30 | 2016-08-17 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105933944A (en) * | 2016-05-20 | 2016-09-07 | 广东欧珀移动通信有限公司 | 4G network optimum usage method and device and mobile terminal |
CN106413013A (en) * | 2016-09-21 | 2017-02-15 | 努比亚技术有限公司 | Network switching method and device, and mobile terminal |
US20180234878A1 (en) * | 2017-02-15 | 2018-08-16 | Qualcomm Incorporated | Multi-subscriber identity module (sim) call setup |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111106844A (en) * | 2019-12-31 | 2020-05-05 | 上海寰创通信科技股份有限公司 | Switching method of universal user identification card of vehicle-mounted access unit |
CN111583427A (en) * | 2020-05-11 | 2020-08-25 | 北京智芯原动科技有限公司 | Parking management system based on end cloud |
CN114006978A (en) * | 2021-12-31 | 2022-02-01 | 荣耀终端有限公司 | Main card switching method and electronic equipment |
CN114401508A (en) * | 2021-12-31 | 2022-04-26 | 荣耀终端有限公司 | SIM card management method and electronic equipment |
CN114006978B (en) * | 2021-12-31 | 2022-07-12 | 荣耀终端有限公司 | Main card switching method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110351433A (en) | A kind of method, apparatus and terminal device of double card switching | |
US10484921B2 (en) | Wireless hotspot handover method, mobile terminal and storage medium | |
US10015731B2 (en) | Network access method and mobile terminal | |
CN105792319B (en) | A kind of the access module switching method and relevant device of multimode double-terminal | |
CN104105166B (en) | A kind of mobile terminal looks for the method and mobile terminal of net automatically | |
CN108055682A (en) | A kind of switching method of mobile phone terminal public affairs private network | |
CN109495875B (en) | SIM card selection method and device, electronic equipment and storage medium | |
CN106953654A (en) | Universal Integrated Circuit Card is detected | |
CN106211250B (en) | Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal | |
WO2017185882A1 (en) | Network switchover method and mobile terminal | |
CN107529154B (en) | Communication method and device of multimode terminal | |
CN209949085U (en) | User identity identification integrated card, data communication equipment and system | |
CN110611941A (en) | Network switching method and device | |
CN104540157B (en) | A kind of incoming telephone signal changing method, device and terminal | |
CN103748958B (en) | Mobile telephone with multiple cards and display methods | |
CN104869619A (en) | Single card dual standby long term evolution (LTE) terminal network control method and device | |
CN108012301A (en) | A kind of mobile terminal and its method for connecting network, computer-readable recording medium | |
CN114040458A (en) | Operator network switching method, device, communication module, terminal and storage medium | |
CN105517084A (en) | Service processing method, service processing apparatus and mobile terminal in hybrid network types | |
CN106804050A (en) | A kind of method and device of network switching | |
CN113825197B (en) | Card switching method and system based on network quality | |
CN112152657A (en) | User identity identification integrated card, data communication method, device, equipment and system | |
US10609548B2 (en) | User terminal, and method and device for providing mobile communication service | |
CN105848254B (en) | The control method and system of roaming data | |
CN108696857A (en) | Judge the information processing method and the network equipment of identification card service condition |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191018 |
|
RJ01 | Rejection of invention patent application after publication |