TWI539786B - Method of establishing links between contact information according to data validity of elementary files stored in smartcard - Google Patents

Method of establishing links between contact information according to data validity of elementary files stored in smartcard Download PDF

Info

Publication number
TWI539786B
TWI539786B TW103112735A TW103112735A TWI539786B TW I539786 B TWI539786 B TW I539786B TW 103112735 A TW103112735 A TW 103112735A TW 103112735 A TW103112735 A TW 103112735A TW I539786 B TWI539786 B TW I539786B
Authority
TW
Taiwan
Prior art keywords
basic file
data
file
basic
type
Prior art date
Application number
TW103112735A
Other languages
Chinese (zh)
Other versions
TW201517588A (en
Inventor
莊佳芸
Original Assignee
宏碁股份有限公司
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 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to US14/492,069 priority Critical patent/US9313308B2/en
Publication of TW201517588A publication Critical patent/TW201517588A/en
Application granted granted Critical
Publication of TWI539786B publication Critical patent/TWI539786B/en

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Description

依據智慧卡內存基本文件之資料有效性來在聯絡人資訊之間 建立連結的方法 According to the validity of the data of the smart card memory basic file between the contact information Method of establishing a link

一種依據智慧卡內存基本文件之資料有效性來在聯絡人資訊之間建立連結的方法,尤指一種依據智慧卡內存索引管理電話簿基本文件和縮寫撥號號碼基本文件之對應關係有效性來在聯絡人資訊之間建立連結的方法。 A method for establishing a connection between contact information based on the validity of the data of the basic file of the smart card memory, in particular, a method for managing the correspondence between the basic file of the phone book and the basic file of the abbreviation dial number based on the smart card memory index. A method of establishing a link between people's information.

用戶識別模組(Subscriber Identity Module,SIM)卡是一種用來保存行動電話服務的用戶身份識別數據的智慧卡,同時可用來儲存簡訊資料和電話號碼。在外部硬體方面,SIM卡由中央處理器(central process unit,CPU)、唯讀記憶體(read-only memory,ROM)、隨機存取記憶體(random access memory,RAM)、電子式可抹除程式化唯讀記憶體(electrically erasable programmable read-only memory,EEPROM)和輸入/輸出(I/O)電路等元件所組成。在內部資料方面,SIM卡採用分級(hierarchical)的邏輯資料結構,其包含基本文件(elementary file,EF)、專有文件(dedicated file,DF)和主要文件(master file,MF)等3種類型的資料。 A Subscriber Identity Module (SIM) card is a smart card used to store user identification data for mobile phone services. It can also be used to store SMS messages and phone numbers. In terms of external hardware, the SIM card is composed of a central processing unit (CPU), a read-only memory (ROM), a random access memory (RAM), and an electronically smeared It consists of components such as electrically erasable programmable read-only memory (EEPROM) and input/output (I/O) circuits. In terms of internal data, the SIM card adopts a hierarchical logical data structure, which includes three types: elementary file (EF), dedicated file (DF), and master file (MF). data of.

基本文件之架構分為透明(transparent)、線性固定(linear fixed)和循環(cyclic)等三種類型,用以儲存不同性質之資料。透明基本文件是以位元組(byte)為單位之連續性資料檔案,資料的存取以指定抵銷(offset)位置及存取資料長度方式來處理。線性固定基本文件和循環基本文件是以記錄(record)為單位之連續性且固定長度的資料檔案,資料的存取以記錄為單位。 The basic file structure is divided into three types: transparent, linear fixed, and cyclic, to store data of different natures. A transparent basic file is a continuous data file in units of bytes. The access to the data is handled by specifying the offset position and the length of the accessed data. The linear fixed basic file and the cyclic basic file are continuous and fixed length data files in units of records, and the access of the data is in units of records.

依據第三代合作計劃(3rd Generation Partnership Project,3GPP)所制定之規範TS 31.102,專有文件DFPHONEBOOK內包含所有相關於電話簿資訊之基本文件,例如電話簿參考檔案基本文件(phone book reference file)EFPBR,其它基本文件之名稱縮寫和類型如下表所示: According to the specification TS 31.102 developed by the 3rd Generation Partnership Project (3GPP), the proprietary file DF PHONEBOOK contains all the basic files related to the phone book information, such as the phone book reference file. ) EF PBR , the names and types of other basic files are as follows:

