CN103209263A - Method and system for backup of PUK (PIN Unblocking Key) of SIM (Subscriber Identity Module) - Google Patents

Method and system for backup of PUK (PIN Unblocking Key) of SIM (Subscriber Identity Module) Download PDF

Info

Publication number
CN103209263A
CN103209263A CN2013101041875A CN201310104187A CN103209263A CN 103209263 A CN103209263 A CN 103209263A CN 2013101041875 A CN2013101041875 A CN 2013101041875A CN 201310104187 A CN201310104187 A CN 201310104187A CN 103209263 A CN103209263 A CN 103209263A
Authority
CN
China
Prior art keywords
sim card
puk
backup
module
sim
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.)
Granted
Application number
CN2013101041875A
Other languages
Chinese (zh)
Other versions
CN103209263B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310104187.5A priority Critical patent/CN103209263B/en
Publication of CN103209263A publication Critical patent/CN103209263A/en
Application granted granted Critical
Publication of CN103209263B publication Critical patent/CN103209263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a method and a system for backup of a PUK (PIN Unblocking Key) of an SIM (Subscriber Identity Module). The method of the backup of the PUK of the SIM comprises step 1, reading SIM information and judging whether the SIM is used for the first time or not, entering into the next step if yes, and otherwise entering into a normal operating procedure; step 2, reminding a user whether to back up the PUK on the SIM which is used for the first time, entering into the next step if yes, and otherwise entering into the normal operating procedure; step 3, analyzing and packing the PUK on the SIM; and step 4, storing packed data. Compared with the prior art, the method and system of the backup of the PUK of the SIM has the advantages of enabling the PUK to be convenient to use when the user needs, bringing convenience for the utilization of the user and improving the user experience due to the facts that the SIM is performed scanning and analysis to obtain and store the PUK when the SIM is used for the first time.

Description

