CN107222863A - A kind of method and device of network locked - Google Patents

A kind of method and device of network locked Download PDF

Info

Publication number
CN107222863A
CN107222863A CN201710533340.4A CN201710533340A CN107222863A CN 107222863 A CN107222863 A CN 107222863A CN 201710533340 A CN201710533340 A CN 201710533340A CN 107222863 A CN107222863 A CN 107222863A
Authority
CN
China
Prior art keywords
network
identity information
lock operation
subscriber identification
card
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
Application number
CN201710533340.4A
Other languages
Chinese (zh)
Inventor
孙安国
储素霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yude Technology Co Ltd
Original Assignee
Shanghai Yude Technology 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 Shanghai Yude Technology Co Ltd filed Critical Shanghai Yude Technology Co Ltd
Priority to CN201710533340.4A priority Critical patent/CN107222863A/en
Publication of CN107222863A publication Critical patent/CN107222863A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of method and device of network locked.This method includes:The identity information in subscriber identification card is obtained, the identity information includes Mobile Country Code MCC, Mobile Network Code and packet identification file;When the identity information and preparatory condition are mismatched, lock operation is performed to network.The technical scheme of the embodiment of the present invention, determines whether for legal card, to prevent illegal card registered network, improve network security, ensured the rights and interests of entity operator by the identity information recognized in subscriber identification card.

Description

