CN103209263B - A kind of method and system of PUK code of backup of SIM card - Google Patents
A kind of method and system of PUK code of backup of SIM card Download PDFInfo
- Publication number
- CN103209263B CN103209263B CN201310104187.5A CN201310104187A CN103209263B CN 103209263 B CN103209263 B CN 103209263B CN 201310104187 A CN201310104187 A CN 201310104187A CN 103209263 B CN103209263 B CN 103209263B
- Authority
- CN
- China
- Prior art keywords
- sim card
- puk
- module
- character string
- puk code
- 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
Links
Landscapes
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of method and system of PUK code of backup of SIM card, based on mobile terminal, described SIM card is arranged on mobile terminal, said method comprising the steps of: step 1. reading SIM card information, judge whether SIM card is use first, be enter next step, otherwise enter normal operating procedure; Whether step 2. reminding user backs up the PUK code in the SIM card that uses first, is enter next step, otherwise enters normal operating procedure; PUK code in step 3. pair SIM card is resolved and packs; Packing data is preserved by step 4..Compared with prior art, the present invention resolves acquisition PUK code by carrying out scanning when SIM card first time uses to SIM card and preserves, and can conveniently call when user needs, and uses and brings facility, improve Consumer's Experience to user.
Description
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 mobile terminal.
Background technology
SIM(Subscriber Identity Module, client identification module) card have PIN(Personal Identification Number, individual recognition code), PUK(Pin Unblocking Key, the PUK of pin card), PIN2, PUK 2 yards, and user is often arranged is that PIN code is to prevent information leakage.If mistake input 3 PIN code; terminal will require that user inputs PUK code to recover; when continuous 10 times are inputed by mistake PUK code; so SIM will forever scrap; cause the permanent loss of SIM card information and follow-up a period of time to shut down, if certain user can go the inquiry of operator business hall or user to remember, the service password of the machine can business hall inquiry on debarkation net.Therefore PUK code is backed up for often using the user of PIN code function to be highly significant.
But user is when first time uses SIM card, often forgets or be disinclined to back up PUK code.How can effectively help user ID PUK code, to avoid occurring that SIM card information loses the problem for those skilled in the art must solve.
Summary of the invention
The object 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 being used by SIM card first time, simple to operation, bring conveniently to 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 mobile terminal, described SIM card is arranged on mobile terminal, said method comprising the steps of:
Step 1. reading SIM card information, judges whether SIM card is use first, is enter next step, otherwise enters normal operating procedure;
Whether step 2. reminding user backs up the PUK code in the SIM card that uses first, is enter next step, otherwise enters normal operating procedure;
PUK code in step 3. pair SIM card is resolved and packs;
Packing data is preserved by step 4..
Further, the reading SIM card information described in step 1 is reading SIM card unique identification number ICCID
Judge whether SIM card is use first to comprise described in step 1:
Step 101. reads mobile terminal according to SIM card information and whether there is SIM card use vestige, is be judged as that SIM card is for reusing state, otherwise perform next step;
Step 102. starts service processes and monitors operator SMS, and the SIM card judging whether to receive carrier network transmission logs in the short message of carrier network, is perform next step, otherwise terminates service processes monitoring;
Step 103. pair short message is resolved, and judges whether comprise the keyword using carrier network first in short message, and is mated with the keyword preset by keyword, is unanimously then judged as that SIM card uses first, otherwise exits analysis program.
SIM card described in step 101 uses vestige to comprise and the log of contact person, internet records.
Keyword described in step 103 is system or user preset, for judging carrier network sends in note whether comprise the keyword used first.
Step 3 comprises:
Character in step 301. pair SIM card scans, and the character resolution in SIM card is become character string forms;
Step 302. pair character string is searched for, and searches out ICCID and PUK character string, and extracts ICCID and PUK character string;
ICCID and PUK is divided two line character string writing in files by step 303., and carries out naming rear preservation.
The invention also discloses a kind of system of PUK code of backup of SIM card, based on mobile terminal, described SIM card is arranged on mobile terminal, and described system comprises:
SIM card uses judge module, for reading SIM card information, judges whether SIM card is use first;
Whether prompting module, back up the PUK code in the SIM card used first for reminding user;
Business card scan module, for resolving the PUK code in SIM card and packing;
Information preserves module, for being preserved by packing data.
Further, described data obtaining module comprises:
SIM card information read module, for reading SIM card information;
Use vestige acquisition module, whether there is SIM card use vestige for reading mobile terminal according to SIM card information;
Operator SMS monitors module, monitors operator SMS for starting service processes, and the SIM card judging whether to receive carrier network transmission logs in the short message of carrier network;
Parsing module, for resolving short message, and judges whether comprise the keyword using carrier network first in short message, and is mated with the keyword preset by keyword.
Business card scan module comprises
Character scan module, for scanning the character in SIM card, becomes character string forms by the character resolution in SIM card;
Extraction module, for searching for character string, searches out ICCID and PUK character string, and extracts ICCID and PUK character string;
Preserving module, for ICCID and PUK being divided two line character string writing in files, and carrying out naming rear preservation.
Compared with prior art, the invention has the beneficial effects as follows: resolve acquisition PUK code by carrying out scanning when SIM card first time uses to SIM card and preserve, can conveniently call when user needs, use to user and bring facility, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Embodiment
Be described in detail, to be interpretated more in-depth technical characteristic of the present invention and advantage with reference to accompanying drawing below in conjunction with embodiment.
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 mobile terminal, described SIM card is arranged on mobile terminal, said method comprising the steps of:
Step 1. reading SIM card information, judge whether SIM card is use first, is enter next step, otherwise enter normal operating procedure (if user uses first, so certainly exist use vestige, such as dealing phone, mail, short message and internet records etc.);
Whether step 2. reminding user backs up the PUK code in the SIM card that uses first, is enter next step, otherwise enters normal operating procedure;
PUK code in step 3. pair SIM card is resolved and packs;
Packing data carries out preserving (file being such as saved in individual mailbox, PC etc.) by step 4..
Further, the reading SIM card information described in step 1 is reading SIM card unique identification number ICCID.ICCID is Integrate circuit card identity integrated circuit card identification code (being solidificated in SIM cards of mobile phones) ICCID is the unique identification number of IC-card, have 20 bit digital compositions, its coded format is: XXXXXX 0MFSS YYGXX XXXXX.Be described below respectively: first six digits operator code: China Mobile is: 898600; CHINAUNICOM is: 898601.
Judge whether SIM card is use first to comprise described in step 1:
Step 101. reads mobile terminal according to SIM card information and whether there is SIM card use vestige (described SIM card uses vestige to comprise and the log of contact person, internet records), is be judged as that SIM card is for reusing state, otherwise perform next step;
Step 102. starts service processes and monitors operator SMS, and the SIM card judging whether to receive carrier network transmission logs in the short message of carrier network, is perform next step, otherwise terminates service processes monitoring;
Step 103. pair short message is resolved, and judge whether to comprise in short message use carrier network first keyword (when SIM card first time logging in network, carrier network can send the note comprising forms such as " welcoming to use ", service judges whether to receive the note from current operator number 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 uses first), and keyword is mated with the keyword preset, consistent then be judged as that SIM card uses first, otherwise exit analysis program.
Keyword described in step 103 is system or user preset, for judging carrier network sends in note whether comprise the keyword used first.
Step 3 comprises:
Character in step 301. pair SIM card scans, and the character resolution in SIM card is become character string forms;
Step 302. pair character string is searched for, and searches out ICCID and PUK character string, and extracts ICCID and PUK character string;
ICCID and PUK is divided two line character string writing in files by step 303., and carries out naming (ICCID and PUK is divided two line character string writing in files, file designation becomes operator+current time, and suffix is called the form that txt or other mobile terminals can read).
The invention also discloses a kind of system of PUK code of backup of SIM card, based on mobile terminal, described SIM card is arranged on mobile terminal, and described system comprises:
SIM card uses judge module, for reading SIM card information, judges whether SIM card is use first;
Whether prompting module, back up the PUK code in the SIM card used first for reminding user;
Business card scan module, for resolving the PUK code in SIM card and packing;
Information preserves module, for being preserved by packing data.
Further, described data obtaining module comprises:
SIM card information read module, for reading SIM card information;
Use vestige acquisition module, whether there is SIM card use vestige for reading mobile terminal according to SIM card information;
Operator SMS monitors module, monitors operator SMS for starting service processes, and the SIM card judging whether to receive carrier network transmission logs in the short message of carrier network;
Parsing module, for resolving short message, and judges whether comprise the keyword using carrier network first in short message, and is mated with the keyword preset by keyword.
Business card scan module comprises
Character scan module, for scanning the character in SIM card, becomes character string forms by the character resolution in SIM card;
Extraction module, for searching for character string, searches out ICCID and PUK character string, and extracts ICCID and PUK character string;
Preserving module, for ICCID and PUK being divided two line character string writing in files, and naming.
Above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that specific embodiment of the invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, within the protection range that the claim that all should be considered as being submitted to by the present invention is determined.
Claims (7)
1. a method for the PUK code of backup of SIM card, based on mobile terminal, described SIM card is arranged on mobile terminal, said method comprising the steps of:
Step 1. reading SIM card information, judges whether SIM card is use first, is enter next step, otherwise enters normal operating procedure;
Described judges whether SIM card is use first to comprise:
Step 101. reads mobile terminal according to SIM card information and whether there is SIM card use vestige, is be judged as that SIM card is for reusing state, otherwise perform next step;
Step 102. starts service processes and monitors operator SMS, and the SIM card judging whether to receive carrier network transmission logs in the short message of carrier network, is perform next step, otherwise terminates service processes monitoring;
Step 103. pair short message is resolved, and judges whether comprise the keyword using carrier network first in short message, and is mated with the keyword preset by keyword, is unanimously then judged as that SIM card uses first, otherwise exits analysis program;
Whether step 2. reminding user backs up the PUK code in the SIM card that uses first, is enter next step, otherwise enters normal operating procedure;
PUK code in step 3. pair SIM card is resolved and packs;
Packing data is preserved by step 4..
2. the method for the PUK code of backup of SIM card according to claim 1, is characterized in that: the reading SIM card information described in step 1 is reading SIM card unique identification number ICCID.
3. the method for the PUK code of backup of SIM card according to claim 2, is characterized in that: the SIM card described in step 101 uses vestige to comprise and the log of contact person, internet records.
4. the method for the PUK code of backup of SIM card according to claim 3, is characterized in that: the keyword described in step 103 is system or user preset, for judging carrier network sends in note whether comprise the keyword used first.
5. the method for the PUK code of backup of SIM card according to claim 4, is characterized in that: step 3 comprises:
Character in step 301. pair SIM card scans, and the character resolution in SIM card is become character string forms;
Step 302. pair character string is searched for, and searches out ICCID and PUK character string, and extracts ICCID and PUK character string;
ICCID and PUK is divided two line character string writing in files by step 303., and carries out naming rear preservation.
6. a system for the PUK code of backup of SIM card, based on mobile terminal, described SIM card is arranged on mobile terminal, it is characterized in that, described system comprises:
SIM card uses judge module, for reading SIM card information, judges whether SIM card is use first;
Whether prompting module, back up the PUK code in the SIM card used first for reminding user;
Business card scan module, for resolving the PUK code in SIM card and packing;
Information preserves module, for being preserved by packing data;
Described SIM card uses judge module to comprise:
SIM card information read module, for reading SIM card information;
Use vestige acquisition module, whether there is SIM card use vestige for reading mobile terminal according to SIM card information;
Operator SMS monitors module, monitors operator SMS for starting service processes, and the SIM card judging whether to receive carrier network transmission logs in the short message of carrier network;
Parsing module, for resolving short message, and judges whether comprise the keyword using carrier network first in short message, and is mated with the keyword preset by keyword.
7. the system of the PUK code of backup of SIM card according to claim 6, is characterized in that, business card scan module comprises:
Character scan module, for scanning the character in SIM card, becomes character string forms by the character resolution in SIM card;
Extraction module, for searching for character string, searches out ICCID and PUK character string, and extracts ICCID and PUK character string;
Preserving module, for ICCID and PUK being divided two line character string writing in files, and naming.
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 CN103209263A (en) | 2013-07-17 |
CN103209263B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI566571B (en) * | 2013-10-15 | 2017-01-11 | 宏碁股份有限公司 | Method of performing sim/usim personalization on mobile devices |
CN109146468B (en) * | 2018-08-22 | 2021-07-27 | 爱刷(北京)科技股份有限公司 | Backup and recovery method for digital certificate |
Citations (4)
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 |
-
2013
- 2013-03-28 CN CN201310104187.5A patent/CN103209263B/en active Active
Patent Citations (4)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103209263A (en) | 2013-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11151176B2 (en) | Method and apparatus for processing text information | |
CN105279416A (en) | Identity recognition method and system based on multi-biometric feature in combination with device fingerprint | |
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 | |
CN104125342B (en) | The communication that a kind of mobile communication terminal separates with user identity smart card uses way | |
CN103841261B (en) | A kind of method and communication terminal extracting communication information | |
CN103024039B (en) | Method of data synchronization and system | |
CN102937926A (en) | Method and device for recovering deleted sqlite files on mobile terminal | |
CN105530267A (en) | Software login method, terminal, server and system based biological characteristics | |
CN101702840A (en) | Method and device for automatically processing message content | |
CN103188672A (en) | Mobile terminal and data protection method thereof | |
CN103297404A (en) | Method, device and system for achieving login confirmation | |
CN102882851B (en) | The generation method of address list and server | |
CN104080191A (en) | Method and device of exchanging user information through mobile terminal | |
CN103401904A (en) | Method for backing up mobile terminal data | |
CN102026110A (en) | Method for processing instant messaging contact information and mobile terminal | |
CN101296422A (en) | Data backup method, short message platform and client terminal | |
CN101877848B (en) | Mobile terminal, mobile terminal data protection method and mobile terminal monitoring system | |
CN103209263B (en) | A kind of method and system of PUK code of backup of SIM card | |
CN105049341A (en) | Method and device for automatically adding remark information to newly-increased instant messaging number | |
CN102098386A (en) | Unlocking method and device of terminal | |
CN101697561A (en) | Method and mobile terminal for recycling short messages | |
CN105376733A (en) | Information processing method and electronic apparatus | |
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 |
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 |
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. |
|
CP01 | Change in the name or title of a patent holder |