CN108881600B - Random unlocking method based on SIM card slot - Google Patents

Random unlocking method based on SIM card slot Download PDF

Info

Publication number
CN108881600B
CN108881600B CN201710329893.8A CN201710329893A CN108881600B CN 108881600 B CN108881600 B CN 108881600B CN 201710329893 A CN201710329893 A CN 201710329893A CN 108881600 B CN108881600 B CN 108881600B
Authority
CN
China
Prior art keywords
card
sim card
state
sim
mobile processor
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
CN201710329893.8A
Other languages
Chinese (zh)
Other versions
CN108881600A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201710329893.8A priority Critical patent/CN108881600B/en
Publication of CN108881600A publication Critical patent/CN108881600A/en
Application granted granted Critical
Publication of CN108881600B publication Critical patent/CN108881600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides an arbitrary unlocking method based on an SIM card slot, which comprises the following steps: step one, starting up and initializing an SIM card; step two, judging whether at least one white single card and at least one black single card exist in the SIM card; if the judgment result is yes, returning to the first step to initialize the SIM card again; and if the judgment result is negative, reporting the state of the SIM card to the mobile processor module. The invention can enable the user of the double-card product to freely match the SIM card inserted into the card slot, has higher flexibility, can not sense the card falling or network falling state in the process of unlocking the SIM card, and improves the user experience.

Description