A kind of method and device of network locked
Technical field
The present embodiments relate to mobile terminal network technology, more particularly to a kind of method and device of network locked.
Background technology
With the development of science and technology, except this three big operation of China Mobile, CHINAUNICOM and China Telecom being widely used Outside business, there are some virtual operator's generally existings, also because the low feature of rate, obtain the accreditation of some users, especially It is that many mobile terminals are that have double-card dual-standby now, the Mobile phone card of virtual operation business very big city has been given in the presence of the second neck Field space.This also causes the presence of a problem, exactly when being networked to mobile phone, it is impossible to correctly judge whether Mobile phone card closes Method, causes during registered network, there is a situation where the mistake that networks, the card for being originally not belonging to a certain operator is have registered this The network of operator, causes damage to the operator.
The content of the invention
The embodiment of the present invention provides a kind of method and device of network locked, is normally noted with the network for realizing each operator Volume.
In a first aspect, the embodiments of the invention provide a kind of method of network locked, this method includes:
The identity information in subscriber identification card is obtained, the identity information includes Mobile Country Code MCC, Mobile Network Code And packet identification file;
When the identity information and preparatory condition are mismatched, lock operation is performed to network.
Further, in addition to:
Identity information attribute in subscriber identification card determines networking white list;
Accordingly, when the identity information and preparatory condition are mismatched, lock operation is performed to network, including:
When the condition in the identity information and networking white list is mismatched, lock operation is performed to network.
Further, after lock operation is performed to network, in addition to:
User is pointed out input unlocking pin, when the unlocking pin and preset password match, it is allowed to user's body Part identification card accesses network.
Further, also include after lock operation is performed to network:
The subscriber identification card is defined as illegal card, and makes corresponding warning prompt.
Further, corresponding warning prompt is made, including:
Ejection includes the warning window of default word content.
Second aspect, the embodiment of the present invention additionally provides a kind of device of network locked, and the device includes:
Data obtaining module, for obtaining the identity information in subscriber identification card, the identity information includes movement National code, Mobile Network Code and packet identification file;
Network locked module, for when the identity information is mismatched with preparatory condition, lock operation to be performed to network.
Further, in addition to:
White list determining module, networking white list is determined for the identity information attribute in subscriber identification card;
Accordingly, the network locked module specifically for:
When the condition in the identity information and networking white list is mismatched, lock operation is performed to network.
Further, in addition to Password Input module, specifically for:
After lock operation is performed to network, user is pointed out input unlocking pin, it is close with presetting in the unlocking pin When code-phase is matched, it is allowed to which the subscriber identification card accesses network.
Further, in addition to warning prompt module, specifically for:
The subscriber identification card is defined as illegal card, and makes corresponding warning prompt.
Further, the warning prompt module is additionally operable to:
Ejection includes the warning window of default word content.
The technical scheme of the embodiment of the present invention, determines whether to close by the identity information recognized in subscriber identification card Method card, prevents illegal card registered network, improves network security, ensured the rights and interests of entity operator.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for network locked that the embodiment of the present invention one is provided;
Fig. 2 is a kind of apparatus structure schematic diagram for network locked that the embodiment of the present invention two is provided.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the method for network locked that the embodiment of the present invention one is provided, and the present embodiment is applicable to The situation that subscriber identification card networks is determined whether, this method can be performed by the device of network locked, the device It can be realized by software and/or hardware, this method specifically includes following steps:
S110, the identity information obtained in subscriber identification card, the identity information include Mobile Country Code MCC, mobile network Network code and packet identification file.
Wherein, SIM (the Subscriber Identification that subscriber identification card is namely used extensively Module) block, user inserts SIM card in mobile terminal, login network access, you can realize communication.Many letters are included in SIM card Breath, can determine the identity of SIM card by the information in reading SIM card, such as Mobile Country Code MCC MCC, Mobile Network Code MNC with And packet identification file GID etc..MCC resource is distributed unitedly and managed by International Telecommunication Association, belonging to unique identification mobile subscriber Country, totally 3, China is 460.MNC is used for recognizing the mobile network belonging to mobile client, is typically made up of 2-3 bit digitals. The general relevant telecommunication administrations by country of MNC are distributed unitedly, and same network operator can possess one or more MNC, but Different network operators cannot share identical MNC.There are two GSM networks in current China, respectively by China Mobile and middle League of Nations Logical operation, MNC is 00 and 01 respectively.Due to MNC Special Significance, once setting is not allow change in a network for it.Point Group identification file GID is that entity operator or void are recognized using it in an information in SIM card, the embodiment of the present invention Intend operator.
S120, when the identity information and preparatory condition are mismatched, lock operation is performed to network.
Wherein, MCC, MNC and GID in SIM card are read out simultaneously, whether judgement matches with preparatory condition.In advance If condition can be set according to actual conditions, the corresponding content of MCC, MNC and GID is such as limited respectively.Optionally, can basis Identity information attribute in subscriber identification card determines networking white list.Bar in the identity information and networking white list When part is mismatched, lock operation is performed to network.If during condition coupling in identity information and networking white list, being considered as Legal card, does not lock network, can be with normal registration network.If identity information is mismatched with preparatory condition, then it is assumed that be illegal Card, does not allow registered network, and is sounded a warning prompting to user, it is alternatively possible to which ejecting includes the warning of default word content Window, default word content can be set according to actual conditions, for example, can be that " this card is illegal card, forbids registering net Network ".The reason for this problem occur is due to the presence of virtual operator.By taking China Mobile as an example, MNC and MCC is read, can be with Determine that the network of SIM card belongs to China Mobile, but be due to the presence for having virtual operator, can not be judged according to MNC and MCC be Virtual operator or China Mobile, virtual operator is may be determined whether according to GID, if virtual operator, then can not The network of normal registration China Mobile.Now, if it is desired to register the network of China Mobile, then need to obtain being permitted for China Mobile Can, such as entity operator can provide a unlocking pin, when wanting to open the virtual operator, then provide it this Unlocking pin.After network is locked, system can point out user to input unlocking pin, when the user's input got password with When preset password matches, the SIM card normal registration network is allowed for.Overall plan is as follows in code implementation process: Load white list configuration file, and save the data in SML_LIST, load SIM card and obtain MCC, MNC in SIM card and GID.Check whether MCC, MNC and GID have complete occurrence in SML_LIST, if so, being then considered legal card, normal searching Network, if it is not, being then considered illegal card, does not search for network, and Network lock are returned into AP ends, Keyguard display unblocks Interface simultaneously points out user to unlock, if user successfully unlocks, normal registration network, otherwise keeps lock network state.
The technical scheme of the embodiment of the present invention, determines whether to close by the identity information recognized in subscriber identification card Method card, prevents illegal card registered network, improves network security, ensured the rights and interests of entity operator.
Embodiment two
Fig. 2 is a kind of apparatus structure schematic diagram for network locked that the embodiment of the present invention two is provided, and the device includes:
Data obtaining module 210, for obtaining the identity information in subscriber identification card, the identity information includes moving Dynamic national code, Mobile Network Code and packet identification file;
Network locked module 220, for when the identity information is mismatched with preparatory condition, locking behaviour to be performed to network Make.
Further, in addition to:
White list determining module, networking white list is determined for the identity information attribute in subscriber identification card;
Accordingly, the network locked module 220 specifically for:
When the condition in the identity information and networking white list is mismatched, lock operation is performed to network.
Further, in addition to Password Input module, specifically for:
After lock operation is performed to network, user is pointed out input unlocking pin, it is close with presetting in the unlocking pin When code-phase is matched, it is allowed to which the subscriber identification card accesses network.
Further, in addition to warning prompt module, specifically for:
The subscriber identification card is defined as illegal card, and makes corresponding warning prompt.
Further, the warning prompt module is additionally operable to:
Ejection includes the warning window of default word content.
The method that the device of above-mentioned network locked can perform the network locked that any embodiment of the present invention is provided, possesses and holds The corresponding functional module of row networking locking method and beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of method of network locked, it is characterised in that including:
The identity information in subscriber identification card is obtained, the identity information includes Mobile Country Code MCC, Mobile Network Code and divided Group identification file;
When the identity information and preparatory condition are mismatched, lock operation is performed to network.
2. according to the method described in claim 1, it is characterised in that also include:
Identity information attribute in subscriber identification card determines networking white list;
Accordingly, when the identity information and preparatory condition are mismatched, lock operation is performed to network, including:
When the condition in the identity information and networking white list is mismatched, lock operation is performed to network.
3. according to the method described in claim 1, it is characterised in that after lock operation is performed to network, in addition to:
User is pointed out input unlocking pin, when the unlocking pin and preset password match, it is allowed to which the user identity is known Network Ka not accessed.
4. according to the method described in claim 1, it is characterised in that also include after lock operation is performed to network:
The subscriber identification card is defined as illegal card, and makes corresponding warning prompt.
5. method according to claim 4, it is characterised in that make corresponding warning prompt, including:
Ejection includes the warning window of default word content.
6. a kind of device of network locked, it is characterised in that including:
Data obtaining module, for obtaining the identity information in subscriber identification card, the identity information includes mobile national Code, Mobile Network Code and packet identification file;
Network locked module, for when the identity information is mismatched with preparatory condition, lock operation to be performed to network.
7. device according to claim 6, it is characterised in that also include:
White list determining module, networking white list is determined for the identity information attribute in subscriber identification card;
Accordingly, the network locked module specifically for:
When the condition in the identity information and networking white list is mismatched, lock operation is performed to network.
8. device according to claim 6, it is characterised in that also including Password Input module, specifically for:
After lock operation is performed to network, user is pointed out input unlocking pin, in the unlocking pin and preset password phase During matching, it is allowed to which the subscriber identification card accesses network.
9. device according to claim 6, it is characterised in that also including warning prompt module, specifically for:
After lock operation is performed to network, the subscriber identification card is defined as illegal card, and make corresponding police Accuse prompting.
10. device according to claim 9, it is characterised in that the warning prompt module is additionally operable to:
Ejection includes the warning window of default word content.
CN201710533340.4A 2017-07-03 2017-07-03 A kind of method and device of network locked Pending CN107222863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710533340.4A CN107222863A (en) 2017-07-03 2017-07-03 A kind of method and device of network locked

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710533340.4A CN107222863A (en) 2017-07-03 2017-07-03 A kind of method and device of network locked

