CN102869005A - Method for mobile terminal to process homed data and mobile terminal - Google Patents
Method for mobile terminal to process homed data and mobile terminal Download PDFInfo
- Publication number
- CN102869005A CN102869005A CN2012103366824A CN201210336682A CN102869005A CN 102869005 A CN102869005 A CN 102869005A CN 2012103366824 A CN2012103366824 A CN 2012103366824A CN 201210336682 A CN201210336682 A CN 201210336682A CN 102869005 A CN102869005 A CN 102869005A
- Authority
- CN
- China
- Prior art keywords
- file
- data
- ownership place
- place data
- portable terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000012795 verification Methods 0.000 claims abstract description 17
- 238000012545 processing Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 238000012217 deletion Methods 0.000 description 4
- 230000037430 deletion Effects 0.000 description 4
- 238000004321 preservation Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 150000001875 compounds Chemical class 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method for a mobile terminal to process homed data and a mobile terminal. The method comprises that a homed data update file is obtained to be stored in a first file directory in a file system, and the homed data update file is obtained from the first file directory, after successful verification, the corresponding file identification of each group of update data is judged to be same with the file identification of one homed data file in a second file directory or not, if yes, the update data is utilized to update the data of the homed data file, if not, a data file which contains the update data is generated in the second file directory, and the file identification of the data file is the corresponding file identification of the update data. According to the technical scheme provided by the invention, an operator side is prevented from releasing a new mobile terminal program software version due to the update of the homed data, a mobile terminal side is prevented from refreshing the program software version due to the update of the homed data, so that the update realization cost and update speed are lowered.
Description
Technical field
The present invention relates to the mobile terminal data processing technology field, relate in particular to method and portable terminal that a kind of portable terminal is processed the ownership place data.
Background technology
Related data when the ownership place of phone number is inquired about is called the ownership place data.The ownership place data can but be not limited only to comprise: area code (usually preserving with the form of " the area code place name table of comparisons ") corresponding to the ownership place place name of phone number, phone number (be called for short " place name "), place name, postcode corresponding to country code, place name under the phone number, etc.At present, the ownership place data are written in the system program of portable terminal with the form of global variable.For example in the Brew platform mobile phone, the ownership place data write the system program of portable terminal with the global variable form, and preserve with the grouping of .c program file form.
In the prior art, when operator has issued new ownership place data, perhaps existing ownership place data have been carried out the operations such as modification, deletion, if the user wishes the ownership place data of preserving in the portable terminal are upgraded, just need to carry out software version to the mobile terminal system program and refresh.The updating software release in order to upgrade the ownership place data, it is embodied as originally higher, and renewal speed is slow.
Summary of the invention
The purpose of this invention is to provide method and portable terminal that a kind of portable terminal is processed the ownership place data, high to solve ownership place Data Update cost, the problem that renewal speed is slow.
The objective of the invention is to be achieved through the following technical solutions:
The method that a kind of portable terminal is processed the ownership place data is preserved the ownership place data file under the second file directory of mobile terminal document system, the method comprises:
Acquisition for mobile terminal ownership place Data Update file, and described ownership place Data Update file is kept in the file system is used for comprising file identification and the more new data corresponding to file identification of check value, at least one ownership place data file in the described ownership place Data Update file under the first file directory of storage update file;
Described portable terminal obtains described ownership place Data Update file under described the first file directory;
After described portable terminal carries out verification succeeds according to described check value to described ownership place Data Update file, judge that every group of file identification that more new data is corresponding be whether identical with the file identification of an ownership place data file under the second file directory;
If identical, described portable terminal utilizes described more new data that the data of the ownership place data file that file identification is identical under described the second file directory are upgraded;
If not identical, described portable terminal generates the data file that comprises described more new data and check value according to predetermined file format under described the second file directory, and the file identification of described data file is file identification corresponding to described more new data.
A kind of portable terminal that the ownership place data are processed is preserved the ownership place data file under the second file directory of the file system of described portable terminal, described portable terminal also comprises:
The transaction file download unit, be used for obtaining ownership place Data Update file, and described ownership place Data Update file is kept in the file system is used for comprising file identification and the more new data corresponding to file identification of check value, at least one ownership place data file in the described ownership place Data Update file under the first file directory of storage update file;
The transaction file reading unit is used for obtaining described ownership place Data Update file under described the first file directory;
The ownership place data updating unit, after being used for according to described check value described ownership place Data Update file being carried out verification succeeds, judge that every group of file identification that more new data is corresponding be whether identical with the file identification of an ownership place data file under the second file directory; If identical, utilize described more new data that the data of the ownership place data file that file identification is identical under described the second file directory are upgraded; If not identical, under described the second file directory, generate the data file that comprises described more new data and check value according to predetermined file format, the file identification of described data file is file identification corresponding to described more new data.
The method that the embodiment of the invention provides and portable terminal are kept at the ownership place data in the file system of portable terminal.When operator has issued new ownership place data, when perhaps the ownership place data having been carried out upgrading operation, portable terminal upgrades corresponding ownership place data file by obtaining transaction file.Carrier side has been avoided issuing new program of mobile terminal software version because upgrade the ownership place data, and mobile terminal side has been avoided the refurbishing procedure software version because upgrade the ownership place data, has reduced realization cost and the renewal speed upgraded.In addition, the ownership place data are kept in the file system of portable terminal, have also saved the ROM(read-only memory of portable terminal) space.
Description of drawings
The method flow diagram that Fig. 1 provides for one embodiment of the invention;
The method flow diagram that Fig. 2 provides for another embodiment of the present invention;
The mobile terminal structure schematic diagram that Fig. 3 provides for the embodiment of the invention.
Embodiment
In the embodiment of the invention, the ownership place data are kept in the file under the file system particular category of portable terminal, the particular category of preserving the ownership place data is called the second file directory.The embodiment of the invention is not construed as limiting the file type of preserving the ownership place data, preferably, the ownership place data can be kept at .dat(data file class) in the file.
When operator has issued new ownership place data, perhaps existing ownership place data the operations such as modification, deletion have been carried out.Operator or Internet Service Provider can generate ownership place Data Update file, and in the mode of active push or after receiving the update request of portable terminal ownership place Data Update file are sent to portable terminal.Or, operator or Internet Service Provider are with ownership place Data Update file distribution on the internet, the user downloads to local PC(PC by the Internet with ownership place Data Update file) etc. on the equipment, by wired or wireless connection, ownership place Data Update file is transferred to the portable terminal that needs to upgrade the ownership place data from equipment such as PC again.
Portable terminal is kept at ownership place Data Update file under the first file directory of mobile terminal document system after receiving ownership place Data Update file.Among the present invention, the first file directory is preassigned store path for preserving ownership place Data Update file.
In the embodiment of the invention, the first file directory and the second file directory can be the store paths in the portable terminal internal memory, also can be the store paths in the storage card of expanding.
The embodiment of the invention is not construed as limiting the file type of ownership place Data Update file, and preferably, the file type of ownership place Data Update file can be the .db file.Take the ownership place Data Update file of file areasearch.db by name as example, its file structure is as follows:
(1), file identification
(2), fileversion number
(3), the file generated date
(4), the file identification identification code of ownership place data file (as, FILENAME), the file identification of ownership place data file, more the size information of new data (as, 4byte), the more new data of ownership place data file
Wherein, the file identification identification code is used for identification file identification thereafter.That is, when reading ownership place Data Update file, read thereafter file identification by locating file sign identification code.
File identification is used for identification ownership place data file or ownership place Data Update file, for example and without limitation, can be with the filename of the ownership place data file file identification as the ownership place data file, such as 130ACNumbier.dat, with the filename of the ownership place Data Update file file identification as ownership place Data Update file, as, areasearch.db.
(5), check value, such as the Crc(cyclic redundancy code) check value
The ownership place data file data that wherein, can comprise a plurality of renewals in the transaction file.Be in the above-mentioned file format, can comprise a plurality of minor structures " 4 ".
For the portable terminal of preserving the ownership place data in file system, a kind of method that the ownership place data are processed that the embodiment of the invention provides specifically comprises following operation as shown in Figure 1:
Wherein, the file identification and more new data corresponding to file identification that comprise check value, at least one ownership place data file in the ownership place Data Update file.
After step 130, the verification succeeds, judge that every group of file identification that more new data is corresponding be whether identical with the file identification of an ownership place data file under the second file directory.
If operator upgrades the ownership place data of existing type, judged result in the above-mentioned steps 130 is identical, execution in step 140, above-mentioned portable terminal utilize this to organize more new data upgrades the data of the ownership place data file that file identification is identical under the second file directory.
If operator has issued the ownership place data of newtype, so, not identical with file identification corresponding to the ownership place data of newtype (in the transaction file accordingly more new data) ownership place data file under the second file directory.Accordingly, judged result in the above-mentioned steps 130 is not identical, execution in step 150, above-mentioned portable terminal generate according to predetermined file format under the second file directory and comprise this and organize the more data file of new data and check value, and the file identification of this data file is organized more file identification corresponding to new data for this.
Repeat above-mentioned steps 130 ~ 150, until finish all more processing of new data in the ownership place Data Update file.
The method that the embodiment of the invention provides is kept at the ownership place data in the file system of portable terminal.When operator has issued new ownership place data, when perhaps the ownership place data having been carried out upgrading operation, portable terminal upgrades corresponding ownership place data file by obtaining transaction file.Carrier side has been avoided issuing new program of mobile terminal software version because upgrade the ownership place data, and mobile terminal side has been avoided the refurbishing procedure software version because upgrade the ownership place data, has reduced realization cost and the renewal speed upgraded.In addition, the ownership place data are kept in the file system of portable terminal, have also saved the ROM space of portable terminal.
The implementation that portable terminal utilizes more new data corresponding to each file identification that the data of the ownership place data file that file identification is identical under the second file directory are upgraded has a variety of, and the present invention exemplifies wherein two kinds:
(1), for each the ownership place data file that need to upgrade, proceed as follows respectively:
Above-mentioned portable terminal is according to the file format of ownership place data file identical with file identification that more new data is corresponding under above-mentioned the second file directory, generates to preserve this more data file of new data and check value;
After above-mentioned portable terminal carries out verification succeeds according to the check value of the data file that generates to this data file, delete ownership place data file identical with this file identification that more new data is corresponding under the second file directory, and this data file is kept under the second file directory according to identical file identification.
(2), for each the ownership place data file that need to upgrade, proceed as follows respectively:
Above-mentioned portable terminal is new data more with the data replacement of ownership place data file identical with file identification that more new data is corresponding under the second file directory.
Before portable terminal dispatches from the factory, can directly the ownership place data be kept under the second catalogue of mobile terminal document system, and in program, not write the ownership place data.For existing portable terminal, if its ownership place data have been written in the program, can also the ownership place data be kept under the second catalogue of mobile terminal document system by write operation.Preferably, the specific implementation of preservation ownership place data can be:
Above-mentioned portable terminal is set up the ownership place data file that is used for preserving phone number information under above-mentioned the second file directory, the ownership place data file that should be used for the preservation phone number is preserved NID identical phone number information and check value according to predetermined file format, phone number information comprises: the ownership place identification field of phone number, and ground name code corresponding to the ownership place identification field of phone number;
Above-mentioned portable terminal is set up the ownership place data file that is used for preserving information of place names under above-mentioned the second file directory, the ownership place data file that should be used for the preservation information of place names is preserved information of place names and check value according to predetermined file format.Wherein, information of place names comprises: ground name code, and place name corresponding to ground name code.
Should be pointed out that in the embodiment of the invention that the check value in each ownership place data file, ownership place Data Update file and other data files is used for corresponding data file is carried out verification.When generating a data file, for the corresponding check value of this Generating Data File.For example and without limitation, this check value can be the Crc check value.
For the ownership place data of other types, can be with reference to the preserving type of information of place names.
The embodiment of the invention provides a kind of ownership place data preferred preserving type in file system, and is specific as follows.
For dissimilar ownership place data, leave in respectively in the different files:
1, the phone number information that NID is identical is kept at respectively in the different data file (for example .dat file).Wherein, NID is used for the operator that sign provides phone number.Take the phone number of China as example, front three is NID.For example, preserve the phone number information of 130 fields in the file of file " 130ACNumber.dat " by name, file format is as follows:
(1) file header (as, HisenseBegin)
(2) (version number of record this document is such as V1.1 for fileversion number
(3) data (comprising successively: the data size information of NID, phone number information, phone number information)
(4) check value is such as the Crc check value
(5) end-of-file (as, HisenseEnd)
Wherein, phone number information comprises: the ownership place identification field of phone number, and ground name code corresponding to the ownership place identification field of phone number.Wherein, the ownership place identification field of phone number is used for the ownership place of sign phone number.Take the China mobile number as example, the 4-digit number after the NID is the ownership place identification code, is used for identifying the ownership place of phone number.So, the ownership place identification field of phone number can be all or part of of this 4-digit number.For example, when the ownership place of sign phone number that namely can be unique by the front two of ownership place identification code, then this front two is exactly the ownership place identification field.
Wherein, if not with the file identification of filename as the ownership place data file, then at the assigned address (for example between file header and fileversion number) of above-mentioned file format, also comprise the file identification of ownership place data file.
For compatible with existing home zone of mobile phone number inquiry, preferably, the data that read out from above-mentioned data file can correctly be filled following data structure:
{
Uint16 wPrefix; (16 integer variables are for the NID of expression phone number, such as 138)
Const ACSearch_Record_type*pACNumber; (pACNumber is used for preserving continuous phone number, const ACSearch_Record_type*pACNumber represents, the continuous phone number of preserving among the pACNumber belongs to same ownership place, for example, data according to this data structure filling are { 100,139, IDS_BEIJING}, the ownership place of all phone numbers is Beijing in this field of expression 1380100-1380139)
Const ACSearch_Record_type_Ex*pACNumberEx; (pACNumberEx is used for preserving discontinuous phone number, and const ACSearch_Record_type_Ex*pACNumberEx represents that the discontinuous phone number of preserving among the pACNumberEx belongs to same ownership place)
Uint16 wACNumberCount; (16 integer variables, for the number of the represented data of expression data structure " const ACSearch_Record_type*pACNumber ", for example, 100,139, IDS_BEIJING} can be regarded as data)
Uint16 wACNumberCountEx; (16 integer variables are for the number of the represented data of expression data structure " const ACSearch_Record_type_Ex*pACNumberEx ")
ACNumbersType(represents the data structure title).
Should be pointed out that the said structure body only is a kind of illustrating.The file that above-mentioned data file reads out can also be filled according to other data structure, to satisfy the compatibility of inquiring about with existing home zone of mobile phone number.
2, the postcode that country code, the place name under the area code that geographical name data, place name are corresponding (such as, the area code place name table of comparisons) data, the phone number is corresponding etc. data are kept at respectively in the different data files.Take geographical name data as example, the file format of preserving geographical name data is as follows:
(1) file header (as, HisenseBegin)
(2) version number (records the version number of this document, such as V1.1
(3) data (comprising successively: the data size information of geographical name data, place name number, geographical name data)
(4) check value is such as the Crc check value
(5) end-of-file (as, HisenseEnd)
Wherein, geographical name data comprises: ground name code, and place name corresponding to ground name code.
The file format of preserving other ownership place data can with reference to above-mentioned file format, repeat no more.
Should be pointed out that ownership place data all right other compound modes, document form preservation in file system, the present invention does not exemplify one by one.The above-mentioned file format that exemplifies is only for a kind of non-limiting for example.
If also preserve the ownership place data in the program of portable terminal, optional after spanned file under the second catalogue of mobile terminal document system is preserved the ownership place data, the ownership place data of preserving in the delete program.As the phone number data of 130 fields are written in the 130ACNumber.dat file under the second file directory according to predetermined file format, so just will preserve the .C file of the phone number data of 130 fields in the program and delete.
Below in conjunction with accompanying drawing, the process of ownership place Data Update is described in detail.
When operator has issued new ownership place data, perhaps existing ownership place data the operations such as modification, deletion have been carried out.Operator or Internet Service Provider can generate ownership place Data Update file, and in the mode of active push or after receiving the update request of portable terminal ownership place Data Update file are sent to portable terminal.
Portable terminal is kept at ownership place Data Update file under first file directory of file system of portable terminal obtain ownership place Data Update file from network side after.
Concrete, the file of ownership place Data Update file is called areasearch.db, and its file format is as mentioned above.If portable terminal is the Brew platform mobile phone, because assignable memory headroom is limited, the size of areasearch.db file is no more than 300K, to reduce the use of memory headroom or to take.
Read ownership place Data Update file, the specific implementation that the ownership place data file of storing under the second file directory is upgraded specifically comprises following operation as shown in Figure 2:
For example, if more new data is phone number information, so, predetermined file format is exactly above-mentioned file format for preserving phone number information.If more new data is geographical name data, so, predetermined file format is exactly above-mentioned file format for preserving geographical name data information.
Optionally, also by checking file header and the end-of-file of new files, the integrality of new files is checked.
The ownership place data file identical with the filename of new data more under step 250, deletion the second file directory, the filename that newly-built file RNTO is corresponding is kept under the second file directory.
Behind the completing steps 250, return step 220, until finish all more operations of new data.
In the embodiment of the invention, more new data packets is drawn together: the version number of ownership place data file, and the data of ownership place data file.Optionally, between step 220 and step 230, can also comprise following operation:
Obtain the version number (version number 1) in the new data more, obtain under the second file directory the version number (version number 2) of the ownership place data file identical with filename that more new data is corresponding, judge version redaction whether in the new data more by relatively version number 1 and version number 2, if it is execution in step 230, otherwise finish to upgrade operation.
In the embodiment of the invention, can be realized by portable terminal the automatic renewal of ownership place data according to above-mentioned processing procedure.Also can upgrade the menu triggering mobile terminals according to above-mentioned processing procedure realization ownership place Data Update by clicking by the user.
If automatically upgrade, portable terminal can periodically detect the transaction file whether redaction is arranged under the first file directory, when the transaction file of redaction is arranged, according to above-mentioned processing procedure the ownership place data is upgraded.
If trigger the renewal operation by the user, then portable terminal upgrades the ownership place data according to above-mentioned processing procedure after receiving trigger command.Optionally, portable terminal is at first judged the transaction file whether redaction is arranged under the first file directory after receiving trigger command, if having then carry out above-mentioned processing procedure, if not then send the prompting that can't upgrade.
Based on identical inventive concept, the embodiment of the invention also provides a kind of portable terminal that the ownership place data are processed, under the second file directory of the file system of this portable terminal, preserve the ownership place data file, the structure of this portable terminal as shown in Figure 3, the specific implementation structure is as follows:
Transaction file download unit 30, be used for obtaining ownership place Data Update file, and this ownership place Data Update file is kept in the file system is used for preserving under the first file directory of ownership place Data Update file, comprise file identification and the more new data corresponding to file identification of check value and at least one ownership place data file in the described ownership place Data Update file.
Transaction file reading unit 31 is used for obtaining described ownership place Data Update file under described the first file directory.
Ownership place data updating unit 32, after being used for according to described check value described ownership place Data Update file being carried out verification succeeds, judge that every group of file identification that more new data is corresponding be whether identical with the file identification of an ownership place data file under the second file directory; If identical, utilize described more new data that the data of the ownership place data file that file identification is identical under described the second file directory are upgraded; If not identical, under described the second file directory, generate the data file that comprises described more new data and check value according to predetermined file format, the file identification of described data file is file identification corresponding to described more new data.
The portable terminal that the embodiment of the invention provides is kept at the ownership place data in the file system of portable terminal.When operator has issued new ownership place data, when perhaps the ownership place data having been carried out upgrading operation, portable terminal upgrades corresponding ownership place data file by obtaining transaction file.Carrier side has been avoided issuing new program of mobile terminal software version because upgrade the ownership place data, and mobile terminal side has been avoided the refurbishing procedure software version because upgrade the ownership place data, has reduced realization cost and the renewal speed upgraded.In addition, the ownership place data are kept in the file system of portable terminal, have also saved the ROM space of portable terminal.
Preferably, ownership place data updating unit 32 specifically is used for:
Described portable terminal generates the data file of preserving described more new data and check value according to the file format of ownership place data file identical with file identification corresponding to above-mentioned more new data under described the second file directory;
After described portable terminal carries out verification succeeds according to the check value of described data file to described data file, delete under described the second file directory the ownership place data file identical with file identification corresponding to described more new data, and described data file is kept under described the second file directory according to identical file identification.
Preferably, ownership place data updating unit 32 specifically is used for:
Be described more new data with the data replacement of ownership place data file identical with file identification that more new data is corresponding under described the second file directory.
Preferably, the portable terminal that the embodiment of the invention provides can also comprise ownership place Generating Data File unit, is used for:
Set up the ownership place data file that is used for preserving phone number information under described the second file directory, described ownership place data file for preserving phone number information is preserved NID identical phone number information and check value according to predetermined file format;
Described portable terminal is set up the ownership place data file that is used for preserving information of place names under described the second file directory, described ownership place data file for preserving information of place names is preserved information of place names and check value according to predetermined file format.
Preferably, described file identification is filename.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (10)
1. the method that portable terminal is processed the ownership place data is characterized in that, preserves the ownership place data file under the second file directory of mobile terminal document system, and the method comprises:
Acquisition for mobile terminal ownership place Data Update file, and described ownership place Data Update file is kept in the file system is used for preserving under the first file directory of ownership place Data Update file, comprise file identification and the more new data corresponding to file identification of check value, at least one ownership place data file in the described ownership place Data Update file;
Described portable terminal obtains described ownership place Data Update file under described the first file directory;
After described portable terminal carries out verification succeeds according to described check value to described ownership place Data Update file, judge that every group of file identification that more new data is corresponding be whether identical with the file identification of an ownership place data file under the second file directory;
If identical, described portable terminal utilizes described more new data that the data of the ownership place data file that file identification is identical under described the second file directory are upgraded;
If not identical, described portable terminal generates the data file that comprises described more new data and check value according to predetermined file format under described the second file directory, and the file identification of described data file is file identification corresponding to described more new data.
2. method according to claim 1 is characterized in that, described portable terminal utilizes described more new data that the data of the ownership place data file that file identification is identical under described the second file directory are upgraded, and specifically comprises:
Described portable terminal generates the data file of preserving described more new data and check value according to the file format of ownership place data file identical with file identification corresponding to described more new data under described the second file directory;
After described portable terminal carries out verification succeeds according to the check value of described data file to described data file, delete under described the second file directory the ownership place data file identical with file identification corresponding to described more new data, and described data file is kept under described the second file directory according to identical file identification.
3. method according to claim 1 is characterized in that, described portable terminal utilizes described more new data that the data of the ownership place data file that file identification is identical under described the second file directory are upgraded, and specifically comprises:
Described portable terminal is described more new data with the data replacement of ownership place data file identical with file identification that more new data is corresponding under described the second file directory.
4. each described method according to claim 1 ~ 3 is characterized in that the method also comprises:
Described portable terminal is set up the ownership place data file that is used for preserving phone number information under described the second file directory, described ownership place data file for preserving phone number information is preserved NID identical phone number information and check value according to predetermined file format;
Described portable terminal is set up the ownership place data file that is used for preserving information of place names under described the second file directory, described ownership place data file for preserving information of place names is preserved information of place names and check value according to predetermined file format.
5. the described method of any one is characterized in that according to claim 1 ~ 3, and described file identification is filename.
6. the portable terminal that the ownership place data are processed is characterized in that, preserves the ownership place data file under the second file directory of the file system of described portable terminal, and described portable terminal also comprises:
The transaction file download unit, be used for obtaining ownership place Data Update file, and described ownership place Data Update file is kept in the file system is used for preserving under the first file directory of ownership place Data Update file, comprise file identification and the more new data corresponding to file identification of check value, at least one ownership place data file in the described ownership place Data Update file;
The transaction file reading unit is used for obtaining described ownership place Data Update file under described the first file directory;
The ownership place data updating unit, after being used for according to described check value described ownership place Data Update file being carried out verification succeeds, judge that every group of file identification that more new data is corresponding be whether identical with the file identification of an ownership place data file under the second file directory; If identical, utilize described more new data that the data of the ownership place data file that file identification is identical under described the second file directory are upgraded; If not identical, under described the second file directory, generate the data file that comprises described more new data and check value according to predetermined file format, the file identification of described data file is file identification corresponding to described more new data.
7. portable terminal according to claim 6 is characterized in that, described ownership place data updating unit specifically is used for:
File format according to ownership place data file identical with file identification corresponding to described more new data under described the second file directory generates the data file of preserving described more new data and check value;
After according to the check value of described data file described data file being carried out verification succeeds, delete under described the second file directory the ownership place data file identical with file identification corresponding to described more new data, and described data file is kept under described the second file directory according to identical file identification.
8. portable terminal according to claim 6 is characterized in that, described ownership place data updating unit specifically is used for:
Be described more new data with the data replacement of ownership place data file identical with file identification that more new data is corresponding under described the second file directory.
9. each described portable terminal is characterized in that according to claim 6 ~ 8, and described portable terminal also comprises ownership place Generating Data File unit, is used for:
Set up the ownership place data file that is used for preserving phone number information under described the second file directory, described ownership place data file for preserving phone number information is preserved NID identical phone number information and check value according to predetermined file format;
Described portable terminal is set up the ownership place data file that is used for preserving information of place names under described the second file directory, described ownership place data file for preserving information of place names is preserved information of place names and check value according to predetermined file format.
10. each described portable terminal is characterized in that according to claim 6 ~ 8, and described file identification is filename.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210336682.4A CN102869005B (en) | 2012-09-12 | 2012-09-12 | Method for mobile terminal to process homed data and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210336682.4A CN102869005B (en) | 2012-09-12 | 2012-09-12 | Method for mobile terminal to process homed data and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102869005A true CN102869005A (en) | 2013-01-09 |
CN102869005B CN102869005B (en) | 2015-02-18 |
Family
ID=47447542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210336682.4A Expired - Fee Related CN102869005B (en) | 2012-09-12 | 2012-09-12 | Method for mobile terminal to process homed data and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102869005B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1821506A2 (en) * | 2006-02-17 | 2007-08-22 | Sony Ericsson Mobile Communications Japan, Inc. | Mobile terminal and software update method |
CN101163256A (en) * | 2006-10-13 | 2008-04-16 | 英华达(上海)电子有限公司 | Method and device for displaying home zone of mobile phone number |
CN101582949A (en) * | 2009-07-02 | 2009-11-18 | 优视动景(北京)技术服务有限公司 | Management system for displaying mobile phone number attribution |
CN101702158A (en) * | 2009-10-28 | 2010-05-05 | 卓望数码技术(深圳)有限公司 | Index file creation synchronized method and search system |
CN101765086A (en) * | 2008-12-26 | 2010-06-30 | 上海闻泰电子科技有限公司 | Mobile number attribution inquiry updating method without updating program of mobile terminal |
-
2012
- 2012-09-12 CN CN201210336682.4A patent/CN102869005B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1821506A2 (en) * | 2006-02-17 | 2007-08-22 | Sony Ericsson Mobile Communications Japan, Inc. | Mobile terminal and software update method |
US20070226334A1 (en) * | 2006-02-17 | 2007-09-27 | Sony Ericsson Mobile Communications Japan, Inc. | Mobile terminal and software update method |
US7584379B2 (en) * | 2006-02-17 | 2009-09-01 | Sony Ericsson Mobile Communications Japan, Inc. | Mobile terminal and software update method |
CN101163256A (en) * | 2006-10-13 | 2008-04-16 | 英华达(上海)电子有限公司 | Method and device for displaying home zone of mobile phone number |
CN101765086A (en) * | 2008-12-26 | 2010-06-30 | 上海闻泰电子科技有限公司 | Mobile number attribution inquiry updating method without updating program of mobile terminal |
CN101582949A (en) * | 2009-07-02 | 2009-11-18 | 优视动景(北京)技术服务有限公司 | Management system for displaying mobile phone number attribution |
CN101702158A (en) * | 2009-10-28 | 2010-05-05 | 卓望数码技术(深圳)有限公司 | Index file creation synchronized method and search system |
Also Published As
Publication number | Publication date |
---|---|
CN102869005B (en) | 2015-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6996818B2 (en) | Update system for facilitating software update and data conversion in an electronic device | |
JP5696018B2 (en) | Target data placement method, target data placement system, and server device, client device, and program thereof | |
CN105893084B (en) | Version upgrading method and terminal device | |
US20120185454A1 (en) | Method and device for accessing file resources | |
CN106250143A (en) | The OTA upgrade method of a kind of wearable device and device | |
CN102065118A (en) | Method for updating network equipment and device for implementing method | |
CN104899066A (en) | Method and device for continuous upgrading | |
CN101106818B (en) | A system and method for summarizing user roaming status in GSM network service area | |
CN102567053A (en) | Method and device for downgrading software version | |
CN105335187A (en) | Application processing method and apparatus | |
CN102263805A (en) | Dynamic resource downloading method and apparatus thereof | |
CN104199750A (en) | File recovery method and device of linux system | |
CN102662660A (en) | FOTA (firmware over-the-air) version control method based on file traversal technique | |
EP2549782B1 (en) | Data card and method and system for customizing its application service | |
CN104965736A (en) | Continuous upgrade method and apparatus | |
CN104484206A (en) | Method, terminal and system for setting up application program | |
CN102822837B (en) | The method and apparatus of the equipment applet management on smart card | |
WO2012042999A1 (en) | Terminal application search system | |
CN108228717A (en) | The loading method and device of the page | |
CN104869559A (en) | Method and device for updating operator information | |
CN110865828A (en) | Data upgrading method, device, equipment and computer readable storage medium | |
CN105068826B (en) | The method and device that a kind of pair of navigation data is updated | |
US9854429B2 (en) | Mobile terminal configuration method and system | |
CN102819570A (en) | Data access method, device and system | |
CN101877071A (en) | Data updating method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150218 |