WO2012031442A1 - Method for storing service data and system thereof - Google Patents

Method for storing service data and system thereof Download PDF

Info

Publication number
WO2012031442A1
WO2012031442A1 PCT/CN2010/080270 CN2010080270W WO2012031442A1 WO 2012031442 A1 WO2012031442 A1 WO 2012031442A1 CN 2010080270 W CN2010080270 W CN 2010080270W WO 2012031442 A1 WO2012031442 A1 WO 2012031442A1
Authority
WO
WIPO (PCT)
Prior art keywords
service data
terminal
storing
index information
file
Prior art date
Application number
PCT/CN2010/080270
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2012031442A1 publication Critical patent/WO2012031442A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Definitions

  • the present invention relates to the Internet of Things technology, and in particular, to a method and system for storing service data. Background technique
  • the Internet of Things has been regarded as one of the key technologies for coping with the economic crisis and revitalizing the economy.
  • the Internet of Things business can be widely applied to many industries, such as vehicles, electricity, finance, environmental protection, petroleum, personal and corporate security, hydrology, military, fire, weather, coal, agriculture, forestry, elevators, etc.
  • industries such as vehicles, electricity, finance, environmental protection, petroleum, personal and corporate security, hydrology, military, fire, weather, coal, agriculture, forestry, elevators, etc.
  • the Internet of Things business will enter many industries rapidly in the next few years, and the number of users will also grow rapidly. It is estimated that by the end of 2012, the number of Internet of Things users based on mobile cellular communication technology in China will reach 30-40 million.
  • the Internet of Things application will also become one of the core applications of LTE in a few years, with broad development prospects.
  • Some of the current application types of IoT services are that after the deployment of the application terminal, it is inconvenient to implement regular maintenance. Some of them have higher requirements for the reliability of the operation of the business system, and some have strict requirements on response time, and some requirements. Customize the user identification card to store its business data. On the other hand, in more and more areas, the SIM card plays a key role, and the SIM card allows the communication between objects to be reliably transmitted in the network. The SIM card supply in 2009 was 3.5 billion, and it is expected to reach 5 billion by 2013.
  • the main object of the present invention is to provide a method and system for storing service data, which does not require re-customizing a new subscriber identity card for IoT service data storage, thereby saving cost and facilitating promotion.
  • a method of storing business data including:
  • the terminal acquires index information of a loop file for storing service data from the user identification card and stores the information;
  • the terminal When the service data needs to be stored, the terminal writes the service data into the loop file for storing the service data, and updates the corresponding index information.
  • the terminal writes the service data into the loop file for storing the service data: the terminal directly writes the service data into the loop file for storing the service data in the user identification card,
  • the terminal updates the corresponding index information to: the terminal updates the index information of the loop file for storing the service data stored by the terminal, and writes the updated index information into the user identification card to store the service data. In the loop file.
  • the method further includes: the terminal reading the cyclic file data for storing the service data into a preset storage area in the terminal,
  • the terminal writes service data into the loop file for storing service data, and updates the corresponding index information to:
  • the terminal writes the service data into the loop file for storing the service data in the preset storage area, and updates the index information of the loop file for storing the service data stored by the terminal;
  • the terminal When the setting condition is met, the terminal writes the content of the loop file for storing service data in the preset storage area into the user identification card, and then writes the index information saved by itself.
  • the loop file used to store business data in the subscriber identity card.
  • the terminal reads the cyclic file data for storing the service data into the preset storage area in the terminal according to the index information or the preset service data and the loop file storage relationship comparison table in the user identification card.
  • the index information of the loop file for storing the service data from the user identification card is: the terminal acquires the index information from the latest one of the loop files for storing the service data.
  • the method further includes: the terminal reading the service data stored in the loop file according to the index information.
  • a system for storing service data including a terminal and a subscriber identification card;
  • the terminal is configured to acquire index information of a loop file for storing service data from a user identification card and store the data, and write the service data into the loop file for storing the service data when the service data needs to be stored, And update the corresponding index information.
  • the terminal writes the service data into the loop file for storing the service data: the terminal directly writes the service data into the loop file for storing the service data in the user identification card,
  • the terminal updates the corresponding index information to: the terminal updates the index information of the loop file for storing the service data stored by the terminal, and writes the updated index information into the user identification card to store the service data. In the loop file.
  • the terminal is further configured to read cyclic file data for storing service data into a storage area preset in the terminal,
  • the terminal writes service data into the loop file for storing service data, and updates the corresponding index information to:
  • the terminal When the setting condition is met, the terminal writes the content of the loop file for storing service data in the preset storage area into the user identification card, and then writes the index information saved by itself into the user identification card.
  • the loop file used to store business data.
  • the terminal reads the cyclic file data for storing the service data into the preset storage area in the terminal according to the index information or the preset service data and the loop file storage relationship comparison table in the user identification card.
  • the index information of the loop file for storing the service data from the user identification card is: the terminal acquires the index information from the latest one of the loop files for storing the service data.
  • the terminal is further configured to: when the service data needs to be read, read the service data stored in the circulation file according to the index information.
  • the method and system for storing service data of the present invention utilizes a loop file in an existing subscriber identity card to store Internet of Things service data.
  • the present invention effectively utilizes a loop file in which an existing subscriber identity card is not frequently used in certain services. There is no need to re-customize a new user identification card, which saves costs and is easy to promote.
  • FIG. 1 is a schematic flowchart of a method for storing service data according to the present invention
  • FIG. 2 is a schematic diagram showing the structure of a loop file in a SIM card
  • FIG. 3 is a schematic diagram of an index area of a loop file according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic diagram of an index bit of a loop file according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic flowchart of reading service data according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic flowchart of writing service data according to Embodiment 1 of the present invention. detailed description
  • the basic idea of the present invention is to use the loop file in the existing subscriber identity card to store the internetwork service data.
  • FIG. 1 is a schematic flowchart of a method for storing service data according to the present invention. As shown in FIG. 1, the method includes:
  • Step 101 After the terminal is powered on and after normal authentication, the user identification card is initialized. After the user identification card is initialized, the terminal needs to acquire and store the index information of the loop file for storing the service data from the user identification card. Specifically, the terminal obtains an index from the latest record of the loop file for storing the service data. information.
  • the terminal according to the index information (such as the case where the terminal uses a single loop file to store the service data) or the preset service data and the loop identification file storage relationship table in the user identification card (such as the terminal)
  • the description information of the loop file in the user identification card is stored in the corresponding loop file, and specifically, a storage is opened in the corresponding loop file in the user identification card.
  • the index storage area the area always uses the last record as the index storage area.
  • the index field is used to indicate whether each storage slot of the loop file stores the original type data (such as whether EFlnd stores the dialed number) or is stored. Business data, or empty items.
  • An example of a definition is as follows: 0 means that a storage slot is empty data, 1 means that a storage slot stores the original data type (for EFlnd is a dialed number), and 2 indicates that a storage slot is stored. Is business data.
  • Step 102 In the business application, the service data needs to be stored.
  • Step 103 The terminal writes service data into the loop file for storing service data, and updates corresponding index information.
  • the terminal directly writes the service data into the loop file in the user identification card
  • the index information needs to be written into the user identification card.
  • the corresponding loop file specifically, when the storage slot of the loop file is full, the storage slot that is stored for the longest time is written, and when the storage slot of the loop file is not full, the next unoccupied storage is written. groove.
  • the terminal After the terminal reads the cyclic file data for storing the service data into the preset storage area in the terminal after the initialization, the terminal writes the service data into the preset storage area to store the service data. In the file, and updating the index information of the loop file for storing the service data stored by itself. After that, when the terminal meets certain conditions (such as shutdown, timer expires, etc.), the content of the loop file used to store the service data in the preset storage area is written into the user identification card, and then the terminal is saved.
  • certain conditions such as shutdown, timer expires, etc.
  • the index information is written into the loop file in the user identification card (in accordance with the storage rule of the loop file, when the loop file storage slot is full, the index information is written into the loop file to store the longest record, the loop file storage slot If it is not full, write the index information to the next unoccupied slot in the loop file).
  • the terminal when the terminal is powered on or the terminal is restarted, the terminal reads the latest record of the relevant loop file on the user identification card as index information and stores it.
  • Step 104 In the business application, the business data needs to be read.
  • Step 105 The terminal reads the service data stored in the loop file according to the index information.
  • the terminal After the terminal reads the cyclic file data of the service data into the preset storage area in the terminal after the initialization, the terminal reads the relevant storage area (preset loop file, including the index field) preset in the terminal. data.
  • the terminal mainly refers to an Internet of Things terminal
  • the user identification card described in the present invention may be a SIM card, a RUIM card, a USIM card, a UICC card, or the like.
  • the present invention also provides a system for storing service data, the system comprising a terminal and a subscriber identity card;
  • the terminal is configured to acquire index information of a loop file for storing service data from a user identification card and store the data, and write the service data to the storage for when the service data needs to be stored Store the business data in the loop file and update the corresponding index information.
  • the terminal writes the service data into the loop file for storing the service data: the terminal directly writes the service data into the loop file for storing the service data in the user identification card,
  • the terminal updates the corresponding index information to: the terminal updates the index information of the loop file for storing the service data stored by the terminal, and writes the updated index information into the user identification card to store the service data. In the loop file.
  • the terminal is further configured to read cyclic file data for storing service data into a storage area preset in the terminal,
  • the terminal writes service data into the loop file for storing service data, and updates the corresponding index information to:
  • the terminal writes the service data into the loop file for storing the service data in the preset storage area, and updates the index information of the loop file for storing the service data stored by the terminal;
  • the terminal When the setting condition is met, the terminal writes the content of the loop file for storing service data in the preset storage area into the user identification card, and then writes the index information saved by itself into the user identification card.
  • the loop file used to store business data.
  • the terminal reads the cyclic file data for storing the service data into the preset storage area in the terminal according to the index information or the preset service data and the loop file storage relationship comparison table in the user identification card.
  • the index information of the loop file for storing the service data from the user identification card is: the terminal acquires the index information from the latest one of the loop files for storing the service data.
  • the terminal is further configured to read, according to the index information, when the service data needs to be read Business data stored in the ring file.
  • the files and data on the SIM card include the following four types:
  • Ki one of Kc algorithm input parameters: key number); International Mobile Subscriber Number (IMSI); A3: IMSI authentication algorithm; A5: encryption key generation algorithm; A8: Key (Kc) generation Before, the user key (Kc) generates an algorithm or the like.
  • Network connection and user information class data that the user automatically deposits and updates during the card use process. This includes the location identification number (LAI) of the mobile phone at the time of the last location registration, the periodic location update interval set, the Temporary Mobile Subscriber Number (TMSI), and so on.
  • LAI location identification number
  • TMSI Temporary Mobile Subscriber Number
  • the above data are stored in their respective directory entries.
  • the first type of data is placed in the root directory. When the power is turned on, it first enters the root directory, and then enters the relevant subdirectory according to the instructions. Each directory has its own internal data fields.
  • the identification code protection can only query, read and update the data in the data domain after the verification.
  • the first type of data above is usually permanent data, which cannot be changed after being injected by the SIM card manufacturer.
  • the second type of data is usually allowed to be accessed and updated by the specialized agencies of the network operation department. Most of the third and fourth types of data are allowed. The user performs a read/write operation on the terminal.
  • the service data is stored in the SIM card EFlnd
  • EFlnd is a loop file for storing service data in the user identification card
  • the loop file structure in the SIM card is as shown in FIG. 2 .
  • the index (Index) information is always stored in the last record in the EF1nd, and the index information is used to describe the dialed number data and the service data storage of the EF1nd file.
  • the Index information occupies a storage space of a record.
  • two or more records can be occupied according to requirements, and the space size varies according to different user identification cards, for example, one record in a user identification card. It is 176 bytes, and some are 255 bytes.
  • FIG. 3 is a schematic diagram of a Index area of a loop file according to Embodiment 1 of the present invention.
  • the Index area is composed of a plurality of consecutive bytes
  • FIG. 4 is a loop file Index according to Embodiment 1 of the present invention.
  • a bit bit diagram, as shown in FIG. 4, the Index area is logically composed of two components.
  • An implementation example is to select the first byte of the Index as a flag field, which is used to indicate that the field is an Index field, and is given For specific values, such as "OxAA", this field separates Index from other records in other EFlnd.
  • three kinds of data are stored in EFlnd, one is business data, one is ordinary dialing number data, and the other is empty slot.
  • the storage data type of each storage slot is determined for every 2 bits. 00 indicates that a storage slot is empty data, 01 indicates that a storage slot stores dialed data, and 10 indicates that a storage slot stores service data. If the Bitl and Bit2 of the Index are 01, it indicates that the first slot stores the normal dialed number data. If Bit3 and Bit4 are 02, it indicates that the second slot stores the service data. If Bit5, If Bit6 is 00, it indicates that the third slot does not store data.
  • the index area of the EFlnd file is re-implemented logically, and the field of the Index area can describe the storage condition of up to 1/2*8*(N-1) EFlnd storage slots, and the value of N depends on different users.
  • the card type is identified, but for a loop file, using a slot always describes the storage of all the records in the loop file.
  • the mobile terminal After receiving a command for reading service data, the mobile terminal searches for data in a corresponding preset loop file in the terminal to perform service data reading.
  • the index of the storage area of the mobile terminal is first queried, and the service data is read into the temporary storage area of the terminal according to the query result (for example, when the corresponding bit is 02), and the reading is successful, if If a loop file is not successfully read, another loop file is read according to the predetermined order of the terminal until all preset loop files are read. Otherwise the read fails.
  • FIG. 6 is a schematic flowchart of writing service data according to Embodiment 1 of the present invention.
  • the mobile terminal After receiving a command for writing service data, the mobile terminal first queries an Index of a preset loop file storage area of the mobile terminal, and writes service data according to the query result. Enter a free slot in memory or overwrite a storage slot. If it is business data, change the corresponding two bits of Index to the service data identifier (an example is 02, which means that the service data is stored); When the device arrives, the content of the loop file preset in the terminal is written into the relevant EF file in the SIM, and then the Index is written into the relevant EF file on the card.
  • the above description is made by taking the EFLnd of the SIM card as an example.
  • the present invention is applicable to other applications on the R-UIM, the USIM, and the UICC, and can be similarly used, and will not be described again.
  • the invention has the advantages that: the popularization is good, the cost is low, and the loop file of the original user identification card not used frequently in some services is effectively utilized, so that the operator does not need to re-customize the new user identification card, which is effective. Saving business costs. In actual use, the operator can also write its business data service into the previously issued user identification card through instruments or third-party software, so that the business can be conveniently carried out.