Publications (1)

Publication Number Publication Date
CN107222863A true CN107222863A (en) 2017-09-29

Family

ID=59951600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710533340.4A Pending CN107222863A (en) 2017-07-03 2017-07-03 A kind of method and device of network locked

Country Status (1)

Country Link
CN (1) CN107222863A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090305668A1 (en) * 2008-06-10 2009-12-10 Samsung Electronics Co., Ltd. Method and system for protection against the unauthorized use of a terminal
CN102056148A (en) * 2009-11-02 2011-05-11 中兴通讯股份有限公司 Anti-breaking method for network locking mobile terminal and network locking mobile terminal
CN102075608A (en) * 2009-11-20 2011-05-25 中兴通讯股份有限公司 Method and encryption chip used for encrypting mobile terminals, and mobile terminal
CN102131182A (en) * 2011-03-14 2011-07-20 中兴通讯股份有限公司 Network locking method and device for mobile terminal
CN103067909A (en) * 2012-12-28 2013-04-24 华为终端有限公司 Method and device for achieving locking card
CN104270741A (en) * 2014-09-23 2015-01-07 广东欧珀移动通信有限公司 Terminal locking method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090305668A1 (en) * 2008-06-10 2009-12-10 Samsung Electronics Co., Ltd. Method and system for protection against the unauthorized use of a terminal
CN102056148A (en) * 2009-11-02 2011-05-11 中兴通讯股份有限公司 Anti-breaking method for network locking mobile terminal and network locking mobile terminal
CN102075608A (en) * 2009-11-20 2011-05-25 中兴通讯股份有限公司 Method and encryption chip used for encrypting mobile terminals, and mobile terminal
CN102131182A (en) * 2011-03-14 2011-07-20 中兴通讯股份有限公司 Network locking method and device for mobile terminal
CN103067909A (en) * 2012-12-28 2013-04-24 华为终端有限公司 Method and device for achieving locking card
CN104270741A (en) * 2014-09-23 2015-01-07 广东欧珀移动通信有限公司 Terminal locking method and device