A kind of method and system of PUK code of backup of SIM card
Technical field
The present invention relates to a kind of method and system of PUK code of backup of SIM card, particularly relate to a kind of method and system of PUK code of the backup of SIM card based on portable terminal.
Background technology
SIM(Subscriber Identity Module, client identification module) card has PIN(Personal Identification Number, individual's recognition code), PUK(Pin Unblocking Key, the PUK of pin card), 2 yards of PIN2, PUK, be that PIN code is to prevent information leakage and the user often arranges.If 3 PIN code of wrong input; terminal will require the user to import PUK code to recover; input PUK code by mistake when continuous 10 times; SIM will forever scrap so; cause SIM card information forever lose and follow-up a period of time will shut down, if certainly the user can go operator's business hall inquiry or user can also remember the service password of this machine can debarkation net on the business hall inquiry.Therefore backing up PUK code is highly significant for the user of frequent use PIN code function.
Yet the user often forgets or is disinclined to back up PUK code when for the first time using SIM card.How can effectively help the user ID PUK code, to avoid occurring the problem that SIM card information dropout must solve for those skilled in the art.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of method and system of PUK code of backup of SIM card are provided, back up when using for the first time by SIM card, simple to operation, brought convenience to the user.
In order to achieve the above object, the technical solution used in the present invention is, a kind of method of PUK code of backup of SIM card, and based on portable terminal, described SIM card is arranged on the portable terminal, said method comprising the steps of:
Step 1. reading SIM card information is judged that SIM card whether for using first, is then to enter next step, otherwise is entered the normal running program;
Whether step 2. prompting user backs up the PUK code on the SIM card of using first, is then to enter next step, otherwise enters the normal running program;
PUK code on the step 3. pair SIM card is resolved and is packed;
Step 4. is preserved packing data.
Further, the described reading SIM card information of step 1 is the unique identification number ICCID of reading SIM card
Step 1 is described judges whether SIM card comprises for using first:
Whether step 101. reads portable terminal according to SIM card information and exists SIM card to use vestige, is then to be judged as SIM card for reusing state, otherwise carries out next step;
Step 102. starts service processes and monitors operator SMS, judges whether to receive that SIM card that carrier network sends lands the short message of carrier network, is then to carry out next step, monitors otherwise finish service processes;
Step 103. pair short message is resolved, and judges whether comprise the keyword that uses carrier network first in the short message, and keyword and preset keyword are mated, and unanimity then is judged as SIM card and uses first, otherwise withdraws from analysis program.
The described SIM card use of step 101 vestige comprises log, the internet records with the contact person.
The described keyword of step 103 is system or user preset, is used for judging that carrier network sends note and whether comprises the keyword that uses first.
Step 3 comprises:
Character on the step 301. pair SIM card scans, and the character on the SIM card is resolved to character string forms;
Step 302. pair character string is searched for, and searches out ICCID and PUK character string, and ICCID and PUK character string are extracted;
Step 303. divides two line character strings to write file ICCID and PUK, and names the back to preserve.
The invention also discloses a kind of system of PUK code of backup of SIM card, based on portable terminal, described SIM card is arranged on the portable terminal, and described system comprises:
SIM card is used judge module, is used for reading SIM card information, judges that whether SIM card is for using first;
Prompting module, the PUK code on the SIM card that is used for reminding the user whether to back up use first;
The business card scan module is for the PUK code on the SIM card being resolved and packing;
Information is preserved module, is used for packing data is preserved.
Further, described information acquisition module comprises:
The SIM card information reading module is used for reading SIM card information;
Use the vestige acquisition module, be used for reading portable terminal according to SIM card information and whether exist SIM card to use vestige;
Operator SMS is monitored module, is used for starting service processes and monitors operator SMS, judges whether to receive that SIM card that carrier network sends lands the short message of carrier network;
Parsing module is used for short message is resolved, and judges whether comprise the keyword that uses carrier network first in the short message, and keyword and preset keyword are mated.
The business card scan module comprises
The character scan module is used for the character on the SIM card is scanned, and the character on the SIM card is resolved to character string forms;
Extraction module is used for character string is searched for, and searches out ICCID and PUK character string, and ICCID and PUK character string are extracted;
Preserve module, be used for dividing two line character strings to write file ICCID and PUK, and name the back to preserve.
Compared with prior art, the invention has the beneficial effects as follows: obtain PUK code and preservation by when SIM card is used for the first time, SIM card being scanned parsing, when the user needs, can conveniently call, use to the user and brought facility, promoted user's experience.
Description of drawings
Fig. 1 is method flow diagram of the present invention.
Embodiment
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, in order to technical characterictic of the present invention and advantage are carried out more deep annotation.
Method flow diagram of the present invention as shown in Figure 1, a kind of method of PUK code of backup of SIM card, based on portable terminal, described SIM card is arranged on the portable terminal, said method comprising the steps of:
Step 1. reading SIM card information, judge that SIM card whether for using first, is then to enter next step, otherwise enter the normal running program (if the user uses first, certainly exist the use vestige so, for example dealing phone, mail, short message and internet records etc.);
Whether step 2. prompting user backs up the PUK code on the SIM card of using first, is then to enter next step, otherwise enters the normal running program;
PUK code on the step 3. pair SIM card is resolved and is packed;
Step 4. is preserved packing data (file that for example is saved in individual mailbox, PC etc.).
Further, the described reading SIM card information of step 1 is the unique identification number ICCID of reading SIM card.ICCID is that Integrate circuit card identity integrated circuit card identification code (being solidificated in the SIM cards of mobile phones) ICCID is unique identification number of IC-card, have 20 bit digital and form, its coded format is: XXXXXX 0MFSS YYGXX XXXXX.Be described below respectively: the first six digits operator code: China Mobile is: 898600; CHINAUNICOM is: 898601.
Step 1 is described judges whether SIM card comprises for using first:
Whether step 101. reads portable terminal according to SIM card information and exists SIM card to use vestige (described SIM card uses vestige to comprise log, internet records with the contact person), is then to be judged as SIM card for reusing state, otherwise carries out next step;
Step 102. starts service processes and monitors operator SMS, judges whether to receive that SIM card that carrier network sends lands the short message of carrier network, is then to carry out next step, monitors otherwise finish service processes;
Step 103. pair short message is resolved, and judge and whether comprise the keyword that uses carrier network first in the short message (in SIM card for the first time under the situation of logging in network, carrier network can send the note that comprises forms such as " welcoming to use ", service judges whether to receive the note from current Service Dialing Numbers within a certain period of time, if the note of receiving, then resolve and whether mate, if the keyword of coupling definition, then judge it is that SIM card is used first), and keyword and preset keyword mated, unanimity then is judged as SIM card and uses first, otherwise withdraws from analysis program.
The described keyword of step 103 is system or user preset, is used for judging that carrier network sends note and whether comprises the keyword that uses first.
Step 3 comprises:
Character on the step 301. pair SIM card scans, and the character on the SIM card is resolved to character string forms;
Step 302. pair character string is searched for, and searches out ICCID and PUK character string, and ICCID and PUK character string are extracted;
Step 303. divides two line character strings to write file ICCID and PUK, and names (divide two line character strings to write file ICCID and PUK, file designation becomes operator+current time, the form that suffix txt by name or other portable terminals can read).
The invention also discloses a kind of system of PUK code of backup of SIM card, based on portable terminal, described SIM card is arranged on the portable terminal, and described system comprises:
SIM card is used judge module, is used for reading SIM card information, judges that whether SIM card is for using first;
Prompting module, the PUK code on the SIM card that is used for reminding the user whether to back up use first;
The business card scan module is for the PUK code on the SIM card being resolved and packing;
Information is preserved module, is used for packing data is preserved.
Further, described information acquisition module comprises:
The SIM card information reading module is used for reading SIM card information;
Use the vestige acquisition module, be used for reading portable terminal according to SIM card information and whether exist SIM card to use vestige;
Operator SMS is monitored module, is used for starting service processes and monitors operator SMS, judges whether to receive that SIM card that carrier network sends lands the short message of carrier network;
Parsing module is used for short message is resolved, and judges whether comprise the keyword that uses carrier network first in the short message, and keyword and preset keyword are mated.
The business card scan module comprises
The character scan module is used for the character on the SIM card is scanned, and the character on the SIM card is resolved to character string forms;
Extraction module is used for character string is searched for, and searches out ICCID and PUK character string, and ICCID and PUK character string are extracted;
Preserve module, be used for dividing two line character strings to write file ICCID and PUK, and name.
Above content be in conjunction with concrete optimal way to further describing that the present invention does, should not assert that concrete enforcement of the present invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, can also make some simple deduction or replace, within the protection range that the claim that all should be considered as being submitted to by the present invention is determined.

Claims (9)

1. the method for the PUK code of a backup of SIM card, based on portable terminal, described SIM card is arranged on the portable terminal, said method comprising the steps of:
Step 1. reading SIM card information is judged that SIM card whether for using first, is then to enter next step, otherwise is entered the normal running program;
Whether step 2. prompting user backs up the PUK code on the SIM card of using first, is then to enter next step, otherwise enters the normal running program;
PUK code on the step 3. pair SIM card is resolved and is packed;
Step 4. is preserved packing data.
2. the method for the PUK code of backup of SIM card according to claim 1, it is characterized in that: the described reading SIM card information of step 1 is the unique identification number ICCID of reading SIM card.
3. the method for the PUK code of backup of SIM card according to claim 2, it is characterized in that: step 1 is described judges whether SIM card comprises for using first:
Whether step 101. reads portable terminal according to SIM card information and exists SIM card to use vestige, is then to be judged as SIM card for reusing state, otherwise carries out next step;
Step 102. starts service processes and monitors operator SMS, judges whether to receive that SIM card that carrier network sends lands the short message of carrier network, is then to carry out next step, monitors otherwise finish service processes;
Step 103. pair short message is resolved, and judges whether comprise the keyword that uses carrier network first in the short message, and keyword and preset keyword are mated, and unanimity then is judged as SIM card and uses first, otherwise withdraws from analysis program.
4. the method for the PUK code of backup of SIM card according to claim 3 is characterized in that: the described SIM card of step 101 uses vestige to comprise log, internet records with the contact person.
5. the method for the PUK code of backup of SIM card according to claim 4, it is characterized in that: the described keyword of step 103 is system or user preset, is used for judging that carrier network sends note and whether comprises the keyword of use first.
6. the method for the PUK code of backup of SIM card according to claim 5 is characterized in that, step 3 comprises:
Character on the step 301. pair SIM card scans, and the character on the SIM card is resolved to character string forms;
Step 302. pair character string is searched for, and searches out ICCID and PUK character string, and ICCID and PUK character string are extracted;
Step 303. divides two line character strings to write file ICCID and PUK, and names the back to preserve.
7. the system of the PUK code of a backup of SIM card, based on portable terminal, described SIM card is arranged on the portable terminal, it is characterized in that, and described system comprises:
SIM card is used judge module, is used for reading SIM card information, judges that whether SIM card is for using first;
Prompting module, the PUK code on the SIM card that is used for reminding the user whether to back up use first;
The business card scan module is for the PUK code on the SIM card being resolved and packing;
Information is preserved module, is used for packing data is preserved.
8. the system of the PUK code of backup of SIM card according to claim 7 is characterized in that, described information acquisition module comprises:
The SIM card information reading module is used for reading SIM card information;
Use the vestige acquisition module, be used for reading portable terminal according to SIM card information and whether exist SIM card to use vestige;
Operator SMS is monitored module, is used for starting service processes and monitors operator SMS, judges whether to receive that SIM card that carrier network sends lands the short message of carrier network;
Parsing module is used for short message is resolved, and judges whether comprise the keyword that uses carrier network first in the short message, and keyword and preset keyword are mated.
9. the system of the PUK code of backup of SIM card according to claim 8 is characterized in that, the business card scan module comprises
The character scan module is used for the character on the SIM card is scanned, and the character on the SIM card is resolved to character string forms;
Extraction module is used for character string is searched for, and searches out ICCID and PUK character string, and ICCID and PUK character string are extracted;
Preserve module, be used for dividing two line character strings to write file ICCID and PUK, and name.
CN201310104187.5A 2013-03-28 2013-03-28 A kind of method and system of PUK code of backup of SIM card Active CN103209263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310104187.5A CN103209263B (en) 2013-03-28 2013-03-28 A kind of method and system of PUK code of backup of SIM card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310104187.5A CN103209263B (en) 2013-03-28 2013-03-28 A kind of method and system of PUK code of backup of SIM card

Publications (2)

Publication Number Publication Date
CN103209263A true CN103209263A (en) 2013-07-17
CN103209263B CN103209263B (en) 2015-09-09

Family

ID=48756344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310104187.5A Active CN103209263B (en) 2013-03-28 2013-03-28 A kind of method and system of PUK code of backup of SIM card

Country Status (1)

Country Link
CN (1) CN103209263B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581686A (en) * 2013-10-15 2015-04-29 宏碁股份有限公司 Method of sim/usim personalizing user equipment
CN109146468A (en) * 2018-08-22 2019-01-04 爱刷(北京)科技股份有限公司 A kind of backup and restoration methods of the logical card of number

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1091877A (en) * 1992-11-09 1994-09-07 艾利森·Ge·流动通讯有限公司 The business service generator that use is controlled
CN101287204A (en) * 2008-03-31 2008-10-15 宇龙计算机通信科技(深圳)有限公司 Smart card resource management method, system and mobile terminal
CN101626571A (en) * 2009-08-05 2010-01-13 中兴通讯股份有限公司 Card information backup method and system of user identification card
CN103002431A (en) * 2011-09-15 2013-03-27 中兴通讯股份有限公司 Method and device for automatic identification of PIN (personal identification number) codes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1091877A (en) * 1992-11-09 1994-09-07 艾利森·Ge·流动通讯有限公司 The business service generator that use is controlled
CN101287204A (en) * 2008-03-31 2008-10-15 宇龙计算机通信科技(深圳)有限公司 Smart card resource management method, system and mobile terminal
CN101626571A (en) * 2009-08-05 2010-01-13 中兴通讯股份有限公司 Card information backup method and system of user identification card
CN103002431A (en) * 2011-09-15 2013-03-27 中兴通讯股份有限公司 Method and device for automatic identification of PIN (personal identification number) codes

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581686A (en) * 2013-10-15 2015-04-29 宏碁股份有限公司 Method of sim/usim personalizing user equipment
CN109146468A (en) * 2018-08-22 2019-01-04 爱刷(北京)科技股份有限公司 A kind of backup and restoration methods of the logical card of number
CN109146468B (en) * 2018-08-22 2021-07-27 爱刷(北京)科技股份有限公司 Backup and recovery method for digital certificate

Also Published As

Publication number Publication date
CN103209263B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN105279416A (en) Identity recognition method and system based on multi-biometric feature in combination with device fingerprint
US9843908B2 (en) Method, client, server and system for intelligent recognizing contents of short message
CN105488495A (en) Identity identification method and system based on combination of face characteristics and device fingerprint
CN103064764A (en) Evidence obtaining method capable of rapidly recovering messages deleted by Android mobile phone
CN101702840A (en) Method and device for automatically processing message content
CN103942054A (en) Data evidence obtaining system based on Android
CN104052782A (en) Information sharing method and system
CN101986672B (en) Message processing method and device
CN102882851B (en) The generation method of address list and server
CN104080191A (en) Method and device of exchanging user information through mobile terminal
CN102984388A (en) Smart phone with fingerprint identification function
CN103310331A (en) Method and system for reminding calendar events by aid of mobile terminal
CN103401904A (en) Method for backing up mobile terminal data
CN105320691A (en) Account information recognition method and device
CN105338153A (en) Contact person information storage method and device
CN104679800A (en) Data inputting method and device
CN105049341A (en) Method and device for automatically adding remark information to newly-increased instant messaging number
CN102932741A (en) Mobile phone antitheft tracking method and antitheft tracking mobile phone
CN104703158A (en) Method and device for displaying missed call information and mobile terminal
CN103209263B (en) A kind of method and system of PUK code of backup of SIM card
CN106254675A (en) The method of system language setting and terminal
CN105678143A (en) Methods and devices for setting and acquiring electronic business card
CN105120046A (en) Method and device for creating address book according to note information of new number
CN104765785A (en) Contact person searching method and device
CN205427857U (en) Identity identification system based on many biological characteristics combine equipment fingerprint

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.