Abstract

A method for storing service data is disclosed in the present invention, which includes: a terminal acquiring and storing the index information of a circular file using for storing the service data from a subscriber identity module; when the service data storage is necessary, the terminal writing the service data into said circular file using for storing service data, and updating the corresponding index information. The present invention also discloses accordingly a system for storing the service data. The present invention effectively makes use of the circular file, of the present subscriber identity module, which is not been used usually in certain service, thus re-customizing advanced subscriber identity module is not necessary, thereby saving cost, and being promoted easily.

Description

一种存储业务数据的方法及系统 技术领域  Method and system for storing business data
本发明涉及物联网技术, 尤其涉及一种存储业务数据的方法及系统。 背景技术  The present invention relates to the Internet of Things technology, and in particular, to a method and system for storing service data. Background technique
物联网作为新兴高技术产业的重要组成部分, 已被世界各国当作应对 经济危机、 振兴经济的重点技术之一。 物联网业务可以广泛地应用到众多 的行业中, 例如车辆、 电力、 金融、 环保、 石油、 个人与企业安防、 水文、 军事、 消防、 气象、 煤炭、 农林业、 电梯等。 根据专家预计, 未来几年间, 物联网业务将快速地进入很多行业, 其用户数也将快速成长, 预计至 2012 年底, 中国国内基于移动蜂窝通信技术的物联网用户数将可能达到 3000 ~ 4000 万, 物联网应用也会在若干年后成为 LTE的核心应用之一, 具有广阔 的发展前景。  As an important part of the emerging high-tech industry, the Internet of Things has been regarded as one of the key technologies for coping with the economic crisis and revitalizing the economy. The Internet of Things business can be widely applied to many industries, such as vehicles, electricity, finance, environmental protection, petroleum, personal and corporate security, hydrology, military, fire, weather, coal, agriculture, forestry, elevators, etc. According to experts' estimates, the Internet of Things business will enter many industries rapidly in the next few years, and the number of users will also grow rapidly. It is estimated that by the end of 2012, the number of Internet of Things users based on mobile cellular communication technology in China will reach 30-40 million. The Internet of Things application will also become one of the core applications of LTE in a few years, with broad development prospects.
目前物联网业务的应用类型中, 有些是应用终端一旦部署后不便实施 经常性的维护, 有些是对业务系统运行的可靠性有较高的要求, 有些是对 响应时间要求较严, 还有些要求定制用户识别卡以存储其业务数据。 另一 方面, 在越来越多的领域, SIM卡起到关键的作用, SIM卡可以让物体之 间的通信在网络中可靠传输。 SIM卡 2009年的供应量为 35亿张, 预计到 2013年将达到 50亿张。 实际物联网应用时, 用户识别卡的很多文件如线性 定长文件(如 EFadn、 EFsms等)经常被闲置, 同时用户识别卡上又缺少特 定存储物联网相关业务的数据承载体, 一种解决方法是按照物联网业务类 型的要求设计、 生产新的用户识别卡, 但是物联网应用业务模型非常之多, 这样做的代价将是非常巨大的。 发明内容 Some of the current application types of IoT services are that after the deployment of the application terminal, it is inconvenient to implement regular maintenance. Some of them have higher requirements for the reliability of the operation of the business system, and some have strict requirements on response time, and some requirements. Customize the user identification card to store its business data. On the other hand, in more and more areas, the SIM card plays a key role, and the SIM card allows the communication between objects to be reliably transmitted in the network. The SIM card supply in 2009 was 3.5 billion, and it is expected to reach 5 billion by 2013. In the actual IoT application, many files of the user identification card, such as linear fixed length files (such as EFadn, EFsms, etc.) are often idle, and the user identification card lacks a specific data carrier for storing the Internet of Things related services. The new user identification card is designed and produced according to the requirements of the IoT business type. However, the IoT application business model is very much, and the cost of doing so will be very huge. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种存储业务数据的方法及系 统, 不需要重新订制新型的用户识别卡用于物联网业务数据存储, 从而能 够节约成本, 且易于推广。  In view of this, the main object of the present invention is to provide a method and system for storing service data, which does not require re-customizing a new subscriber identity card for IoT service data storage, thereby saving cost and facilitating promotion.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种存储业务数据的方法, 包括:  A method of storing business data, including:
终端从用户识别卡获取用于存储业务数据的循环文件的索引信息并存 储;  The terminal acquires index information of a loop file for storing service data from the user identification card and stores the information;
需要存储业务数据时, 终端将业务数据写入所述用于存储业务数据的 循环文件中, 并更新相应索引信息。  When the service data needs to be stored, the terminal writes the service data into the loop file for storing the service data, and updates the corresponding index information.
所述终端将业务数据写入所述用于存储业务数据的循环文件中为: 终 端直接将业务数据写入用户识别卡中所述用于存储业务数据的循环文件 中,  The terminal writes the service data into the loop file for storing the service data: the terminal directly writes the service data into the loop file for storing the service data in the user identification card,
所述终端更新相应索引信息为: 终端更新自身存储的所述用于存储业 务数据的循环文件的索引信息, 并将所述更新后的索引信息写入用户识别 卡中所述用于存储业务数据的循环文件中。  The terminal updates the corresponding index information to: the terminal updates the index information of the loop file for storing the service data stored by the terminal, and writes the updated index information into the user identification card to store the service data. In the loop file.
该方法还包括: 终端将用于存储业务数据的循环文件数据读入终端中 预设的存储区中,  The method further includes: the terminal reading the cyclic file data for storing the service data into a preset storage area in the terminal,
所述终端将业务数据写入所述用于存储业务数据的循环文件中, 并更 新相应索引信息为:  The terminal writes service data into the loop file for storing service data, and updates the corresponding index information to:
终端将业务数据写入所述预设的存储区中所述用于存储业务数据的循 环文件中, 并更新自身存储的所述用于存储业务数据的循环文件的索引信 息;  The terminal writes the service data into the loop file for storing the service data in the preset storage area, and updates the index information of the loop file for storing the service data stored by the terminal;
在满足设定条件时, 终端将所述预设的存储区中的所述用于存储业务 数据的循环文件内容写入用户识别卡中, 之后将自身保存的索引信息写入 用户识别卡中所述用于存储业务数据的循环文件中。 区中为: 终端根据索引信息或预设的业务数据与用户识别卡中循环文件存 储关系对照表, 将用于存储业务数据的循环文件数据读入终端中预设的存 储区中。 When the setting condition is met, the terminal writes the content of the loop file for storing service data in the preset storage area into the user identification card, and then writes the index information saved by itself. The loop file used to store business data in the subscriber identity card. In the area, the terminal reads the cyclic file data for storing the service data into the preset storage area in the terminal according to the index information or the preset service data and the loop file storage relationship comparison table in the user identification card.
所述终端从用户识别卡获取用于存储业务数据的循环文件的索引信息 为: 终端从所述用于存储业务数据的循环文件最新的一条记录获取索引信 息。  The index information of the loop file for storing the service data from the user identification card is: the terminal acquires the index information from the latest one of the loop files for storing the service data.
终端需要读取业务数据时, 该方法还包括: 终端根据所述索引信息读 取循环文件中存储的业务数据。  When the terminal needs to read the service data, the method further includes: the terminal reading the service data stored in the loop file according to the index information.
一种存储业务数据的系统, 包括终端和用户识别卡; 其中,  A system for storing service data, including a terminal and a subscriber identification card; wherein
所述终端, 用于从用户识别卡获取用于存储业务数据的循环文件的索 引信息并存储; 以及在需要存储业务数据时, 将业务数据写入所述用于存 储业务数据的循环文件中, 并更新相应索引信息。  The terminal is configured to acquire index information of a loop file for storing service data from a user identification card and store the data, and write the service data into the loop file for storing the service data when the service data needs to be stored, And update the corresponding index information.
所述终端将业务数据写入所述用于存储业务数据的循环文件中为: 终 端直接将业务数据写入用户识别卡中所述用于存储业务数据的循环文件 中,  The terminal writes the service data into the loop file for storing the service data: the terminal directly writes the service data into the loop file for storing the service data in the user identification card,
所述终端更新相应索引信息为: 终端更新自身存储的所述用于存储业 务数据的循环文件的索引信息, 并将所述更新后的索引信息写入用户识别 卡中所述用于存储业务数据的循环文件中。  The terminal updates the corresponding index information to: the terminal updates the index information of the loop file for storing the service data stored by the terminal, and writes the updated index information into the user identification card to store the service data. In the loop file.
所述终端, 还用于将用于存储业务数据的循环文件数据读入终端中预 设的存储区中,  The terminal is further configured to read cyclic file data for storing service data into a storage area preset in the terminal,
所述终端将业务数据写入所述用于存储业务数据的循环文件中, 并更 新相应索引信息为:  The terminal writes service data into the loop file for storing service data, and updates the corresponding index information to:
终端将业务数据写入所述预设的存储区中所述用于存储业务数据的循 环文件中, 并更新自身存储的所述用于存储业务数据的循环文件的索引信 息; Transmitting, by the terminal, service data into the preset storage area, the method for storing service data In the ring file, and updating the index information of the loop file for storing the service data stored by itself;
在满足设定条件时, 终端将所述预设的存储区中的所述用于存储业务 数据的循环文件内容写入用户识别卡中, 之后将自身保存的索引信息写入 用户识别卡中所述用于存储业务数据的循环文件中。 区中为: 终端根据索引信息或预设的业务数据与用户识别卡中循环文件存 储关系对照表, 将用于存储业务数据的循环文件数据读入终端中预设的存 储区中。  When the setting condition is met, the terminal writes the content of the loop file for storing service data in the preset storage area into the user identification card, and then writes the index information saved by itself into the user identification card. The loop file used to store business data. In the area, the terminal reads the cyclic file data for storing the service data into the preset storage area in the terminal according to the index information or the preset service data and the loop file storage relationship comparison table in the user identification card.
所述终端从用户识别卡获取用于存储业务数据的循环文件的索引信息 为: 终端从所述用于存储业务数据的循环文件最新的一条记录获取索引信 息。  The index information of the loop file for storing the service data from the user identification card is: the terminal acquires the index information from the latest one of the loop files for storing the service data.
所述终端, 还用于在需要读取业务数据时, 根据所述索引信息读取循 环文件中存储的业务数据。  The terminal is further configured to: when the service data needs to be read, read the service data stored in the circulation file according to the index information.
本发明存储业务数据的方法及系统, 利用现有用户识别卡中的循环文 件来存储物联网业务数据, 本发明有效利用了现有用户识别卡在某些业务 中不被经常使用的循环文件, 不需要重新订制新型的用户识别卡, 从而能 够节约成本, 且易于推广。 附图说明  The method and system for storing service data of the present invention utilizes a loop file in an existing subscriber identity card to store Internet of Things service data. The present invention effectively utilizes a loop file in which an existing subscriber identity card is not frequently used in certain services. There is no need to re-customize a new user identification card, which saves costs and is easy to promote. DRAWINGS
图 1为本发明存储业务数据的方法流程示意图;  1 is a schematic flowchart of a method for storing service data according to the present invention;
图 2为 SIM卡内循环文件结构示意图;  2 is a schematic diagram showing the structure of a loop file in a SIM card;
图 3为本发明实施例 1循环文件 Index区示意图;  3 is a schematic diagram of an index area of a loop file according to Embodiment 1 of the present invention;
图 4为本发明实施例 1循环文件 Index bit位示意图;  4 is a schematic diagram of an index bit of a loop file according to Embodiment 1 of the present invention;
图 5为本发明实施例 1读取业务数据的流程示意图;  FIG. 5 is a schematic flowchart of reading service data according to Embodiment 1 of the present invention; FIG.
图 6为本发明实施例 1写入业务数据的流程示意图。 具体实施方式 FIG. 6 is a schematic flowchart of writing service data according to Embodiment 1 of the present invention. detailed description
本发明的基本思想是: 利用现有用户识别卡中的循环文件来存储物联 网业务数据。  The basic idea of the present invention is to use the loop file in the existing subscriber identity card to store the internetwork service data.
图 1为本发明存储业务数据的方法流程示意图, 如图 1所示, 该方法 包括:  1 is a schematic flowchart of a method for storing service data according to the present invention. As shown in FIG. 1, the method includes:
步骤 101 : 终端开机并经过正常鉴权后, 对用户识别卡进行初始化。 在用户识别卡初始化结束后, 终端需要从用户识别卡获取用于存储业 务数据的循环文件的索引信息并存储, 具体的, 终端从所述用于存储业务 数据的循环文件最新的一条记录获取索引信息。  Step 101: After the terminal is powered on and after normal authentication, the user identification card is initialized. After the user identification card is initialized, the terminal needs to acquire and store the index information of the loop file for storing the service data from the user identification card. Specifically, the terminal obtains an index from the latest record of the loop file for storing the service data. information.
可选的, 在用户识别卡初始化结束后, 终端根据索引信息 (如终端釆 用单个循环文件存储业务数据的情况) 或预设的业务数据与用户识别卡中 循环文件存储关系对照表(如终端釆用多个循环文件存储业务数据的情 本发明中, 将描述用户识别卡内循环文件的描述信息保存于相应的循 环文件内, 具体的, 在用户识别卡内的相应循环文件中开辟一个存储区作 为索引存储区, 总是使用最后一个记录作为索引存储区, 索引字段用于指 示该循环文件的各存储槽是存入了原类型数据(如 EFlnd是否存储了拨号 号码)、 还是存入了业务数据、 或者是空项。 一种定义的例子如下: 0表示 某存储槽为空数据、 1表示某存储槽存储的是原始数据类型 (对于 EFlnd就 是拨号号码)、 2表示某存储槽存储的是业务数据。  Optionally, after the user identification card is initialized, the terminal according to the index information (such as the case where the terminal uses a single loop file to store the service data) or the preset service data and the loop identification file storage relationship table in the user identification card (such as the terminal) In the present invention, the description information of the loop file in the user identification card is stored in the corresponding loop file, and specifically, a storage is opened in the corresponding loop file in the user identification card. As the index storage area, the area always uses the last record as the index storage area. The index field is used to indicate whether each storage slot of the loop file stores the original type data (such as whether EFlnd stores the dialed number) or is stored. Business data, or empty items. An example of a definition is as follows: 0 means that a storage slot is empty data, 1 means that a storage slot stores the original data type (for EFlnd is a dialed number), and 2 indicates that a storage slot is stored. Is business data.
步骤 102: 在业务应用中, 需要存储业务数据。  Step 102: In the business application, the service data needs to be stored.
步骤 103: 终端将业务数据写入所述用于存储业务数据的循环文件中, 并更新相应索引信息。  Step 103: The terminal writes service data into the loop file for storing service data, and updates corresponding index information.
这里, 终端直接将业务数据写入用户识别卡中循环文件的情况下, 更 新终端存储的相应索引信息之后, 还需要将该索引信息写入用户识别卡中 相应的循环文件中, 具体的, 循环文件的存储槽已存满的情况下, 写入存 储最久的存储槽, 循环文件的存储槽未存满的情况下, 写入下一个未占用 的存储槽。 Here, when the terminal directly writes the service data into the loop file in the user identification card, after updating the corresponding index information stored by the terminal, the index information needs to be written into the user identification card. In the corresponding loop file, specifically, when the storage slot of the loop file is full, the storage slot that is stored for the longest time is written, and when the storage slot of the loop file is not full, the next unoccupied storage is written. groove.
终端在初始化后将用于存储业务数据的循环文件数据读入终端中预设 的存储区的情况下, 终端将业务数据写入所述预设的存储区中所述用于存 储业务数据的循环文件中, 并更新自身存储的所述用于存储业务数据的循 环文件的索引信息。 之后, 由终端在满足一定条件时 (如关机、 定时器到 时等 ), 将所述预设的存储区中用于存储业务数据的循环文件内容写入用户 识别卡中,再将终端中保存的索引信息写入用户识别卡中该循环文件中(按 照循环文件的存储规则, 循环文件存储槽已存满的情况下, 将索引信息写 入循环文件中存储最久的记录, 循环文件存储槽未存满的情况下, 将索引 信息写入循环文件中下一个未占用的存储槽)。  After the terminal reads the cyclic file data for storing the service data into the preset storage area in the terminal after the initialization, the terminal writes the service data into the preset storage area to store the service data. In the file, and updating the index information of the loop file for storing the service data stored by itself. After that, when the terminal meets certain conditions (such as shutdown, timer expires, etc.), the content of the loop file used to store the service data in the preset storage area is written into the user identification card, and then the terminal is saved. The index information is written into the loop file in the user identification card (in accordance with the storage rule of the loop file, when the loop file storage slot is full, the index information is written into the loop file to store the longest record, the loop file storage slot If it is not full, write the index information to the next unoccupied slot in the loop file).
相应的, 终端开机时或者终端重启时, 终端读取用户识别卡上相关循 环文件最新的一条记录作为索引信息并存储。  Correspondingly, when the terminal is powered on or the terminal is restarted, the terminal reads the latest record of the relevant loop file on the user identification card as index information and stores it.
步骤 104: 在业务应用中, 需要读取业务数据。  Step 104: In the business application, the business data needs to be read.
步骤 105: 终端根据索引信息读取循环文件中存储的业务数据。  Step 105: The terminal reads the service data stored in the loop file according to the index information.
终端在初始化后将存储了业务数据的循环文件数据读入终端中预设的 存储区的情况下, 终端从终端中预设的存储区 (预设的循环文件, 包括索 引字段) 中读取相关数据。  After the terminal reads the cyclic file data of the service data into the preset storage area in the terminal after the initialization, the terminal reads the relevant storage area (preset loop file, including the index field) preset in the terminal. data.
需要说明的是, 本发明中, 终端主要指物联网终端, 本发明中所述的 用户识别卡可以是 SIM卡、 RUIM卡、 USIM卡、 UICC卡等。  It should be noted that, in the present invention, the terminal mainly refers to an Internet of Things terminal, and the user identification card described in the present invention may be a SIM card, a RUIM card, a USIM card, a UICC card, or the like.
本发明还提出一种存储业务数据的系统, 该系统包括终端和用户识别 卡; 其中,  The present invention also provides a system for storing service data, the system comprising a terminal and a subscriber identity card;
所述终端, 用于从用户识别卡获取用于存储业务数据的循环文件的索 引信息并存储; 以及在需要存储业务数据时, 将业务数据写入所述用于存 储业务数据的循环文件中, 并更新相应索引信息。 The terminal is configured to acquire index information of a loop file for storing service data from a user identification card and store the data, and write the service data to the storage for when the service data needs to be stored Store the business data in the loop file and update the corresponding index information.
所述终端将业务数据写入所述用于存储业务数据的循环文件中为: 终 端直接将业务数据写入用户识别卡中所述用于存储业务数据的循环文件 中,  The terminal writes the service data into the loop file for storing the service data: the terminal directly writes the service data into the loop file for storing the service data in the user identification card,
所述终端更新相应索引信息为: 终端更新自身存储的所述用于存储业 务数据的循环文件的索引信息, 并将所述更新后的索引信息写入用户识别 卡中所述用于存储业务数据的循环文件中。  The terminal updates the corresponding index information to: the terminal updates the index information of the loop file for storing the service data stored by the terminal, and writes the updated index information into the user identification card to store the service data. In the loop file.
所述终端, 还用于将用于存储业务数据的循环文件数据读入终端中预 设的存储区中,  The terminal is further configured to read cyclic file data for storing service data into a storage area preset in the terminal,
所述终端将业务数据写入所述用于存储业务数据的循环文件中, 并更 新相应索引信息为:  The terminal writes service data into the loop file for storing service data, and updates the corresponding index information to:
终端将业务数据写入所述预设的存储区中所述用于存储业务数据的循 环文件中, 并更新自身存储的所述用于存储业务数据的循环文件的索引信 息;  The terminal writes the service data into the loop file for storing the service data in the preset storage area, and updates the index information of the loop file for storing the service data stored by the terminal;
在满足设定条件时, 终端将所述预设的存储区中的所述用于存储业务 数据的循环文件内容写入用户识别卡中, 之后将自身保存的索引信息写入 用户识别卡中所述用于存储业务数据的循环文件中。 区中为: 终端根据索引信息或预设的业务数据与用户识别卡中循环文件存 储关系对照表, 将用于存储业务数据的循环文件数据读入终端中预设的存 储区中。  When the setting condition is met, the terminal writes the content of the loop file for storing service data in the preset storage area into the user identification card, and then writes the index information saved by itself into the user identification card. The loop file used to store business data. In the area, the terminal reads the cyclic file data for storing the service data into the preset storage area in the terminal according to the index information or the preset service data and the loop file storage relationship comparison table in the user identification card.
所述终端从用户识别卡获取用于存储业务数据的循环文件的索引信息 为: 终端从所述用于存储业务数据的循环文件最新的一条记录获取索引信 息。  The index information of the loop file for storing the service data from the user identification card is: the terminal acquires the index information from the latest one of the loop files for storing the service data.
所述终端, 还用于在需要读取业务数据时, 根据所述索引信息读取循 环文件中存储的业务数据。 The terminal is further configured to read, according to the index information, when the service data needs to be read Business data stored in the ring file.
下面结合具体实施例对本发明的技术方案作进一步详细描述。  The technical solutions of the present invention are further described in detail below in conjunction with specific embodiments.
实施例 1  Example 1
SIM卡上的文件、 数据包括以下四种类型:  The files and data on the SIM card include the following four types:
( 1 ) 由 SIM卡生产厂商存入的系统原始数据。  (1) System raw data deposited by the SIM card manufacturer.
( 2 )由网络运营部门或者其他经营部门在将卡发放给用户时注入的网 络参数和用户数据。如鉴权和加密信息 Ki( Kc算法输入参数之一:密匙号); 国际移动用户号 (IMSI ); A3: IMSI认证算法; A5: 加密密匙生成算法; A8: 密匙 (Kc)生成前, 用户密匙(Kc )生成算法等。  (2) Network parameters and user data injected by the network operation department or other business departments when issuing the card to the user. Such as authentication and encryption information Ki (one of Kc algorithm input parameters: key number); International Mobile Subscriber Number (IMSI); A3: IMSI authentication algorithm; A5: encryption key generation algorithm; A8: Key (Kc) generation Before, the user key (Kc) generates an algorithm or the like.
( 3 )由用户自己存入的数据。 比如, 短消息存于 EFsms中、 电话本存 于 EFadn中, 另外还有固定拨号, 缩位拨号, 性能参数, 话费记数等。  (3) Data deposited by the user himself. For example, the short message is stored in EFsms, the phone book is stored in EFadn, and there are fixed dialing, abbreviated dialing, performance parameters, and call count.
( 4 ) 用户在用卡过程中自动存入和更新的网络接续和用户信息类数 据。 包括最近一次位置登记时的手机所在位置区识别号 (LAI ), 设置的周 期性位置更新间隔时间, 临时移动用户号 ( TMSI )等。  (4) Network connection and user information class data that the user automatically deposits and updates during the card use process. This includes the location identification number (LAI) of the mobile phone at the time of the last location registration, the periodic location update interval set, the Temporary Mobile Subscriber Number (TMSI), and so on.
上述这些数据都存放在各自的目录项内, 第一类数据放在根目录, 当 电源开启后首先进入根目录, 再根据指令进入相关的子目录, 每种目录极 其内部的数据域均有各自的识别码保护, 只有经过核对判别以后才能对数 据域中的数据进行查询, 读出和更新。 上面第一类数据通常属永久性的数 据, 由 SIM卡生产厂商注入以后无法更改, 第二类数据通常网络运行部门 的专门机构才允许查阅和更新, 第三、 四类数据中的大部分允许用户利用 终端对其进行读 /写操作。  The above data are stored in their respective directory entries. The first type of data is placed in the root directory. When the power is turned on, it first enters the root directory, and then enters the relevant subdirectory according to the instructions. Each directory has its own internal data fields. The identification code protection can only query, read and update the data in the data domain after the verification. The first type of data above is usually permanent data, which cannot be changed after being injected by the SIM card manufacturer. The second type of data is usually allowed to be accessed and updated by the specialized agencies of the network operation department. Most of the third and fourth types of data are allowed. The user performs a read/write operation on the terminal.
本实施例中, 将业务数据存入 SIM卡中的 EFlnd, EFlnd就是用户识别 卡中用于存放业务数据的循环文件, SIM卡内循环文件结构如图 2所示。  In this embodiment, the service data is stored in the SIM card EFlnd, EFlnd is a loop file for storing service data in the user identification card, and the loop file structure in the SIM card is as shown in FIG. 2 .
本实施例总是以 EFlnd中的最后一个记录存放索引 (Index )信息, 所 述索引信息用于描述 EFlnd文件的拨号号码数据、 业务数据存储的情况, 一般的, Index信息占用一条记录的存储空间, 当然, 根据需要可以占 2个 甚者更多的记录, 其空间大小因不同的用户识别卡的不同而不同, 比如有 的用户识别卡中一条记录为 176个字节, 有的则为 255个字节。 In this embodiment, the index (Index) information is always stored in the last record in the EF1nd, and the index information is used to describe the dialed number data and the service data storage of the EF1nd file. Generally, the Index information occupies a storage space of a record. Of course, two or more records can be occupied according to requirements, and the space size varies according to different user identification cards, for example, one record in a user identification card. It is 176 bytes, and some are 255 bytes.
图 3为本发明实施例 1循环文件 Index区示意图,如图 3所示,从物理 存储结构上看, Index区由多个连续的字节所组成, 图 4为本发明实施例 1 循环文件 Index bit位示意图,如图 4所示, Index区逻辑上由两个组成部分, 一个实现的例子是,选择 Index的第一个字节作为标示字段, 用于标示这个 字段是 Index字段, 给它赋予特定的值, 比如 "OxAA",这个字段就把 Index 和其他 EFlnd的其他记录区分开了。根据我们的方案,在 EFlnd中存储着三 种数据,一种是业务数据,一种是普通拨号号码数据, 另外就是空槽。 Index 剩余的字段中,每 2个 bit确定了各个存储槽的存储数据类型, 00表示某存 储槽为空数据、 01表示某存储槽存储的是拨号数据、 10表示某存储槽存储 的是业务数据时, 如果 Index的 Bitl、 Bit2 为 01则指示第一个存储槽存入 的是普通拨号号码数据, 如果 Bit3、 Bit4为 02, 则指示第二个存储槽存入 的是业务数据, 如果 Bit5、 Bit6为 00, 则指示第三个存储槽没有存入数据。  3 is a schematic diagram of a Index area of a loop file according to Embodiment 1 of the present invention. As shown in FIG. 3, the Index area is composed of a plurality of consecutive bytes, and FIG. 4 is a loop file Index according to Embodiment 1 of the present invention. A bit bit diagram, as shown in FIG. 4, the Index area is logically composed of two components. An implementation example is to select the first byte of the Index as a flag field, which is used to indicate that the field is an Index field, and is given For specific values, such as "OxAA", this field separates Index from other records in other EFlnd. According to our scheme, three kinds of data are stored in EFlnd, one is business data, one is ordinary dialing number data, and the other is empty slot. In the remaining fields of the index, the storage data type of each storage slot is determined for every 2 bits. 00 indicates that a storage slot is empty data, 01 indicates that a storage slot stores dialed data, and 10 indicates that a storage slot stores service data. If the Bitl and Bit2 of the Index are 01, it indicates that the first slot stores the normal dialed number data. If Bit3 and Bit4 are 02, it indicates that the second slot stores the service data. If Bit5, If Bit6 is 00, it indicates that the third slot does not store data.
按照上述方法对 EFlnd文件的 Index区重新实施逻辑划分, 则 Index区 的字段可以描述最多达 1/2*8* ( N-1 )个 EFlnd存储槽的存储情况, N的取 值取决不同的用户识别卡类型, 但是对于循环文件而言, 使用一个存储槽 总是能够描述该循环文件的所有记录的存储情况。  According to the above method, the index area of the EFlnd file is re-implemented logically, and the field of the Index area can describe the storage condition of up to 1/2*8*(N-1) EFlnd storage slots, and the value of N depends on different users. The card type is identified, but for a loop file, using a slot always describes the storage of all the records in the loop file.
图 5为本发明实施例 1读取业务数据的流程示意图, 其中, 移动终端 接收到读取业务数据的命令后, 通过查找终端中对应的预设循环文件中的 数据进行业务数据读取, 在从预设有关循环文件来读取操作时, 先查询移 动终端存储区的 Index, 根据查询结果(比如相应位是 02时 )将业务数据 读入到终端的临时存储区内, 读取成功, 如果某一循环文件没有读取成功, 则根据终端预定顺序再读取其他循环文件, 直至读取所有预设的循环文件, 否则读取失败。 5 is a schematic flowchart of reading service data according to Embodiment 1 of the present invention. After receiving a command for reading service data, the mobile terminal searches for data in a corresponding preset loop file in the terminal to perform service data reading. When the operation is read from the preset circular file, the index of the storage area of the mobile terminal is first queried, and the service data is read into the temporary storage area of the terminal according to the query result (for example, when the corresponding bit is 02), and the reading is successful, if If a loop file is not successfully read, another loop file is read according to the predetermined order of the terminal until all preset loop files are read. Otherwise the read fails.
图 6为本发明实施例 1写入业务数据的流程示意图, 其中, 移动终端 接收到写入业务数据的命令后, 先查询移动终端预设循环文件存储区的 Index, 根据查询结果将业务数据写入内存中的某一个空闲槽或者覆盖一个 存储槽,如果是业务数据则将 Index的对应两个 Bit更改为业务数据标示(一 种例子比如 02, 代表存储的是业务数据); 在关机或者定时器到时时, 将终 端中预设的循环文件内容写入 SIM中相关 EF文件内,之后再将 Index写入 卡上相关 EF文件。  6 is a schematic flowchart of writing service data according to Embodiment 1 of the present invention. After receiving a command for writing service data, the mobile terminal first queries an Index of a preset loop file storage area of the mobile terminal, and writes service data according to the query result. Enter a free slot in memory or overwrite a storage slot. If it is business data, change the corresponding two bits of Index to the service data identifier (an example is 02, which means that the service data is stored); When the device arrives, the content of the loop file preset in the terminal is written into the relevant EF file in the SIM, and then the Index is written into the relevant EF file on the card.
上面以 SIM卡的 EFLnd为例进行了说明, 本发明对于 R-UIM、 USIM 以及 UICC上其他的应用均适用, 可以仿此做类似的使用, 不再赘述。  The above description is made by taking the EFLnd of the SIM card as an example. The present invention is applicable to other applications on the R-UIM, the USIM, and the UICC, and can be similarly used, and will not be described again.
本发明的优点是: 可推广性好、 成本低、 有效利用了原有用户识别卡 在某些业务中不被经常使用的循环文件, 使得运营商不需要重新订制新型 的用户识别卡, 有效的节约了业务成本。 在实际运用时, 运营商也可以通 过仪器或者第三方软件将其业务数据业务写入以前发行的用户识别卡内, 便可以方便的开展业务。  The invention has the advantages that: the popularization is good, the cost is low, and the loop file of the original user identification card not used frequently in some services is effectively utilized, so that the operator does not need to re-customize the new user identification card, which is effective. Saving business costs. In actual use, the operator can also write its business data service into the previously issued user identification card through instruments or third-party software, so that the business can be conveniently carried out.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种存储业务数据的方法, 其特征在于, 该方法包括:  A method for storing service data, the method comprising:
终端从用户识别卡获取用于存储业务数据的循环文件的索引信息并存 储;  The terminal acquires index information of a loop file for storing service data from the user identification card and stores the information;
需要存储业务数据时, 终端将业务数据写入所述用于存储业务数据的 循环文件中, 并更新相应索引信息。  When the service data needs to be stored, the terminal writes the service data into the loop file for storing the service data, and updates the corresponding index information.
2、 根据权利要求 1所述的方法, 其特征在于,  2. The method of claim 1 wherein
所述终端将业务数据写入所述用于存储业务数据的循环文件中为: 终 端直接将业务数据写入用户识别卡中所述用于存储业务数据的循环文件 中,  The terminal writes the service data into the loop file for storing the service data: the terminal directly writes the service data into the loop file for storing the service data in the user identification card,
所述终端更新相应索引信息为: 终端更新自身存储的所述用于存储业 务数据的循环文件的索引信息, 并将所述更新后的索引信息写入用户识别 卡中所述用于存储业务数据的循环文件中。  The terminal updates the corresponding index information to: the terminal updates the index information of the loop file for storing the service data stored by the terminal, and writes the updated index information into the user identification card to store the service data. In the loop file.
3、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括: 终端将 所述终端将业务数据写入所述用于存储业务数据的循环文件中, 并更 新相应索引信息为:  The method according to claim 1, wherein the method further comprises: the terminal writing the service data to the loop file for storing service data, and updating the corresponding index information to:
终端将业务数据写入所述预设的存储区中所述用于存储业务数据的循 环文件中, 并更新自身存储的所述用于存储业务数据的循环文件的索引信 息;  The terminal writes the service data into the loop file for storing the service data in the preset storage area, and updates the index information of the loop file for storing the service data stored by the terminal;
在满足设定条件时, 终端将所述预设的存储区中的所述用于存储业务 数据的循环文件内容写入用户识别卡中, 之后将自身保存的索引信息写入 用户识别卡中所述用于存储业务数据的循环文件中。  When the setting condition is met, the terminal writes the content of the loop file for storing service data in the preset storage area into the user identification card, and then writes the index information saved by itself into the user identification card. The loop file used to store business data.
4、 根据权利要求 3所述的方法, 其特征在于, 所述终端将用于存储业  4. The method according to claim 3, wherein the terminal is to be used in the storage industry
J冬端中预设的存储区中为: 终端根据索引信息 或预设的业务数据与用户识别卡中循环文件存储关系对照表, 将用于存储 The preset storage area in the J winter end is: The terminal is based on the index information. Or a preset relationship between the business data and the circular file storage in the user identification card, which will be used for storage.
5、 根据权利要求 1所述的方法, 其特征在于, 所述终端从用户识别卡 获取用于存储业务数据的循环文件的索引信息为: 终端从所述用于存储业 务数据的循环文件最新的一条记录获取索引信息。 The method according to claim 1, wherein the terminal obtains index information of a loop file for storing service data from the user identification card: the terminal is latest from the loop file for storing service data. A record gets index information.
6、 根据权利要求 1至 5任一项所述的方法, 其特征在于, 终端需要读 取业务数据时, 该方法还包括: 终端根据所述索引信息读取循环文件中存 储的业务数据。  The method according to any one of claims 1 to 5, wherein, when the terminal needs to read the service data, the method further comprises: the terminal reading the service data stored in the loop file according to the index information.
7、 一种存储业务数据的系统, 其特征在于, 该系统包括终端和用户识 别卡; 其中,  7. A system for storing service data, the system comprising a terminal and a user identification card; wherein
所述终端, 用于从用户识别卡获取用于存储业务数据的循环文件的索 引信息并存储; 以及在需要存储业务数据时, 将业务数据写入所述用于存 储业务数据的循环文件中, 并更新相应索引信息。  The terminal is configured to acquire index information of a loop file for storing service data from a user identification card and store the data, and write the service data into the loop file for storing the service data when the service data needs to be stored, And update the corresponding index information.
8、 根据权利要求 7所述的系统, 其特征在于, 所述终端将业务数据写 入所述用于存储业务数据的循环文件中为: 终端直接将业务数据写入用户 识别卡中所述用于存储业务数据的循环文件中,  The system according to claim 7, wherein the terminal writes service data into the loop file for storing service data as: the terminal directly writes the service data into the user identification card. In a loop file that stores business data,
所述终端更新相应索引信息为: 终端更新自身存储的所述用于存储业 务数据的循环文件的索引信息, 并将所述更新后的索引信息写入用户识别 卡中所述用于存储业务数据的循环文件中。  The terminal updates the corresponding index information to: the terminal updates the index information of the loop file for storing the service data stored by the terminal, and writes the updated index information into the user identification card to store the service data. In the loop file.
9、 根据权利要求 7所述的系统, 其特征在于,  9. The system of claim 7 wherein:
所述终端, 还用于将用于存储业务数据的循环文件数据读入终端中预 设的存储区中,  The terminal is further configured to read cyclic file data for storing service data into a storage area preset in the terminal,
所述终端将业务数据写入所述用于存储业务数据的循环文件中, 并更 新相应索引信息为:  The terminal writes service data into the loop file for storing service data, and updates the corresponding index information to:
终端将业务数据写入所述预设的存储区中所述用于存储业务数据的循 环文件中, 并更新自身存储的所述用于存储业务数据的循环文件的索引信 息; Transmitting, by the terminal, service data into the preset storage area, the method for storing service data In the ring file, and updating the index information of the loop file for storing the service data stored by itself;
在满足设定条件时, 终端将所述预设的存储区中的所述用于存储业务 数据的循环文件内容写入用户识别卡中, 之后将自身保存的索引信息写入 用户识别卡中所述用于存储业务数据的循环文件中。  When the setting condition is met, the terminal writes the content of the loop file for storing service data in the preset storage area into the user identification card, and then writes the index information saved by itself into the user identification card. The loop file used to store business data.
10、 根据权利要求 9所述的系统, 其特征在于, 所述终端将用于存储 息或预设的业务数据与用户识别卡中循环文件存储关系对照表, 将用于存  The system according to claim 9, wherein the terminal is configured to store a relationship or a preset service data and a loop file storage relationship table in the user identification card, and the
11、 根据权利要求 7 所述的系统, 其特征在于, 所述终端从用户识别 卡获取用于存储业务数据的循环文件的索引信息为: 终端从所述用于存储 业务数据的循环文件最新的一条记录获取索引信息。 The system according to claim 7, wherein the terminal obtains index information of a loop file for storing service data from the user identification card: the terminal is latest from the loop file for storing service data. A record gets index information.
12、 根据权利要求 7至 11任一项所述的系统, 其特征在于, 所述终端, 还用于在需要读取业务数据时, 根据所述索引信息读取循 环文件中存储的业务数据。  The system according to any one of claims 7 to 11, wherein the terminal is further configured to read the service data stored in the circulation file according to the index information when the service data needs to be read.
PCT/CN2010/080270 2010-09-08 2010-12-24 Method for storing service data and system thereof WO2012031442A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010277680.3A CN102402512B (en) 2010-09-08 2010-09-08 A kind of method and system of storage service data
CN201010277680.3 2010-09-08

Publications (1)

Publication Number Publication Date
WO2012031442A1 true WO2012031442A1 (en) 2012-03-15

Family

ID=45810086

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/080270 WO2012031442A1 (en) 2010-09-08 2010-12-24 Method for storing service data and system thereof

Country Status (2)

Country Link
CN (1) CN102402512B (en)
WO (1) WO2012031442A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038792A1 (en) * 2003-08-14 2005-02-17 Johnson Ted C. Apparatus and method for operating circular files
CN101256564A (en) * 2007-12-25 2008-09-03 深圳市同洲电子股份有限公司 Method for operating circular file
CN101399873A (en) * 2008-10-20 2009-04-01 深圳华为通信技术有限公司 Method, apparatus and communication terminal device for processing index information of phone book

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7359944B2 (en) * 2001-02-07 2008-04-15 Lg Electronics Inc. Method of providing digital electronic book

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038792A1 (en) * 2003-08-14 2005-02-17 Johnson Ted C. Apparatus and method for operating circular files
CN101256564A (en) * 2007-12-25 2008-09-03 深圳市同洲电子股份有限公司 Method for operating circular file
CN101399873A (en) * 2008-10-20 2009-04-01 深圳华为通信技术有限公司 Method, apparatus and communication terminal device for processing index information of phone book

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIN, YAOXUE: "CDMA Mobile Terminal Card-UIM", TELECOMMUNICATIONS TECHNOLOGY, no. 5, 2000, pages 14 - 16 *

Also Published As

Publication number Publication date
CN102402512A (en) 2012-04-04
CN102402512B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN201142742Y (en) Address book management system
CN101426052A (en) Backup and importing method for address book and short message of mobile terminal
CN100561940C (en) Multi-Mode Base Station operation and maintenance method and system in a kind of wireless communication system
CN104462141A (en) Data storage and query method and system and storage engine device
CN103514106A (en) Method for caching data
CN102831165B (en) The management method of the expired number of address list and system
US20120102556A1 (en) Method and System for Smart Card Migration
CN102883047A (en) Method and system for realizing data security of intelligent mobile terminals
US20190261270A1 (en) Method and device for reducing power consumption of terminal, and smart card
WO2012031441A1 (en) Method and apparatus for reducing erasing and writing operation times of subscriber identity module card files
CN101399873B (en) Method, apparatus and communication terminal device for processing index information of phone book
CN103581229A (en) Distributed file system, file access method and client terminal
CN106326040A (en) Method and device for managing snapshot metadata
CN111614777A (en) Cross-organization account mobile phone number sharing method based on Ether house block chain
WO2012031443A1 (en) Method and system for storing service data
CN101188636B (en) A method for managing contact number at the communication terminal
CN103152724A (en) Method and system for locking SIM (subscriber identity module) card by utilizing hardware
WO2012031442A1 (en) Method for storing service data and system thereof
EP3468261B1 (en) Control method and apparatus for smart card, terminal device, and smart card
CN101014059A (en) Method for storing and extending data information of electric phone book
CN101957893A (en) File permission management system
CN101453513A (en) System and method for short message function fast using after mobile phone starting
CN104601442B (en) A kind of information updating method and device
CN102508690A (en) Storing method and decoding method for command line of embedded equipment
JP2015527003A (en) Method, apparatus and terminal for storing communication record in user identification card

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10856904

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10856904

Country of ref document: EP

Kind code of ref document: A1