200820728 九、發明說明: —【發明所屬之技術領域】 -本發明係涉及一種使用戶識別卡(Subscriber Identity Module,SIM)恢復操作功能之方法及行動通訊裝置’特別 係涉及一種恢復暫時失能之用戶識別卡操作功能之方法及 行動通訊裝置。 【先前技術】 一般之行動電話係由一行動話機機體及一 SIM卡組200820728 IX. Description of the invention: - [Technical field to which the invention pertains] - The present invention relates to a method for recovering an operation function of a Subscriber Identity Module (SIM) and a mobile communication device, particularly relating to restoring temporary disability User identification card operation function method and mobile communication device. [Prior Art] The general mobile phone is composed of a mobile phone body and a SIM card set.
成,該SIM卡配置於行動話機機體中。在行動電話通訊系統 中,例如全球行動電話系統(Global System for Mobile communication,GSM),行動電話之門戶資訊記錄在SIM卡 中。而SIM卡係由行動電話服務業者發給用戶。當SIM卡 插入行動話機機體之插槽中,並在行動話機機體開機後,行 動話機機體即啟動SIM卡,使行動電話取得移動網路服務。 然而,在行動電話開機並能正常運作之後,可能因為靜 電影響、固定SIM卡之機構不牢固,導致SiM卡接觸不良, 或任何造成SIM卡失效之外力,而使SIM卡所執行之操作 失效。此時,行動話機機體無法通過控制SIM卡之指令 作SIM卡或存取SIM卡上之資訊,會給用戶帶來諸多^爭喿 【發明内容】 便° 有鑒於此,有必要提供一種恢復暫時失能 操作功能之方法。 用戶識別卡 識別卡操作功 另,有必要提供一種恢復暫時失能用戶 能之行動通訊裝置。 200820728 _種恢復暫時失能用戶識別卡操作功能之方法,該 用戶識別卡配置於行動話機機體中,該方法包括以 • •驟:⑻重發最後一組指令;(b) _重發是否成功,若是, 執行步驟(k); (k)用戶識別卡恢復操作功能。 -種恢復暫時失能用戶識別卡操作功能之行動通訊裝 置,該裝置包括-用戶識別卡及一行動話機機體,該用戶 識別卡配置於行動話機機體中,該行動話機機體在正常狀 態讀取該用戶識別卡,用戶識別卡暫時失能時,該行動話 •機機體至少用以··(a)重發最後一組指令;(b)判斷重發是 否成功,若是’執行步驟(k);⑻用戶識別卡恢復操^功 能。 相較于習知技術,本發明所述之恢復暫時失能用戶識 別卡操作功能之方法及行動通訊裝置,可以補救行動話機 機體硬體設備之缺點,在用戶識別卡暫時失能時,自動啟 動用戶識別卡,使用者不需對行動話機機體進行開關機動 作,便能恢復用戶識別卡之操作功能,大幅提高了使 _方便性。 【實施方式】 在正常工作狀態下,當行動電話已開機且可以正常使 用後,行動話機機體將先進行以下步驟。較佳地,可在行 動話機機體執行開機程式時同時執行下列步驟。首先,行 動話機機體將記錄對應此SIM卡之個人識別碼(Μ嶋二 Identification Number,piN) /開鎖碼(ρΐΝ υηΐ_ , PUK)碼,若在行動通訊裝置開機之後,使用者更改了此 200820728 SIM卡之PIN碼,則行動話機機體必須重新記錄此重新設The SIM card is configured in the mobile phone body. In a mobile telephone communication system, such as the Global System for Mobile communication (GSM), the portal information of the mobile phone is recorded in the SIM card. The SIM card is sent 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 starts the SIM card, so that the mobile phone obtains the mobile network service. However, after the mobile phone is turned on and can operate normally, the SiM card may be in poor contact due to static electricity, the mechanism for fixing the SIM card is not strong, or any force that causes the SIM card to fail, and the operation performed by the SIM card may be invalidated. At this time, the mobile phone body cannot control the SIM card to make the SIM card or access the information on the SIM card, which will bring a lot of disputes to the user. [Inventive content] In view of this, it is necessary to provide a temporary recovery. The method of disabling the operation function. User Identification Card Identification Card Operation In addition, it is necessary to provide a mobile communication device that restores temporary disabled users. 200820728 A method for restoring a temporarily disabled user identification card operation function, the user identification card being configured in a mobile phone body, the method comprising: • • (8) resending the last set of instructions; (b) _ resending success If yes, perform step (k); (k) user identification card recovery operation function. a mobile communication device for restoring a temporary disabled user identification card operation function, the device comprising: a user identification card and a mobile phone body, the user identification card being disposed in the mobile phone body, the mobile phone body reading the normal state User identification card, when the user identification card is temporarily disabled, the mobile phone body is at least used to: (a) resend the last set of instructions; (b) determine whether the retransmission is successful, if it is 'execution step (k); (8) User identification card recovery operation function. Compared with the prior art, the method and the mobile communication device for restoring the operation function of the temporarily disabled user identification card according to the present invention can rectify the shortcomings of the hardware device of the mobile phone body, and automatically start when the user identification card is temporarily disabled. The user identification card can restore the operation function of the user identification card without turning on and off the mobile phone body, which greatly improves the convenience. [Embodiment] Under normal working conditions, when the mobile phone is turned on and can be used normally, the mobile phone body will perform the following steps first. Preferably, the following steps can be performed simultaneously when the booting machine body executes the booting program. First, the mobile phone body will record the PIN (Identification Number, piN) / unlock code (ρΐΝ υηΐ_, PUK) code corresponding to the SIM card. If the mobile communication device is turned on, the user changes the 200820728 SIM. The PIN code of the card, the mobile phone body must re-record this reset
龙之PIN碼。開機後,行動話機機體判斷是否驗證PIN/PUK •碼’其中’ PIN碼用以辨識使用者身份,當使用者開啟行 •動電話之後,若需驗證PIN/PUK碼,則必須先輸入PIN碼 後才此進行通話,且設定p〗N碼之後,可以防止行動電話 被盜打。 若不需要驗證,或驗證之後,行動話機機體讀取原始 國際行動用戶識別碼(International Mobile Subscriber • Identity ’ IMSI)基礎檔(Elementary File) EF一IMSI,以 得到此SIM卡之iMSI值。行動話機機體並將此SIM卡之 IMSI值作為一原始IMSI值,記錄在行動話機機體中。其 中 ’ IMSI 值中記錄了 國別碼(Mobile Country Code, MCC)、網路碼(M〇bile Network Code,MNC)及其它網 路相關貧訊。 請參考圖1,當行動話機機體檢測出SIM卡因為靜電 影響、或因固定不牢固而導致電性接觸不良而暫時失能, • 或是因其他外力因素而暫時失能後,SIM卡處於錯誤狀 態’則行動話機機體將執行下列步驟以使SIM卡恢復操作 功能。首先執行步驟201,重發SIM卡出錯之前之最後一 組指令。然後進入步驟203,判斷重發該最後一組指令是 否成功,若是,則執行步驟207,SIM卡恢復操作功能, 流私結束,若否,則執行步驟21 〇。 步驟21〇中,執行一 SIM卡熱啟動程式,行動話機機 體上有一特定SIM卡指令程式可完成此動作。然後,進入 步驟212,判斷熱啟動程式是否執行成功,若是,則執行 200820728 步驟214。步驟214中,根據行動話機機體内之設置,輸 入PIN竭,即’若行動話機機體中的SIM卡需要驗證 -fIN/ΡϋΚ碼,則輸入PIN碼;否則,不需輸入,跳過步驟 214,執行步驟216,再次重發最後一組指令。然後,進入 步驟218,判斷再次重發最後一組指令是否成功,若是, 進入步驟207 ’ SIM卡恢復操作功能,流程結束。若在所 述之步驟212中判斷熱啟動程式未執行成功,或步驟218 中判斷再次重發最後一組指令未成功,則執行步驟221。 瞻 步驟221中,行動話機機體執行一 SIM卡冷啟動程 式’行動話機機體中之啟動/非啟動(activate/deactivate) 程式可完成此動作。然後,進入步驟223,判斷SIM卡冷 啟動程式是否執行成功,若是,則執行步驟225。步驟225 中’根據行動話機機體内之設置,輸入PIN ,,即,若行 動話機機體中的SIM卡需要驗證pin/PUK竭,則需輸入 PIN螞;否則,不需輸入,跳過步驟225,執行步驟227, 苐二次重發最後一組指令。然後,進入步驟229,判斷第 籲三次重發最後一組指令是否成功,若是,則進入步驟2〇7, SIM卡恢復操作功能,流程結束。若所述之步驟223中判 斷SIM卡冷啟動程式未執行成功,或步驟229中判斷第三 次重發最後一組指令未成功,則執行步驟23〇,判斷SIM 卡移除或損毁。 另,步驟210及步驟221中,SIM卡啟動程式可為一 恢復重置(Answer To Reset,ATR)程式,即,siM卡在 啟動時傳給行動話機機體之SIM卡之操作需求參數。如有 需要,行動話機機體會執行一協議參數選擇(Protocoland 200820728Dragon PIN code. After booting up, the mobile phone body determines whether to verify the PIN/PUK • code 'where ' the PIN code is used to identify the user. After the user starts the line and the mobile phone, if the PIN/PUK code needs to be verified, the PIN code must be entered first. After the call is made, and the p code is set, the mobile phone can be prevented from being stolen. If verification is not required, or after verification, the mobile phone body reads the original International Mobile Subscriber Identity (IMSI) Elementary File EF-IMSI to obtain the iMSI value of the SIM card. The mobile phone body and the IMSI value of the SIM card are recorded as an original IMSI value in the mobile phone body. Among them, the 'IMSI value' records the Mobile Country Code (MCC), the M〇bile Network Code (MNC) and other network-related poor news. Please refer to Figure 1. When the mobile phone body detects that the SIM card is temporarily disabled due to static electricity or poor electrical connection, or if it is temporarily disabled due to other external factors, the SIM card is in error. Status 'The mobile phone body will perform the following steps to restore the SIM card operation function. First, step 201 is executed to resend the last set of instructions before the SIM card error. Then, proceeding to step 203, it is determined whether the last set of instructions is resent successfully. If yes, step 207 is executed, the SIM card resumes the operation function, and the smuggling ends. If not, step 21 is performed. In step 21, a SIM card hot start program is executed, and a specific SIM card command program on the mobile phone body can complete the action. Then, proceeding to step 212, it is determined whether the hot start program is successfully executed, and if so, step 2008214 is performed. In step 214, according to the setting in the mobile phone body, the PIN is input, that is, if the SIM card in the mobile phone body needs to verify the -fIN/weight, the PIN code is input; otherwise, no input is required, and step 214 is skipped. Step 216 is executed to resend the last set of instructions. Then, proceeding to step 218, it is judged whether the last set of instructions is successfully resent again, and if so, the process proceeds to step 207 ’ SIM card recovery operation function, and the flow ends. If it is determined in step 212 that the hot start program has not been successfully executed, or if it is determined in step 218 that the last set of instructions is not resent again, then step 221 is performed. In step 221, the mobile phone body performs a SIM card cold start procedure. The activate/deactivate program in the mobile phone body can complete this action. Then, proceeding to step 223, it is determined whether the SIM card cold start program is successfully executed, and if so, step 225 is performed. In step 225, 'Enter PIN according to the setting in the mobile phone body, that is, if the SIM card in the mobile phone body needs to verify the pin/PUK exhaustion, the PIN is required; otherwise, no input is required, and step 225 is skipped. Step 227 is performed, and the last set of instructions is retransmitted twice. Then, proceeding to step 229, it is judged whether the first set of instructions is successfully resent three times, and if so, the process proceeds to step 2, and the SIM card resumes the operation function, and the flow ends. If it is determined in step 223 that the SIM card cold start program has not been successfully executed, or if it is determined in step 229 that the last retransmission of the last set of instructions is unsuccessful, then step 23 is performed to determine that the SIM card is removed or corrupted. In addition, in steps 210 and 221, the SIM card startup program may be an Answer To Reset (ATR) program, that is, an operation requirement parameter of the SIM card transmitted to the mobile phone body when the siM card is activated. If necessary, the mobile phone body will perform a protocol parameter selection (Protocoland 200820728)
Parameter Select,PPS )程式,PPS程式為行動話機機體用 -以回應SIM卡之ATR程式之程式。行動話機機體利用PPS 庫式來回應SIM卡,是否接受該等操作需求參數。 本發明所述之恢復暫時失能用戶識別卡操作功能之方 法及行動通訊裝置,可以補救行動話機機體硬體設備之缺 點,在SIM卡暫時失能時,自動啟動SIM卡,使用者不需 對行動話機機體進行開關機動作,便能恢復SIM卡之操作 功能,大幅提高了使用之方便性。 綜上所述,本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述者僅為本發明之較佳實施例,本發明之 範圍並不以上述實施例為限,舉凡熟習本案技藝之人士援依 本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請 專利範圍内。 【圖式簡單說明】 圖1係本發明恢復暫時失能用戶識別卡操作功能之方法 之較佳實施方式流程圖。 【主要元件符號說明】 無 10 .:< Μ ίThe Parameter Select, PPS program, the PPS program is used for the mobile phone body - in response to the ATR program of the SIM card. The mobile phone body uses the PPS library to respond to the SIM card and accepts the operational demand parameters. The method and the mobile communication device for restoring the operation function of the temporarily disabled user identification card according to the present invention can rectify the shortcomings of the hardware device of the mobile phone body, and automatically activate the SIM card when the SIM card is temporarily disabled, the user does not need to When the mobile phone body is turned on and off, the operation function of the SIM card can be restored, and the convenience of use is greatly improved. In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above embodiments, and those skilled in the art will be able to make equivalent modifications or variations in accordance with the spirit of the present invention. It should be covered by the following patent application. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a flow chart of a preferred embodiment of the method for restoring the operational function of a temporarily disabled subscriber identity card in accordance with the present invention. [Main component symbol description] None 10 .:< Μ ί