EFAAS代表額外號碼阿爾法字串(additional number Alpha string)基本文件,屬於Type 3類型。EFADN代表縮寫撥號號碼(abbreviated dialing numbers)基本文件,屬於Type 1類型。EFANR代表額外號碼(additional number)基本文件,可屬於Type 1或Type 2類型。EFEMAIL代表電子郵件基本文件,可屬於Type 1或Type 2類型。EFEXT1代表延伸(extension1)基本文件,屬於Type 3類型。 EFGAS代表分組資訊阿爾法字串(grouping information Alpha string)基本文件,屬於Type 3類型。EFGRP代表分組檔案(grouping file)基 本文件,屬於Type 1類型。EFIAP代表索引管理電話簿(index administration phone book)基本文件,屬於Type 1類型。EFPBC代表電話簿管理(phone book control)基本文件,屬於Type 1類型。EFSNE代表第二名稱輸入(second name entry)基本文件,可屬於Type 1或Type 2類型。EFUID代表唯一識別(unique identifier)基本文件,屬於Type 1類型。EFCCP1代表功能組態參數(capability configuration parameters 1)基本文件,屬於Type 3類型。 EF AAS stands for the additional number Alpha string basic file and belongs to the Type 3 type. The EF ADN stands for the abbreviated dialing numbers basic file and belongs to the Type 1 type. EF ANR stands for an additional number basic file, which can be of Type 1 or Type 2. EF EMAIL stands for email basic file and can be of Type 1 or Type 2 type. EF EXT1 stands for extension (extension1) basic file and belongs to Type 3 type. EF GAS stands for grouping information Alpha string basic file and belongs to Type 3. EF GRP stands for grouping file basic file and belongs to Type 1. The EF IAP stands for the index administration phone book basic file and belongs to the Type 1 type. EF PBC stands for phone book control basic file and belongs to Type 1 type. EF SNE stands for second name entry basic file and can belong to Type 1 or Type 2 type. The EF UID stands for a unique identifier basic file and belongs to the Type 1 type. EF CCP1 stands for the basic configuration file of the capability configuration parameters 1 and belongs to the Type 3 type.

在電話簿參考檔案基本文件EFPBR中,第一筆以標籤”A8” 標示之資料名稱係對應於一主要基本文件(master EF),後續其它筆以標籤”A8”標示之資料名稱係對應於Type 1類型之基本文件,以標籤”A9”標示之資料名稱係對應於Type 2類型之基本文件,而以標籤”AA”標示之資料名稱係對應於Type 3類型之基本文件。Type 1類型基本文件和主要基本文件包含相同資料筆數,且Type 1類型基本文件內每一筆資料是以一對一方式映射至主要基本文件內一相對應筆資料。Type 2類型基本文件所包含之資料筆數少於主要基本文件所包含之資料筆數,且Type 2類型基本文件內每一筆資料是透過Type 1類型之索引管理電話簿基本文件EFIAP連結至主要基本文件內相對應筆資料。Type 3類型基本文件內每一筆資料是透過基本文件EFPBR內其它基本文件所包含資料之資料識別(record identifier)來連結至主要基本文件內相對應筆資料。 In the phone book reference file basic file EF PBR , the first data name marked with the label "A8" corresponds to a main basic file (master EF), and the subsequent data names indicated by the label "A8" correspond to For the basic file of the Type 1 type, the data name indicated by the label "A9" corresponds to the basic file of the Type 2 type, and the data name indicated by the label "AA" corresponds to the basic file of the Type 3 type. The Type 1 type basic file and the main basic file contain the same number of data, and each piece of the Type 1 type basic file is mapped to a corresponding one in the main basic file in a one-to-one manner. The Type 2 type basic file contains less data than the main basic file, and each type of Type 2 basic file is linked to the main file through the Type 1 type index management phone book basic file EF IAP. Corresponding pen data in the basic documents. Each type of data in the Type 3 basic file is linked to the corresponding data in the main basic file through the record identifier of the data contained in other basic files in the basic file EF PBR .

