WO2012094867A1 - Method for starting up mobile terminal, mobile terminal and subscriber identity card thereof - Google Patents

Method for starting up mobile terminal, mobile terminal and subscriber identity card thereof Download PDF

Info

Publication number
WO2012094867A1
WO2012094867A1 PCT/CN2011/075200 CN2011075200W WO2012094867A1 WO 2012094867 A1 WO2012094867 A1 WO 2012094867A1 CN 2011075200 W CN2011075200 W CN 2011075200W WO 2012094867 A1 WO2012094867 A1 WO 2012094867A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
record
mapping relationship
user identification
identification card
Prior art date
Application number
PCT/CN2011/075200
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 WO2012094867A1 publication Critical patent/WO2012094867A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Definitions

  • the present invention relates to the field of communications, and in particular to a booting method, a mobile terminal, and a user identification card.
  • BACKGROUND OF THE INVENTION With the rapid development and popularization of mobile communication technologies, mobile terminals satisfy the basic communication needs of users, and the user body-risk of mobile terminal users when using mobile terminals has increasingly become the focus of attention. A better user experience makes it easier for users to use mobile terminals and improve the competitiveness of mobile terminal products.
  • the mobile terminal needs to complete the necessary initialization operations before using the mobile terminal for normal services.
  • the boot initialization process includes a mobile terminal reading a phone book, a short message, and a key parameter of a user identification card such as a SIM card or a UIM card.
  • a mobile terminal loads a short message or a phone book, it usually traverses the phone book and the short message on the user identification card. This has a certain relationship with the specification of the SIM card or UIM card.
  • the files on the card only have a file header indicating the file size, the single record size, and the entire file size, so that the mobile terminal can calculate the record that the file can store. The total number.
  • the user identification card belongs to the peripheral device, and the access speed is relatively slow.
  • a primary object of the present invention is to provide a booting method, a mobile terminal, and a user identification card, so as to solve the problem that the mobile terminal has a slow booting speed and a low user experience.
  • a booting method including: when a mobile terminal initializes at a booting time, loading a record in a file in the user identification card as a valid record according to a pre-stored file record mapping relationship; , the file initializes the file to be loaded for the mobile terminal, the file record
  • the mapping relationship is bound to the user identification card.
  • the file record mapping relationship is used to indicate that the user identifies each file in the card and the records it contains, and whether the records are valid.
  • the file record mapping relationship is pre-stored in the mobile terminal or the subscriber identity card.
  • the pre-stored file record mapping relationship is a file record mapping relationship table, where the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag bit, a file ID represents a file, and a record ID represents a record.
  • the record valid flag indicates whether the record is valid.
  • One file ID corresponds to one or more recorded IDs, and each recorded ID corresponds to a valid recorded flag.
  • the method further comprises: synchronously updating the file record mapping relationship when the user identifies the record update in the card.
  • the method further includes: when the mobile terminal uses the user identification card for the first time, reading all files in the user identification card, establishing a file record mapping relationship, and recording the established file The mapping relationship is bound to the user identification card.
  • the method further includes: the mobile terminal comparing the electronic serial number ESN with the user identification card Whether the ESNs of the stored terminals are consistent; if they are inconsistent, read all the files in the user identification card, establish a file record mapping relationship, and bind the established file record mapping relationship with the user identification card; if they are consistent, proceed according to the pre- The stored file record mapping relationship, the step of loading the identifier in the file in the user identification card as a valid record.
  • the method further includes: the mobile terminal comparing the electronic serial number ESN with the currently used user Whether the ESNs of the terminals stored in the identification card are consistent; if they are inconsistent, read all the files in the currently used user identification card, establish a file record mapping relationship, and tie the established file record mapping relationship with the currently used user identification card.
  • the mobile terminal compares the unique identification information of the user identification card stored by itself with the unique identification information of the currently used user identification card; if not, reads all the files in the currently used user identification card, Establish a file record mapping relationship of the currently used user identification card, and bind the established file record mapping relationship with the currently used user identification card; if they are consistent, perform loading according to the pre-stored file record mapping relationship, and load the user identification card.
  • the identifier in the file is valid for the record Sudden.
  • the file record mapping relationship includes a plurality of file record mapping relationships respectively bound to the user identification card; and the mapping relationship is recorded according to the pre-stored file.
  • the method further includes: the mobile terminal comparing the electronic serial number ESN of the user with the ESN of the terminal stored in the plurality of user identification cards; if not, Read all the files in the inconsistent user identification card, establish a file record mapping relationship of the inconsistent user identification card, and bind the established file record mapping relationship to the inconsistent user identification card; if they are consistent, then according to the current The file record mapping relationship corresponding to the user identification card used is loaded, and the record in the file in the user identification card is loaded as a valid record.
  • a mobile terminal including: an initialization module, configured to load an identifier in a file in a user identification card according to a pre-stored file record mapping relationship during boot initialization
  • the file is a file that is loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card.
  • the file record mapping relationship is used to indicate each file in the user identification card and the record it contains, and A mapping relationship in which each record is valid.
  • the pre-stored file record mapping relationship is a file record mapping relationship table, where the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag bit, a file ID represents a file, and a record ID represents a record.
  • a user identification card including: a mapping relationship module, configured to provide a file record mapping relationship to a mobile terminal when the mobile terminal is powered on, so that the mobile terminal records the file record Relationship, loading the identifier in the file in the user identification card as a valid record; wherein, the file is a file that needs to be loaded for the mobile terminal to be initialized, the file record mapping relationship is bound to the user identification card, and the file record mapping relationship is used to indicate user identification The mapping between each file in the card and the records it contains, and whether each record is valid.
  • the pre-stored file record mapping relationship is a file record mapping relationship table, where the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag bit, a file ID represents a file, and a record ID represents a record.
  • the record valid flag indicates whether the record is valid.
  • One file ID corresponds to one or more recorded IDs, and each recorded ID corresponds to a valid recorded flag.
  • the pre-set file record mapping relationship is used, and when the mobile terminal is powered on, the valid record in the required file is loaded from the user identification card through the file record mapping relationship, instead of loading all the records, thereby causing the file to be loaded. Invalid records in are no longer loaded at boot time.
  • FIG. 1 is a flow chart showing the steps of a booting method according to a first embodiment of the present invention
  • FIG. 2 is a flow chart showing the steps of a booting method according to a second embodiment of the present invention
  • FIG. 4 is a schematic diagram of a process of updating a file record mapping relationship table in the embodiment shown in FIG. 2
  • FIG. 5 is a schematic diagram of a booting process according to the third embodiment of the present invention
  • FIG. 6 is a flow chart showing the steps of a booting method according to Embodiment 4 of the present invention
  • FIG. 7 is a flow chart showing the steps of a booting method according to Embodiment 5 of the present invention
  • FIG. 9 is a structural block diagram of a subscriber identity card according to Embodiment 7 of the present invention.
  • Embodiment 1 Referring to FIG. 1 , a flow chart of steps of a booting method according to Embodiment 1 of the present invention is shown, which includes the following steps: Step 4: S102: The mobile terminal is powered on; Step S104: The mobile terminal pre-stores the file record mapping relationship when the power is initialized, and loads the identifier in the file in the user identification card as a valid record.
  • the file in the user identification card is a file that needs to be loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card.
  • the file record mapping relationship is used to indicate each file in the user identification card and the records it contains, and each Record whether the mapping is valid. If the mobile terminal is a single-card mobile terminal, that is, only one user identification card is generally used, the file record mapping relationship is bound to the user identification card, and the indication is located in the user identification card, and the mobile terminal needs to be loaded when booting initialization. The validity of the records in the file.
  • the mobile terminal is a multi-card mobile terminal, such as a mobile terminal using two different user identification cards
  • the mapping relationship is associated with the corresponding user identification card, indicating the validity of the record in the file that needs to be loaded when the mobile terminal is initialized in the user identification card.
  • a data structure of a file record mapping relationship may be established on the user identification card or the mobile terminal, so as to effectively represent the usage of a single record on the user identification card.
  • the file record mapping relationship can be set in the mobile terminal or in the user identification card.
  • the file record mapping relationship can exist in various appropriate manners, such as data tables, files, databases, etc., and can be appropriately set by a person skilled in the art according to actual conditions.
  • 40 pairs of record files such as a phone book and a short message on the user identification card are selectively loaded.
  • the mobile terminal When the mobile terminal is not initialized with a single record on the user identification card and whether it is valid, the entire file is traversed, and when the short message or the phone book is loaded, all the phone book and the short message on the card are traversed and loaded. Compared, in actual use, when the files on the user identification card are too large, they are not fully loaded, and the capacity of the user identification card is getting larger and larger. This invalid loading and traversal is wasted, which wastes a lot of time, especially mobile. The valuable time of the initialization phase of the terminal is turned on. In this embodiment, by setting the file record mapping relationship, the mobile terminal performs selective loading when loading the user identification card, thereby reducing unnecessary card reading operations and valuable.
  • Embodiment 2 Referring to FIG. 2, a flow chart of steps of a booting method according to Embodiment 2 of the present invention is shown.
  • the single-card mobile terminal first uses the user identification card to establish a file record mapping relationship, and then performs boot initialization loading as an example to explain the booting method of the present invention.
  • the booting method of this embodiment includes the following steps: Step 4: S202: The mobile terminal is powered on. Step S204: The mobile terminal determines that the current subscriber identity card is the subscriber identity card used by the mobile terminal for the first time.
  • the mobile terminal needs to first determine whether the currently used user identification card is the user identification card used by the terminal for the first time, and then determine whether a file record mapping relationship needs to be established. In this embodiment, it is determined as the first use as an example.
  • the following is an example of a mobile phone with a CDMA card separated as an example.
  • the implementation principle of determining whether a subscriber identity card is used for a mobile terminal for the first time is described.
  • the embodiment can also be applied to mobile terminals of other standards.
  • the field The technical staff can also use other methods to realize whether the user identification card is used for a certain mobile terminal for the first time. The present invention does not limit this.
  • the process of uniquely identifying information That is, tampering with the booting process of the mobile terminal, the unique identification information of the user identification card is stored in the mobile terminal, such as the RUIMID, IMSI, ICCCID, etc. of the user identification card, and the mobile terminal can determine whether the same user identification is used before or after. card.
  • the two processes of judging the ESN judgment and the unique identification information of the user identification card are combined, so that two or more user identification cards are used before and after a mobile terminal, that is, the same card when the same mobile terminal replaces different user identification cards.
  • the lock further determines whether the mobile terminal uses the same user identification card twice before and after.
  • Step 4 S206: Read all the files in the user identification card, establish a file record mapping relationship, and bind the user identification card. After determining that the user identification card currently used by the mobile terminal is the user identification card used by the mobile terminal for the first time, it is necessary to establish a file record mapping relationship. When a file record mapping relationship is established, all the files in the user identification card need to be read, and the mapping relationship is performed. After the mapping relationship is established, the user identification card is bound.
  • File record mappings can exist in many forms, such as data tables, files, and so on.
  • the form of the data table is used, that is, the file record mapping relationship table is established.
  • the establishment of the file record mapping relationship table can be implemented by the following two schemes: The first scheme is set to a user identification card such as a SIM card. Customize new files on the user identification card, or ⁇ ⁇ 'tamper existing files, specifically for storing file record mapping tables.
  • the record index is stored in the mapping relationship table, and whether the record is valid or not is bound to the related header file (ie, the correspondence is established). In this way, when the record header file is loaded, the mapping relationship table is loaded at the same time, and the mobile terminal performs the actual reading of the record according to the mapping relationship table.
  • mapping table When the mobile terminal updates the record on the subscriber identity card, the mapping table is modified synchronously. If you want to use this method as a standard, you can specify the modified file, or the format of the custom file. You can force all mobile terminals to support it. When loading the record of the user identification card, you can use the mapping table to move. When the terminal modifies the record on the user identification card, the mapping table on the user identification card is updated synchronously.
  • the implementation of the mapping relation table can be used in many ways, and the consumption is at most a single card reading operation, which has a great performance improvement compared to a large number of invalid readings. It can also be compatible for terminals that are already in use, without modifying any processes, and ignoring this mapping table.
  • the second option is set to the mobile terminal file system.
  • the mobile terminal When the mobile terminal uses the user identification card for the first time, it reads all the files on the card and creates a file record mapping table.
  • the mapping table on the mobile terminal is bound to the user identification card used by the user.
  • the binding process is to establish the interlock process between the user identification card and the mobile terminal.
  • the subscriber identity card and the mobile terminal After the interlock, the subscriber identity card and the mobile terminal have a corresponding relationship.
  • the mobile terminal performs the addition, deletion, and update recorded on the subscriber identity card, the content of the mapping relationship table is synchronously modified.
  • the structure of a file record mapping relationship table of the present invention is as shown in FIG. 3.
  • the file record mapping relationship table mainly has three parts: a file ID (identification): an original file ID of a file record mapping relationship table to be created; a record ID (Identification): Name of the record ID, single record identification information; Record valid identification: Record whether the valid identification bit.
  • a file ID indicates a file, a record ID indicates a record, and a record valid flag indicates whether the record is valid.
  • a file ID corresponds to one or more record IDs, and each record ID corresponds to a record valid flag.
  • the update process of the file record mapping relationship table shown in FIG. 3 is as shown in FIG. 4.
  • Step S208 The mobile terminal searches for the file record mapping relationship according to the established file, and loads the target i in the file in the user identification card to be only valid.
  • the mobile terminal since the mobile terminal uses the user identification card for the first time, it is necessary to newly create a file record mapping relationship, and load the file according to the newly created mapping relationship. However, if the user identification card is not used for the first time, the file record mapping relationship of the user identification card should already exist in the mobile terminal, so that when the mobile terminal does not use the user identification card for the first time and performs boot initialization, it is not necessary to establish a mapping relationship. , you can directly establish the mapping relationship that has been established before, initialize and load the file.
  • Embodiment 3 Referring to FIG. 5, a flow chart of steps of a booting method according to Embodiment 3 of the present invention is shown.
  • the single-card mobile terminal and the file record mapping relationship table are stored on the user identification card as an example, and the booting method of the present invention is introduced.
  • the loading of a single file is taken as an example.
  • the initialization process of a real mobile terminal may have multiple similar iterative processes.
  • the booting method of this embodiment includes: Step 4: S502: The mobile terminal starts up and starts to read a single file in the user identification card.
  • Step S504 The mobile terminal reads the file header information of the single file in the user identification card.
  • Step S506 The mobile terminal detects whether the read file has a file record mapping relationship table. If not, step S508 is performed; if yes, step S514 is performed.
  • Step S508 If there is no mapping relation table of the file, all the records corresponding to the file are overwritten by an exhaustive method.
  • Step S510 determining whether it is necessary to establish a file record mapping relationship table of the file, if yes, executing step 4 S512; if not, executing step 4 S518; step S512: if necessary, establishing a file record mapping relationship of the file Table, complete the loading of the file, perform step 4 to gather S518.
  • Step S514 If the mapping relationship table of the file is stored, the mapping relationship table of the file is read.
  • Step S516, the mapping relationship table of the file has a selected loading file record.
  • Step S518 Finish loading of the file.
  • a flow chart of steps of a booting method according to Embodiment 4 of the present invention is shown.
  • a single-card mobile terminal uses a replacement subscriber identification card, and a file record mapping relationship table is stored on the mobile terminal as an example to introduce the booting method of the present invention.
  • the loading of a single file is taken as an example.
  • the initialization process of a real mobile terminal may have multiple similar iterative processes.
  • the booting method of this embodiment includes: Step 4: S602: The mobile terminal starts up initially.
  • Step S604 The mobile terminal writes the unique identification information ESN (PESN) into the UIM card, and determines whether the unique identification information of the mobile terminal stored in the UIM card is consistent with the written one. If not, the first identification bit is set. The first identifier is used to identify whether the mobile terminal is consistent with the ESN stored in the subscriber identity card.
  • Step S606 The mobile terminal reads the unique identification information (such as UIMID, IMSI, or ICCCID) of the UIM card of the user identification card, and determines whether the read unique identification information is consistent with the unique identification information stored by the mobile terminal. Two identification bits. The second identifier is used to identify whether the unique identification information stored by the mobile terminal and the current subscriber identity card is consistent.
  • ESN ESN
  • the first identifier bit and the second flag bit may be set separately or in combination.
  • the flag When the settings are merged, if they are inconsistent, set the flag to 1 and if they match, set the flag to 0. In this case, if the ESN is inconsistent, the flag is set to 1. At this time, regardless of whether the unique identification information of the user identification card is consistent, once the flag is set to 1, the tampering is not performed until the end of the process. , to indicate that the file record mapping needs to be rebuilt. If the ESN is the same, the flag is 0. When the unique identification information of the user identification card is inconsistent, the flag is set to 1. When the unique identification information of the user identification card is consistent, the flag is still 0.
  • Step S608 Load the file header information corresponding to the single file in the UIM card of the user identification card.
  • Step S614 Determine whether it is necessary to construct a file record mapping relationship table of the file, and reconstruct the mapping relationship table of the file if necessary, otherwise skip the mapping relationship table for constructing the file, and complete initialization of the file.
  • Step S616 If it is the same user identification card, determine whether the file has a corresponding mapping relationship table, if there is a corresponding mapping relationship table, read the mapping relationship table, and select the selected user according to the mapping relationship table. Identify the record on the card, perform the actual card reading operation; if there is no corresponding mapping relationship table, use the exhaustive method to read all the records corresponding to the file, and determine whether it is necessary to construct the mapping relationship table of the file, if necessary Then reconstruct the file record mapping relationship table of the file, otherwise skip the build file record mapping relationship table.
  • Step 4 S618: Complete the file loading of the file.
  • Embodiment 5 Referring to FIG. 7, a flow chart of steps of a booting method according to Embodiment 5 of the present invention is shown.
  • the dual-card mobile terminal and the file record mapping relationship table are stored on the user identification card as an example, and the booting method of the present invention is introduced.
  • a dual-card mobile terminal including at least two card slots and two user identification cards is used as an example, a person skilled in the art may refer to this when using a multi-card mobile terminal with more than two cards.
  • the embodiment implements the booting method of the present invention.
  • the loading of a single file is taken as an example.
  • the initialization process of a real mobile terminal may have multiple similar iterative processes.
  • the booting method of this embodiment includes: Step 4: S702: The mobile terminal is powered on initially.
  • Step S704 The mobile terminal writes the ESN (PESN) into the two user identification cards, and determines whether the ESN (PESN) of the mobile terminal stored in the two user identification cards is consistent with the written one. If not, the identifier is set. Bit.
  • the flag bits can be set separately or uniformly.
  • one identification bit corresponds to one user identification card; when setting uniformly, different bits can be used to indicate different meanings, such as “01” indicating the ESN (PESN) and movement of the mobile terminal stored in the user identification card A Inconsistent write of the terminal, “10” indicates that the ESN (PESN) of the mobile terminal stored in the subscriber identity card B is inconsistent with the write of the mobile terminal, and “11” indicates the ESN of the mobile terminal stored in the subscriber identity cards A and B ( PESN) is inconsistent with the writing of the mobile terminal, and "00” indicates the mobile terminal stored in the user identification cards A and B.
  • the ESN (PESN) is consistent with the write of the mobile terminal, and the like, and can be appropriately set by the person skilled in the art according to the actual situation, which is not limited by the present invention.
  • the ESN (PESN) of the mobile terminal stored in the two subscriber identity cards is consistent with the write.
  • Step S706 The mobile terminal separately loads file header information corresponding to a single file in the two user identification cards.
  • the two user identification cards are respectively set as the user identification card A and the user identification card B.
  • the mobile terminal loads the file header information of the single file in the user identification card A and the single file in the user identification card B.
  • File header information is consistent with the write of the mobile terminal, and the like, and can be appropriately set by the person skilled in the art according to the actual situation, which is not limited by the present invention.
  • the ESN (PESN) of the mobile terminal stored in the two subscriber identity cards is consistent with the write.
  • Step S706 The mobile terminal separately loads file header information corresponding to a single file in the two
  • Step S708 The identifier bit is read to determine whether the current booting is the same user identification card as that used in the previous booting. If no, step S710 is performed; if yes, step S714 is performed. In this step, the result of the judgment may be that the two user identification cards are different from the one used in the previous power-on, or one of them may be the same and the other one is different. If the latter is used, step S710 may be performed on both cards. Alternatively, step M1 S710 may be performed only for the different cards, and step 4 S714 may be performed for the same card. Step S710: Read all the records corresponding to the loaded file by an exhaustive method.
  • Step S712 Determine whether it is necessary to construct a file record mapping relationship table of the file, and reconstruct the mapping relationship table of the file if necessary, otherwise skip the mapping relationship table for constructing the file, and complete initialization of the file.
  • Step S714 determining whether the file has a corresponding mapping relationship table, if there is a corresponding mapping relationship table, reading the mapping relationship table, and selectively reading the record on the user identification card according to the mapping relationship table, performing actual Card reading operation; if there is no corresponding mapping relationship table, then exhaustively read all the records corresponding to the file, and determine whether it is necessary to construct a mapping relationship table of the file, and reconstruct the file record of the file if necessary Map the relational table, otherwise skip the build file record mapping table.
  • Step S716 Completing the record loading of the file.
  • the order of boot initialization loading is not differentiated.
  • the worker i or the technician can implement the booting method of the present invention by referring to the above multiple embodiments.
  • the multi-card mobile terminal loads the file in the user identification card according to the file record mapping relationship corresponding to the currently used user identification card during the boot initialization process. Regardless of how many user identification cards are used by the mobile terminal, the quick start initialization force port can be performed according to the corresponding file record mapping relationship.
  • Embodiment 6 Referring to FIG.
  • an initialization module 802 configured to pre-store a file record mapping relationship when the mobile terminal is powered on and initialized. Loading the identifier in the file in the user identification card as a valid record; wherein the file is a file that needs to be loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card, and the file record mapping relationship is used to indicate user identification. The mapping between each file in the card and the records it contains, and whether each record is valid.
  • the pre-stored file record mapping relationship is a file record mapping relationship table
  • the file record mapping relationship table includes a file ID, a record ID, and a record valid flag bit
  • a file ID represents a file
  • a record ID represents a record
  • the record is valid.
  • the flag bit indicates whether the record is valid, one file ID corresponds to one or more record IDs, and each record ID corresponds to one record valid flag bit.
  • the mobile terminal of this embodiment further includes: an updating module, configured to synchronously update the file record mapping relationship when the user identifies the record update in the card.
  • the mobile terminal of this embodiment further includes: an establishing module, configured to: if the file record mapping relationship is pre-stored in the mobile terminal, when the mobile terminal uses the user identification card for the first time, read all files in the user identification card, and create a file. Record the mapping relationship and bind the established file record mapping relationship with the user identification card.
  • an establishing module configured to: if the file record mapping relationship is pre-stored in the mobile terminal, when the mobile terminal uses the user identification card for the first time, read all files in the user identification card, and create a file. Record the mapping relationship and bind the established file record mapping relationship with the user identification card.
  • the mobile terminal of this embodiment further includes: a first determining module, configured to: before the initialization module 802, according to the pre-stored file record mapping relationship, before loading the identifier in the file in the user identification card as a valid record, Comparing the ESN of the mobile terminal itself with the ESN of the terminal stored in the user identification card; if not, reading all the files in the user identification card, establishing a file record mapping relationship, and establishing the file record mapping relationship and user identification Card binding; if consistent, it is pre- The file record mapping relationship stored first, and the identifier in the file loaded in the user identification card is a valid record.
  • a first determining module configured to: before the initialization module 802, according to the pre-stored file record mapping relationship, before loading the identifier in the file in the user identification card as a valid record, Comparing the ESN of the mobile terminal itself with the ESN of the terminal stored in the user identification card; if not, reading all the files in the user identification card, establishing a file record mapping relationship, and
  • the first determining module is further configured to: pre-store the file record mapping relationship in the initialization module 802, and compare the electronic serial number ESN with the current use before loading the identifier in the file in the user identification card as a valid record. Whether the ESNs of the terminals stored in the user identification card are consistent; if they are inconsistent, read all the files in the currently used user identification card, establish a file record mapping relationship, and establish the file record mapping relationship with the currently used user identification.
  • the file record mapping relationship includes a plurality of file record mapping relationships respectively bound to the user identification card;
  • the mobile terminal of the example further includes: a second determining module, configured to compare the ESN of the mobile terminal itself before the initialization module 802 records the mapping relationship in the file in the user identification card according to the pre-stored file record mapping relationship Whether the ESNs of the terminals stored in the multiple user identification cards are consistent; if they are inconsistent, all the files in the inconsistent user identification card are read, the file record mapping relationship of the inconsistent user identification card is established, and the established file record mapping relationship is established.
  • Embodiment 7 Referring to FIG. 9, a block diagram of a user identification card according to Embodiment 7 of the present invention is shown, including: a mapping relationship module 902, configured to provide a file record to a mobile terminal when the mobile terminal is powered on and initialized.
  • the pre-stored file record mapping relationship is a file record mapping relationship table
  • the file record mapping relationship table includes a file ID, a record ID, and a record valid flag bit, and a file ID indicates a A file, a record ID indicates a record, and a record valid flag indicates whether the record is valid.
  • a file ID corresponds to one or more record IDs, and each record ID corresponds to a record valid flag.
  • the user identification card of this embodiment further includes: an update module, configured to synchronously update the file record mapping relationship when the record in the user identification card is updated.
  • User identification cards include, but are not limited to, UIM cards for CDMA systems, SIM cards for GSM systems, PIM for PHS, USIM cards for WCDMA, and 3G cards for TD-SCDMA systems.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

