CN1314290C - Method and mobile communication device for recovering operation function of temporarily disabled subscriber identification card - Google Patents
Method and mobile communication device for recovering operation function of temporarily disabled subscriber identification card Download PDFInfo
- Publication number
- CN1314290C CN1314290C CNB2004100593465A CN200410059346A CN1314290C CN 1314290 C CN1314290 C CN 1314290C CN B2004100593465 A CNB2004100593465 A CN B2004100593465A CN 200410059346 A CN200410059346 A CN 200410059346A CN 1314290 C CN1314290 C CN 1314290C
- Authority
- CN
- China
- Prior art keywords
- sim card
- code
- mobile phone
- phone body
- read
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000010295 mobile communication Methods 0.000 title abstract description 15
- 238000012795 verification Methods 0.000 claims abstract description 35
- 230000004913 activation Effects 0.000 claims description 3
- 238000011084 recovery Methods 0.000 claims 15
- 230000009471 action Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种使SIM卡恢复操作功能的方法及移动通讯装置,特别是涉及一种使暂时失能的SIM卡恢复操作功能的方法及移动通讯装置。The invention relates to a method for restoring the operation function of a SIM card and a mobile communication device, in particular to a method for restoring the operation function of a temporarily disabled SIM card and a mobile communication device.
背景技术Background technique
一般的移动电话是由一移动话机机体(Mobile Equipment,ME)及一用户识别模块(Subscriber Identity Module,SIM)卡所组成。SIM卡配置于移动话机机体中。在移动电话通讯系统中,例如是全球移动电话系统(GlobalSystem for Mobile communication,GSM),移动电话的门号信息记录在SIM卡中。而SIM卡是由移动电话服务业者发给用户。当SIM卡插入移动话机机体的插槽中,并于移动话机机体开机后,移动话机机体即启动SIM卡,使移动电话取得移动网络服务。A general mobile phone is composed of a mobile phone body (Mobile Equipment, ME) and a Subscriber Identity Module (SIM) card. The SIM card is configured in the body of the mobile phone. In a mobile phone communication system, such as the Global System for Mobile communication (GSM), the phone number information of the mobile phone is recorded in the SIM card. The SIM card is issued to the user by the mobile phone service provider. When the SIM card is inserted into the slot of the mobile phone body, and after the mobile phone body is turned on, the mobile phone body immediately activates the SIM card to enable the mobile phone to obtain mobile network services.
然而在移动电话开机并能正常运作之后,可能因为(1)静电影响;(2)固定SIM卡的机构不牢固,导致SIM卡接触不良;或(3)任何造成SIM卡失效的外力,而使SIM卡所执行的操作失效。此时移动话机机体无法通过控制SIM卡的指令来操作SIM卡或存取SIM卡上的数据。However, after the mobile phone is turned on and can operate normally, it may be caused by (1) static electricity; (2) the mechanism for fixing the SIM card is not firm, resulting in poor contact of the SIM card; or (3) any external force that causes the SIM card to fail. The operation performed by the SIM card is invalid. At this time, the mobile phone body cannot operate the SIM card or access the data on the SIM card by controlling the command of the SIM card.
尽管SIM卡失效发生的期间可能很短暂,然而,若要再启动SIM卡,就必须将移动电话关机(Power Off)后再重新开机(Power On),方能使SIM卡恢复原有的操作功能。但关机及开机的动作对移动电话用户而言,是十分不便且耗时的。Although the period of SIM card failure may be very short, however, if you want to restart the SIM card, you must turn off the mobile phone (Power Off) and then restart (Power On) to restore the original operating function of the SIM card . But the action of shutting down and starting up is very inconvenient and time-consuming for mobile phone users.
发明内容Contents of the invention
有鉴于此,本发明的目的是提供一种使暂时失能的SIM卡恢复操作功能的方法及移动通讯装置,当SIM卡发生短暂的失能之后,不需重新将移动电话重新开机,即能恢复SIM卡的操作功能。In view of this, the purpose of the present invention is to provide a method and a mobile communication device for restoring the operating function of a temporarily disabled SIM card. Restore the operating functions of the SIM card.
根据本发明的目的,提出一种使暂时失能的用户识别模块(SubscriberIdentity Module,SIM)卡恢复操作功能的方法。SIM卡配置于一移动话机机体(Mobile Equipment,ME)中,移动话机机体记录有该SIM卡的一原始IMSI值与一码验证状态,该码验证状态包括需要验证与不需验证两个状态,当该码验证状态为需要验证时,该移动话机机体便记录对应于该SIM卡的一原始个人识别码/开锁码(PIN/PUK码:Personal Identification Number/PINUnlock Key)。本发明的方法包括:(a)执行一SIM卡启动程序;(b)判断该移动话机机体中的SIM卡是否需验证PIN/PUK码,若是,则进入步骤(c),若否,则进入步骤(e);(c)当该码验证状态为需要验证,则进入步骤(d);(d)由该移动话机机体中的SIM卡读取一读取PIN/PUK码,比较该读取PIN/PUK码与该原始PIN/PUK码,当相同时,则进入步骤(f);(e)当该码验证状态为不需验证,则进入步骤(f);(f)读取该移动话机机体中的SIM卡的一读取IMSI值;(g)比较读取IMSI值与原始IMSI值,当相同时,则执行下一步骤;(h)重新恢复使用SIM卡。According to the purpose of the present invention, a kind of method that makes the temporarily disabled Subscriber Identity Module (Subscriber Identity Module, SIM) card resume operation function is proposed. The SIM card is configured in a mobile phone body (Mobile Equipment, ME), and the mobile phone body records an original IMSI value and a code verification status of the SIM card. The code verification status includes two statuses that require verification and do not need verification. When the code verification status is required to be verified, the mobile phone body will record an original personal identification code/unlock code (PIN/PUK code: Personal Identification Number/PINUnlock Key) corresponding to the SIM card. The method of the present invention includes: (a) executing a SIM card activation program; (b) judging whether the SIM card in the mobile phone body needs to verify the PIN/PUK code, if so, then enter step (c), if not, then enter Step (e); (c) when the code verification status needs to be verified, then enter step (d); (d) read the PIN/PUK code by the SIM card in the mobile phone body, and compare the read PIN/PUK code. When the PIN/PUK code is the same as the original PIN/PUK code, enter step (f); (e) when the verification status of the code is no verification, enter step (f); (f) read the mobile One reads the IMSI value of the SIM card in the phone body; (g) compares the read IMSI value and the original IMSI value, and when identical, then executes the next step; (h) resumes using the SIM card.
为使本发明的上述目的、特征、和优点能更明显易懂,下文特举一较佳实施例,并结合附图详细说明如下。In order to make the above-mentioned purpose, features, and advantages of the present invention more comprehensible, a preferred embodiment is specifically cited below, and is described in detail with reference to the accompanying drawings.
附图说明Description of drawings
图1及图2A~2C示出了依照本发明一较佳实施例的一种使暂时失能的用户识别模块(Subscriber Identity Module,SIM)卡恢复操作功能的方法的流程图,其中,图1示出了移动话机机体在正常运作状态下所执行的步骤,而图2A~2C示出了在SIM卡暂时失能之后所执行的步骤。Fig. 1 and Fig. 2A~2C have shown the flow chart of a kind of method that makes temporarily disabled Subscriber Identity Module (Subscriber Identity Module, SIM) card resume operation function according to a preferred embodiment of the present invention, wherein, Fig. 1 2A-2C show the steps performed after the SIM card is temporarily disabled.
附图标号说明Explanation of reference numbers
102~110、202~240:方法流程102~110, 202~240: method flow
具体实施方式Detailed ways
请参照图1及图2A~2C,其示出了依照本发明一较佳实施例的一种使暂时失能的用户识别模块(Subscriber Identity Module,SIM)卡恢复操作功能的方法的流程图。此使暂时失能的SIM卡恢复操作功能的方法适用于一移动通讯装置中,此移动通讯装置包括一移动话机机体及配置于移动话机机体上的一SIM卡。其中,图1示出了移动话机机体在正常运作状态下所执行的步骤,而图2A~2C示出了在SIM卡暂时失能之后移动话机机体所执行的步骤。Please refer to FIG. 1 and FIGS. 2A-2C, which show a flow chart of a method for resuming operating functions of a temporarily disabled Subscriber Identity Module (SIM) card according to a preferred embodiment of the present invention. The method for recovering the operation function of a temporarily disabled SIM card is applicable to a mobile communication device, and the mobile communication device includes a mobile phone body and a SIM card configured on the mobile phone body. Wherein, FIG. 1 shows the steps performed by the mobile phone body in a normal operating state, and FIGS. 2A-2C show the steps performed by the mobile phone body after the SIM card is temporarily disabled.
请参照图1,当移动电话已开机,且可以正常使用后,移动话机机体将先进行以下的步骤。较佳地,可于移动话机机体执行开机程序时同时执行下列步骤。首先,在步骤102中,移动话机机体判断是否需验证个人识别码(Personal Identification Number,PIN)/开锁码(PIN Unlock Key,PUK),若是,则进入步骤104。若否,则进入步骤106。其中,PIN码用以辨识使用者身份。当使用者开启移动通讯装置之后,必须先输入PIN码后才能进行通话。设定PIN码之后,可以防止移动通讯装置被盗打。而如果连续输入3次错误的PIN码的话,SIM卡会自动锁住,此时使用者必须立即与电信系统业者联络,以PUK码来使SIM卡解锁。Please refer to FIG. 1 , when the mobile phone is turned on and can be used normally, the mobile phone body will first perform the following steps. Preferably, the following steps can be executed at the same time when the mobile phone body executes the booting procedure. First, in
在步骤104中,移动话机机体将此SIM卡的「需验证PIN/PUK码的状态」记录在移动话机机体中。亦即,移动话机机体记录有一码验证状态,此时此码验证状态为需要验证的状态。然后进入步骤108,移动话机机体将此时的SIM卡的PIN/PUK码,作为一原始PIN/PUK码,记录在此移动话机机体中。此原始PIN/PUK码即为移动通讯装置开机之后,使用者所输入的正确的PIN码。若在移动通讯装置开机之后,使用者更改了此SIM卡的PIN码的话,则移动话机机体必须重新记录此重新设定的PIN码。In
在步骤106中,移动话机机体将此SIM卡的「不需验证PIN/PUK码的状态」记录于移动话机机体中。亦即,移动话机机体所记录的码验证状态为不需要验证的状态。在步骤106及108之后,执行步骤110,移动话机机体读取原始国际移动用户识别码(International Mobile Subscriber Identity,IMSI)基础文件(Elementary File)EF_IMSI,以得到至此SIM卡的IMSI值。移动话机机体并将此时的SIM卡的IMSI值作为一原始IMSI值,记录在移动话机机体中。其中,IMSI值中记录了国码(Mobile Country Code,MCC)、网络码(Mobile Network Code,MNC)及其它网络相关信息。In
请参考图2A~2C,当移动话机机体检测出SIM卡因为静电影响而失效,或是因固定不牢固而导致电性接触不良而失效,或是因其它外力因素而失效后,移动话机机体将执行下列步骤以使SIM卡恢复操作功能。首先,执行步骤202,将一第一重复次数参数F1以及一第二重复次数参数F2的起始值设定为零。然后,进入步骤204,判断第一重复次数F1的值是否大于3,若是,则进入步骤240,判定原来的SIM卡系已被移除,或可能已更换为另一个SIM卡而非为原来的SIM卡,或者是此SIM卡已经损毁无法再使用;若否,则进入步骤206。Please refer to Figures 2A to 2C. When the mobile phone body detects that the SIM card has failed due to static electricity, or has failed due to poor electrical contact due to loose fixation, or has failed due to other external factors, the mobile phone body will Perform the following steps to restore the SIM card to operation. First,
在步骤206中,将第一重复次数参数F1的值加1。之后,执行步骤208,判断第二重复次数参数F2的值是否小于3,若是,则进入步骤210;若否,则同样地进入步骤240,判定该SIM卡已被移除或损毁。第一及第二重复次数参数F1及F2的值与3比较的作法仅为本实施例的一例,第一及第二重复次数参数F1及F2的值亦可与其它特定数值相较,以决定重复执行步骤212的最大次数。In
之后,在步骤210中,将第二重复次数参数F2的值加1。接着,进入步骤212,移动话机机体执行一SIM卡启动程序,例如是一恢复重置(Answer ToReset,ATR)程序。ATR程序是指,SIM卡在启动时,所传给移动话机机体的SIM卡的操作需求参数。如有需要,移动话机机体亦会执行一协议参数选择(ProtoCol and Parameter Select,PPS)程序。PPS程序为移动话机机体用以响应SIM卡的ATR程序的程序。移动话机机体是利用PPS程序来响应SIM卡,移动话机机体是否接受这些操作需求参数。Afterwards, in step 210, the value of the second repetition times parameter F2 is increased by 1. Then, enter
之后,进行步骤214,判断步骤212是否执行成功,若是,则进行步骤216,若否,则回到步骤208。在步骤216中,移动话机机体判断移动话机机体中的SIM卡是否需验证PIN/PUK码,若是,则进入步骤218,若否,则进入步骤220。在步骤218中,移动话机机体判断移动话机机体中所记录的SIM卡的状态是否为「需验证PIN/PUK码的状态」,若是,则进入步骤222;若否,则进入步骤240。也就是说,当码验证状态为需要验证时,则进入步骤222。在步骤222中,由移动话机机体中的SIM卡读取一读取PIN/PUK码,并比较此读取PIN/PUK码与移动话机机体所记录的原始PIN/PUK码,当相同时,则进入步骤224,当不相同时,则进入步骤240。Afterwards, go to step 214, and judge whether
在步骤220中,移动话机机体判断移动话机机体中所记录的SIM卡的状态是否为「不需验证PIN/PUK码的状态,若是,则进入步骤224,若否,则进入步骤240。亦即,当码验证状态为不需验证时,则进入步骤224。在步骤218至222中,移动话机机体先判断其所记录的SIM卡的状态是否与SIM卡失效前的状态相同,之后,再判断PIN/PUK码是否相同。二次判断中只要有一次判断的结果为与移动话机机体所记录不同的话,即判定目前的SIM卡系已被移除或损毁。In
接着,在步骤224中,读取SIM卡中的一相位基础文件(Phase ElementaryFile)EF_PHASE。相位基础文件EF_PHASE储存了此SIM卡的相位等级(phaselevel)。一般的SIM卡的相位等级分为phase1、phase2或phase2+。phase1、phase2及phase2+的SIM卡分别适用于GSM Phase I、Phase II及PhaseII+标准(standard)。在GSM Phase I及Phase II标准中,对移动话机机体而言,SIM卡为被动装置(slave),而在GSM Phase II+标准中,SIM卡为前主动(pro-active)SIM卡,可主动执行自己的应用程序,并主导移动话机机体执行相关动作。Then, in
然后,进入步骤226,判断是否成功读取相位基础文件EF_PHASE,若是,则进行步骤228,若否,则回到步骤204。在步骤228中,判断该SIM卡的相位等级(phase level)是否为phase2+,若是,则进行步骤230,若否,则进入步骤232。在步骤230中,移动话机机体执行特征下载程序(profiledownload procedure),执行完毕之后,进入步骤232。在移动话机机体执行特征下载程序之后,Phase II+SIM卡方能判断移动话机机体是否能够执行SIM卡本身的应用程序,并使移动话机机体执行相关动作。Then, go to step 226 to judge whether the phase base file EF_PHASE is read successfully, if yes, go to step 228, if not, go back to
之后,在步骤232中,重新读取此SIM卡的IMSI基础文件EF_IMSI,以读取移动话机机体中的SIM卡的一读取IMSI值。然后,进入步骤234,判断是否读取成功,若是,则进行步骤236,若否,则回到步骤204。在步骤236中,比较从SIM中所读取的读取IMSI值与移动话机机体中所记录的原始IMSI值,当相同时,则进入步骤238,重新恢复使用SIM卡;当不相同时,则进入步骤240,判定原来的SIM卡已被移除,或可能已更换为另一个SIM卡而非为原来的SIM卡,或者是此SIM卡已经损毁无法再使用。其中,步骤224至步骤230亦可在步骤232至236之后执行。上述的较佳实施例中所披露的使暂时失能的SIM卡恢复操作功能的方法及移动通讯装置,可以补救移动话机机体硬设备上的缺点,如静电防护设计不佳或SIM卡固定装置不够牢固的缺点。当SIM卡与移动话机机体失去电性连接而失能时,本发明可以使重新与移动话机机体电性连接的SIM卡迅速恢复原有的操作功能。此外,本发明甚至可以在不影响使用者对移动通讯装置的正常操作的情况下,迅速地使SIM卡恢复操作功能。使用者不需使移动通讯装置重新开机,便能恢复SIM卡的操作功能,更是大幅地增加了使用上的方便性。Afterwards, in
综上所述,虽然本发明已以一较佳实施例披露如上,然其并非用以限定本发明,本领域的技术人员在不脱离本发明的精神和范围的前提下,可作各种的更动与润饰,因此本发明的保护范围以本发明的权利要求为准。In summary, although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Those skilled in the art can make various changes without departing from the spirit and scope of the present invention. Changes and modifications, so the scope of protection of the present invention shall be based on the claims of the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100593465A CN1314290C (en) | 2004-06-18 | 2004-06-18 | Method and mobile communication device for recovering operation function of temporarily disabled subscriber identification card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100593465A CN1314290C (en) | 2004-06-18 | 2004-06-18 | Method and mobile communication device for recovering operation function of temporarily disabled subscriber identification card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1710971A CN1710971A (en) | 2005-12-21 |
CN1314290C true CN1314290C (en) | 2007-05-02 |
Family
ID=35707131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100593465A Expired - Fee Related CN1314290C (en) | 2004-06-18 | 2004-06-18 | Method and mobile communication device for recovering operation function of temporarily disabled subscriber identification card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1314290C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658472A (en) * | 2017-01-20 | 2017-05-10 | 烽火通信科技股份有限公司 | Method and system of machine and card interlocking for home gateway |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101272628B (en) * | 2008-04-30 | 2011-12-07 | 华为终端有限公司 | Method and device for controlling authentication information input and communication terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1995001695A1 (en) * | 1993-07-01 | 1995-01-12 | Motorola, Inc. | Method of controlling access to a radiotelephone system |
EP1379094A1 (en) * | 2002-07-04 | 2004-01-07 | Alcatel | Method for locking a mobile communication terminal |
-
2004
- 2004-06-18 CN CNB2004100593465A patent/CN1314290C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1995001695A1 (en) * | 1993-07-01 | 1995-01-12 | Motorola, Inc. | Method of controlling access to a radiotelephone system |
EP1379094A1 (en) * | 2002-07-04 | 2004-01-07 | Alcatel | Method for locking a mobile communication terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106658472A (en) * | 2017-01-20 | 2017-05-10 | 烽火通信科技股份有限公司 | Method and system of machine and card interlocking for home gateway |
Also Published As
Publication number | Publication date |
---|---|
CN1710971A (en) | 2005-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI238643B (en) | Method and mobile communication device capable of resuming operating function of temporarily disable SIM card | |
EP2608595A1 (en) | Mobile terminal and failure recovery method thereof | |
BRPI0823384B1 (en) | METHOD TO TRANSFER AN APPLICATION TO A TELECOMMUNICATION TERMINAL | |
CN102982274A (en) | Management method of intelligent terminal system and intelligent terminal | |
CN101656949A (en) | Method and terminals for aerial upgrade of firmware | |
CN104469737A (en) | Embedded universal integrated circuit card and user subscription information activation method thereof | |
CN112596672B (en) | Storage processing method and device of main control chip, processor and electronic equipment | |
CN106534467A (en) | Screen abnormity processing method and processing device, and terminal | |
CN106897166B (en) | Mobile terminal and repairing method thereof | |
CN109495874B (en) | Profile downloading method and device | |
CN112948190A (en) | Hardware testing method, system and related device of server | |
CN112433739B (en) | Firmware upgrading method | |
CN112383402B (en) | Dual idempotent verification method and server | |
CN107169053A (en) | log information deriving method and device | |
CN1314290C (en) | Method and mobile communication device for recovering operation function of temporarily disabled subscriber identification card | |
US10028130B2 (en) | Methods for updating a cache memory of a telecommunications terminal | |
CN112214353B (en) | Firmware recovery method, device, computer equipment and storage medium | |
CN109766221A (en) | A kind of BMC mirror image switch method and apparatus | |
CN109218089B (en) | Interface implementation method for transparent fault switching of distributed storage system | |
CN112905218B (en) | Firmware upgrading method, device and equipment | |
US20190147193A1 (en) | Method for a first start-up operation of a secure element which is not fully customized | |
TWI395456B (en) | Method and mobile communication device for resuming the function of a subscriber identity module | |
CN114546084A (en) | Substrate management controller resetting method, system, storage medium and equipment | |
US10715527B2 (en) | Method of managing profiles in a secure element | |
CN110659074A (en) | Computer start-up control device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070502 Termination date: 20170618 |