假設SIM卡內的電話簿存有一特定聯絡人之兩筆聯絡方 式,其中聯絡人之電話號碼係存在Type 1類型之縮寫撥號號碼基本文件EFADN,聯絡人之電子郵件係存在Type 2類型之電子郵件基本文件EFEMAIL,而Type 2類型之電子郵件基本文件EFEMAIL需透過索 引管理電話簿基本文件EFIAP連結至縮寫撥號號碼基本文件EFADN。在先前技術中,當使用者刪除此特定聯絡人之資料時,僅會刪除基本文件EFADN和EFEMAIL內相關資料,而不會處理索引管理電話簿基本文件EFIAP中相關資料。在刪除此特定聯絡人之資料後,基本文件EFIAP中相關資料已成無效指標。若將此張SIM卡插入其它裝置,索引管理電話簿基本文件EF_IAP之無效指標可能會在電話簿中造成顯示一筆空白的聯絡人資訊,因此容易混淆使用者並影響操作流暢度。 Assume that the phone book in the SIM card has two contacts for a specific contact, wherein the contact person's phone number is a Type 1 type abbreviated dial number basic file EF ADN , and the contact person's email is a Type 2 type of electronic device. The mail basic file EF EMAIL and the Type 2 type email basic file EF EMAIL are linked to the abbreviated dialing number basic file EF ADN through the index management phone book basic file EF IAP . In the prior art, when the user deletes the data of the specific contact, only the related materials in the basic files EF ADN and EF EMAIL are deleted, and the related information in the index management phone book basic file EF IAP is not processed. After deleting the information of this particular contact, the relevant information in the basic file EF IAP has become an invalid indicator. If this SIM card is inserted into another device, the invalid indicator of the index management phone book basic file EF_IAP may cause a blank contact information to be displayed in the phone book, so it is easy to confuse the user and affect the operation fluency.

本發明提供一種在聯絡人資訊之間建立連結的方法,其包含將一智慧卡安裝至一行動裝置;在該行動裝置之一開機流程中,在該智慧卡內存之一第一基本文件中讀取一第一資料;當該第一資料之內容對應至一有效指標時,依據該有效指標在該智慧卡內存之一第二基本文件中讀取相對應之一第二資料;以及當該第二資料之內容對應至一無效資料時,更新該該第一資料之內容使其對應至一無效指標。其中,該第一基本文件包含至少一指標,用來將一第三基本文件中一特定資料連結至該第二基本文件中一特定資料;該第二基本文件係用來儲存一聯絡人之一第一聯絡資訊;且該第三基本文件係用來儲存該聯絡人之一第二聯絡資訊。 The present invention provides a method for establishing a connection between contact information, comprising: installing a smart card to a mobile device; and reading in a first basic file of the smart card memory in a booting process of the mobile device Taking a first data; when the content of the first data corresponds to a valid indicator, reading a corresponding second data in a second basic file of the smart card memory according to the effective indicator; and when the first When the content of the second data corresponds to an invalid data, the content of the first data is updated to correspond to an invalid indicator. The first basic file includes at least one indicator for linking a specific data in a third basic file to a specific data in the second basic file; the second basic file is used to store one of the contacts First contact information; and the third basic file is used to store one of the contact's second contact information.

110~200‧‧‧步驟 110~200‧‧‧Steps

11~17‧‧‧欄位 11~17‧‧‧ fields

第1圖為本發明中一種在智慧卡內管理聯絡人資訊之連結的方法流程圖。 1 is a flow chart of a method for managing a link of contact information in a smart card according to the present invention.

第2圖至第4圖為依據3GPP規範所定義基本文件之示意圖。 Figures 2 through 4 are schematic diagrams of basic files defined in accordance with the 3GPP specifications.

本發明提供一種在智慧卡內管理聯絡人資訊之連結的方法,可應用在不同種類的行動裝置,包含行動電話、個人數位助理(personal digital assistant,PDA)、掌上型(handheld)電腦、平板(tablet)電腦、迷你桌面(nettop)電腦、筆記型(laptop)電腦,或其它具備通訊功能之裝置。然而,行動裝置之種類並不限定本發明之範疇。 The present invention provides a method for managing a link of contact information in a smart card, which can be applied to different types of mobile devices, including a mobile phone, a personal digital assistant (PDA), a handheld computer, and a tablet ( Tablet) A computer, a minitop computer, a laptop computer, or other device with communication capabilities. However, the type of mobile device does not limit the scope of the present invention.

在本發明方法所應用之行動裝置中,其內可安裝不同種類的智慧卡,例如全球行動通訊系統(global system for mobile communications,GSM)系統之SIM卡、通用行動通訊系統(universal mobile telecommunications system,UMTS)之USIM卡、分碼多重存取(code division multiple access,CDMA)系統之可移式用戶識別模組(removable user identity module,R-UIM)卡和CDMA用戶識別模組(CSIM)卡等。本發明說明書雖然以SIM卡來說明實施例,但行動裝置所安裝之智慧卡種類並不限定本發明之範疇。 In the mobile device to which the method of the present invention is applied, different types of smart cards can be installed therein, such as a SIM card of a global system for mobile communications (GSM) system, and a universal mobile telecommunications system (universal mobile telecommunications system). UMTS) USIM card, code division multiple access (CDMA) system removable user identity module (R-UIM) card and CDMA user identification module (CSIM) card, etc. . Although the present invention has been described with reference to a SIM card, the type of smart card installed in the mobile device does not limit the scope of the present invention.