A method for starting up a mobile terminal, a mobile terminal and a subscriber identity card thereof are provided in the present invention. Wherein, the method for starting up a mobile terminal includes: when a mobile terminal is being started up for initiation, loading the record with valid identification of the file in the subscriber identity card according to a pre-stored mapping relation of the file record; wherein, said file is the one needing to be loaded when initiating the mobile terminal, and the mapping relation of the file record, which is bound with the subscriber identity card, is used for indicating each file and its contained record in the user identity card and for indicating whether each record is valid. By the present invention, unnecessary system overhead is saved, the speed of starting up a mobile terminal is increased, and the performance of the mobile terminal is improved, thus enhancing the effect of using experience of a subscriber.

Description

开机方法、 移动终端及用户 只别卡 技术领域 本发明涉及通信领域, 具体而言, 涉及一种开机方法、 移动终端及用户识 别卡。 背景技术 随着移动通讯技术的飞速发展和普及, 移动终端在满足用户基本通讯需求 的基础上, 移动终端用户在使用移动终端时的用户体 -险也越来越成为人们关注 的焦点。 更好的用户体验, 能够方便用户使用移动终端, 提高移动终端产品的 竟争力。 移动终端在开机过程中, 需要完成必要的初始化操作后, 才能使用移动终 端进行正常的业务。 对于机卡分离的移动终端如手机, 开机初始化过程包括移 动终端读取电话本、 短消息, 以及用户识别卡如 SIM卡或 UIM卡等的关键参 数的动作。 目前, 移动终端在加载短信或者电话本的时候, 通常是全部将用户 识别卡上的电话本和短信进行遍历加载。 这和 SIM卡或 UIM卡的规范有一定 关系, 卡上这些文件, 只^ 了一个文件头, 指示这个文件大小, 单条记录大小, 整个文件大小, 从而移动终端可以算出, 该文件可以存储的记录总数等。 但是, 用户识别卡属于外设, 其访问速度相对比较慢, 移动终端在初始化, 遍历整个文件, 按照从小到大的索引号, 全部加载的过程, 导致了移动终端开 机速度慢, 降低用户使用体验。 而且不同的卡, 其性能也不一样, 大量的读卡 操作, 对移动终端如手机的性能也会产生较大的负面影响, 也会造成移动终端 开机速度慢, 降低用户使用体验的问题。 发明内容 本发明的主要目的在于提供一种开机方法、 移动终端及用户识别卡, 以至 少解决上述移动终端开机速度慢, 用户使用体验低的问题。 居本发明的一个方面, 提供了一种开机方法, 包括: 移动终端在开机初 始化时, 才艮据预先存储的文件记录映射关系, 加载用户识别卡中的文件中的标 识为有效的记录; 其中, 该文件为移动终端初始化需要加载的文件, 文件记录  BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the field of communications, and in particular to a booting method, a mobile terminal, and a user identification card. BACKGROUND OF THE INVENTION With the rapid development and popularization of mobile communication technologies, mobile terminals satisfy the basic communication needs of users, and the user body-risk of mobile terminal users when using mobile terminals has increasingly become the focus of attention. A better user experience makes it easier for users to use mobile terminals and improve the competitiveness of mobile terminal products. During the boot process, the mobile terminal needs to complete the necessary initialization operations before using the mobile terminal for normal services. For a mobile terminal such as a mobile phone with a separate card, the boot initialization process includes a mobile terminal reading a phone book, a short message, and a key parameter of a user identification card such as a SIM card or a UIM card. At present, when a mobile terminal loads a short message or a phone book, it usually traverses the phone book and the short message on the user identification card. This has a certain relationship with the specification of the SIM card or UIM card. The files on the card only have a file header indicating the file size, the single record size, and the entire file size, so that the mobile terminal can calculate the record that the file can store. The total number. However, the user identification card belongs to the peripheral device, and the access speed is relatively slow. The mobile terminal is initialized, traversing the entire file, and the entire indexing process according to the index number from small to large causes the mobile terminal to start up slowly and reduce the user experience. . Moreover, the performance of different cards is different. A large number of card reading operations will have a large negative impact on the performance of mobile terminals such as mobile phones, and will also cause the mobile terminal to be slow to boot and reduce the user experience. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a booting method, a mobile terminal, and a user identification card, so as to solve the problem that the mobile terminal has a slow booting speed and a low user experience. According to an aspect of the present invention, a booting method is provided, including: when a mobile terminal initializes at a booting time, loading a record in a file in the user identification card as a valid record according to a pre-stored file record mapping relationship; , the file initializes the file to be loaded for the mobile terminal, the file record
1 P44144 映射关系与用户识别卡绑定, 文件记录映射关系用于指示用户识别卡中的各个 文件与其所包含的记录, 以及各个记录是否有效的映射关系。 优选地, 文件记录映射关系预先存储在移动终端或用户识别卡中。 优选地, 预先存储的文件记录映射关系为文件记录映射关系表, 文件记录 映射关系表包括文件标识 ID、 记录标识 ID 和记录有效标志位, 一个文件 ID 表示一个文件, 一个记录 ID表示一条记录, 记录有效标志位表示该记录是否 有效, 一个文件 ID对应一个或多个 ΐ己录 ID、 每个 ΐ己录 ID对应一个 ΐ己录有效 标志位。 优选地, 该方法还包括: 当用户识别卡中的记录更新时, 同步更新文件记 录映射关系。 优选地, 若文件记录映射关系预先存储在移动终端, 该方法还包括: 移动 终端首次使用用户识别卡时, 读取用户识别卡中的所有文件, 建立文件记录映 射关系, 并将建立的文件记录映射关系与用户识别卡绑定。 优选地, 在才艮据预先存储的文件记录映射关系, 加载用户识别卡中的文件 中的标识为有效的记录的步骤之前, 还包括: 移动终端比较自身的电子串号 ESN与用户识别卡中存储的终端的 ESN是否一致; 若不一致, 则读取用户识 别卡中的所有文件, 建立文件记录映射关系, 并将建立的文件记录映射关系与 用户识别卡绑定; 若一致, 则进行根据预先存储的文件记录映射关系, 加载用 户识别卡中的文件中的标识为有效的记录的步骤。 优选地, 在才艮据预先存储的文件记录映射关系, 加载用户识别卡中的文件 中的标识为有效的记录的步骤之前, 还包括: 移动终端比较自身的电子串号 ESN与当前使用的用户识别卡中存储的终端的 ESN是否一致; 若不一致, 则 读取当前使用的用户识别卡中的所有文件, 建立文件记录映射关系, 并将建立 的文件记录映射关系与当前使用的用户识别卡绑定; 若一致, 则移动终端比较 自身存储的用户识别卡的唯一标识信息与当前使用的用户识别卡的唯一标识 信息是否一致; 若不一致, 则读取当前使用的用户识别卡中的所有文件, 建立 当前使用的用户识别卡的文件记录映射关系, 并将建立的文件记录映射关系与 当前使用的用户识别卡绑定; 若一致, 则进行根据预先存储的文件记录映射关 系, 加载用户识别卡中的文件中的标识为有效的记录的步骤。 优选地, 当移动终端包括多个卡槽, 同时使用多个用户识别卡时, 文件记 录映射关系包括多个分别与用户识别卡绑定的文件记录映射关系; 在根据预先 存储的文件记录映射关系, 加载用户识别卡中的文件中的标识为有效的记录的 步骤之前,还包括: 移动终端比较自身的电子串号 ESN与多个用户识别卡中存 储的终端的 ESN是否一致; 若不一致, 则读取不一致的用户识别卡中的所有文 件, 建立不一致的用户识别卡的文件记录映射关系, 并将建立的文件记录映射 关系与不一致的用户识别卡对应绑定; 若一致, 则才艮据当前使用的用户识别卡 对应的文件记录映射关系, 加载该用户识别卡中的文件中的标识为有效的记 录。 才艮据本发明的另一方面, 提供了一种移动终端, 包括: 初始化模块, 用于 在开机初始化时, 才艮据预先存储的文件记录映射关系, 加载用户识别卡中的文 件中的标识为有效的记录; 其中, 该文件为移动终端初始化需要加载的文件, 文件记录映射关系与用户识别卡绑定, 文件记录映射关系用于指示用户识别卡 中的各个文件与其所包含的记录, 以及各个记录是否有效的映射关系。 优选地, 预先存储的文件记录映射关系为文件记录映射关系表, 文件记录 映射关系表包括文件标识 ID、 记录标识 ID 和记录有效标志位, 一个文件 ID 表示一个文件, 一个记录 ID表示一条记录, 记录有效标志位表示该记录是否 有效, 一个文件 ID对应一个或多个 ΐ己录 ID、 每个 ΐ己录 ID对应一个 ΐ己录有效 标志位。 根据本发明的再一方面, 提供了一种用户识别卡, 包括: 映射关系模块, 用于在移动终端开机初始化时, 向移动终端提供文件记录映射关系, 以使移动 终端才艮据文件记录映射关系, 加载用户识别卡中的文件中的标识为有效的记 录; 其中, 该文件为移动终端初始化需要加载的文件, 文件记录映射关系与用 户识别卡绑定, 文件记录映射关系用于指示用户识别卡中的各个文件与其所包 含的记录, 以及各个记录是否有效的映射关系。 优选地, 预先存储的文件记录映射关系为文件记录映射关系表, 文件记录 映射关系表包括文件标识 ID、 记录标识 ID 和记录有效标志位, 一个文件 ID 表示一个文件, 一个记录 ID表示一条记录, 记录有效标志位表示该记录是否 有效, 一个文件 ID对应一个或多个 ΐ己录 ID、 每个 ΐ己录 ID对应一个 ΐ己录有效 标志位。 通过本发明, 釆用预先设置文件记录映射关系, 移动终端开机时通过该文 件记录映射关系从用户识别卡中加载需要的文件中的有效的记录, 而不是加载 全部记录, 从而使得待加载的文件中的无效记录不再在开机时进行加载。 通过 这种有选择的加载, 解决了现有技术中, 移动终端开机速度慢, 用户使用体验 氐的问题, 进而达到了节省了不必要的系统开销, 提高了移动终端开机速度和 移动终端性能, 提升用户使用体验的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不 当限定。 在附图中: 图 1是根据本发明实施例一的一种开机方法的步骤流程图; 图 2是根据本发明实施例二的一种开机方法的步骤流程图; 图 3是图 2所示实施例中的文件记录映射关系表的结构示意图; 图 4是图 2所示实施例中的文件记录映射关系表的更新流程的示意图; 图 5是才艮据本发明实施例三的一种开机方法的步骤流程图; 图 6是才艮据本发明实施例四的一种开机方法的步骤流程图; 图 7是才艮据本发明实施例五的一种开机方法的步骤流程图; 图 8是 居本发明实施例六的一种移动终端的结构框图; 图 9是 居本发明实施例七的一种用户识别卡的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不 冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 实施例一 参照图 1 , 示出了才艮据本发明实施例一的一种开机方法的步骤流程图, 括以下步 4聚: 步 4聚 S 102: 移动终端上电开机; 步骤 S 104:移动终端在开机初始化时, 居预先存储的文件记录映射关系, 加载用户识别卡中的文件中的标识为有效的记录。 其中, 用户识别卡中的文件为移动终端初始化需要加载的文件, 文件记录 映射关系与用户识别卡绑定, 文件记录映射关系用于指示用户识别卡中的各个 文件与其所包含的记录, 以及各个记录是否有效的映射关系。 若移动终端为单卡移动终端, 即通常情况下仅使用一张用户识别卡, 则文 件记录映射关系与该用户识别卡绑定, 指示位于该用户识别卡中的, 移动终端 开机初始化时需要加载的文件中的记录的有效性。 若移动终端为多卡移动终 端, 如一个移动终端使用两张不同的用户识别卡, 则存在两个不同的文件记录 映射关系, 分别与两个不同的用户识别卡对应, 相应地, 每个文件 ΐ己录映射关 系与其对应的用户识别卡相绑定, 指示位于该用户识别卡中的, 移动终端开机 初始化时需要加载的文件中的记录的有效性。 本实施例可以在用户识别卡或者移动终端上建立一套文件记录映射关系 的数据结构, 以能够有效地表示用户识别卡上单条记录的使用情况。 移动终端 在进行初始化加载相关文件记录时, 首先加载该文件记录映射关系, 然后根据 该文件记录映射关系中的对应关系, 有选择去访问用户识别卡中的记录, 读取 初始化过程需要的有效记录, 对于无效记录文件则可以进行忽略。 文件记录映 射关系可以设置在移动终端中, 也可以设置在用户识别卡中。 文件记录映射关 系可以以各种适当方式存在, 如数据表、 文件、 数据库等等, 本领域技术人员 在实际应用时, 可以根据实际情况适当设置。 本实施例的移动终端, 在开机执行初始化的过程中, 4十对用户识别卡上的 电话本、 短消息等记录文件进行有选择的加载。 与目前并没有建立用户识别卡 上单条记录和其是否有效的对应关系的移动终端初始化时, 遍历整个文件, 在 加载短信或者电话本的时候, 全部将卡上的电话本和短信进行遍历加载相比, 因实际使用中, 用户识别卡上的文件艮多时候, 都不是满载的, 而且用户识别 卡的容量越来越大, 进行这种无效加载和遍历, 浪费了 艮多时间, 尤其是移动 终端开机初始化阶段的宝贵时间, 而本实施例通过设置文件记录映射关系, 使 移动终端在加载用户识别卡上记录的时候, 进行有选择的加载, 减少了不必要 的读卡操作,把宝贵的初始化时间节省下来,从而加速了移动终端初始化进程, 提高了用户体验和产品性能。 实施例二 参照图 2, 示出了才艮据本发明实施例二的一种开机方法的步骤流程图。 本 实施例中, 以单卡移动终端首次使用用户识别卡, 建立文件记录映射关系, 进 而进行开机初始化加载为例, 对本发明的开机方法作以说明。 本实施例的开机方法包括以下步 4聚: 步 4聚 S202: 移动终端开机。 步骤 S204:移动终端确定当前的用户识别卡为本移动终端首次使用的用户 识别卡。 在实际使用中, 移动终端需要先判断当前使用的用户识别卡是否为本终端 首次使用的用户识别卡, 进而判断是否需要建立文件记录映射关系。 本实施例 中, 以判断为首次使用为例。 以下以 CDMA机卡分离的手机为例, 介绍判断一个用户识别卡是否为一 个移动终端首次使用的实现原理, 当然, 本实施例也可以应用于其他制式的移 动终端, 在实际使用中, 本领域技术人员也可以釆用其它方式实现用户识别卡 是否首次为某一移动终端使用的判断, 本发明对此不作限制。 如何判断一张用户识别卡是否第一次被某移动终端使用, 或者, 移动终端 使用了不同的用户识别卡的实现过程如下: 在移动终端的开机过程中, 移动终端会^ 1 ESN ( Electronics Serial Number, 电子串号) /PESN (伪电子串号) 信息写入 UIM卡 6β8这个文件, 这个是移 动终端开机的标准流程, 所有的 CDMA手机必须遵守。 在判断一张用户识别 卡是否第一次被某移动终端使用, 或者移动终端使用了不同的用户识别卡时, 可以在开机的时候, 终端检测 6β8这个文件, 将文件里存贮的 ESN/PESN和 终端自身的 ESN/PESN进行对比, 如果不一致, 说明这张用户识别卡被别的终 端使用过,需要重新建立卡上的文件记录映射关系, 即启动建立映射关系流程, 穷举遍历力口载。 对于一些比较复杂的情况, 如一个移动终端前后使用了两张不同的用户识 别卡, 即移动终端在使用过程中更换了用户识别卡。 这时, 上述方法就无法完 成移动终端和用户识别卡的互锁。 这是因为, 用户识别卡中存贮的移动终端的 ESN/PESN是一样的。 此时, 需要在移动终端爹改流程, 增加记录用户识别卡 唯一标识信息的过程。 即, 爹改移动终端的开机流程, 用户识别卡的唯一标 识信息存贮在移动终端中, 比如用户识别卡的 RUIMID, IMSI, ICCCID等, 移动终端就可以判断前后是否使用的是同一张用户识别卡。 将 ESN判断和用户识别卡的唯一标识信息的判断两种过程结合起来,从而 实现一个移动终端前后使用两张或多张用户识别卡, 即同一移动终端更换不同 的用户识别卡时的机卡互锁, 进而判断移动终端前后两次是否使用相同的用户 识别卡。 只要判断用户使用了不同的用户识别卡, 移动终端存贮的文件映射关 系就要重新构建。 但是, 进行一次映射关系的构建, 其实也只是进行一次原始 的文件初始化加载过程, 并不会带来额外的系统开销。 步 4聚 S206: 读取用户识别卡中的所有文件, 建立文件记录映射关系, 并绑 定用户识别卡。 在确定移动终端当前使用的用户识别卡为本移动终端首次使用的用户识 别卡后, 则需要建立文件记录映射关系。 建立文件记录映射关系时, 需要读取 用户识别卡中的所有文件, 进行映射关系, 在映射关系建立后, 与用户识别卡 绑定。 文件记录映射关系可以以多种形式存在, 如数据表、 文件等。 本实施例中 釆用数据表的形式, 即建立文件记录映射关系表。 建立文件记录映射关系表可以通过以下两种方案实现: 第一种方案, 设置到用户识别卡如 SIM卡上。 在用户识别卡上自定义新增 文件, 或^ ί'爹改现有的文件, 专门用来存贮文件记录映射关系表。 在这个映射关 系表里存贮记录索引,以及记录是否有效两个值,并和相关头文件进行绑定(即 建立对应关系)。 这样在加载记录头文件的时候, 同时加载这张映射关系表, 移动终端才艮据映射关系表进行记录的实际读取。 当移动终端更新用户识别卡上 记录的时候, 同步修改映射关系表。 若想将此方法作为标准, 则可以规定好修 改的文件, 或者自定义文件的格式, 可以强制要求所有移动终端进行支持, 在 加载用户识别卡的记录时才艮据映射关系表进行, 当移动终端修改用户识别卡上 记录的时候, 同步更新用户识别卡上的映射关系表。 映射关系表的实现可以使 用很多方式, 其消耗最多也就是进行一次读卡操作就可以完成, 相对于大量无 效的读取来讲, 有很大性能的提升。 对于已在使用的终端也可以做到兼容, 不 用修改任何流程, 忽略这个映射关系表即可。 第二种方案, 设置到移动终端文件系统里。 移动终端首次使用用户识别卡 时, 将卡上的所有文件读取一遍, 建立文件记录映射关系表。 并将移动终端上 的映射关系表和用户使用的这张用户识别卡进行绑定。 绑定的过程就是建立用 户识别卡和移动终端的互锁过程。 互锁之后, 用户识别卡和移动终端具有—— 对应的关系。 当移动终端在进行用户识别卡上记录的添加、 删除、 更新时, 同 步修改映射关系表的内容。 本发明的一种文件记录映射关系表的结构如图 3所示, 该文件记录映射关 系表主要有三部分组成: 文件 ID (标识): 即要建立文件记录映射关系表的原 始文件 ID; 记录 ID (标识): 即记录的 ID号, 单条记录标识信息; 记录有效 标识: 记录是否有效标识位。 一个文件 ID表示一个文件, 一个记录 ID表示一 条记录, 记录有效标志位表示该记录是否有效, 一个文件 ID对应一个或多个 记录 ID、 每个记录 ID对应一个记录有效标志位。 图 3所示的文件记录映射关系表的更新流程如图 4所示, 当移动终端更新 用户识别卡上的记录, 包括删除记录, 添加记录, 和修改记录, 如果对应的文 件建立了文件记录映射关系表, 则同步更新该文件的文件记录映射关系表, 以 保证文件记录映射关系表和文件记录的对应。 需要说明的是, 并不一定用户识别卡里的所有文件都需要建立映射关系 表, 可以根据文件记录内容的条数和大小, 由本领域技术人员在移动终端进行 流程设计的时候进行适当取舍。 步骤 S208: 移动终端才艮据建立的文件记录映射关系, 加载用户识别卡中的 文件中的标 i只为有效的 ΐ己录。 本实施例中, 因移动终端首次使用用户识别卡, 因此需要新建文件记录映 射关系, 并根据该新建的映射关系加载文件。 但若用户识别卡非首次使用, 则 移动终端中应当已存在该用户识别卡的文件记录映射关系, 这样, 在移动终端 非首次使用该用户识别卡, 进行开机初始化时, 则不必再建立映射关系, 可以 直接 居之前已经建立好的映射关系, 进行初始化, 加载文件。 通过在用户识别卡或者移动终端上建立一套文件记录映射关系的数据结 构, 能够有效地表示用户识别卡上单条记录的使用情况, 移动终端在进行初始 化加载相关文件记录时, 首先加载该文件记录映射关系, 然后 居其中的对应 关系, 有选择去访问用户识别卡中的记录, 读取初始化过程需要的有效记录, 而对于文件的无效记录, 则可以进行忽略。 本实施例通过对用户识别卡中的文件的记录进行有选择的加载, 节省了不 必要的系统开销, 对提高了移动终端性能, 增强了用户对开机速度的体验。 实施例三 参照图 5 , 示出了才艮据本发明实施例三的一种开机方法的步骤流程图。 本 实施例以单卡移动终端、 文件记录映射关系表存储在用户识别卡上为例, 对本 发明的开机方法作以介绍。 同时, 需要说明的是, 本实施例中, 是以单个文件的加载为例来说明的, 真正的移动终端的初始化过程, 可能有多个类似的迭代的过程。 本实施例的开机方法包括: 步 4聚 S502: 移动终端开机初始^^ 开始读取用户识别卡中的单个文件。 步骤 S504: 移动终端读取用户识别卡中的该单个文件的文件头信息。 步骤 S506: 移动终端检测读取的文件是否存在文件记录映射关系表, 若不 存在, 则执行步骤 S508; 若存在, 则执行步骤 S514。 步骤 S508: 如果不存在该文件的映射关系表, 则用穷举法遍读该文件对应 的所有记录。 步骤 S510: 判断是否需要建立该文件的文件记录映射关系表, 若是, 则执 行步 4聚 S512; 若否, 则执行步 4聚 S518; 步骤 S512: 如果需要, 则建立该文件的文件记录映射关系表, 完成该文件 的加载, 执行步 4聚 S518。 步骤 S514: 如果存此文件的映射关系表, 则读取该文件的映射关系表。 步骤 S516 , 居该文件的映射关系表有选择的加载文件记录。 步骤 S518: 完成该文件的加载。 实施例四 参照图 6, 示出了才艮据本发明实施例四的一种开机方法的步骤流程图。 本 实施例以单卡移动终端使用更换用户识别卡, 文件记录映射关系表存储在移动 终端上为例, 对本发明的开机方法作以介绍。 同时, 需要说明的是, 本实施例中, 是以单个文件的加载为例来说明的, 真正的移动终端的初始化过程, 可能有多个类似的迭代的过程。 本实施例的开机方法包括: 步 4聚 S602: 移动终端开机开始初始 4匕。 步骤 S604: 移动终端将唯一标识信息 ESN ( PESN )写入 UIM卡中, 并判 断 UIM卡中存储的移动终端的唯一标识信息是否和写入的一致, 如果不一致, 则置第一标识位。 该第一标识位用于标识移动终端的与用户识别卡中存储的 ESN是否一致。 步骤 S606:移动终端读取用户识别卡 UIM卡的唯一标识信息(如 UIMID、 IMSI, 或 ICCCID ), 并判断读取的唯一标识信息是否和移动终端存储的唯一标 识信息一致, 如果不一致, 置第二标识位。 该第二标识位用于标识移动终端存储的与当前用户识别卡的唯一标识信 息是否一致。 第一标识位和第二标识位可以分别设置,也可以合并设置。 当合并设置时, 如若不一致, 则设置该标志位为 1 , 若一致, 则设置该标志位为 0。 在这种情 况下, 若 ESN不一致, 则置该标志位为 1 , 此时, 不管用户识别卡的唯一标识 信息是否一致, 一旦该标志位置 1 , 则不再 4爹改, 直至本次流程结束, 以指示 需要重建文件记录映射关系。 若 ESN—致, 此时该标志位为 0, 则当用户识别 卡的唯一标识信息不一致时, 将该标志位置 1 , 当用户识别卡的唯一标识信息 一致时, 则该标志位仍为 0。 步骤 S608: 加载用户识别卡 UIM卡中单个文件对应的文件头信息。 步 4聚 S610: 读取第一和第二标识位, 判断本次开机是否和上次开机使用的 是同一张用户识别卡, 若否, 则执行步骤 S612; 若是, 则执行步骤 S616。 步骤 S612: 如果不是同一张用户识别卡, 用穷举法遍读该文件对应的所有 ΐ己录。 步骤 S614: 判断是否需要构建该文件的文件记录映射关系表, 如果需要则 重构该文件的映射关系表, 否则跳过构建该文件的映射关系表, 完成该文件的 初始化。 步骤 S616: 如果是同一张用户识别卡, 判断该文件是否存在对应的映射关 系表, 如果存在对应的映射关系表, 则读取该映射关系表, 并根据该映射关系 表有选择的读取用户识别卡上的记录, 进行实际的读卡操作; 如果不存在对应 的映射关系表, 则用穷举法遍读该文件对应的所有记录, 并判断是否需要构建 该文件的映射关系表, 如果需要则重构该文件的文件记录映射关系表, 否则跳 过构建文件记录映射关系表。 步 4聚 S618: 完成该文件的 ΐ己录加载。 实施例五 参照图 7, 示出了才艮据本发明实施例五的一种开机方法的步骤流程图。 本 实施例以双卡移动终端、 文件记录映射关系表存储在用户识别卡上为例, 对本 发明的开机方法作以介绍。 本实施例虽然仅以包括至少两个卡槽, 同时使用两 个用户识别卡的双卡移动终端为例, 但本领域技术人员在使用多于两张卡的多 卡移动终端时, 可以参照本实施例实现本发明的开机方法。 同时, 需要说明的是, 本实施例中, 是以单个文件的加载为例来说明的, 真正的移动终端的初始化过程, 可能有多个类似的迭代的过程。 本实施例的开机方法包括: 步 4聚 S702: 移动终端开机初始 4匕。 步骤 S704: 移动终端将 ESN ( PESN ) 分别写入两个用户识别卡中, 并判 断两个用户识别卡中存储的移动终端的 ESN ( PESN ) 是否和写入的一致, 如 果不一致, 则置标识位。 标识位可以分别设置, 也可以统一设置。 分别设置时, 一个标识位对应于 一个用户识别卡;统一设置时,可以使用不同的比特位表示不同的含义,如" 01" 表示用户识别卡 A中存储的移动终端的 ESN ( PESN ) 与移动终端写入的不一 致, "10"表示用户识别卡 B 中存储的移动终端的 ESN ( PESN ) 与移动终端写 入的不一致, "11"表示用户识别卡 A和 B中存储的移动终端的 ESN ( PESN ) 均与移动终端写入的不一致, "00"表示用户识别卡 A和 B中存储的移动终端的 ESN ( PESN )均与移动终端写入的一致, 等, 本领域技术人员可以根据实际情 况适当设置, 本发明对此不作限制。 本实施例中, 以两个用户识别卡中存储的移动终端的 ESN ( PESN ) 均与 写入的一致为例。 步骤 S706:移动终端分别加载两个用户识别卡中的单个文件对应的文件头 信息。 设定两张用户识别卡分别为用户识别卡 A和用户识别卡 B , 本步 4聚中, 移 动终端加载用户识别卡 A中的单个文件的文件头信息和用户识别卡 B中的单个 文件的文件头信息。 步骤 S708: 读取标识位, 判断本次开机是否和上次开机使用的是相同的用 户识别卡, 若否, 则执行步骤 S710; 若是, 则执行步骤 S714。 本步骤中, 判断结果为否的情况可能为两张用户识别卡均与上次开机使用 的不相同的情况, 也可能为其中一张相同, 另一张不相同的情况。 若为后者, 则可以对两张卡均执行步骤 S710, 也可以优选的, 仅对不相同的那张卡执行步 Ml S710, 而对相同的那张卡则执行步 4聚 S714。 步骤 S710: 用穷举法遍读加载的文件对应的所有记录。 步骤 S712: 判断是否需要构建该文件的文件记录映射关系表, 如果需要则 重构该文件的映射关系表, 否则跳过构建该文件的映射关系表, 完成该文件的 初始化。 步骤 S714: 判断该文件是否存在对应的映射关系表, 如果存在对应的映射 关系表, 则读取该映射关系表, 并根据该映射关系表有选择的读取用户识别卡 上的记录, 进行实际的读卡操作; 如果不存在对应的映射关系表, 则用穷举法 遍读该文件对应的所有记录, 并判断是否需要构建该文件的映射关系表, 如果 需要则重构该文件的文件记录映射关系表, 否则跳过构建文件记录映射关系 表。 步骤 S716: 完成该文件的记录加载。 需要说明的是, 本实施例中并未对开机初始化加载的顺序作出区分, 在开 机初始 4 加载有先后顺序的情况下, 本领 i或技术人员可以参照上述多个实施例 实现本发明的开机方法。 通过本实施例, 使得多卡移动终端在开机初始化过程中, 才艮据当前使用的 用户识别卡对应的文件记录映射关系, 加载该用户识别卡中的文件。 不论移动 终端使用多少张用户识别卡, 都能够根据相应的文件记录映射关系进行快速开 机初始化力口载。 实施例六 参照图 8, 示出了才艮据本发明实施例六的一种移动终端的结构框图, 包括: 初始化模块 802 , 设置为在移动终端开机初始化时, 居预先存储的文件 记录映射关系, 加载用户识别卡中的文件中的标识为有效的记录; 其中, 所述 文件为移动终端初始化需要加载的文件, 文件记录映射关系与用户识别卡绑 定, 文件记录映射关系用于指示用户识别卡中的各个文件与其所包含的记录, 以及各个记录是否有效的映射关系。 优选的, 预先存储的文件记录映射关系为文件记录映射关系表, 文件记录 映射关系表包括文件 ID、 记录 ID和记录有效标志位, 一个文件 ID表示一个 文件, 一个记录 ID表示一条记录, 记录有效标志位表示该记录是否有效, 一 个文件 ID对应一个或多个记录 ID、 每个记录 ID对应一个记录有效标志位。 优选的, 本实施例的移动终端还包括: 更新模块, 设置为当用户识别卡中 的记录更新时, 同步更新文件记录映射关系。 优选的, 本实施例的移动终端还包括: 建立模块, 设置为若文件记录映射 关系预先存储在移动终端, 当移动终端首次使用用户识别卡时, 读取用户识别 卡中的所有文件, 建立文件记录映射关系, 并将建立的文件记录映射关系与用 户识别卡绑定。 优选的, 本实施例的移动终端还包括: 第一判断模块, 设置为在初始化模 块 802才艮据预先存储的文件记录映射关系, 加载用户识别卡中的文件中的标识 为有效的记录之前, 比较移动终端自身的 ESN 与用户识别卡中存储的终端的 ESN是否一致; 若不一致, 则读取用户识别卡中的所有文件, 建立文件记录映 射关系, 并将建立的文件记录映射关系与用户识别卡绑定; 若一致, 则 居预 先存储的文件记录映射关系, 加载用户识别卡中的文件中的标识为有效的记 录。 优选的, 第一判断模块还可以用于在初始化模块 802 居预先存储的文件 记录映射关系, 加载用户识别卡中的文件中的标识为有效的记录之前, 比较自 身的电子串号 ESN与当前使用的用户识别卡中存储的终端的 ESN是否一致; 若不一致, 则读取当前使用的用户识别卡中的所有文件, 建立文件记录映射关 系, 并将建立的文件记录映射关系与当前使用的用户识别卡绑定; 若一致, 则 比较自身存储的用户识别卡的唯一标识信息与当前使用的用户识别卡的唯一 标识信息是否一致; 若不一致, 则读取当前使用的用户识别卡中的所有文件, 建立当前使用的用户识别卡的文件记录映射关系, 并将建立的文件记录映射关 系与当前使用的用户识别卡绑定; 若一致, 则根据预先存储的文件记录映射关 系, 加载用户识别卡中的文件中的标识为有效的记录。 优选的, 当本实施例的移动终端包括多个卡槽, 同时使用多个用户识别卡 时, 文件记录映射关系包括多个分别与用户识别卡绑定的文件记录映射关系; 此时, 本实施例的移动终端还包括: 第二判断模块, 设置为在初始化模块 802 根据预先存储的文件记录映射关系, 加载用户识别卡中的文件中的标识为有效 的记录之前,比较移动终端自身的 ESN与多个用户识别卡中存储的终端的 ESN 是否一致; 若不一致, 则读取不一致的用户识别卡中的所有文件, 建立不一致 的用户识别卡的文件记录映射关系, 并将建立的文件记录映射关系与不一致的 用户识别卡对应绑定; 若一致, 则根据当前使用的用户识别卡对应的文件记录 映射关系, 加载该用户识别卡中的文件中的标识为有效的记录。 实施例七 参照图 9, 示出了才艮据本发明实施例七的一种用户识别卡的结构框图, 包 括: 映射关系模块 902 , 设置为在移动终端开机初始化时, 向移动终端提供文 件记录映射关系, 以使移动终端才艮据文件记录映射关系, 加载用户识别卡中的 文件中的标识为有效的记录; 其中, 所述文件为移动终端初始化需要加载的文 件, 文件记录映射关系与用户识别卡绑定, 文件记录映射关系用于指示用户识 别卡中的各个文件与其所包含的记录, 以及各个记录是否有效的映射关系。 优选的, 预先存储的文件记录映射关系为文件记录映射关系表, 文件记录 映射关系表包括文件 ID、 记录 ID和记录有效标志位, 一个文件 ID表示一个 文件, 一个记录 ID表示一条记录, 记录有效标志位表示该记录是否有效, 一 个文件 ID对应一个或多个记录 ID、 每个记录 ID对应一个记录有效标志位。 优选的, 本实施例的用户识别卡还包括: 更新模块, 设置为当用户识别卡 中的记录更新时, 同步更新文件记录映射关系。 用户识别卡包括但不限于, CDMA系统的 UIM卡, GSM系统的 SIM卡, 小灵通的 PIM, WCDMA的 USIM卡,以及 TD-SCDMA系统中的 3G卡等等。 从以上的描述中, 可以看出, 本发明提供了一种加速优化移动终端开机速 度的技术方案, 通过设置移动终端开机初始化需要加载的文件的文件记录映射 关系, 减少了移动终端开机初始化的时间, 带来了更好的用户体验, 提高了移 动终端的竟争力。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以 用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多 个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码 来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并且在某些 情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者将它们分别 制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电 路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领 域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之 内。  1 P44144 The mapping relationship is bound to the user identification card. The file record mapping relationship is used to indicate that the user identifies each file in the card and the records it contains, and whether the records are valid. Preferably, the file record mapping relationship is pre-stored in the mobile terminal or the subscriber identity card. Preferably, the pre-stored file record mapping relationship is a file record mapping relationship table, where the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag bit, a file ID represents a file, and a record ID represents a record. The record valid flag indicates whether the record is valid. One file ID corresponds to one or more recorded IDs, and each recorded ID corresponds to a valid recorded flag. Preferably, the method further comprises: synchronously updating the file record mapping relationship when the user identifies the record update in the card. Preferably, if the file record mapping relationship is pre-stored in the mobile terminal, the method further includes: when the mobile terminal uses the user identification card for the first time, reading all files in the user identification card, establishing a file record mapping relationship, and recording the established file The mapping relationship is bound to the user identification card. Preferably, before the step of loading the record in the file in the user identification card as a valid record according to the pre-stored file record mapping relationship, the method further includes: the mobile terminal comparing the electronic serial number ESN with the user identification card Whether the ESNs of the stored terminals are consistent; if they are inconsistent, read all the files in the user identification card, establish a file record mapping relationship, and bind the established file record mapping relationship with the user identification card; if they are consistent, proceed according to the pre- The stored file record mapping relationship, the step of loading the identifier in the file in the user identification card as a valid record. Preferably, before the step of loading the record in the file in the user identification card as a valid record according to the pre-stored file record mapping relationship, the method further includes: the mobile terminal comparing the electronic serial number ESN with the currently used user Whether the ESNs of the terminals stored in the identification card are consistent; if they are inconsistent, read all the files in the currently used user identification card, establish a file record mapping relationship, and tie the established file record mapping relationship with the currently used user identification card. If the agreement is the same, the mobile terminal compares the unique identification information of the user identification card stored by itself with the unique identification information of the currently used user identification card; if not, reads all the files in the currently used user identification card, Establish a file record mapping relationship of the currently used user identification card, and bind the established file record mapping relationship with the currently used user identification card; if they are consistent, perform loading according to the pre-stored file record mapping relationship, and load the user identification card. The identifier in the file is valid for the record Sudden.  Preferably, when the mobile terminal includes multiple card slots and multiple user identification cards are used at the same time, the file record mapping relationship includes a plurality of file record mapping relationships respectively bound to the user identification card; and the mapping relationship is recorded according to the pre-stored file. Before the step of loading the identifier in the file in the user identification card as a valid record, the method further includes: the mobile terminal comparing the electronic serial number ESN of the user with the ESN of the terminal stored in the plurality of user identification cards; if not, Read all the files in the inconsistent user identification card, establish a file record mapping relationship of the inconsistent user identification card, and bind the established file record mapping relationship to the inconsistent user identification card; if they are consistent, then according to the current The file record mapping relationship corresponding to the user identification card used is loaded, and the record in the file in the user identification card is loaded as a valid record. According to another aspect of the present invention, a mobile terminal is provided, including: an initialization module, configured to load an identifier in a file in a user identification card according to a pre-stored file record mapping relationship during boot initialization The file is a file that is loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card. The file record mapping relationship is used to indicate each file in the user identification card and the record it contains, and A mapping relationship in which each record is valid. Preferably, the pre-stored file record mapping relationship is a file record mapping relationship table, where the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag bit, a file ID represents a file, and a record ID represents a record. The record valid flag indicates whether the record is valid. One file ID corresponds to one or more recorded IDs, and each recorded ID corresponds to a valid recorded flag. According to still another aspect of the present invention, a user identification card is provided, including: a mapping relationship module, configured to provide a file record mapping relationship to a mobile terminal when the mobile terminal is powered on, so that the mobile terminal records the file record Relationship, loading the identifier in the file in the user identification card as a valid record; wherein, the file is a file that needs to be loaded for the mobile terminal to be initialized, the file record mapping relationship is bound to the user identification card, and the file record mapping relationship is used to indicate user identification The mapping between each file in the card and the records it contains, and whether each record is valid. Preferably, the pre-stored file record mapping relationship is a file record mapping relationship table, where the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag bit, a file ID represents a file, and a record ID represents a record. The record valid flag indicates whether the record is valid. One file ID corresponds to one or more recorded IDs, and each recorded ID corresponds to a valid recorded flag.  According to the present invention, the pre-set file record mapping relationship is used, and when the mobile terminal is powered on, the valid record in the required file is loaded from the user identification card through the file record mapping relationship, instead of loading all the records, thereby causing the file to be loaded. Invalid records in are no longer loaded at boot time. Through this selective loading, the problem that the mobile terminal has a slow booting speed and a user experience is solved in the prior art, thereby achieving unnecessary system overhead and improving the booting speed of the mobile terminal and the performance of the mobile terminal. Improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart showing the steps of a booting method according to a first embodiment of the present invention; FIG. 2 is a flow chart showing the steps of a booting method according to a second embodiment of the present invention; FIG. 4 is a schematic diagram of a process of updating a file record mapping relationship table in the embodiment shown in FIG. 2; FIG. 5 is a schematic diagram of a booting process according to the third embodiment of the present invention; FIG. 6 is a flow chart showing the steps of a booting method according to Embodiment 4 of the present invention; FIG. 7 is a flow chart showing the steps of a booting method according to Embodiment 5 of the present invention; A block diagram of a mobile terminal according to a sixth embodiment of the present invention; and FIG. 9 is a structural block diagram of a subscriber identity card according to Embodiment 7 of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. Embodiment 1 Referring to FIG. 1 , a flow chart of steps of a booting method according to Embodiment 1 of the present invention is shown, which includes the following steps:  Step 4: S102: The mobile terminal is powered on; Step S104: The mobile terminal pre-stores the file record mapping relationship when the power is initialized, and loads the identifier in the file in the user identification card as a valid record. The file in the user identification card is a file that needs to be loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card. The file record mapping relationship is used to indicate each file in the user identification card and the records it contains, and each Record whether the mapping is valid. If the mobile terminal is a single-card mobile terminal, that is, only one user identification card is generally used, the file record mapping relationship is bound to the user identification card, and the indication is located in the user identification card, and the mobile terminal needs to be loaded when booting initialization. The validity of the records in the file. If the mobile terminal is a multi-card mobile terminal, such as a mobile terminal using two different user identification cards, there are two different file record mapping relationships corresponding to two different user identification cards, respectively, correspondingly, each file The mapping relationship is associated with the corresponding user identification card, indicating the validity of the record in the file that needs to be loaded when the mobile terminal is initialized in the user identification card. In this embodiment, a data structure of a file record mapping relationship may be established on the user identification card or the mobile terminal, so as to effectively represent the usage of a single record on the user identification card. When the mobile terminal performs initial loading and loading related file records, first loading the file record mapping relationship, and then selectively accessing the records in the user identification card according to the corresponding relationship in the file record mapping relationship, and reading the valid records required for the initialization process. , can be ignored for invalid record files. The file record mapping relationship can be set in the mobile terminal or in the user identification card. The file record mapping relationship can exist in various appropriate manners, such as data tables, files, databases, etc., and can be appropriately set by a person skilled in the art according to actual conditions. In the mobile terminal of this embodiment, in the process of performing initialization during power-on, 40 pairs of record files such as a phone book and a short message on the user identification card are selectively loaded. When the mobile terminal is not initialized with a single record on the user identification card and whether it is valid, the entire file is traversed, and when the short message or the phone book is loaded, all the phone book and the short message on the card are traversed and loaded. Compared, in actual use, when the files on the user identification card are too large, they are not fully loaded, and the capacity of the user identification card is getting larger and larger. This invalid loading and traversal is wasted, which wastes a lot of time, especially mobile. The valuable time of the initialization phase of the terminal is turned on. In this embodiment, by setting the file record mapping relationship, the mobile terminal performs selective loading when loading the user identification card, thereby reducing unnecessary card reading operations and valuable. The initialization time is saved, which speeds up the initialization process of the mobile terminal and improves the user experience and product performance.  Embodiment 2 Referring to FIG. 2, a flow chart of steps of a booting method according to Embodiment 2 of the present invention is shown. In this embodiment, the single-card mobile terminal first uses the user identification card to establish a file record mapping relationship, and then performs boot initialization loading as an example to explain the booting method of the present invention. The booting method of this embodiment includes the following steps: Step 4: S202: The mobile terminal is powered on. Step S204: The mobile terminal determines that the current subscriber identity card is the subscriber identity card used by the mobile terminal for the first time. In actual use, the mobile terminal needs to first determine whether the currently used user identification card is the user identification card used by the terminal for the first time, and then determine whether a file record mapping relationship needs to be established. In this embodiment, it is determined as the first use as an example. The following is an example of a mobile phone with a CDMA card separated as an example. The implementation principle of determining whether a subscriber identity card is used for a mobile terminal for the first time is described. Of course, the embodiment can also be applied to mobile terminals of other standards. In actual use, the field The technical staff can also use other methods to realize whether the user identification card is used for a certain mobile terminal for the first time. The present invention does not limit this. How to judge whether a user identification card is used by a mobile terminal for the first time, or the implementation process of the mobile terminal using a different user identification card is as follows: During the startup process of the mobile terminal, the mobile terminal will ^1 ESN (Electronic Serial Number) / PESN (Pseudo-Electronic Serial Number) Information is written to the UIM card 6β8 file. This is the standard process for booting the mobile terminal. All CDMA phones must be followed. When judging whether a user identification card is used by a mobile terminal for the first time, or when the mobile terminal uses a different user identification card, the terminal can detect the 6β8 file at the time of booting, and store the ESN/PESN in the file. Compared with the ESN/PESN of the terminal itself, if it is inconsistent, it indicates that the user identification card has been used by another terminal, and the file record mapping relationship on the card needs to be re-established, that is, the process of establishing a mapping relationship is started, and the exhaustive traversal force is carried out. . For some complicated situations, for example, a mobile terminal uses two different user identification cards before and after, that is, the mobile terminal replaces the user identification card during use. At this time, the above method cannot complete the interlock of the mobile terminal and the subscriber identity card. This is because the ESN/PESN of the mobile terminal stored in the subscriber identity card is the same. At this point, you need to tamper with the process in the mobile terminal and add a record user identification card. The process of uniquely identifying information. That is, tampering with the booting process of the mobile terminal, the unique identification information of the user identification card is stored in the mobile terminal, such as the RUIMID, IMSI, ICCCID, etc. of the user identification card, and the mobile terminal can determine whether the same user identification is used before or after. card. The two processes of judging the ESN judgment and the unique identification information of the user identification card are combined, so that two or more user identification cards are used before and after a mobile terminal, that is, the same card when the same mobile terminal replaces different user identification cards. The lock further determines whether the mobile terminal uses the same user identification card twice before and after. As long as it is judged that the user has used a different subscriber identity card, the file mapping relationship stored by the mobile terminal is reconstructed. However, the construction of a mapping relationship is only a primitive file initialization loading process, and does not bring additional system overhead. Step 4: S206: Read all the files in the user identification card, establish a file record mapping relationship, and bind the user identification card. After determining that the user identification card currently used by the mobile terminal is the user identification card used by the mobile terminal for the first time, it is necessary to establish a file record mapping relationship. When a file record mapping relationship is established, all the files in the user identification card need to be read, and the mapping relationship is performed. After the mapping relationship is established, the user identification card is bound. File record mappings can exist in many forms, such as data tables, files, and so on. In this embodiment, the form of the data table is used, that is, the file record mapping relationship table is established. The establishment of the file record mapping relationship table can be implemented by the following two schemes: The first scheme is set to a user identification card such as a SIM card. Customize new files on the user identification card, or ^ ί 'tamper existing files, specifically for storing file record mapping tables. The record index is stored in the mapping relationship table, and whether the record is valid or not is bound to the related header file (ie, the correspondence is established). In this way, when the record header file is loaded, the mapping relationship table is loaded at the same time, and the mobile terminal performs the actual reading of the record according to the mapping relationship table. When the mobile terminal updates the record on the subscriber identity card, the mapping table is modified synchronously. If you want to use this method as a standard, you can specify the modified file, or the format of the custom file. You can force all mobile terminals to support it. When loading the record of the user identification card, you can use the mapping table to move. When the terminal modifies the record on the user identification card, the mapping table on the user identification card is updated synchronously. The implementation of the mapping relation table can be used in many ways, and the consumption is at most a single card reading operation, which has a great performance improvement compared to a large number of invalid readings. It can also be compatible for terminals that are already in use, without modifying any processes, and ignoring this mapping table.  The second option is set to the mobile terminal file system. When the mobile terminal uses the user identification card for the first time, it reads all the files on the card and creates a file record mapping table. The mapping table on the mobile terminal is bound to the user identification card used by the user. The binding process is to establish the interlock process between the user identification card and the mobile terminal. After the interlock, the subscriber identity card and the mobile terminal have a corresponding relationship. When the mobile terminal performs the addition, deletion, and update recorded on the subscriber identity card, the content of the mapping relationship table is synchronously modified. The structure of a file record mapping relationship table of the present invention is as shown in FIG. 3. The file record mapping relationship table mainly has three parts: a file ID (identification): an original file ID of a file record mapping relationship table to be created; a record ID (Identification): Name of the record ID, single record identification information; Record valid identification: Record whether the valid identification bit. A file ID indicates a file, a record ID indicates a record, and a record valid flag indicates whether the record is valid. A file ID corresponds to one or more record IDs, and each record ID corresponds to a record valid flag. The update process of the file record mapping relationship table shown in FIG. 3 is as shown in FIG. 4. When the mobile terminal updates the record on the user identification card, including deleting the record, adding the record, and modifying the record, if the corresponding file establishes the file record mapping In the relational table, the file record mapping relationship table of the file is synchronously updated to ensure the correspondence between the file record mapping relationship table and the file record. It should be noted that it is not necessary for all the files in the user identification card to establish a mapping relationship table. According to the number and size of the content recorded by the file, the person skilled in the art can make appropriate trade-offs when the mobile terminal performs the process design. Step S208: The mobile terminal searches for the file record mapping relationship according to the established file, and loads the target i in the file in the user identification card to be only valid. In this embodiment, since the mobile terminal uses the user identification card for the first time, it is necessary to newly create a file record mapping relationship, and load the file according to the newly created mapping relationship. However, if the user identification card is not used for the first time, the file record mapping relationship of the user identification card should already exist in the mobile terminal, so that when the mobile terminal does not use the user identification card for the first time and performs boot initialization, it is not necessary to establish a mapping relationship. , you can directly establish the mapping relationship that has been established before, initialize and load the file. By establishing a data structure of a file record mapping relationship on the user identification card or the mobile terminal, the usage of a single record on the user identification card can be effectively represented, and the mobile terminal first loads the file record when performing initialization loading and loading related file records. The mapping relationship, and then the corresponding relationship, has the option to access the records in the user identification card, read the valid records required for the initialization process, and ignore the invalid records of the file.  In this embodiment, by selectively loading the records of the files in the user identification card, unnecessary system overhead is saved, the performance of the mobile terminal is improved, and the user's experience of the booting speed is enhanced. Embodiment 3 Referring to FIG. 5, a flow chart of steps of a booting method according to Embodiment 3 of the present invention is shown. In this embodiment, the single-card mobile terminal and the file record mapping relationship table are stored on the user identification card as an example, and the booting method of the present invention is introduced. At the same time, it should be noted that, in this embodiment, the loading of a single file is taken as an example. The initialization process of a real mobile terminal may have multiple similar iterative processes. The booting method of this embodiment includes: Step 4: S502: The mobile terminal starts up and starts to read a single file in the user identification card. Step S504: The mobile terminal reads the file header information of the single file in the user identification card. Step S506: The mobile terminal detects whether the read file has a file record mapping relationship table. If not, step S508 is performed; if yes, step S514 is performed. Step S508: If there is no mapping relation table of the file, all the records corresponding to the file are overwritten by an exhaustive method. Step S510: determining whether it is necessary to establish a file record mapping relationship table of the file, if yes, executing step 4 S512; if not, executing step 4 S518; step S512: if necessary, establishing a file record mapping relationship of the file Table, complete the loading of the file, perform step 4 to gather S518. Step S514: If the mapping relationship table of the file is stored, the mapping relationship table of the file is read. Step S516, the mapping relationship table of the file has a selected loading file record. Step S518: Finish loading of the file. Embodiment 4  Referring to FIG. 6, a flow chart of steps of a booting method according to Embodiment 4 of the present invention is shown. In this embodiment, a single-card mobile terminal uses a replacement subscriber identification card, and a file record mapping relationship table is stored on the mobile terminal as an example to introduce the booting method of the present invention. At the same time, it should be noted that, in this embodiment, the loading of a single file is taken as an example. The initialization process of a real mobile terminal may have multiple similar iterative processes. The booting method of this embodiment includes: Step 4: S602: The mobile terminal starts up initially. Step S604: The mobile terminal writes the unique identification information ESN (PESN) into the UIM card, and determines whether the unique identification information of the mobile terminal stored in the UIM card is consistent with the written one. If not, the first identification bit is set. The first identifier is used to identify whether the mobile terminal is consistent with the ESN stored in the subscriber identity card. Step S606: The mobile terminal reads the unique identification information (such as UIMID, IMSI, or ICCCID) of the UIM card of the user identification card, and determines whether the read unique identification information is consistent with the unique identification information stored by the mobile terminal. Two identification bits. The second identifier is used to identify whether the unique identification information stored by the mobile terminal and the current subscriber identity card is consistent. The first identifier bit and the second flag bit may be set separately or in combination. When the settings are merged, if they are inconsistent, set the flag to 1 and if they match, set the flag to 0. In this case, if the ESN is inconsistent, the flag is set to 1. At this time, regardless of whether the unique identification information of the user identification card is consistent, once the flag is set to 1, the tampering is not performed until the end of the process. , to indicate that the file record mapping needs to be rebuilt. If the ESN is the same, the flag is 0. When the unique identification information of the user identification card is inconsistent, the flag is set to 1. When the unique identification information of the user identification card is consistent, the flag is still 0. Step S608: Load the file header information corresponding to the single file in the UIM card of the user identification card. Step 4: S610: The first and second identification bits are read, and it is determined whether the current startup is the same user identification card as that used in the previous startup. If not, step S612 is performed; if yes, step S616 is performed. Step S612: If not the same user identification card, use the exhaustive method to read all the records corresponding to the file.  Step S614: Determine whether it is necessary to construct a file record mapping relationship table of the file, and reconstruct the mapping relationship table of the file if necessary, otherwise skip the mapping relationship table for constructing the file, and complete initialization of the file. Step S616: If it is the same user identification card, determine whether the file has a corresponding mapping relationship table, if there is a corresponding mapping relationship table, read the mapping relationship table, and select the selected user according to the mapping relationship table. Identify the record on the card, perform the actual card reading operation; if there is no corresponding mapping relationship table, use the exhaustive method to read all the records corresponding to the file, and determine whether it is necessary to construct the mapping relationship table of the file, if necessary Then reconstruct the file record mapping relationship table of the file, otherwise skip the build file record mapping relationship table. Step 4: S618: Complete the file loading of the file. Embodiment 5 Referring to FIG. 7, a flow chart of steps of a booting method according to Embodiment 5 of the present invention is shown. In this embodiment, the dual-card mobile terminal and the file record mapping relationship table are stored on the user identification card as an example, and the booting method of the present invention is introduced. In this embodiment, although only a dual-card mobile terminal including at least two card slots and two user identification cards is used as an example, a person skilled in the art may refer to this when using a multi-card mobile terminal with more than two cards. The embodiment implements the booting method of the present invention. At the same time, it should be noted that, in this embodiment, the loading of a single file is taken as an example. The initialization process of a real mobile terminal may have multiple similar iterative processes. The booting method of this embodiment includes: Step 4: S702: The mobile terminal is powered on initially. Step S704: The mobile terminal writes the ESN (PESN) into the two user identification cards, and determines whether the ESN (PESN) of the mobile terminal stored in the two user identification cards is consistent with the written one. If not, the identifier is set. Bit. The flag bits can be set separately or uniformly. When set separately, one identification bit corresponds to one user identification card; when setting uniformly, different bits can be used to indicate different meanings, such as "01" indicating the ESN (PESN) and movement of the mobile terminal stored in the user identification card A Inconsistent write of the terminal, "10" indicates that the ESN (PESN) of the mobile terminal stored in the subscriber identity card B is inconsistent with the write of the mobile terminal, and "11" indicates the ESN of the mobile terminal stored in the subscriber identity cards A and B ( PESN) is inconsistent with the writing of the mobile terminal, and "00" indicates the mobile terminal stored in the user identification cards A and B.  The ESN (PESN) is consistent with the write of the mobile terminal, and the like, and can be appropriately set by the person skilled in the art according to the actual situation, which is not limited by the present invention. In this embodiment, the ESN (PESN) of the mobile terminal stored in the two subscriber identity cards is consistent with the write. Step S706: The mobile terminal separately loads file header information corresponding to a single file in the two user identification cards. The two user identification cards are respectively set as the user identification card A and the user identification card B. In this step, the mobile terminal loads the file header information of the single file in the user identification card A and the single file in the user identification card B. File header information. Step S708: The identifier bit is read to determine whether the current booting is the same user identification card as that used in the previous booting. If no, step S710 is performed; if yes, step S714 is performed. In this step, the result of the judgment may be that the two user identification cards are different from the one used in the previous power-on, or one of them may be the same and the other one is different. If the latter is used, step S710 may be performed on both cards. Alternatively, step M1 S710 may be performed only for the different cards, and step 4 S714 may be performed for the same card. Step S710: Read all the records corresponding to the loaded file by an exhaustive method. Step S712: Determine whether it is necessary to construct a file record mapping relationship table of the file, and reconstruct the mapping relationship table of the file if necessary, otherwise skip the mapping relationship table for constructing the file, and complete initialization of the file. Step S714: determining whether the file has a corresponding mapping relationship table, if there is a corresponding mapping relationship table, reading the mapping relationship table, and selectively reading the record on the user identification card according to the mapping relationship table, performing actual Card reading operation; if there is no corresponding mapping relationship table, then exhaustively read all the records corresponding to the file, and determine whether it is necessary to construct a mapping relationship table of the file, and reconstruct the file record of the file if necessary Map the relational table, otherwise skip the build file record mapping table. Step S716: Completing the record loading of the file.  It should be noted that, in this embodiment, the order of boot initialization loading is not differentiated. In the case that the boot initial 4 loading has a sequence, the worker i or the technician can implement the booting method of the present invention by referring to the above multiple embodiments. . In this embodiment, the multi-card mobile terminal loads the file in the user identification card according to the file record mapping relationship corresponding to the currently used user identification card during the boot initialization process. Regardless of how many user identification cards are used by the mobile terminal, the quick start initialization force port can be performed according to the corresponding file record mapping relationship. Embodiment 6 Referring to FIG. 8, a structural block diagram of a mobile terminal according to Embodiment 6 of the present invention is shown, including: an initialization module 802, configured to pre-store a file record mapping relationship when the mobile terminal is powered on and initialized. Loading the identifier in the file in the user identification card as a valid record; wherein the file is a file that needs to be loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card, and the file record mapping relationship is used to indicate user identification. The mapping between each file in the card and the records it contains, and whether each record is valid. Preferably, the pre-stored file record mapping relationship is a file record mapping relationship table, and the file record mapping relationship table includes a file ID, a record ID, and a record valid flag bit, a file ID represents a file, and a record ID represents a record, and the record is valid. The flag bit indicates whether the record is valid, one file ID corresponds to one or more record IDs, and each record ID corresponds to one record valid flag bit. Preferably, the mobile terminal of this embodiment further includes: an updating module, configured to synchronously update the file record mapping relationship when the user identifies the record update in the card. Preferably, the mobile terminal of this embodiment further includes: an establishing module, configured to: if the file record mapping relationship is pre-stored in the mobile terminal, when the mobile terminal uses the user identification card for the first time, read all files in the user identification card, and create a file. Record the mapping relationship and bind the established file record mapping relationship with the user identification card. Preferably, the mobile terminal of this embodiment further includes: a first determining module, configured to: before the initialization module 802, according to the pre-stored file record mapping relationship, before loading the identifier in the file in the user identification card as a valid record, Comparing the ESN of the mobile terminal itself with the ESN of the terminal stored in the user identification card; if not, reading all the files in the user identification card, establishing a file record mapping relationship, and establishing the file record mapping relationship and user identification Card binding; if consistent, it is pre- The file record mapping relationship stored first, and the identifier in the file loaded in the user identification card is a valid record. Preferably, the first determining module is further configured to: pre-store the file record mapping relationship in the initialization module 802, and compare the electronic serial number ESN with the current use before loading the identifier in the file in the user identification card as a valid record. Whether the ESNs of the terminals stored in the user identification card are consistent; if they are inconsistent, read all the files in the currently used user identification card, establish a file record mapping relationship, and establish the file record mapping relationship with the currently used user identification. Card binding; if they are consistent, compare whether the unique identification information of the user identification card stored by itself is consistent with the unique identification information of the currently used user identification card; if not, read all the files in the currently used user identification card, Establishing a file record mapping relationship of the currently used user identification card, and binding the established file record mapping relationship with the currently used user identification card; if they are consistent, loading the user identification card according to the pre-stored file record mapping relationship The identifier in the file is a valid record. Preferably, when the mobile terminal of the embodiment includes multiple card slots and multiple user identification cards are used at the same time, the file record mapping relationship includes a plurality of file record mapping relationships respectively bound to the user identification card; The mobile terminal of the example further includes: a second determining module, configured to compare the ESN of the mobile terminal itself before the initialization module 802 records the mapping relationship in the file in the user identification card according to the pre-stored file record mapping relationship Whether the ESNs of the terminals stored in the multiple user identification cards are consistent; if they are inconsistent, all the files in the inconsistent user identification card are read, the file record mapping relationship of the inconsistent user identification card is established, and the established file record mapping relationship is established. Binding to the inconsistent user identification card; if they are consistent, the identifier in the file in the user identification card is loaded as valid according to the file record mapping relationship corresponding to the currently used user identification card. Embodiment 7 Referring to FIG. 9, a block diagram of a user identification card according to Embodiment 7 of the present invention is shown, including: a mapping relationship module 902, configured to provide a file record to a mobile terminal when the mobile terminal is powered on and initialized. Mapping the relationship, so that the mobile terminal loads the identifier in the file in the user identification card as a valid record according to the file record mapping relationship; wherein the file is a file that needs to be loaded for the mobile terminal to initialize, and the file record mapping relationship and the user Identification card binding, the file record mapping relationship is used to indicate that the user identifies each file in the card and the records it contains, and whether the records are valid. Preferably, the pre-stored file record mapping relationship is a file record mapping relationship table, and the file record mapping relationship table includes a file ID, a record ID, and a record valid flag bit, and a file ID indicates a A file, a record ID indicates a record, and a record valid flag indicates whether the record is valid. A file ID corresponds to one or more record IDs, and each record ID corresponds to a record valid flag. Preferably, the user identification card of this embodiment further includes: an update module, configured to synchronously update the file record mapping relationship when the record in the user identification card is updated. User identification cards include, but are not limited to, UIM cards for CDMA systems, SIM cards for GSM systems, PIM for PHS, USIM cards for WCDMA, and 3G cards for TD-SCDMA systems. From the above description, it can be seen that the present invention provides a technical solution for accelerating the optimization of the booting speed of the mobile terminal. By setting the file record mapping relationship of the file to be loaded by the mobile terminal to initialize the booting, the time for starting the initialization of the mobile terminal is reduced. , bringing a better user experience and improving the competitiveness of mobile terminals. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claims
1. 一种开机方法, 包括: 1. A boot method, including:
移动终端在开机初始化时, 居预先存储的文件记录映射关系, 加 载用户识别卡中的文件中的标识为有效的记录;  When the mobile terminal initializes, it pre-stores the file record mapping relationship, and loads the identifier in the file in the user identification card as a valid record;
其中, 所述文件为所述移动终端初始化需要加载的文件, 所述文件 记录映射关系与所述用户识别卡绑定, 所述文件记录映射关系用于指示 所述用户识别卡中的各个文件与其所包含的记录, 以及各个所述记录是 否有效的映射关系。  The file is a file to be loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card, where the file record mapping relationship is used to indicate each file in the user identification card and The records included, and the mapping relationship between each of the records.
2. 根据权利要求 1所述的方法, 其中, 所述文件记录映射关系预先存储在 所述移动终端或所述用户识别卡中。 The method according to claim 1, wherein the file record mapping relationship is pre-stored in the mobile terminal or the user identification card.
3. 根据权利要求 1所述的方法, 其中, 所述预先存储的文件记录映射关系 为文件记录映射关系表, 所述文件记录映射关系表包括文件标识 ID、 记 录标识 ID和记录有效标志位, 一个所述文件 ID表示一个文件, 一个所 述记录 ID表示一条记录, 所述记录有效标志位表示该记录是否有效, 所 述一个文件 ID对应一个或多个记录 ID、每个记录 ID对应一个记录有效 标志位。 The method according to claim 1, wherein the pre-stored file record mapping relationship is a file record mapping relationship table, and the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag bit. One of the file IDs represents a file, one of the record IDs represents a record, the record valid flag bit indicates whether the record is valid, the one file ID corresponds to one or more record IDs, and each record ID corresponds to one record. Valid flag.
4. 根据权利要求 1、 2或 3所述的方法, 其中, 所述方法还包括: 4. The method according to claim 1, 2 or 3, wherein the method further comprises:
当所述用户识别卡中的记录更新时, 同步更新所述文件记录映射关 系。  When the record in the subscriber identity card is updated, the file record mapping relationship is updated synchronously.
5. 根据权利要求 2所述的方法, 其中, 若所述文件记录映射关系预先存储 在所述移动终端, 所述方法还包括: The method according to claim 2, wherein, if the file record mapping relationship is pre-stored in the mobile terminal, the method further includes:
所述移动终端首次使用所述用户识别卡时, 读取所述用户识别卡中 的所有文件, 建立所述文件记录映射关系, 并将建立的所述文件记录映 射关系与所述用户识别卡绑定。  When the mobile terminal uses the user identification card for the first time, it reads all the files in the user identification card, establishes the file record mapping relationship, and binds the established file record mapping relationship to the user identification card. set.
6. 居权利要求 1所述的方法, 其中, 在所述 居预先存储的文件记录映 射关系, 加载用户识别卡中的文件中的标识为有效的记录的步 4聚之前, 还包括: 所述移动终端比较自身的电子串号 ESN 与所述用户识别卡中存储 的终端的 ESN是否一致; The method of claim 1, wherein the pre-stored file record mapping relationship, before the step of loading the identifier in the file in the user identification card is a valid record, further includes: Whether the mobile terminal compares its own electronic serial number ESN with the ESN of the terminal stored in the user identification card;
若不一致, 则读取所述用户识别卡中的所有文件, 建立所述文件记 录映射关系,并将建立的所述文件记录映射关系与所述用户识别卡绑定; 若一致, 则进行所述根据预先存储的文件记录映射关系, 加载用户 识别卡中的文件中的标识为有效的记录的步骤。 才艮据权利要求 1所述的方法, 其中, 在所述 居预先存储的文件记录映 射关系, 加载用户识别卡中的文件中的标识为有效的记录的步 4聚之前, 还包括:  If they are inconsistent, read all the files in the user identification card, establish the file record mapping relationship, and bind the established file record mapping relationship with the user identification card; The step of loading the identifier in the file in the user identification card as a valid record according to the pre-stored file record mapping relationship. The method according to claim 1, wherein before the step of recording the mapping relationship of the pre-stored file and loading the identifier in the file in the user identification card as a valid record, the method further comprises:
所述移动终端比较自身的电子串号 ESN 与当前使用的所述用户识 别卡中存储的终端的 ESN是否一致;  Whether the mobile terminal compares its own electronic serial number ESN with the ESN of the terminal stored in the currently used user identification card;
若不一致, 则读取所述当前使用的用户识别卡中的所有文件, 建立 所述文件记录映射关系, 并将建立的所述文件记录映射关系与所述当前 使用的用户识别卡绑定;  If not, read all the files in the currently used user identification card, establish the file record mapping relationship, and bind the established file record mapping relationship with the currently used user identification card;
若一致, 则所述移动终端比较自身存储的用户识别卡的唯一标识信 息与所述当前使用的用户识别卡的唯一标识信息是否一致; 若不一致, 则读取所述当前使用的用户识别卡中的所有文件, 建立所述当前使用的 用户识别卡的文件记录映射关系, 并将建立的所述文件记录映射关系与 所述当前使用的用户识别卡绑定; 若一致, 则进行所述 居预先存储的 文件记录映射关系, 加载用户识别卡中的文件中的标识为有效的记录的 步骤。 才艮据权利要求 1所述的方法, 其中, 当所述移动终端包括多个卡槽, 同 时使用多个用户识别卡时, 所述文件记录映射关系包括多个分别与所述 用户识别卡绑定的文件记录映射关系;  If they are consistent, the mobile terminal compares the unique identification information of the user identification card stored by itself with the unique identification information of the currently used user identification card; if not, reads the currently used user identification card. All the files, the file record mapping relationship of the currently used user identification card is established, and the established file record mapping relationship is bound to the currently used user identification card; if they are consistent, the pre-existing The stored file record mapping relationship, the step of loading the identifier in the file in the user identification card as a valid record. According to the method of claim 1, wherein when the mobile terminal includes a plurality of card slots and a plurality of user identification cards are used at the same time, the file record mapping relationship includes a plurality of respectively associated with the user identification card. Fixed file record mapping relationship;
在所述根据预先存储的文件记录映射关系, 加载用户识别卡中的文 件中的标识为有效的记录的步骤之前, 还包括:  Before the step of loading the identifier in the file in the user identification card into a valid record according to the pre-stored file record mapping relationship, the method further includes:
所述移动终端比较自身的电子串号 ESN 与所述多个用户识别卡中 存储的终端的 ESN是否一致;  Whether the mobile terminal compares its own electronic serial number ESN with the ESN of the terminal stored in the plurality of user identification cards;
若不一致, 则读取不一致的所述用户识别卡中的所有文件, 建立所 述不一致的用户识别卡的文件记录映射关系, 并将建立的所述文件记录 映射关系与所述不一致的用户识别卡对应绑定; 若一致, 则才艮据当前使用的用户识别卡对应的文件记录映射关系, 加载该用户识别卡中的文件中的标识为有效的记录。 If they are inconsistent, read all the files in the inconsistent user identification card, establish a file record mapping relationship of the inconsistent user identification card, and establish the file record mapping relationship with the inconsistent user identification card. Corresponding binding If they are consistent, the record in the file in the user identification card is loaded as valid according to the file record mapping relationship corresponding to the currently used user identification card.
9. 一种移动终端, 包括: 9. A mobile terminal, comprising:
初始化模块, 设置为在开机初始化时, 居预先存储的文件记录映 射关系, 加载用户识别卡中的文件中的标识为有效的记录;  The initialization module is configured to record a mapping relationship in a pre-stored file during boot initialization, and load the identifier in the file in the user identification card as a valid record;
其中, 所述文件为所述移动终端初始化需要加载的文件, 所述文件 记录映射关系与所述用户识别卡绑定, 所述文件记录映射关系用于指示 所述用户识别卡中的各个文件与其所包含的记录, 以及各个所述记录是 否有效的映射关系。  The file is a file to be loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card, where the file record mapping relationship is used to indicate each file in the user identification card and The records included, and the mapping relationship between each of the records.
10. 居权利要求 9所述的移动终端, 其中, 所述预先存储的文件记录映射 关系为文件记录映射关系表, 所述文件记录映射关系表包括文件标识 ID、 记录标识 ID和记录有效标志位, 一个所述文件 ID表示一个文件, 一个所述记录 ID表示一条记录,所述记录有效标志位表示该记录是否有 效, 所述一个文件 ID对应一个或多个记录 ID、 每个记录 ID对应一个记 录有效标志位。 The mobile terminal of claim 9, wherein the pre-stored file record mapping relationship is a file record mapping relationship table, and the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag bit. And a file ID represents a file, and the record ID represents a record, the record valid flag indicates whether the record is valid, and the file ID corresponds to one or more record IDs, and each record ID corresponds to one Record the valid flag.
11. 一种用户识别卡, 包括: 11. A user identification card, including:
映射关系模块, 设置为在移动终端开机初始化时, 向所述移动终端 提供文件记录映射关系,以使所述移动终端根据所述文件记录映射关系 , 加载用户识别卡中的文件中的标识为有效的记录;  a mapping relationship module, configured to provide a file record mapping relationship to the mobile terminal when the mobile terminal is powered on, so that the mobile terminal loads the identifier in the file in the user identification card according to the file record mapping relationship. record of;
其中, 所述文件为所述移动终端初始化需要加载的文件, 所述文件 记录映射关系与所述用户识别卡绑定, 所述文件记录映射关系用于指示 所述用户识别卡中的各个文件与其所包含的记录, 以及各个所述记录是 否有效的映射关系。  The file is a file to be loaded by the mobile terminal, and the file record mapping relationship is bound to the user identification card, where the file record mapping relationship is used to indicate each file in the user identification card and The records included, and the mapping relationship between each of the records.
12. 居权利要求 11所述的用户识别卡, 其中, 所述预先存储的文件记录映 射关系为文件记录映射关系表, 所述文件记录映射关系表包括文件标识 ID、 记录标识 ID和记录有效标志位, 一个所述文件 ID表示一个文件, 一个所述记录 ID表示一条记录,所述记录有效标志位表示该记录是否有 效, 所述一个文件 ID对应一个或多个记录 ID、 每个记录 ID对应一个记 录有效标志位。 12. The user identification card according to claim 11, wherein the pre-stored file record mapping relationship is a file record mapping relationship table, and the file record mapping relationship table includes a file identification ID, a record identification ID, and a record valid flag. Bit, one of the file IDs represents a file, one of the record IDs represents a record, the record valid flag bit indicates whether the record is valid, and the one file ID corresponds to one or more record IDs, and each record ID corresponds to A record valid flag.
PCT/CN2011/075200 2011-01-13 2011-06-02 Method for starting up mobile terminal, mobile terminal and subscriber identity card thereof WO2012094867A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110006739.X 2011-01-13
CN201110006739.XA CN102082873B (en) 2011-01-13 2011-01-13 Starting method, mobile terminal and user identification card

