CN106211250B - Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal - Google Patents

Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal Download PDF

Info

Publication number
CN106211250B
CN106211250B CN201510218423.5A CN201510218423A CN106211250B CN 106211250 B CN106211250 B CN 106211250B CN 201510218423 A CN201510218423 A CN 201510218423A CN 106211250 B CN106211250 B CN 106211250B
Authority
CN
China
Prior art keywords
card
communication module
user
switching
main communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510218423.5A
Other languages
Chinese (zh)
Other versions
CN106211250A (en
Inventor
何欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510218423.5A priority Critical patent/CN106211250B/en
Priority to PCT/CN2015/080307 priority patent/WO2016173071A1/en
Publication of CN106211250A publication Critical patent/CN106211250A/en
Application granted granted Critical
Publication of CN106211250B publication Critical patent/CN106211250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention is suitable for the technical field of communication, and provides a self-adaptive switching method and a system for a mobile terminal and a card slot thereof, wherein the switching method comprises the following steps: predefining priority levels of different user cards and the priority level of the user card which can be matched with the main communication module; reading card information of a user card in a card slot of the mobile terminal, and acquiring a corresponding priority level of the user card according to the card information; and switching the card slot in which the user card is positioned to the main communication module or the auxiliary communication module according to the priority level corresponding to the user card. The invention can match different user cards to different communication modules according to the priority of the user cards, meets the requirements of operators on fuzzy identification card slots, meets the requirement of using the highest network standard supported by the card without changing the card, and provides more convenient services for users.

Description

Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a mobile terminal and a method and a system for self-adaptive switching of a card slot of the mobile terminal.
Background
The technical scheme adopted by the existing mobile LTE (Long Term Evolution) multimode dual-card terminal is as follows: card 1 supports the requirements of Mobile TDD-LTE, TDSCDMA (Time Division-Synchronous Code Division multiple Access), GSM (Global System for Mobile Communication), and GSM for communications, and card 2 can only support GSM networks, but WCDMA (Wideband Code Division multiple Access) is supported by port, australian, overseas roaming. Even if the card 2 is inserted into a mobile USIM (Universal Subscriber Identity Module) card, the GSM network can only be used, which is determined by the underlying chip scheme, and chips of mainstream chip manufacturers (such as high pass) support two sets of protocol stacks, one of the protocol stacks supports multiple network systems (such as LTE/TD _ SCDMA/WCDMA/EVDO/GSM/CDMA, etc.), and the other protocol stack supports only the GSM network. When a dual-card terminal is implemented, the card 1 is generally bound to a protocol stack supporting multiple network systems, and the card 2 is bound to a protocol stack supporting only GSM.
The existing dual-card terminal scheme can not meet the requirement that the LTE multimode dual-card terminal needs to have the capability of not distinguishing card slots in the technical specification of the Chinese Mobile LTE USIM card, and is mainly reflected in the following aspects:
1. the requirement for a dual card terminal to only insert a single card (whether card 1 or card 2 is inserted) cannot be met, namely: if the card is a China Mobile card or a overseas operator card: the card is required to be automatically set as a master card to support all network formats that the card can support. At present, the single card 2 can only support the GSM network, and if a mobile USIM card is inserted into the card 2, 4G and 3G networks cannot be used.
2. The requirement of the double-card terminal for inserting the double cards cannot be met, and the specific requirements are as follows: (1) the inserted double cards are both Chinese mobile cards or both overseas operator cards: if the USIM + SIM (Subscriber Identity Module) combination is adopted, the USIM is required to be automatically set as a master card to support all network systems of the card; if the USIM + USIM or the SIM + SIM combination is adopted, the requirement is that the user can set the main card. (2) The combination of a Chinese mobile card, a non-Chinese mobile card or a overseas operator card and a Chinese other operator card is inserted: the mobile card of china or the overseas operator card is required to be set as a main card, and the other card is required to be set as an auxiliary card. (3) Both are combinations of other operators in mainland china: both cards are accessing the GSM/GPRS/EDGE network.
In view of the above, the prior art is obviously inconvenient and disadvantageous in practical use, and needs to be improved.
Disclosure of Invention
In view of the above-mentioned drawbacks, an object of the present invention is to provide a mobile terminal and a method and a system for adaptive switching of a card slot thereof, which can match different user cards to different communication modules according to the priority of the user cards, meet the requirements of an operator on fuzzy identification of the card slot, meet the requirements of a highest network standard supported by the card without changing the card, and provide more convenient services for users.
In order to achieve the above object, the present invention provides a method for adaptively switching a card slot of a mobile terminal, where the mobile terminal includes a primary communication module and a secondary communication module, and the method includes:
predefining priority levels of different user cards and the priority level of the user card which can be matched with the main communication module;
reading card information of a user card in the mobile terminal card slot, and acquiring a corresponding priority level of the user card according to the card information;
and switching the card slot in which the user card is positioned to the main communication module or the auxiliary communication module according to the priority level corresponding to the user card.
According to the switching method of the present invention, the step of switching the card slot in which the subscriber identity card is located to the primary communication module or the secondary communication module according to the priority level of the subscriber card comprises:
when the mobile terminal detects only one user card, judging whether the user card can be matched with the main communication module according to the priority level of the user card;
if yes, switching the card slot where the user card is located to the main communication module, and then issuing a network-up instruction to start up the network, otherwise, directly issuing the network-up instruction to start up the network.
According to the switching method of the present invention, the step of switching the card slot in which the subscriber identity card is located to the primary communication module or the secondary communication module according to the priority level of the subscriber card comprises:
when the mobile terminal detects two user cards, judging whether the priority levels of the two user cards are the same;
if the two user cards are the same, judging whether the two user cards can be matched with the main communication module, if so, starting a user switch to enable the two user cards, and then issuing a network-up instruction to start up the network, otherwise, directly issuing the network-up instruction to start up the network;
if not, judging whether the user card with high priority can be matched with the main communication module, if so, switching the card slot in which the user card with high priority is positioned to the main communication module and then issuing a network-up instruction to start up the network, otherwise, directly issuing the network-up instruction to start up the network.
According to the switching method of the present invention, the step of switching the card slot in which the subscriber identity card is located to the primary communication module or the secondary communication module according to the priority level of the subscriber card comprises:
receiving an instruction for switching the corresponding relation between the card slot and the main communication module;
judging whether the user switch is enabled or not;
if yes, switching the corresponding relation between the card slot and the main communication module and then dialing data, otherwise, directly dialing data.
According to the switching method of the present invention, the step of switching the card slot in which the user card is located to the primary communication module or the secondary communication module according to the priority level corresponding to the user card further includes:
judging whether the current corresponding card slot of the main communication module is the same as the switched card slot;
if not, the corresponding relation of the currently stored card slots in the main communication module and the auxiliary communication module is cleared, and the card slots corresponding to the main communication module and the auxiliary communication module are reset according to the switched card slot pairs.
The invention correspondingly provides a self-adaptive switching system of a mobile terminal card slot, wherein the mobile terminal comprises a main communication module and an auxiliary communication module, and the system comprises:
the pre-defining module is used for pre-defining the priority levels of different user cards and the priority level of the user card which can be matched with the main communication module;
the identification module is used for reading card information of a user card in a card slot of the mobile terminal and acquiring a priority level corresponding to the user card according to the card information;
and the switching module is used for switching the card slot where the user card is located to the main communication module or the auxiliary communication module according to the priority level corresponding to the user card.
According to the switching system of the present invention, the switching module includes:
the first judging unit is used for judging whether the mobile terminal can be matched with the main communication module according to the priority level of the user card when the mobile terminal detects only one user card;
the first switching unit is used for switching the card slot of the user card to the main communication module when the priority level of the user card can be matched with the main communication module;
and the first networking control unit is used for switching the card slot where the user card is located to the main communication module and then issuing a networking instruction to be networked, or directly issuing a networking instruction to be networked.
According to the switching system of the present invention, the switching module includes:
the second judging unit is used for judging whether the priority levels of the two user cards are the same or not when the mobile terminal detects the two user cards;
the third judging unit is used for judging whether the two user cards can be matched with the main communication module when the priorities of the two user cards are the same;
the switch enabling unit is used for starting a user switch when the two user cards can be matched with the main communication module;
the fourth judging unit is used for judging whether the user card with the high priority can be matched with the main communication module when the priorities of the two user cards are different;
the second switching unit is used for switching the card slot where the high-priority user card is located to the main communication module when the high-priority user card can be matched with the main communication module;
and the second network-starting control unit is used for issuing a network-starting command to start the network after the user change-over switch is turned on, or is used for issuing a network-starting command to start the network after the card slot where the user card with high priority is located is switched to the main communication module, or is used for directly issuing a network-starting command to start the network.
According to the switching system of the present invention, the switching module includes:
the instruction receiving unit is used for receiving an instruction for switching the corresponding relation between the card slot and the main communication module;
a fifth judging unit, configured to judge whether the user switch enable is turned on;
a fifth switching unit, configured to switch a correspondence between the card slot and the main communication module when the user switch is enabled;
and the data dialing unit is used for carrying out data dialing after switching the corresponding relation between the card slot and the main communication module or directly carrying out data dialing.
According to the switching system of the present invention, the switching module includes:
a sixth judging unit, configured to judge whether a card slot currently corresponding to the master communication module is the same as the card slot after switching;
and the resetting unit is used for clearing the corresponding relation of the currently stored card slots in the main communication module and the auxiliary communication module and resetting the card slots corresponding to the main communication module and the auxiliary communication module according to the switched card slot pair when the card slot corresponding to the main communication module is different from the switched card slot.
The invention also provides a mobile terminal comprising the system.
According to the invention, different priorities are set for different user cards, and the priority level which can be matched with the main communication module is set, when the user card is detected to be inserted, the priority level of the user card is obtained according to the read card information, and the card slot in which the user card is located is switched to the main communication module or the auxiliary communication module according to the priority level of the user card. Different user cards are matched with different communication modules according to the priority of the user cards, the requirement of an operator for fuzzy identification of the card slot is met, the user does not need to care which card slot the card is inserted into, which operator card, the scheme can automatically adapt to the corresponding communication module, even the user can manually set which card is the main card, the requirement of using the highest network standard supported by the card without changing the card is met, and more convenient services are provided for the user.
Drawings
Fig. 1 is a schematic block diagram of an adaptive switching system of a mobile terminal card slot of the present invention;
FIG. 2 is a flow chart illustrating a card slot switch performed when a user card is inserted into a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flow chart of the slot switching when two user cards are inserted into the mobile terminal according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a user manually switching communication modules corresponding to dual cards according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method for adaptive switching of a card slot of a mobile terminal according to the present invention;
FIG. 6 is a flow chart of the present invention for performing a handoff when the mobile terminal detects that only one subscriber card is inserted;
FIG. 7 is a flow chart of the present invention for performing a handoff when a mobile terminal detects that two user cards are inserted;
FIG. 8 is a flowchart illustrating a process of executing a switch when a mobile terminal receives a user switch SIM card and communication module correspondence instruction according to the present invention;
fig. 9 is a flow chart of the handover module of the present invention performing a handover.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the system 100 for adaptively switching a card slot of a mobile terminal according to the present invention includes a predefined module 10, an identification module 20, and a switching module 30. The mobile terminal comprises a main communication module and an auxiliary communication module, and is a dual-card dual-standby mobile terminal. The primary and secondary communication modules are communication modules that may be applied to a mobile terminal and may each include one or more communication modules that may be used independently in the mobile terminal in combination with other modules in the mobile terminal to perform certain communication functions. For example, the primary communication module supports all network formats including LTE, TD _ SCDMA, WCDMA, EVDO, GSM, CDMA, etc., and the secondary communication module only supports 2G communication network formats (such as GSM).
And the pre-defining module 10 is used for pre-defining the priority levels of different user cards and the priority level of the user card which can be matched with the main communication module. The different user cards include cards of different card types and different operators, such as a mobile UIM card, a mobile SIM card, a Unicom UIM card, and a telecom SIM card.
And the identification module 20 is configured to read card information of the user card in the card slot of the mobile terminal, and obtain a priority level corresponding to the user card according to the card information. Specifically, the card information of the user card refers to an Integrated Circuit Card Identifier (ICCID) in the user card to obtain a card type and a type of an operator, where the card type may include a USIM and a SIM card, and the type of the operator may be a china mobile, china unicom, china telecom, overseas operator, and the like. And inquiring the priority level corresponding to the user card according to the acquired card type and the type of the operator to which the user card belongs. The user card priority level is preset by the pre-definition module 10.
And the switching module 30 is configured to switch the card slot in which the user card is located to the primary communication module or the secondary communication module according to the priority level corresponding to the user card. A specific example is a user card being a mobile UIM card,
in an embodiment of the present invention, for example, the priorities of different user cards may be set as: the mobile UIM card, the mobile SIM card, the USIM card of a overseas operator, the SIM card of the overseas operator, and other operators in China continental; what can be matched to the main communication module is only: a mobile UIM card, a mobile SIM card, a USIM card of a overseas operator, and an SIM card of a overseas operator. When the priority level of the mobile terminal inserted into the subscriber card is obtained, the card type and the type of the operator can be obtained according to the Integrated Circuit Card (ICCID) in the subscriber card, the card type can comprise a USIM (universal subscriber identity module) and an SIM (subscriber identity module) card, and the type of the operator can be China Mobile, China Unicom, China telecom, overseas operators and the like; and then inquiring the priority level of the user card from a priority level library which predefines different user cards according to the card type and the type of the operator to which the user card belongs. And finally, switching the card slot in which the user card is located to the main communication module or the auxiliary communication module according to the priority level of all the user cards, for example, switching the card slot in which the user card is located to the main communication module if the detected user card is a China Mobile USIM card, the priority level of the detected user card is the highest and the priority level of the detected user card can be matched with the priority level of the detected China Mobile USIM card. For example, if the detected user card is a china unicom USIM card and the priority level of the detected user card is unmatchable to the main communication module, the card slot in which the user card is located is switched to the auxiliary communication module.
Therefore, the invention can match different user cards to different communication modules according to the priority of the user card, meets the requirements of operators on fuzzy identification card slots, and the user does not need to care which card slot the card is inserted into, which operator card, the scheme can automatically adapt to the corresponding communication module, even the user can manually set which card is the main card, meets the requirement of using the highest network standard supported by the card without changing the card, and provides more convenient services for the user.
As shown in fig. 1, the handover module 30 includes a first determining unit 301, a first handover unit 302, and a first home network control unit 303.
The first determining unit 301 is configured to determine whether the mobile terminal can be matched with the main communication module according to the priority level of the user card when the mobile terminal detects only one user card.
The first switching unit 302 is configured to switch the card slot where the user card is located to the main communication module when the priority level of the user card is matched with the main communication module.
And the first network start control unit 303 is configured to issue a network start instruction to start the network after the card slot where the user card is located is switched to the main communication module, or directly issue a network start instruction to start the network. The network-on refers to registering the mobile terminal to the network.
As shown in fig. 1, the switching module 30 further includes: a second determination unit 304, a third determination unit 305, a switch enabling unit 306, a fourth determination unit 307, a second switching unit 308, and a second network-up control unit 309.
The second determining unit 304 is configured to determine whether the priority levels of the two user cards are the same when the mobile terminal detects the two user cards.
The third determining unit 305 is configured to determine whether the two user cards can be matched with the main communication module when the priorities of the two user cards are the same.
And a switch enabling unit 306 for turning on the user switch when the two user cards can be matched to the main communication module.
The fourth judging unit 307 is configured to judge whether the user card with the higher priority can be matched with the main communication module when the priorities of the two user cards are different.
The second switching unit 308 is used for switching the card slot where the high-priority user card is located to the main communication module when the high-priority user card can be matched to the main communication module.
And the second network-starting control unit 309 is configured to issue a network-starting instruction to start a network after the user switch is turned on, or to issue a network-starting instruction to start a network after the card slot in which the user card with the high priority is located is switched to the main communication module, or to directly issue a network-starting instruction to start a network.
As shown in fig. 1, the switching module 30 further includes: an instruction receiving unit 310, a fifth judging unit 311, a fifth switching unit 312, and a data dialing unit 313.
An instruction receiving unit 310, configured to receive an instruction for switching a corresponding relationship between a card slot and a main communication module;
a fifth judging unit 311, configured to judge whether the user switch enable is turned on;
a fifth switching unit 312, configured to switch a corresponding relationship between the card slot and the main communication module when the user switches the switch to enable;
and the data dialing unit 313 is used for performing data dialing after switching the corresponding relation between the card slot and the main communication module, or directly performing data dialing.
As shown in fig. 1, the switching module 30 further includes: a sixth judgment unit 314 and a reset unit 315.
A sixth determining unit 314, configured to determine whether the card slot currently corresponding to the main communication module is the same as the card slot after switching;
the resetting unit 315 is configured to clear the currently stored card slot correspondence relationship between the primary communication module and the secondary communication module and reset the card slots corresponding to the primary communication module and the secondary communication module according to the switched card slot pair when the card slot corresponding to the primary communication module is different from the switched card slot.
Fig. 2 is a flow chart illustrating a card slot switching operation performed when a user card is inserted into a mobile terminal according to an embodiment of the present invention. The process comprises the following steps:
in step S201, the mobile terminal detects that only one user card is inserted.
Step S202, reading the user card information of the user card.
Step S203, the priority level of the user card is obtained. In this embodiment, the priorities of the predefined different user cards are ordered from high to low as: the mobile UIM card, the mobile SIM card, the USIM card of a overseas operator, the SIM card of the overseas operator, and other operators in China continental; what can be matched to the main communication module is only: a mobile UIM card, a mobile SIM card, a USIM card of a overseas operator, and an SIM card of a overseas operator.
Step S204, judging whether the priority level of the user card can be matched with the main communication module. If so, go to step S205, otherwise, go to step S208. If the user card is a mobile card or a overseas operator card, the user card can be matched with the main communication module. The user card is a card of other operators in the mainland of China, and can not be matched with the main communication module, and the user card can directly issue a network-starting instruction.
Step S205 determines whether the card slot in which the user card is located corresponds to the main communication module. If yes, go to step S208, otherwise go to step S206. Specifically, the step determines whether the card slot in which the user card is located corresponds to the main communication module by reading the correspondence between the communication module and the card slot stored in the file system of the communication module.
And step S206, clearing the corresponding relation between the currently stored main communication module and the card slot. The specific step is to deactivate the card.
Step S207, the card slot corresponding to the main communication module is set as the card slot where the current user card is located. Specifically, in this step, the card slot corresponding to the main communication module is issued to the main communication module through the system interface, and the modem of the main communication module reports the card slot association information to the system again after the setting is completed. In a specific program, a session _ type corresponding to a main card is set by issuing a session _ type corresponding to the main card through a change _ session interface, the card can be set as the main card, card information (including mapping relation information of a card slot and a main communication module) can be reported again after a Modem (Modem) completes setting and automatically activates the card, and since the reported card information is consistent with card information stored in a system framework layer (framework), the double cards cannot be notified again to select to start a network, and the network is directly issued by a telephone mode service (telephone service) in the system program. The main card is the card corresponding to the main communication module.
And step S208, issuing a network-up command to start up the network.
In step S209, data dialing is performed.
After switching is accomplished at every turn, all can preserve relevant main communication module and draw-in groove corresponding relation in modem's the file system, when the start detects main communication module and draw-in groove corresponding relation and last time inconsistent, can clear away the corresponding relation of preserving in the file system automatically, and the corresponding relation of the draw-in groove that only can clear away the inconsistency moreover, promptly: if there are two cards, one of the cards is pulled out or replaced, when the computer is restarted, the modem only clears the card slot corresponding relation corresponding to the pulled out card or the replaced card.
In this embodiment, after a single user card is inserted, it is determined whether the user card is a card for a preset high-priority operator, if so, the card slot in which the user card is located is corresponding to the main communication module, otherwise, the user card is directly connected to the network. For the card of the low-priority operator, no matter whether the inserted card slot corresponds to the main communication module or not, the card of the low-priority operator can only use the GSM network of the mobile terminal, and the card slot into which the card of the low-priority operator is inserted is the card slot corresponding to the main communication module before, the system can issue a limiting instruction to limit the card of the low-priority operator to only use the GSM network. Therefore, different user cards can be matched with different communication modules according to the priority of the user cards, the priority of the user cards can be customized according to the requirements of operators, and the requirements of the operators on the fuzzy recognition card slots are met.
Fig. 3 is a flow chart of the slot switching when two user cards are inserted into the mobile terminal according to an embodiment of the present invention. The process comprises the following steps:
step S301, the mobile terminal detects that two user cards are inserted.
Step S302, reading the user card information of the two user cards.
Step S303, obtaining the priority levels of the two user cards. In this embodiment, the priorities of the predefined different user cards are ordered from high to low as: the mobile UIM card, the mobile SIM card, the USIM card of a overseas operator, the SIM card of the overseas operator, and other operators in China continental; what can be matched to the main communication module is only: a mobile UIM card, a mobile SIM card, a USIM card of a overseas operator, and an SIM card of a overseas operator.
Step S304, judging whether the priority of the two user cards is the same. If yes, the process proceeds to step S305, otherwise, the process proceeds to step 307.
Step S305, determining whether the two user cards can be matched with the main communication module, if yes, going to step S306, otherwise, going to step S309.
Step S306, turning on the user switch to enable. Then, the process proceeds to step S309. The specific user switch enable is a switch in the system that allows the user to switch the correspondence of the user card and the communication module. After the switch is turned on, a user can set one of the two cards as a main card and the other card as an auxiliary card, wherein the main card is a card corresponding to the main communication module, and the auxiliary card is a card corresponding to the auxiliary communication module.
Step S307, determine whether the high priority user card can be matched to the main communication module, if yes, go to step S308, otherwise go to step S309. In a specific application process, it is necessary to determine whether a card slot corresponding to a main communication module stored in a file system of the modem is a card slot in which a high-priority user card is located. If the card slot corresponding to the main communication module in the file system is the card slot in which the high-priority user card is located, directly entering a process of issuing an initiating network; if the card slot corresponding to the main communication module in the file system is not the card slot where the high-priority user card is located, the corresponding relationship (i.e., reset operation or deactivation operation) of the card slots currently stored in the main communication module and the secondary communication module needs to be cleared, then the card slots corresponding to the two communication modules are respectively set, the main communication module corresponds to the card slot where the user card with high priority is located, and the secondary communication module corresponds to the card slot where the other user card is located. After the modem finishes the setting of the mapping relation between the communication module and the card slot, the modem updates the file system information, activates the card by itself and reports the mapping relation information again.
Step S308, the card slot in which the user card with high priority is located is switched to the main communication module.
Step S309, issuing a network-up command to start up the network.
In step S310, data dialing is performed.
Fig. 4 is a flowchart illustrating a user manually switching a communication module corresponding to a dual card according to an embodiment of the present invention. The process comprises the following steps:
step S401, receiving an instruction of a user to switch the corresponding relationship between the card slot and the main communication module. Specifically, in practical applications, a user sets a certain card as a main card, and sets another card as an auxiliary card, where the main card is a card corresponding to the main communication module, and the auxiliary card is a card corresponding to the auxiliary communication module.
Step S402, judging whether the user switch is enabled or not. If so, the process proceeds to step S403, otherwise, the process proceeds to step S406.
In step S403, if yes, the user card specified by the user is set as the master card.
And S404, clearing the corresponding relation between the main communication module and the auxiliary communication module which are stored currently and the card slot.
Step S405, the main communication module corresponds to the card slot where the main card is located, and the auxiliary communication module corresponds to another card slot.
Step S406, data dialing is performed.
In this embodiment, after the startup dialing is successful, when a user switches a data service, whether an enable switch for switching a main card is turned on or not is judged before the dialing, if the enable switch is turned on, the card to be switched is firstly saved as a default data main card to a database before the data service is switched, then double cards are deactivated, the main card is set, and finally the dialing is removed according to the default data main card; otherwise, only dialing according to the user requirement is needed.
In the invention, the priority level of the user card and the priority level matched with the main communication module are set in advance according to the customization of an operator. For example: the defined priorities of the different user cards are ordered from high to low as: the mobile UIM card, the mobile SIM card, the USIM card of a overseas operator, the SIM card of the overseas operator, and other operators in China continental; what can be matched to the main communication module is only: a mobile UIM card, a mobile SIM card, a USIM card of a overseas operator, and an SIM card of a overseas operator. When a mobile 4G card (USIM card) is inserted into the card slot 2, the card slot 2 is automatically set as a master card (a card corresponding to a master communication module) after the mobile USIM card is started; when the mobile terminal is inserted into the mobile SIM card and combined with the mobile USIM card, the USIM card is automatically set as a main card after the mobile terminal is started; and when the USIM card is moved to be combined when the mobile terminal is inserted into the communication card, the mobile USIM card is set as a master card by default. Therefore, the requirement of operators on fuzzy identification card slots is met, more convenient services are provided for users, the users do not need to care which card slot and which card of the operators are inserted, the corresponding protocol stack can be automatically adapted only by using the terminal of the invention, and even the users can manually set which card is the main card, so that the requirement of using the highest network standard supported by the card without changing the card is met. Meanwhile, the protocol stack corresponding to the SIM card is switched by the existing chip scheme, so that the highest network standard supported by the current SIM card can be used, and the development cost and the hardware cost for using two sets of network protocol stacks with the whole network standard are reduced.
Fig. 5 is a flowchart of a method for adaptively switching a card slot of a mobile terminal according to the present invention, where the method is implemented by the system 100 shown in fig. 1, and the mobile terminal includes a primary communication module and a secondary communication module, and the method includes:
step S501, predefining the priority levels of different user cards and the priority level of the user card which can be matched with the main communication module. This step is implemented by the pre-defining module 10.
Step S502, reading the card information of the user card in the card slot of the mobile terminal, and acquiring the corresponding priority level of the user card according to the card information. This step is implemented by the recognition module 20.
Step S503, the card slot where the user card is located is switched to the main communication module or the auxiliary communication module according to the priority level corresponding to the user card. This step is implemented by the switching module 30.
Fig. 6 is a flow chart of the present invention for performing a handoff when the mobile terminal detects that only one subscriber card is inserted. The process comprises the following steps:
in step S601, the mobile terminal detects only one user card. This step is implemented by the recognition module 20.
Step S602, judging whether the user card can be matched with the main communication module according to the priority level of the user card. If yes, go to step S603, otherwise go to step S604. This step is implemented by the first judgment unit 301.
Step S603, the card slot where the user card is located is switched to the main communication module, and then a network-up command is issued for network-up. This step is implemented by the first handover unit 302 and the first network control unit 303.
And step S604, directly issuing a network-up command to start up the network. This step is implemented by the first net-hauling control unit 303.
Fig. 7 is a flow chart of the present invention for performing a handoff when a mobile terminal detects that two subscriber cards are inserted. The process comprises the following steps:
step S701, the mobile terminal detects two user cards. This step is implemented by the recognition module 20.
Step S702, judging whether the priority levels of the two user cards are the same. If the same, the process proceeds to step S703, otherwise, the process proceeds to step S705. This step is implemented by the second judgment unit 304.
Step S703, determining whether the two user cards can be matched to the main communication module. If yes, the process proceeds to step S704, otherwise, the process proceeds to step S707. This step is realized by the third judging unit 305.
Step S704, starting the user switch to enable and then issuing a network-up command to network up. This step is implemented by the switch enabling unit 306 and the second net hauling control unit 309 together.
Step S705, determining whether the user card with high priority can be matched with the main communication module. If yes, the process proceeds to step S706, otherwise, the process proceeds to step S707. This step is implemented by the fourth judging unit 307.
Step S706, the card slot where the user card with the high priority is located is switched to the main communication module, and then a network-up instruction is issued for network-up. This step is not implemented by the second switching unit 308 and the second network-start control unit 309 together.
And step S707, directly issuing a network-up command to start up the network. This step is implemented by the second net hauling control unit 309.
Fig. 8 is a flowchart of executing the handover when the mobile terminal receives the command for switching the correspondence between the user card and the communication module. The process comprises the following steps:
step S801, receiving an instruction for switching a correspondence relationship between the card slot and the main communication module. This step is implemented by the instruction receiving unit 310.
Step S802, determine whether the user switch enable is on, if yes, go to step S803, otherwise go to step S804. This step is implemented by the fifth judging unit 311.
Step S803 is to perform data dialing after switching the correspondence between the card slot and the main communication module, which is implemented by the fifth switching unit 312 and the data dialing unit 313.
Step S804, data dialing is directly performed. This step is implemented by the data dialing unit 313.
Fig. 9 is a flow chart of the handover module of the present invention performing a handover. The process comprises the following steps:
step S901, determining whether the card slot currently corresponding to the main communication module is the same as the card slot after switching. If so, the process proceeds to step S903, otherwise, the process proceeds to step S902. This step is implemented by the sixth judging unit 314.
And S902, clearing the corresponding relation of the currently stored card slots in the main communication module and the auxiliary communication module, and resetting the card slots corresponding to the main communication module and the auxiliary communication module according to the switched card slot pair. This step is implemented by the reset unit 315.
And step S903, directly issuing a network-up command to start up the network.
In summary, the present invention sets different priorities for different user cards and sets the priority level that can be matched to the main communication module, when detecting that a user card is inserted, obtains the priority level of the user card according to the read card information, and switches the card slot in which the user card is located to the main communication module or the sub-communication module according to the priority level of the user card. Different user cards are matched with different communication modules according to the priority of the user cards, the requirement of an operator for fuzzy identification of the card slot is met, the user does not need to care which card slot the card is inserted into, which operator card, the scheme can automatically adapt to the corresponding communication module, even the user can manually set which card is the main card, the requirement of using the highest network standard supported by the card without changing the card is met, and more convenient services are provided for the user.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A self-adaptive switching method for a mobile terminal card slot is disclosed, wherein the mobile terminal comprises a main communication module and an auxiliary communication module, and the method is characterized by comprising the following steps:
according to the card type of the user card and the type of the operator, predefining the priority levels of different user cards and the priority level of the user card which can be matched with the main communication module;
reading card information of a user card in the mobile terminal card slot, and acquiring a corresponding priority level of the user card according to the card information, wherein the card information comprises a card type and a type of an operator to which the card information belongs;
and switching the card slot in which the user card is positioned to the main communication module or the auxiliary communication module according to the priority level corresponding to the user card.
2. The switching method according to claim 1, wherein the step of switching the card slot in which the subscriber identity card is located to the primary communication module or the secondary communication module according to the priority level of the subscriber card comprises:
when the mobile terminal detects only one user card, judging whether the user card can be matched with the main communication module according to the priority level of the user card;
if yes, switching the card slot where the user card is located to the main communication module, and then issuing a network-up instruction to start up the network, otherwise, directly issuing the network-up instruction to start up the network.
3. The switching method according to claim 1, wherein the step of switching the card slot in which the subscriber identity card is located to the primary communication module or the secondary communication module according to the priority level of the subscriber card comprises:
when the mobile terminal detects two user cards, judging whether the priority levels of the two user cards are the same;
if the two user cards are the same, judging whether the two user cards can be matched with the main communication module, if so, starting a user switch to enable the two user cards, and then issuing a network-up instruction to start up the network, otherwise, directly issuing the network-up instruction to start up the network;
if not, judging whether the user card with high priority can be matched with the main communication module, if so, switching the card slot in which the user card with high priority is positioned to the main communication module and then issuing a network-up instruction to start up the network, otherwise, directly issuing the network-up instruction to start up the network.
4. The switching method according to claim 3, wherein the step of switching the card slot in which the subscriber identity card is located to the primary communication module or the secondary communication module according to the priority level of the subscriber card comprises:
receiving an instruction for switching the corresponding relation between the card slot and the main communication module;
judging whether the user switch is enabled or not;
if yes, switching the corresponding relation between the card slot and the main communication module and then dialing data, otherwise, directly dialing data.
5. The switching method according to any one of claims 1 to 4, wherein the step of switching the card slot in which the user card is located to the primary communication module or the secondary communication module according to the priority level corresponding to the user card further comprises:
judging whether the current corresponding card slot of the main communication module is the same as the switched card slot;
if not, the corresponding relation of the currently stored card slots in the main communication module and the auxiliary communication module is cleared, and the card slots corresponding to the main communication module and the auxiliary communication module are reset according to the switched card slot pairs.
6. An adaptive switching system of a mobile terminal card slot, the mobile terminal comprises a main communication module and an auxiliary communication module, and the system is characterized by comprising:
the pre-defining module is used for pre-defining the priority levels of different user cards and the priority level of the user card which can be matched with the main communication module according to the card type of the user card and the type of an operator to which the user card belongs;
the identification module is used for reading card information of a user card in a card slot of the mobile terminal and acquiring a priority level corresponding to the user card according to the card information, wherein the card information comprises a card type and an operator type to which the card information belongs;
and the switching module is used for switching the card slot where the user card is located to the main communication module or the auxiliary communication module according to the priority level corresponding to the user card.
7. The switching system according to claim 6, wherein the switching module comprises:
the first judging unit is used for judging whether the mobile terminal can be matched with the main communication module according to the priority level of the user card when the mobile terminal detects only one user card;
the first switching unit is used for switching the card slot of the user card to the main communication module when the priority level of the user card can be matched with the main communication module;
and the first networking control unit is used for switching the card slot where the user card is located to the main communication module and then issuing a networking instruction to be networked, or directly issuing a networking instruction to be networked.
8. The switching system according to claim 6, wherein the switching module comprises:
the second judging unit is used for judging whether the priority levels of the two user cards are the same or not when the mobile terminal detects the two user cards;
the third judging unit is used for judging whether the two user cards can be matched with the main communication module when the priorities of the two user cards are the same;
the switch enabling unit is used for starting a user switch when the two user cards can be matched with the main communication module;
the fourth judging unit is used for judging whether the user card with the high priority can be matched with the main communication module when the priorities of the two user cards are different;
the second switching unit is used for switching the card slot where the high-priority user card is located to the main communication module when the high-priority user card can be matched with the main communication module;
and the second network-starting control unit is used for issuing a network-starting command to start the network after the user change-over switch is turned on, or is used for issuing a network-starting command to start the network after the card slot where the user card with high priority is located is switched to the main communication module, or is used for directly issuing a network-starting command to start the network.
9. The switching system according to claim 8, wherein the switching module comprises:
the instruction receiving unit is used for receiving an instruction for switching the corresponding relation between the card slot and the main communication module;
a fifth judging unit, configured to judge whether the user switch enable is turned on;
a fifth switching unit, configured to switch a correspondence between the card slot and the main communication module when the user switch is enabled;
and the data dialing unit is used for carrying out data dialing after switching the corresponding relation between the card slot and the main communication module or directly carrying out data dialing.
10. The switching system according to any one of claims 6 to 9, wherein the switching module comprises:
a sixth judging unit, configured to judge whether a card slot currently corresponding to the master communication module is the same as the card slot after switching;
and the resetting unit is used for clearing the corresponding relation of the currently stored card slots in the main communication module and the auxiliary communication module and resetting the card slots corresponding to the main communication module and the auxiliary communication module according to the switched card slot pair when the card slot corresponding to the main communication module is different from the switched card slot.
11. A mobile terminal comprising a system according to any of claims 6 to 9.
CN201510218423.5A 2015-04-30 2015-04-30 Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal Active CN106211250B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510218423.5A CN106211250B (en) 2015-04-30 2015-04-30 Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal
PCT/CN2015/080307 WO2016173071A1 (en) 2015-04-30 2015-05-29 Mobile terminal, and adaptive switching method and system for card slot therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510218423.5A CN106211250B (en) 2015-04-30 2015-04-30 Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal

Publications (2)

Publication Number Publication Date
CN106211250A CN106211250A (en) 2016-12-07
CN106211250B true CN106211250B (en) 2020-01-10

Family

ID=57198919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510218423.5A Active CN106211250B (en) 2015-04-30 2015-04-30 Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal

Country Status (2)

Country Link
CN (1) CN106211250B (en)
WO (1) WO2016173071A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172271A (en) * 2017-03-31 2017-09-15 捷开通讯(深圳)有限公司 A kind of mobile terminal and its neck switching method and the device with store function
CN107135501B (en) * 2017-07-05 2024-04-12 深圳传音控股股份有限公司 Intelligent card management method and system based on intelligent terminal
CN109756633B (en) * 2017-11-01 2021-03-30 中国电信股份有限公司 Call answering method and system
CN108633109B (en) * 2018-05-11 2021-07-20 中国联合网络通信集团有限公司 Method and device for identifying main card of double-card terminal
CN109618329B (en) * 2018-12-20 2021-11-05 南京熊猫电子股份有限公司 Automatic dialing device and method compatible with multi-standard SIM card
CN112615664A (en) * 2020-12-10 2021-04-06 北京天海达科技有限公司 Beidou short message multi-card user machine and implementation method
CN113163462B (en) * 2021-02-23 2022-11-25 深圳市优克联新技术有限公司 Cellular network switching method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094476A (en) * 2007-07-23 2007-12-26 中兴通讯股份有限公司 Method and device for implementing single mode, multiple cards and single standby in mobile terminal
CN101287236A (en) * 2008-05-27 2008-10-15 德信无线通讯科技(北京)有限公司 Connecting method for mobile phone with double channels and mobile phone with double channels
CN102123379A (en) * 2011-03-11 2011-07-13 华为终端有限公司 User card switching method and device and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068414A (en) * 2007-05-23 2007-11-07 中兴通讯股份有限公司 Double-mode double-standby mobile terminal and realizing method thereof
KR101053886B1 (en) * 2008-08-11 2011-08-04 삼성전자주식회사 Smart card recognition method and device in dual mode mobile terminal
CN102307051A (en) * 2011-07-08 2012-01-04 宇龙计算机通信科技(深圳)有限公司 Multi-card mobile terminal, and control method thereof and system
CN104168387B (en) * 2014-08-25 2016-04-06 深圳市中兴移动通信有限公司 Mobile phone users identification card changing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094476A (en) * 2007-07-23 2007-12-26 中兴通讯股份有限公司 Method and device for implementing single mode, multiple cards and single standby in mobile terminal
CN101287236A (en) * 2008-05-27 2008-10-15 德信无线通讯科技(北京)有限公司 Connecting method for mobile phone with double channels and mobile phone with double channels
CN102123379A (en) * 2011-03-11 2011-07-13 华为终端有限公司 User card switching method and device and mobile terminal

Also Published As

Publication number Publication date
WO2016173071A1 (en) 2016-11-03
CN106211250A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106211250B (en) Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal
EP2986059A1 (en) Method for automatic network search of mobile terminal and mobile terminal
CN103648146B (en) Terminal network selection method and terminal
EP3169113B1 (en) Network access method and mobile communications terminal
WO2017084498A1 (en) Method and device for user equipment network processing and user equipment
CN105530626A (en) Network mode configuration method and mobile terminal
EP3188532A1 (en) Network access method and mobile terminal
CN106658522B (en) Communication interference processing method and terminal
CN106714140B (en) Communication method and mobile terminal
CN110831077B (en) Mobile data service switching method, terminal and computer storage medium
CN103945500A (en) Selection access method and apparatus based on multi-standard networks
EP2701410B1 (en) Incoming call processing method for dual mode terminal and dual mode terminal thereof
CN109996315B (en) Network searching method and device of multi-card multi-standby terminal, storage medium and electronic equipment
CN107529154B (en) Communication method and device of multimode terminal
CN114125991B (en) Network searching method and device under multi-card mode and terminal equipment
EP2685780B1 (en) Mobile phone and data processing method therefor
WO2018014369A1 (en) Self-adaptive method, device, and terminal for data service, and computer storage medium
CN101605378A (en) A kind of method of automatically selecting calling number by multi-mode terminal and device
US10334553B2 (en) Wireless communications network registration method and terminal
CN106537956B (en) User identification card control method and mobile terminal
CN113242542B (en) Network searching control method and device of mobile terminal and mobile terminal
CN107466087B (en) Network searching method and mobile terminal
KR101543286B1 (en) Method for state transition and network equipment
US9883051B2 (en) Method and system for usage of manual PLMN selection mode
CN105682217B (en) Network registration method, network registration device and 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