Random unlocking method based on SIM card slot
Technical Field
The invention relates to the technical field of information and communication, in particular to an arbitrary unlocking method based on an SIM card slot.
Background
At present, the 3GPP protocol 22.022 specifies that five SimLock functions such as a Network lock (Network), a Network sub-lock (Network sub set), a service provider lock (SP), a group service lock (corporation), and a User lock (User) are supported, and SimLock can be configured for a single-card terminal product of a User individually or in a superposed manner. However, for a dual-card terminal product, two card slots independently share one set of NV item configuration, the card locking behaviors of two SIM cards are independent of each other, and one card slot cannot affect the other card slot. Operators usually require that the control capability of the SimLock card slot can be expanded as much as possible, so as to achieve a better charging mode for the SIM card.
Terminals developed by many manufacturers can simultaneously support multiple SimLock card locking modes, including single card control, double card individual control, double card interaction and the like, although conventional use of users can be met to a certain extent, in some scenes, for example, for a double card terminal product simultaneously supporting WCDMA and GSM modes, if a card slot I is inserted into a white list card to use a 3G network and a card slot II is required to use a GSM network regardless of the type of the card, the card locking control is not flexible enough, long waiting time delay can be caused, and user experience is influenced.
Therefore, it is urgently needed to design a SimLock arbitrary card slot unlocking strategy, which can flexibly control the NV item configuration of the terminal, change the card locking state of another card slot according to the situation of a SIM card inserted into the card slot, and increase the flexibility of the SimLock function.
Disclosure of Invention
According to the random unlocking method based on the SIM card slot, the states of two SIM cards can be judged in the process of starting the SIM cards, if one of the two SIM cards meets the white list condition, the other SIM card is restarted, and the effect that the two SIM cards can be used at the same time is achieved, so that the flexibility of the SimLock function is improved, and different customer configuration requirements are met.
In a first aspect, the present invention provides an arbitrary unlocking method based on a SIM card slot, including:
the method comprises the following steps: starting up and initializing the SIM card;
step two: judging whether at least one white single card and at least one black single card exist in the SIM card;
step three: if the judgment result is yes, returning to the first step to initialize the SIM card again; and if the judgment result is negative, reporting the state of the SIM card to the mobile processor module.
Optionally, before the second step, the state of the SIM card is counted by an AT command module and reported to the mobile processor module.
Optionally, the state of the SIM card includes a combination of a card locking state and a ready state of each SIM card.
Optionally, when AT least one ready state and AT least one card locking state exist in the states of the SIM card, the AT command module reports the AT least one card locking state to the mobile processor module as a busy state.
Optionally, the mobile processor module performs the judgment of the second step according to the report of the AT command module.
Optionally, when the report of the AT command module includes AT least one busy-green status, the mobile processor module determines yes in the step two; and when the report of the AT command module comprises all the card locking or all the ready states, the mobile processor module judges whether the report of the AT command module comprises all the card locking or all the ready states in the step two.
Optionally, the resetting the SIM card in step three above includes restarting the black name single card.
Optionally, the initializing the SIM card again in the third step includes ensuring that the state of the SIM card is a non-card-locked state after the black-name single card is restarted.
Optionally, the third step further includes a step of starting a protocol stack after reporting the state of the SIM card to the mobile processor module, so that the SIM card can normally reside in a network.
Optionally, the number of the SIM cards is two.
According to the random unlocking method based on the SIM card slot, provided by the embodiment of the invention, a user of a double-card product can freely match the SIM card inserted into the card slot, so that the flexibility is higher. In addition, the user can not perceive the card falling or network falling state in the SIM card unlocking process, so that the user experience is improved, and the product competitiveness is enhanced.
Drawings
FIG. 1 is a prior art unlocking schematic;
FIG. 2 is an unlocking schematic diagram of an embodiment of the present invention;
fig. 3 is a flowchart of an arbitrary unlocking method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The SimLock function means that only a specific SIM card can be used for a specific User terminal (User Equipment), and a User can configure five SimLock functions, such as a Network lock (Network), a Network sub-lock (Network Subset), a service provider lock (SP), a group service lock (corporation), and a User lock (User). Specifically, a network lock (network security) restricts a Mobile phone to be used only for a Subscriber Identity Module (SIM) or a Universal Subscriber Identity Module (USIM) of a specific network operator, and a locking item is a Mobile Country Code (MCC) or a Mobile network number (MNC); network sub-lock (Network sub-set connectivity) further limits handsets to only a Subset of SIMs or USIMs, where 6 and 7 digits of International Mobile Subscriber Identity (IMSI) are specified by an operator and represent a certain type of card issued by the operator at a certain time; service Provider lock (SP) limits that a mobile phone can only be used for SIMs or USIMs of a specific Service Provider, and only for Group identity (level 1, GID 1); group service lock (corporation Personalisation) restricts handsets to be used only for SIMs or USIMs within Group users, for Group identity (level 1), GID1) and Group identity (level 2, GID 2); the subscriber lock (U) SIM Personalization restricts the handset to use only for certain SIMs or USIMs, i.e. a certain SIM card for a particular IMSI. The range of the terminal of the five kinds of locks allowed to be parked on the network is gradually reduced. After the SimLock function is enabled, the mobile terminal performs an authentication procedure after the SIM card is started, and matches the IMSI inserted into the card with a white list preset in a Non-Volatile Memory (NV). If the data is matched with the data, the network is normally parked, if the data is not matched with the data, a protocol stack is started to be limited, and a card locking process is started.
For a dual-card terminal product, the SimLock is controlled by an independent card slot, if a single white card is contained in the dual card slot, the single white card is required to control the card slot behavior of the single white card, and also to flexibly control the registered network behavior of another card slot or even the registered network system, so that the configurable degree of the SimLock function of a cooperative operator is increased, the white list action range is expanded, and a client has differentiated experience.
The invention provides an arbitrary unlocking method based on an SIM card slot, which can simultaneously acquire the states of two SIM cards in the starting process, arbitrate whether a combination of a black-and-white single card exists, restart the SIM card of a blacklist if the combination exists, and enable the original SIM card of the blacklist to normally reside in a network after the restart.
Fig. 1 shows a prior art unlocking diagram. As shown in the figure, step S111 and step S112 are respectively normal initialization for the SIM card SIM1 and the SIM card SIM2 when the mobile network is powered on, AT step S121 and step S122, the SIM1 and the SIM2 are respectively connected to the mobile network MN1 and MN2, the states of the SIM1 and the SIM2 are reported to an AT Command (ATC) module AT step S13 through MN1 and MN2, and the states of the two are counted AT the ATC module. Specifically, the states of SIM1 and SIM2 include: SIM1 is in SimLock state (card locked state), SIM2 is in SimLock state; SIM1 is in Ready state (Ready state), SIM2 is in Ready state; SIM1 is in SimLock state, SIM2 is in Ready state; SIM1 is in Ready state and SIM2 is in SimLock state. At step S14, the ATC module reports the states of the SIM1 and the SIM2 to an Application Processor (AP) module for the mobile terminal, so that an operating system such as Android and Apple iOS can be run on the AP module.
Figure 2 shows an unlocking schematic of an embodiment of the invention. As shown in the figure, step S211 and step S212 respectively initialize the SIM card SIM1 and the SIM card SIM2 normally when the mobile terminal is powered on, AT step S221 and step S222, the SIM1 and the SIM2 are respectively connected to the mobile networks MN1 and MN2, the states of the SIM1 and the SIM2 are reported to the AT Command (ATC) module AT step S23 through MN1 and MN2, and the states of the two are counted AT the ATC module. Specifically, the states of the SIM1 and the SIM2 reported to the ATC include: SIM1 is in SimLock state, and SIM2 is in SimLock state; or SIM1 is in Ready state and SIM2 is in Ready state; or SIM1 is in SimLock state and SIM2 is in Ready state; alternatively, SIM1 is in the Ready state and SIM2 is in the SimLock state.
When only one card lock state is known, that is, the SIM1 is in the SimLock state, the SIM2 is in the Ready state, or the SIM1 is in the Ready state, and the SIM2 is in the SimLock state, the SIM card lock state (Busy state) of the card lock is reported to the AP in step S24, the state report of the other SIM card is in the Ready state, and meanwhile, the policy of the SIM card in the Reset card lock state is adopted, and the SIM Busy state is still reported to the AP side in the process of restarting. Specifically, the state of the SIM card reported to the AP includes: SIM1 is in SimLock state, and SIM2 is in SimLock state; or SIM1 is in Ready state and SIM2 is in Ready state; or SIM1 is in SimBusy state, SIM2 is in Ready state; alternatively, SIM1 is in Ready state and SIM2 is in SimBusy state.
After the ATC module waits until the restart and the states of the two cards are both obtained, the ATC module reports the states to the AP in a real form at step S25. Specifically, the states of the SIM1 and the SIM2 reported to the AP include: SIM1 is in SimLock state, and SIM2 is in SimLock state; alternatively, SIM1 is in the Ready state and SIM2 is in the Ready state.
FIG. 3 illustrates a flow diagram of an arbitrary unlocking method of one embodiment of the present invention. After a Processor (CP) for the mobile terminal is powered on, the SIM module is initialized, and an AP (application Processor) module waits for the CP to report a ready state of the card, and then queries a card locking state of the SIM card. At this time, the ATC is equivalent to an arbitration module, counts the states of two SIM cards, and judges whether the states of a card white list and a card black list exist. If the two cards are both white lists or both cards are blacklists, the ATC normally returns the state of the SIM card to the AP; if the two cards are the combination of the white list and the black list, restarting the card of the black list, ensuring that the card of the black list returns to a non-card-locking state after restarting, reporting the non-card-locking state to the AP by the ATC, starting the protocol stack, and finally achieving the purpose that the two cards can be resident in the network to use the network service.
Particularly, in the embodiment of the invention, the card-starting strategy is customized for the specified SIM card by judging the state of the two cards in a time period before the SIM card is started to be initialized, so that the aim of reasonably applying the two cards is fulfilled.
In particular, in an embodiment of the present invention, the SimBusy state is used as an intermediate state between the card locking state and the card non-locking state of the two SIM cards, so that the user does not feel that the network is disconnected or the cards are disconnected when the SimLock is enabled to unlock the card slot.
Compared with a SimLock scheme with a double-card fixed card slot, the random unlocking method based on the SIM card slot provided by the embodiment of the invention is more flexible, realizes the unlocking function depending on the card slot, has strong practicability and simple realization, expands and supplements the basic SimLock function, and improves the user experience.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (5)