Publications (1)

Publication Number Publication Date
WO2012094867A1 true WO2012094867A1 (en) 2012-07-19

Family

ID=44088622

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075200 WO2012094867A1 (en) 2011-01-13 2011-06-02 Method for starting up mobile terminal, mobile terminal and subscriber identity card thereof

Country Status (2)

Country Link
CN (1) CN102082873B (en)
WO (1) WO2012094867A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082873B (en) * 2011-01-13 2014-04-30 中兴通讯股份有限公司 Starting method, mobile terminal and user identification card
CN102833726B (en) * 2011-06-15 2017-09-12 中兴通讯股份有限公司 The method and apparatus for realizing user profile dilatation in terminal based on smart card
CN105376728A (en) * 2014-08-26 2016-03-02 中兴通讯股份有限公司 Boot method and communication terminal
CN106790918A (en) * 2016-12-14 2017-05-31 努比亚技术有限公司 The loading device and method of a kind of associated person information
CN108495302A (en) * 2018-04-26 2018-09-04 努比亚技术有限公司 SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing
CN112261641B (en) * 2020-10-16 2022-09-30 展讯通信(上海)有限公司 Data processing method and device and terminal equipment
CN112512034A (en) * 2020-12-09 2021-03-16 深圳市广和通无线股份有限公司 Method and device for quickly loading user identification card file by terminal and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856138A (en) * 2005-04-20 2006-11-01 英华达(上海)电子有限公司 Quickly turning-on of mobile telephone
CN101075196A (en) * 2006-05-15 2007-11-21 联发科技股份有限公司 Portable electronic device and method for loading resource data for the portable electronic device
CN101111024A (en) * 2007-08-21 2008-01-23 华为技术有限公司 Method and device for accelerating start of mobile terminal
CN101526902A (en) * 2008-12-25 2009-09-09 北京邮电大学 Executable file compression and loading technologies for movable terminal
CN101674677A (en) * 2009-10-27 2010-03-17 中兴通讯股份有限公司 Method for realizing quickly loading messages during start of mobile terminal
CN102082873A (en) * 2011-01-13 2011-06-01 中兴通讯股份有限公司 Starting method, mobile terminal and user identification card

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093659A1 (en) * 2001-11-15 2003-05-15 Say-Ling Wen Method and system for directly starting a PDA operating system on a portable PC using hardware devices
CN101534336A (en) * 2009-04-21 2009-09-16 上海闻泰电子科技有限公司 Mobile phone card for supporting quick read

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856138A (en) * 2005-04-20 2006-11-01 英华达(上海)电子有限公司 Quickly turning-on of mobile telephone
CN101075196A (en) * 2006-05-15 2007-11-21 联发科技股份有限公司 Portable electronic device and method for loading resource data for the portable electronic device
CN101111024A (en) * 2007-08-21 2008-01-23 华为技术有限公司 Method and device for accelerating start of mobile terminal
CN101526902A (en) * 2008-12-25 2009-09-09 北京邮电大学 Executable file compression and loading technologies for movable terminal
CN101674677A (en) * 2009-10-27 2010-03-17 中兴通讯股份有限公司 Method for realizing quickly loading messages during start of mobile terminal
CN102082873A (en) * 2011-01-13 2011-06-01 中兴通讯股份有限公司 Starting method, mobile terminal and user identification card