在本發明方法所應用之行動裝置中,其內可安裝不同大小的智慧卡,例如標準SIM卡(Mini SIM)、微SIM卡(Micro SIM)或奈米SIM卡(Nano SIM)等。然而,行動裝置所安裝之智慧卡大小並不限定本發明之範疇。 In the mobile device to which the method of the present invention is applied, smart cards of different sizes can be installed therein, such as a standard SIM card (Mini SIM), a micro SIM card (Micro SIM) or a nano SIM card (Nano SIM). However, the size of the smart card installed in the mobile device does not limit the scope of the present invention.

第1圖為本發明中一種在智慧卡內管理聯絡人資訊之連結的方法流程圖,其包含下列步驟:步驟110:在行動裝置的開機流程中,判斷所安裝的智慧卡是否支援需透過其它基本文件來建立連結之特定類型資料;若是, 執行步驟120;若否,執行步驟200。 1 is a flow chart of a method for managing a link of contact information in a smart card according to the present invention, which includes the following steps: Step 110: In the boot process of the mobile device, determine whether the installed smart card supports other devices. Basic files to create specific types of links; if so, Step 120 is performed; if no, step 200 is performed.

步驟120:讀取智慧卡內存索引管理電話簿基本文件EFIAP中第i筆資料;執行步驟130。 Step 120: Read the i-th data in the smart card memory index management phone book basic file EF IAP ; go to step 130.

步驟130:判斷索引管理電話簿基本文件EFIAP中第i筆資料之內容是否對應至無效指標;若是,執行步驟170;若否,執行步驟140。 Step 130: Determine whether the content of the ith data in the index management phone book basic file EF IAP corresponds to the invalid indicator; if yes, go to step 170; if no, go to step 140.

步驟140:判斷縮寫撥號號碼基本文件EFADN中相對應第i筆資料之內容是否對應至無效資料;若是,執行步驟150;若否,執行步驟160。 Step 140: Determine whether the content corresponding to the i-th data in the abbreviation dialing number basic file EF ADN corresponds to the invalid data; if yes, go to step 150; if no, go to step 160.

步驟150:更新索引管理電話簿中基本文件EFIAP之第i筆資料之內容使其對應至無效指標;執行步驟170。 Step 150: Update the content of the i-th data of the basic file EF IAP in the index management phone book to correspond to the invalid indicator; and perform step 170.

步驟160:將索引管理電話簿基本文件EFIAP中第i筆資料所指定之一Type 2類型基本文件中一相對應筆資料連結至縮寫撥號號碼基本文件EFADN中第i筆資料;執行步驟170。 Step 160: Link a corresponding one of the Type 2 type basic files specified by the i-th data in the index management phone book basic file EF IAP to the i-th data in the abbreviation dialing number basic file EF ADN ; and execute step 170 .

步驟170:判斷是否已讀取智慧卡內存索引管理電話簿基本文件EFIAP中每一筆資料;若是,執行步驟190;若否,執行步驟180。 Step 170: Determine whether each data in the smart card memory index management phone book basic file EF IAP has been read; if yes, go to step 190; if no, go to step 180.

步驟180:將i值加1;執行步驟130。 Step 180: Add 1 to the value of i; perform step 130.

步驟190:重設i值;執行步驟200。 Step 190: Reset the value of i; perform step 200.

步驟200:繼續執行其它開機步驟。 Step 200: Continue to perform other booting steps.

為了說明方便,假設智慧卡內的電話簿存有一特定聯絡人之兩筆聯絡方式,其中聯絡人之電話號碼係存在Type 1類型之縮寫撥號號碼基本文件EFADN,聯絡人之電子郵件係存在Type 2類型之電子郵件基本文件EFEMAIL,而Type 2類型之電子郵件基本文件EFEMAIL需透過索引管理電話簿基本文件EFIAP連結至縮寫撥號號碼 基本文件EFADN。在後續操作中,使用者有可能會刪除此特定聯絡人之所有聯絡方式。 For convenience of explanation, it is assumed that the phone book in the smart card stores two contact forms of a specific contact person, wherein the contact person's phone number is a type 1 type abbreviated dial number basic file EF ADN , and the contact person's e-mail exists in the type The type 2 email basic file EF EMAIL , and the Type 2 type email basic file EF EMAIL is linked to the abbreviated dialing number basic file EF ADN through the index management phone book basic file EF IAP . In subsequent operations, it is possible for the user to delete all contact details for this particular contact.