1. An arbitrary unlocking method based on a SIM card slot is characterized by comprising the following steps:
the method comprises the following steps: starting up and initializing the SIM card;
step two: judging whether at least one white single card and at least one black single card exist in the SIM card;
step three: if the judgment result is yes, returning to the first step to initialize the SIM card again; if the judgment result is negative, reporting the state of the SIM card to the mobile processor module;
before the second step, the state of the SIM card is counted by an AT command module and reported to the mobile processor module; when AT least one ready state and AT least one card locking state exist in the states of the SIM card, the AT command module reports the AT least one card locking state to the mobile processor module as a busy state, and the mobile processor module performs judgment of the step two according to the report of the AT command module; when the report of the AT command module comprises AT least one busy-green state, the mobile processor module judges that the report of the AT command module comprises AT least one busy-green state in the second step; and when the report of the AT command module comprises all the card locking or all the ready states, the mobile processor module judges whether the report of the AT command module comprises all the card locking or all the ready states in the step two.
2. The method of claim 1, wherein the resetting of the initialization of the SIM card in step three comprises restarting the blacklist card.
3. The method according to claim 2, wherein the resetting the initialization of the SIM card in step three includes ensuring that the state of the SIM card is a non-card-locked state after the black-name single card is restarted.
4. The method according to claim 1, wherein said step three further comprises the step of opening a protocol stack after reporting the state of the SIM card to the mobile processor module, so that the SIM card can always reside in a network.
5. The method of claim 1, wherein the number of SIM cards is two.
CN201710329893.8A 2017-05-11 2017-05-11 Random unlocking method based on SIM card slot Active CN108881600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710329893.8A CN108881600B (en) 2017-05-11 2017-05-11 Random unlocking method based on SIM card slot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710329893.8A CN108881600B (en) 2017-05-11 2017-05-11 Random unlocking method based on SIM card slot