Similar Documents

Publication Publication Date Title
US7505758B2 (en) Apparatus and method for setting use restriction of mobile communication terminal
AU743542B2 (en) Network operator controlled locking and unlocking mechanism for mobile telephones
US5600708A (en) Over the air locking of user identity modules for mobile telephones
CN109688186B (en) Data interaction method, device, equipment and readable storage medium
US20110081950A1 (en) System and method for pairing a uicc card with a particular mobile communications device
CN101631310A (en) Locking method, unlocking method and device thereof, network equipment and communication terminal
CN109151820A (en) One kind being based on the safety certifying method and device of " one machine of a people, one card No.1 "
US20200228981A1 (en) Authentication method and device
CN107093232A (en) A kind of gate inhibition's verification method and system based on mobile terminal
CN112203274B (en) Home information display method and device
WO2018010480A1 (en) Network locking method for esim card, terminal, and network locking authentication server
CN101489225A (en) Unlocking method, apparatus and system for user recognition module card
CN104700021A (en) Remote unlocking method and system
CN104660613A (en) Authentication method of user identification module and electronic equipment
CN112468497B (en) Block chain terminal equipment authorization authentication method, device, equipment and storage medium
US9160391B2 (en) Mobile phone and data processing method thereof
WO2018137309A1 (en) Wireless communication processing method and device
JP5584479B2 (en) Terminal line opening system and terminal line opening method
WO2016184091A1 (en) Double-card network locking method and apparatus
CN103607508A (en) Credential management method, credential management device and handset terminal
CN107222863A (en) A kind of method and device of network locked
US20120278857A1 (en) Method for unlocking a secure device
CN110191464B (en) Method and system for preventing SIM card from being stolen
CN110611909B (en) Identity recognition method and system based on mobile terminal
CN103813326A (en) Network accessing and locking method and network accessing and locking equipment for terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170929