第2圖為依據3GPP規範TS 31.102所定義之電話簿參考 檔案基本文件EFPBR的示意圖。如欄位11所示,基本文件EFPBR採用線性固定之資料架構。如欄位12所示,位元組1至X係用來儲存代表電話簿結構中所包含基本文件之標籤長度值(tag length value,TLV)物件。基本文件EFPBR中其它欄位之定義在3GPP規範TS 31.102有詳細說明,在此不另加贅述。 Figure 2 is a schematic diagram of the phone book reference file base file EF PBR as defined by the 3GPP specification TS 31.102. As shown in field 11, the basic file EF PBR uses a linear fixed data architecture. As indicated by field 12, bytes 1 through X are used to store tag length value (TLV) objects representing the basic files contained in the phone book structure. The definitions of other fields in the basic file EF PBR are described in detail in the 3GPP specification TS 31.102, and are not described here.

在步驟110中,本發明可在行動裝置的開機流程中讀取智 慧卡內存之電話簿參考檔案基本文件EFPBR,並依據位元組1至X代表之TLV物件來判斷智慧卡是否支援特定類型資料。在本發明之實施例中,特定類型資料可為EFANR、EFEMAIL或EFSNE等Type 2類型之基本文件,需透過索引管理電話簿基本文件EFIAP才能連結至縮寫撥號號碼基本文件EFADN。然而,所使用之Type 2類型基本文件並不限定本發明之範疇。 In step 110, the present invention can read the phone book reference file basic file EF PBR of the smart card memory in the boot process of the mobile device, and determine whether the smart card supports a specific type according to the TLV object represented by the byte groups 1 to X. data. In the embodiment of the present invention, the specific type of data may be a basic file of Type 2 type such as EF ANR , EF EMAIL or EF SNE, and the index file management file basic file EF IAP is required to be linked to the abbreviated dialing number basic file EF ADN . However, the Type 2 type basic file used does not limit the scope of the present invention.

第3圖為依據3GPP規範TS 31.102所定義之索引管理電 話簿基本文件EFIAP的示意圖。如欄位13所示,基本文件EFIAP採用線性固定之資料架構。如欄位14所示,位元組1至X係用來分別儲存標籤A9後出現第一至第X個物件之記錄號碼。基本文件EFIAP中其它欄位之定義在3GPP規範TS 31.102有詳細說明,在此不另加贅述。 Figure 3 is a schematic diagram of an index management phonebook base file EF IAP as defined by the 3GPP specification TS 31.102. As shown in field 13, the basic file EF IAP uses a linear fixed data architecture. As indicated by field 14, bytes 1 through X are used to store the record numbers of the first to Xth objects after the label A9 is stored, respectively. The definitions of the other fields in the basic file EF IAP are described in detail in the 3GPP specification TS 31.102, and are not described here.

在步驟120中,本發明可讀取智慧卡內存索引管理電話簿 基本文件EFIAP中存於第i個位元之第i筆資料。其中,i為介於1和X之間的正整數,其初始值可設為1。 In step 120, the present invention can read the i-th data stored in the i-th bit in the smart card memory index management phone book basic file EF IAP . Where i is a positive integer between 1 and X, and its initial value can be set to 1.

在步驟130中,本發明會判斷索引管理電話簿基本文件 EFIAP中第i筆資料之內容是否對應至無效指標。依據3GPP規範TS 31.102,當EFIAP中第i筆資料之內容為”FF”時即為無效指標,代表不需要將任何Type 2類型之資料連結至縮寫撥號號碼基本文件EFADN中第i筆資料,此時本發明會執行步驟170和180以針對索引管理電話簿基本文件EFIAP中每一筆資料執行步驟120和130之判斷流程。當EFIAP中第i筆資料之內容不為”FF”之無效指標時,本發明會接著執行步驟140。 In step 130, the present invention determines whether the content of the i-th data in the index management phone book basic file EF IAP corresponds to an invalid indicator. According to the 3GPP specification TS 31.102, when the content of the ith data in the EF IAP is "FF", it is an invalid indicator, which means that it is not necessary to link any type 2 data to the abbreviation dial number basic file EF ADN in the ith data. At this time, the present invention executes steps 170 and 180 to perform the judgment flow of steps 120 and 130 for each piece of data in the index management phone book basic file EF IAP . When the content of the ith data in the EF IAP is not an invalid indicator of "FF", the present invention proceeds to step 140.

第4圖為依據3GPP規範TS 31.102所定義之縮寫撥號號 碼基本文件EFADN的示意圖。如欄位15所示,基本文件EFADN採用線性固定之資料架構。如欄位16所示,位元組1至X係用來分別第一至第X筆電話號碼之阿爾法識別碼。如欄位17所示,位元組X+3至X+12係用來儲存撥號號碼和補充服務控制(supplementary service control,SSC)串。基本文件EFADN中其它欄位之定義在3GPP規範TS 31.102有詳細說明,在此不另加贅述。 Figure 4 is a schematic diagram of the abbreviated dialing number basic file EF ADN as defined by the 3GPP specification TS 31.102. As shown in field 15, the basic file EF ADN uses a linear fixed data architecture. As indicated by field 16, bytes 1 through X are used to respectively identify the alpha identification codes of the first to Xth telephone numbers. As indicated by field 17, bytes X+3 through X+12 are used to store dialed numbers and supplementary service control (SSC) strings. The definitions of the other fields in the basic file EF ADN are described in detail in the 3GPP specification TS 31.102, and are not described here.

如前所述,Type 1類型之基本文件EFIAP內每一筆資料是 以一對一方式映射至主要基本文件EFADN內一筆相對應資料。在步驟140中,本發明會判斷縮寫撥號號碼基本文件EFADN中第i筆資料之內容是否對應至無效資料。 As described above, each piece of data in the basic file EF IAP of the Type 1 type is mapped in a one-to-one manner to a corresponding data in the main basic file EF ADN . In step 140, the present invention determines whether the content of the i-th data in the abbreviated dialing number basic file EF ADN corresponds to the invalid data.

依據3GPP規範TS 31.102,當EFADN中第i位元所對應之 第i筆資料內容為”FF”時,代表當EFADN之第i筆資料為無效資料(例如先前儲存之電話號碼已被刪除)。此時本發明即可判斷此種狀況為EFIAP之有效指標對應至EFADN之無效資料的錯誤連結,因此會接著在步驟150中將索引管理電話簿基本文件EFIAP之第i筆資料之內容更新成”FF”,使其對應至無效指標。之後,若使用者在其它裝置上使用此智慧卡,在開機流程中將不會讀取到上述EFIAP之有效指標對應至EFADN之無效資料的錯誤連結,因此在開啟電話簿時僅會顯示有效的聯絡人資訊。 According to the 3GPP specification TS 31.102, when the ith data content corresponding to the i-th bit in the EF ADN is "FF", it means that the ith data of the EF ADN is invalid (for example, the previously stored phone number has been deleted). ). At this time, the present invention can determine that the situation is an error link of the valid index of the EF IAP corresponding to the invalid data of the EF ADN , and therefore, the content of the i-th data of the index management phone book basic file EF IAP is subsequently indexed in step 150. Update to "FF" to match the invalid indicator. After that, if the user uses the smart card on other devices, the error link of the EF IAP valid indicator corresponding to the EF ADN invalid data will not be read during the boot process, so only the phone book will be displayed when the phone book is opened. Effective contact information.

當EFADN中第i位元所對應之第i筆資料內容並非”FF”之 無效資料時,本發明即可判斷此種狀況為EFIAP之有效指標對應至EFADN之有效資料的正確連結,此時會接著執行在步驟160,進而將索引管理電話簿基本文件EFIAP中第i筆資料所指定之一Type 2類型基本文件中一相對應筆資料連結至縮寫撥號號碼基本文件EFADN中第i筆資料。之後,無論使用者是在原本裝置或其它裝置上使用此智慧卡,在開啟電話簿時皆能正確地看到相關於此特定聯絡人之所有聯絡資訊(例如存在EFADN內之聯絡人電話號碼和存在EFEMAIL內之聯絡人電子郵件)。 When the content of the i-th data corresponding to the i-th bit in the EF ADN is not invalid data of "FF", the present invention can determine that the situation is the correct link of the valid index of the EF IAP to the valid data of the EF ADN , Then, in step 160, a corresponding one of the Type 2 type basic files specified by the i-th data in the index management phone book basic file EF IAP is linked to the abbreviation dial number basic file EF ADN . i pen data. After that, whether the user uses the smart card on the original device or other devices, all the contact information related to the specific contact person can be correctly seen when the phone book is opened (for example, the contact phone number in the EF ADN exists). And the contact email in EF EMAIL ).

在步驟170和180中,本發明可針對索引管理電話簿基本 文件EFIAP中每一筆資料執行步驟130或140之判斷步驟,以建立前述EFIAP之有效指標對應至EFADN之有效資料的所有正確連結,並針對EFIAP之有效指標對應至EFADN之無效資料的所有錯誤連結來更新EFIAP之相關內容使其對應至無效指標。 In steps 170 and 180, the present invention may perform the determining step of step 130 or 140 for each piece of data in the index management phone book basic file EF IAP to establish all the correct information of the valid data of the EF IAP corresponding to the EF ADN . Link and update the relevant content of the EF IAP to the invalid indicator for all the error links of the EF IAP effective indicator corresponding to the invalid data of the EF ADN .

綜上所述,本發明能依據智慧卡內存索引管理電話簿基本 文件EFIAP和縮寫撥號號碼基本文件EFADN中相對應筆資料之有效性,來更新EFIAP之資料。當使用者刪除特定聯絡人之資料時,除了刪除Type 1/Type 2類型基本文件內相關資料外,亦會處理索引管理電話簿基本文件EFIAP中相關資料。透過刪除EFIAP之有效指標對應至EFADN之無效資料的錯誤連結,可避免智慧卡在其它裝置開機後造成顯示一筆空白的聯絡人資訊,進而改善電話簿資料正確性和操作流暢度。 In summary, the present invention can update the data of the EF IAP according to the validity of the corresponding data in the smart card memory index management phone book basic file EF IAP and the abbreviated dial number basic file EF ADN . When the user deletes the data of a specific contact, in addition to deleting the related data in the Type 1/Type 2 type basic file, the related information in the index management phone book basic file EF IAP is also processed. By deleting the wrong link of the EF IAP effective indicator to the invalid data of the EF ADN , the smart card can be prevented from displaying a blank contact information after the other device is turned on, thereby improving the correctness and smoothness of the phone book data.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

110~200‧‧‧步驟 110~200‧‧‧Steps

Claims (8)

一種依據一智慧卡內存基本文件之資料有效性來在聯絡人資訊之間建立連結的方法,其包含:將該智慧卡安裝至一行動裝置;在該行動裝置之一開機流程中,在該智慧卡內存之一第一基本文件(elementary file)中讀取一第一資料;當該第一資料之內容對應至一有效指標時,依據該有效指標在該智慧卡內存之一第二基本文件中讀取相對應之一第二資料;以及當該第二資料之內容對應至一無效資料時,更新該該第一資料之內容使其對應至一無效指標,其中:該第一基本文件包含至少一指標,用來將一第三基本文件中一特定資料連結至該第二基本文件中一特定資料;該第二基本文件係用來儲存一聯絡人之一第一聯絡資訊;且該第三基本文件係用來儲存該聯絡人之一第二聯絡資訊。 A method for establishing a link between contact information based on data validity of a smart card memory basic file, comprising: installing the smart card to a mobile device; in the booting process of the mobile device, the smart Reading a first data in an elementary file of the card memory; when the content of the first data corresponds to a valid indicator, according to the effective indicator in a second basic file of the smart card memory Reading a corresponding second data; and when the content of the second data corresponds to an invalid data, updating the content of the first data to correspond to an invalid indicator, wherein: the first basic file includes at least An indicator for linking a specific data in a third basic file to a specific data in the second basic file; the second basic file is used to store one of the contact first contact information; and the third The basic file is used to store one of the contact's second contact information. 如請求項1所述之方法,其另包含:當該第二資料之內容對應至一有效資料時,依據該有效指標在該第三基本文件中讀取相對應之一第三資料;以及將該第三資料連結至該第二資料。 The method of claim 1, further comprising: when the content of the second data corresponds to a valid data, reading the corresponding third data in the third basic file according to the effective indicator; The third data is linked to the second material. 如請求項1所述之方法,其另包含:在該開機流程中,依據該智慧卡內存之一第四基本文件來判斷該智慧卡是否支援該第三基本文件之類型。 The method of claim 1, further comprising: determining, in the booting process, whether the smart card supports the type of the third basic file according to a fourth basic file of the smart card memory. 如請求項3所述之方法,其中該第四基本文件係為一第三代合作計劃(3rd Generation Partnership Project,3GPP)規範TS 31.102所定義之一電話簿參考檔案(phone book reference file)基本文件。 The method of claim 3, wherein the fourth basic file is a phone book reference file basic file defined by a 3rd Generation Partnership Project (3GPP) specification TS 31.102. . 如請求項1所述之方法,其中該第一基本文件係為一3GPP規範TS 31.102所定義之一索引管理電話簿(index administration phone book)基本文件,而該第二基本文件係為該3GPP規範TS 31.102所定義之一縮寫撥號號碼(abbreviated dialing numbers)基本文件。 The method of claim 1, wherein the first basic file is an index administration phone book basic file defined by a 3GPP specification TS 31.102, and the second basic file is the 3GPP specification One of the basic documents of abbreviated dialing numbers defined in TS 31.102. 如請求項1所述之方法,其中該第三基本文件係為一3GPP規範TS 31.102所定義之一額外號碼(additional number)基本文件、一電子郵件基本文件,或是一第二名稱輸入(second name entry)基本文件。 The method of claim 1, wherein the third basic file is an additional number basic file defined by a 3GPP specification TS 31.102, an email basic file, or a second name input (second) Name entry) Basic file. 如請求項1所述之方法,其中該第一基本文件和該第二基本文件係為一3GPP規範TS 31.102所定義之第一類型(Type 1)基本文件,而該第三基本文件係為該3GPP規範TS 31.102所定義之第二類型(Type 2)基本文件。 The method of claim 1, wherein the first basic file and the second basic file are a first type (Type 1) basic file defined by a 3GPP specification TS 31.102, and the third basic file is the same The second type (Type 2) basic file defined by the 3GPP specification TS 31.102. 如請求項1所述之方法,其中該第一基本文件中每一筆資料係以一對一方式映射至該第二基本文件中相對應之每一筆資料。 The method of claim 1, wherein each of the first basic files is mapped to each of the corresponding data in the second basic file in a one-to-one manner.
TW103112735A 2013-10-23 2014-04-07 Method of establishing links between contact information according to data validity of elementary files stored in smartcard TWI539786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/492,069 US9313308B2 (en) 2013-10-23 2014-09-21 Method of establishing links between contact information according to data validity of elementary files stored in smartcards

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201361894439P 2013-10-23 2013-10-23

Publications (2)

Publication Number Publication Date
TW201517588A TW201517588A (en) 2015-05-01
TWI539786B true TWI539786B (en) 2016-06-21

Family

ID=53095780

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103112735A TWI539786B (en) 2013-10-23 2014-04-07 Method of establishing links between contact information according to data validity of elementary files stored in smartcard

Country Status (2)

Country Link
CN (1) CN104580635B (en)
TW (1) TWI539786B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114982212A (en) * 2020-01-19 2022-08-30 高通股份有限公司 Universal Integrated Circuit Card (UICC) phonebook access
CN112261641B (en) * 2020-10-16 2022-09-30 展讯通信(上海)有限公司 Data processing method and device and terminal equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100677429B1 (en) * 2005-02-01 2007-02-02 엘지전자 주식회사 Method for processing user interface in mobile communication terminal
US8301197B2 (en) * 2007-11-18 2012-10-30 Qualcomm Incorporated Method and apparatus for synchronizing contacts stored on smart card with contacts stored in an internal memory
TWI566566B (en) * 2012-03-27 2017-01-11 群邁通訊股份有限公司 Method for managing phone books
CN103037061B (en) * 2012-12-10 2016-02-10 东莞宇龙通信科技有限公司 Contact information processing method and terminal

Also Published As

Publication number Publication date
CN104580635B (en) 2017-10-27
CN104580635A (en) 2015-04-29
TW201517588A (en) 2015-05-01

Similar Documents

Publication Publication Date Title
CN112765271B (en) Block chain transaction index storage method and device, computer equipment and medium
CN111797073B (en) Database management method, electronic device, and computer-readable storage medium
CN113205339A (en) Transaction query and transaction data processing method, device and equipment based on block chain
CN110532107B (en) Interface calling method, device, computer equipment and storage medium
CN109597979B (en) List table generation method and device, computer equipment and storage medium
CN111859470A (en) Business data chaining method and device
CN112784112B (en) Message verification method and device
TWI566566B (en) Method for managing phone books
TWI539786B (en) Method of establishing links between contact information according to data validity of elementary files stored in smartcard
CN112765270B (en) Block chain data processing method and device, computer equipment and medium
CN107609870B (en) Multi-application key management method and system for POS (point of sale) and POS terminal
JP5209281B2 (en) Communication terminal device, access control method, IC card
TWI558157B (en) Method of accessing contact features in smartcard
CN110008059B (en) Data updating method and device for nonvolatile storage medium and storage medium
US9313308B2 (en) Method of establishing links between contact information according to data validity of elementary files stored in smartcards
CN105243123A (en) Method and apparatus for generating difference file of offline map file and updating offline map file
CN105447424B (en) The method for reading contact information in smart card
US9363362B2 (en) Method of performing network personalization on mobile devices
CN111294786B (en) Card writing protection method and device for mobile terminal, mobile terminal and storage medium
TWI566571B (en) Method of performing sim/usim personalization on mobile devices
TWI566573B (en) Method of performing network personalization on mobile devices
KR101092660B1 (en) Address Book System, Method for Registering Address Book and Method for Searching Address Book
TW201517586A (en) Method of managing contact information in mobile equipment according to network messages
CN114386056A (en) Method for processing data storage integrity and terminal equipment
CN115687132A (en) Test case generation method and device, computer equipment and storage medium