Publications (2)

Publication Number Publication Date
CN108881600A CN108881600A (en) 2018-11-23
CN108881600B true CN108881600B (en) 2020-09-01

Family

ID=64319302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710329893.8A Active CN108881600B (en) 2017-05-11 2017-05-11 Random unlocking method based on SIM card slot

Country Status (1)

Country Link
CN (1) CN108881600B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009045561A1 (en) * 2007-10-05 2009-04-09 Mformation Technologies Inc. System and method for protecting data in wireless devices
CN102780995A (en) * 2012-07-06 2012-11-14 宁波萨瑞通讯有限公司 Network locking method of dual-card dual-standby mobile phone
CN105578445A (en) * 2014-10-14 2016-05-11 中兴通讯股份有限公司 Multi-card multi-standby communication terminal, and network locking method and apparatus
CN106572455A (en) * 2015-10-10 2017-04-19 中兴通讯股份有限公司 Double-card network locking method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10169367B2 (en) * 2014-06-06 2019-01-01 Panzura, Inc. Managing opportunistic locks in a distributed file system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009045561A1 (en) * 2007-10-05 2009-04-09 Mformation Technologies Inc. System and method for protecting data in wireless devices
CN102780995A (en) * 2012-07-06 2012-11-14 宁波萨瑞通讯有限公司 Network locking method of dual-card dual-standby mobile phone
CN105578445A (en) * 2014-10-14 2016-05-11 中兴通讯股份有限公司 Multi-card multi-standby communication terminal, and network locking method and apparatus
CN106572455A (en) * 2015-10-10 2017-04-19 中兴通讯股份有限公司 Double-card network locking method and device

Also Published As

Publication number Publication date
CN108881600A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
US9055443B2 (en) Mobile device-type locking
US8874077B2 (en) Method and apparatus for monitoring and theft prevention
US10368235B1 (en) Wireless device SIM activation while roaming
EP2708069B1 (en) Sim lock for multi-sim environment
US11129014B2 (en) Methods and apparatus to manage inactive electronic subscriber identity modules
US20110077051A1 (en) UICC Control Over Devices Used to Obtain Service
US20080090548A1 (en) Method for tracking mobile communication terminal
CN106714140B (en) Communication method and mobile terminal
WO2012080377A1 (en) Ip-based paging for dsds
EP2196045A1 (en) System and method for protecting data in wireless devices
KR20140024796A (en) Method for managing profiles in subscriber identidy module embedded in user terminal and apparatus using the method
CN103118365B (en) The implementation method of the one many nets of card and multi-mode communication terminal
US10904742B2 (en) Communicating a subscriber identity module to a server, in particular upon changing profiles
US8874170B2 (en) Chip card, an electronic system, a method being implemented by a chip card and a computer program product
CN108881600B (en) Random unlocking method based on SIM card slot
KR20090085319A (en) Method of controlling user lock in mobile telephone
KR100882938B1 (en) Method For Opening the Service Using the OTAOver-The-Air Activation in WCDMAWideband Code Division Multiple Access Mobile Phone
CN103546873A (en) Push-to-talk processing method and device
CN100536612C (en) A method and device to perfect the terminal authentication
WO2011079369A1 (en) Method for unlocking a secure device
US20160323740A1 (en) Authentication commands
KR100641167B1 (en) Initialization method for mobile communication terminal
KR100688173B1 (en) Mobile Communication Terminal and its Operating Method to act within the specific group
EP4236399A1 (en) Method of managing a communication function in a user equipment
US20240089732A1 (en) Techniques for managing communication with wireless devices flagged for certain activity

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant