CN107889096A - A kind of method and its terminal for realizing single unblock lock network - Google Patents
A kind of method and its terminal for realizing single unblock lock network Download PDFInfo
- Publication number
- CN107889096A CN107889096A CN201711240068.7A CN201711240068A CN107889096A CN 107889096 A CN107889096 A CN 107889096A CN 201711240068 A CN201711240068 A CN 201711240068A CN 107889096 A CN107889096 A CN 107889096A
- Authority
- CN
- China
- Prior art keywords
- lock network
- file
- lock
- network
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of method and its terminal for realizing single unblock lock network, it comprises the following steps:Judge whether there is lock network file in file system;Judge whether reliable file memory block has lock network file;Judge the integrality and legitimacy of lock network file in file system, if imperfect or illegal, delete the lock network file in file system, and lock network information write-in file system generation lock network file is given tacit consent to according to code;Judge lock network file in file system lock network flag whether set.The method for realizing single unblock lock network of the present invention and its great advantage of terminal are after terminal unlocking, can only be that this start unblock other SIM cards can carry out searching net operation with normal use, after being started shooting again after shutdown, terminal is still lock network state.
Description
Technical field
The present invention relates to mobile communication application and security technology area, particularly a kind of side for realizing single unblock lock network
Method and its terminal.
Background technology
At present, telecommunication service operator in order to realize to terminal control (terminal here include mobile phone, card of surfing Internet, shifting
The equipment that dynamic WIFI, fixed station etc. carry out voice using SIM card or data communicate), it is necessary to which the mode locked with terminal network controls
Terminal can only in specific one or the network of multiple telecom operators normal use, such technology i.e. lock network.Together
When due to telecom operators' business demand or other demands, need to meet that terminal uses it in specific period or occasion
The needs of his carrier network, at this moment just need to carry out network unblock to terminal.
Existing commonplace lock network technology is that some storage location or storage file of mobile phone are arranged into lock network mark
Know position or lock network file.Specific operating method is probably divided into two kinds:One kind is to be entered in production or before sales using lock network instrument
Row lock network operates, and another kind is the carrier network row for solidifying lock network flag in image file is produced and needing to lock
Table, after burning image file, equipment is at lock network state.Unblock is mainly raw by some information of terminal, such as IMEI
Into unlocking pin, the instruction of unlocking pin is then included by input, special unlocking tool can also be developed, to release terminal
In lock network flag or modification lock network file.So terminal can uses the carrier network outside locking network.
At least there are the following problems for currently available technology:Existing lock network technology is easily locked into after lock network by disposable solution
Row all cracks, so as to cause telecommunication service operator to lose the control to terminal;It can not ensure to perform telecommunication service fortune completely
Seek the lock network purpose of business.
It is an object of the invention to solve the defects of above-mentioned prior art, there is provided a kind of net locking method for realizing single unblock
And terminal, solve after realizing lock network in the prior art, easily disposably unlocked the safety issue cracked.
The content of the invention
It is an object of the invention to overcome prior art defect, there is provided a kind of single unblock net locking method and terminal, solve
After realizing lock network in the prior art, easily the safety issue cracked is disposably unlocked.
The technical scheme is that:A kind of method for realizing single unblock lock network, it comprises the following steps:
Step 1, judge whether there is lock network file in file system, if not having, carry out step 2, if so, then carrying out
Step 3;
Step 2, judges whether reliable file memory block has lock network file, if there is lock network file reliable file memory block,
Then judge the integrality and legitimacy of lock network file, judge lock network file then successfully is write into file system;If reliable file
Memory block does not have lock network file or judges that integrality fails, then code is given tacit consent into lock network information write-in file system generation lock network
File;
Step 3, judge the integrality and legitimacy of lock network file in file system, if imperfect or illegal, delete
Give tacit consent to lock network information write-in file system generation lock network file except the lock network file in file system, and according to code;
Step 4, judge lock network file in file system lock network flag whether set, if set, according to described by
The lock network information of lock network file performs lock network operation;It is automatic to carry out lock network flag position position if the non-set of lock network flag
The lock network information execution lock network operation of operation, then lock network file described by basis.
Preferably, further comprising the steps of, by lock network information compared with the PLMN network informations of SIM card, judgement is
No to meet lock network information requirements, if met, net operation is searched in initiation, if do not met, does not initiate to search net operation.
Preferably, in the case where not initiating to search net operation state, then receive PC unlocking tools or AT unlock instructions carry out single solution
Lock operation.
Preferably, when performing single unblock operation, lock network is identified into bit clear, into released state, net operation is searched in initiation.
Preferably, in the judgement file system in step 2 when the integrality and legitimacy of lock network file, wherein completely
Property realizes that legitimacy is checked by digital signature by checking check code.
Preferably, in the judgement file system in step 2 when the integrality and legitimacy of lock network file, if completely
Property and validity checking failure, then read fixed lock network information from software code, and lock network text is generated in file system
Part.
It is then standby preferably after initiating to search net operation, shutdown request is waited, finally carries out power-off operation.
A kind of terminal for realizing single unblock lock network, it is characterised in that including:
Lock network file judge module, for judging that lock network file whether there is, when lock network file is not present, then into lock network
File generating module;In the presence of lock network file, then into lock network mark judge module;
Lock network file generating module, the result judged according to lock network file, decide whether to generate lock network file;
Lock network flag judge module, judge lock network flag whether set, if set, perform lock network flow;If lock
The non-set of net flag bit, then into automatic lock network module:
Automatic lock network module, set operation is carried out to lock network flag, then performs lock network flow;
Single unlocked state, the lock network unlock instruction of input is responded, lock network is identified into bit clear, perform solution lock network flow,
Terminal is allowed to carry out searching net using the SIM card of non-lock network operator and stay net operation.
Preferably, in addition to file verification module, for verifying the integrality and legitimacy of lock network file, and tested in file
After card failure, circular document removing module.
Preferably, in addition to file removing module, for deleting the lock network file of authentication failed, and the lock network text is notified
Part generation module.
In summary, the beneficial effects of the present invention are:The method and its terminal of realizing single unblock lock network of the present invention,
It is after terminal unlocking, can only is that this start unblock other SIM cards can carry out searching net operation with normal use, after shutdown again
After start, terminal is still lock network state.
The present invention is described in more detail below by embodiment.
Brief description of the drawings
Fig. 1 shows the broad flow diagram of the method for realizing single unblock lock network of the present invention.
Fig. 2 shows the structured flowchart of the terminal for realizing single unblock lock network of the present invention.
Embodiment
The present invention is further described in a manner of embodiment combination accompanying drawing below.
Single unblock net locking method provided in an embodiment of the present invention and terminal, are solved after realizing lock network in the prior art,
The problem of terminal is easily forever unlocked, it is easy to help operator to realize the control to terminal.It is subject to specifically below in conjunction with accompanying drawing
Explanation.
Fig. 1 is the schematic flow sheet that single of the embodiment of the present invention unlocks net locking method, and this method specifically includes following steps:
101. opening terminal apparatus;
102. judge whether there is lock network file in file system, if so, step 103 is performed, if not provided, performing step
104;
The lock network file of the present invention can be realized by a binary file, wherein mainly including lock network information, lock
The information such as net flag, signature and check code;
103. judge whether lock network file is complete and whether legal, and integrality is realized by checking check code, legitimacy
Checked by digital signature;If inspection passes through, step 108 is performed, if it fails, performing step 104;
104. judge whether there is lock network file in reliable memory area, if so, step 105 is then performed, if it is not, holding
Row step 107;
The reliable memory area of the present invention is the region that one piece of user can not directly access, to be connect during production by special tool(s)
Mouth write-in, it is believed that be the memory block of one piece of safety;
105. reading the lock network file in reliable memory area, lock network file is generated in file system;Then step is performed
106;
106. judge whether lock network file is complete and whether legal, and integrality is realized by checking check code, legitimacy
Checked by digital signature;If inspection passes through, step 108 is performed, if it fails, performing step 107;
107. reading fixed lock network information from software code, and lock network file is generated in file system, after the completion of
Perform step 108;
108. judge lock network flag whether setThe information of lock network flag is read from lock network file, if set,
Step 110 is performed, if without set, performs step 109;
109. pair lock network flag carries out set operation, the non-set of lock network flag before 109 execution, that is, current lock network
State is unblock, carries out locking operation automatically, and to lock network flag set, this is also the core procedure of single unblock net locking method
One of;
110. reading lock network information, equipment performs lock network operating process, performs step 111;
111. the PLMN network informations of lock network information and SIM card are compared, if meeting lock network requirement, step is performed
Rapid 112;If not meeting lock network requirement, step 113 is performed;
112. net operation is searched in initiation, entrance is standby, after receiving shutdown request, performs step 117;
113. not initiating to search net operation under lock network state, in this case, the AT unblocks from step 116 can be received
Instruction, into step 114;
114. performing single unblock operation, lock network is identified into bit clear, into released state, performs step 115;
115. carry out searching net operation, it is then standby, shutdown request is waited, performs step 117;
116. initiate AT unblock net operations;
117. power-off operation.
Accordingly, the embodiment of the present invention also provides a kind of terminal using above-mentioned lock network unlocking method, and the terminal includes:
Lock network file judge module 201, for judging whether there is lock network file in file system, is verified in lock network
Afterwards, lock network flag judge module is notified;
File verification module 202, for verifying the integrality and legitimacy of lock network file;And after file verification failure,
Circular document removing module;
File removing module 203, for deleting the lock network file of authentication failed, and circular document generation module;
File generating module 204, for producing new lock network file, the information source of lock network is the lock network of permanent storage area
File or the lock network fileinfo of code area;
Lock network flag judge module 205, for judging lock network flag, if lock network flag is not put
Position, then notify lock network flag set module;
Lock network flag set module 206, for carrying out set to lock network flag;
Lock network module 207, in the case where judging the set of lock network flag, carry out the lock network operation of terminal;
Single unlocked state 208, under lock network state, single unblock net operation can be carried out, after solving lock network, terminal can be with
Use the SIM card for not meeting lock network condition;
After equipment restarts, 201 modules can be reentered, after reaching 207 modules, equipment is still within lock network shape
State, it can only be avoided it is achieved thereby that once solving lock network in the case where terminal works as time open state using the SIM card for not meeting lock network condition
The possibility that terminal is forever cracked.
The method and its terminal of the existing single unblock lock network of the present invention are not limited to above-described embodiment, can carry out a variety of changes
Type.In a word, it is within the scope of the present invention in all improvement not departed from scope of the present invention.
Claims (10)
- A kind of 1. method for realizing single unblock lock network, it is characterised in that comprise the following steps:Step 1, judge whether there is lock network file in file system, if not having, carry out step 2, if so, then carrying out step Three;Step 2, judges whether reliable file memory block has lock network file, if there is lock network file reliable file memory block, sentences The integrality and legitimacy of disconnected lock network file, judge lock network file then successfully is write into file system;If reliable file stores Area does not have lock network file or judges that integrality fails, then code is given tacit consent into lock network information write-in file system generation lock network text Part;Step 3, judge the integrality and legitimacy of lock network file in file system, if imperfect or illegal, delete text Lock network file in part system, and lock network information write-in file system generation lock network file is given tacit consent to according to code;Step 4, judge lock network file in file system lock network flag whether set, if set, according to described by lock network The lock network information of file performs lock network operation;It is automatic to carry out the position bit manipulation of lock network flag if the non-set of lock network flag, Then the lock network information of lock network file described by performs lock network operation.
- 2. the method according to claim 1 for realizing single unblock lock network, it is characterised in that it is further comprising the steps of, will Lock network information judges whether to meet lock network information requirements, if met, sent out compared with the PLMN network informations of SIM card Rise and search net operation, if do not met, do not initiate to search net operation.
- 3. the method according to claim 2 for realizing single unblock lock network, it is characterised in that do not initiating to search net operation shape Under state, then receive PC unlocking tools or AT unlock instructions carry out single unblock operation.
- 4. the method according to claim 3 for realizing single unblock lock network, it is characterised in that perform single unblock operation When, lock network is identified into bit clear, into released state, net operation is searched in initiation.
- 5. the method according to claim 1 for realizing single unblock lock network, it is characterised in that the judgement text in step 2 In part system when the integrality and legitimacy of lock network file, wherein integrality realizes that legitimacy passes through by checking check code Digital signature checks.
- 6. the method according to claim 5 for realizing single unblock lock network, it is characterised in that the judgement text in step 2 In part system when the integrality and legitimacy of lock network file, if integrality and validity checking failure, from software code Fixed lock network information is read, and lock network file is generated in file system.
- 7. the method for realizing single unblock lock network according to claim 2 or 4, it is characterised in that when net operation is searched in initiation Afterwards, it is then standby, shutdown request is waited, finally carries out power-off operation.
- A kind of 8. terminal for realizing single unblock lock network, it is characterised in that including:Lock network file judge module, for judging that lock network file whether there is, when lock network file is not present, then into lock network file Generation module;In the presence of lock network file, then into lock network mark judge module;Lock network file generating module, the result judged according to lock network file, decide whether to generate lock network file;Lock network flag judge module, judge lock network flag whether set, if set, perform lock network flow;If the non-set of lock network flag bit, into automatic lock network module:Automatic lock network module, set operation is carried out to lock network flag, then performs lock network flow;Single unlocked state, the lock network unlock instruction of input is responded, lock network is identified into bit clear, perform solution lock network flow, it is allowed to Terminal carries out searching net using the SIM card of non-lock network operator stays net operation.
- 9. the terminal according to claim 8 for realizing single unblock lock network, it is characterised in that also including file verification mould Block, for verifying the integrality and legitimacy of lock network file, and after file verification failure, circular document removing module.
- 10. the terminal according to claim 9 for realizing single unblock lock network, it is characterised in that also delete mould including file Block, for deleting the lock network file of authentication failed, and notify the lock network file generating module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711240068.7A CN107889096A (en) | 2017-11-30 | 2017-11-30 | A kind of method and its terminal for realizing single unblock lock network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711240068.7A CN107889096A (en) | 2017-11-30 | 2017-11-30 | A kind of method and its terminal for realizing single unblock lock network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107889096A true CN107889096A (en) | 2018-04-06 |
Family
ID=61776334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711240068.7A Pending CN107889096A (en) | 2017-11-30 | 2017-11-30 | A kind of method and its terminal for realizing single unblock lock network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107889096A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101370288A (en) * | 2008-08-06 | 2009-02-18 | 深圳华为通信技术有限公司 | Network locking method and terminal |
CN102075910A (en) * | 2010-12-20 | 2011-05-25 | 华为终端有限公司 | Method and device for locking terminal |
CN102131182A (en) * | 2011-03-14 | 2011-07-20 | 中兴通讯股份有限公司 | Network locking method and device for mobile terminal |
CN104519479A (en) * | 2013-09-27 | 2015-04-15 | 中兴通讯股份有限公司 | Methods for terminal to lock net and unlock net |
-
2017
- 2017-11-30 CN CN201711240068.7A patent/CN107889096A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101370288A (en) * | 2008-08-06 | 2009-02-18 | 深圳华为通信技术有限公司 | Network locking method and terminal |
CN102075910A (en) * | 2010-12-20 | 2011-05-25 | 华为终端有限公司 | Method and device for locking terminal |
CN102131182A (en) * | 2011-03-14 | 2011-07-20 | 中兴通讯股份有限公司 | Network locking method and device for mobile terminal |
CN104519479A (en) * | 2013-09-27 | 2015-04-15 | 中兴通讯股份有限公司 | Methods for terminal to lock net and unlock net |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100366112C (en) | Apparatus and method for controlling use of a SIM card of a mobile terminal | |
US20160019381A1 (en) | Method for writing card over the air, server and smart card | |
CN109484355B (en) | Method and device for forbidding vehicle key | |
CN103415016A (en) | Mobile WIFI hotspot connection processing method and system | |
CN103840944A (en) | Short message authentication method, server and system | |
CN110087241B (en) | Service authorization method, device and system | |
CN104519479A (en) | Methods for terminal to lock net and unlock net | |
CN104268756B (en) | Method of mobile payment and system | |
CN106230813A (en) | Method for authenticating, authentication device and terminal | |
CN107396283A (en) | A kind of router wireless connection authentication method and system | |
CN106856585A (en) | Set up the method and device of short-distance wireless passage | |
CN111031523A (en) | Shared bicycle control system and method based on NFC technology | |
CN105430738B (en) | A kind of method and device for initiating registration | |
CN107889096A (en) | A kind of method and its terminal for realizing single unblock lock network | |
CN105872218A (en) | Anti-theft method and device and mobile phone | |
CN113706743A (en) | Digital key authorization issuing and withdrawing method and system | |
CN102833248B (en) | Remove the method and system of terminal password | |
CN101951570A (en) | Short message box encrypting method for mobile phone and mobile phone | |
CN104703173A (en) | Method, device and system for configuration and detection of terminal application account | |
US20160078235A1 (en) | Device and management module | |
CN105760754A (en) | Method and device for processing application notice | |
CN101127995A (en) | An information processing method for phone-card separated mobile terminal | |
CN104598787B (en) | The file of a kind of artificial mandate and offer trusted operations environment stores and edit methods | |
CN114157754A (en) | Lost mobile phone retrieving method, system and storage medium based on eSIM card | |
CN110191464B (en) | Method and system for preventing SIM card from being stolen |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180406 |