Also Published As

Publication number Publication date
CN102082873B (en) 2014-04-30
CN102082873A (en) 2011-06-01

Similar Documents

Publication Publication Date Title
WO2012094867A1 (en) Method for starting up mobile terminal, mobile terminal and subscriber identity card thereof
US8560015B2 (en) Application selection for multi-SIM environment
JP5968516B2 (en) Method and terminal for loading operator configuration information
US20150082294A1 (en) Method and Apparatus for Generating Firmware Over the Air Upgrade Package
US20120282901A1 (en) Terminal and Method for Binding SIM Card
WO2018000560A1 (en) Method, apparatus and communication terminal for implementing network access service
US20130065563A1 (en) Method and Device for Operating Telephone Directory
WO2013023510A1 (en) User information storage method and equipment thereof
CN107295503A (en) Determine method, storage medium and the mobile terminal of mobile terminal access way
EP4098002A1 (en) Just in time connection configuration stored in sim profile
WO2013167004A1 (en) Information reading method, information reading terminal, information management method and subscriber identification module
WO2013023471A1 (en) Mobile terminal and subscriber information storage method of same
WO2011127708A1 (en) Set-card separation mobile phone and method for realizing card initialization
WO2015117356A1 (en) Start-up method and communication terminal
JP2023542225A (en) Method and apparatus for handling non-access stratum context
CN105430738A (en) Method and device for initiating registration
CN107466087B (en) Network searching method and mobile terminal
KR102037556B1 (en) Method and device for upgrading telephone number in wireless terminal self-adaptive network upgrade
WO2023273289A1 (en) Anti-theft method and apparatus for sim card
US20230019427A1 (en) Method for reducing non-volatile memory fragmentation in integrated circuit cards, corresponding card and apparatus
JP2008109658A (en) Apparatus for storing specified network identifyer, and related method in wireless device
CA2807276A1 (en) Speed dialing method, subscriber identity module/user identity model and mobile terminal
CN102752753B (en) A kind of method and mobile radio terminal of control ZigBee-network
WO2012034327A1 (en) Method and terminal for version update
WO2008054133A1 (en) Terminal having mutual api calling function in platform library, and dsl module generation method and api calling method using the same

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: 11855544

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: 11855544

Country of ref document: EP

Kind code of ref document: A1