CN104077053B - Terminal information operating method and device and mobile terminal - Google Patents
Terminal information operating method and device and mobile terminal Download PDFInfo
- Publication number
- CN104077053B CN104077053B CN201410309709.XA CN201410309709A CN104077053B CN 104077053 B CN104077053 B CN 104077053B CN 201410309709 A CN201410309709 A CN 201410309709A CN 104077053 B CN104077053 B CN 104077053B
- Authority
- CN
- China
- Prior art keywords
- information
- list
- backed
- fields
- current
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a terminal information operating method and device and a mobile terminal. The terminal information operating method comprises obtaining all the fields corresponding to the information to be backed up of a terminal and generating a list of fields to be backed up; comparing the list of the fields to be backed up with fields contained in a preset standard list, and updating a preset eliminating list and a preset expansion list according to comparison results; copying the information to be backed up into the corresponding fields of the standard list, a current eliminating list and a current expansion list to generate backup files. The terminal information operating method and device and the mobile terminal can achieve complete backup of information of different systems and obtain a high backup speed and a high recovery speed.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of operating method of end message, device and movement are eventually
End.
Background technology
It is contact person, short message, logical in current most popular mobile terminal operating system such as Android (Android) system
The information such as words record need to be read and write by application programming interface (API) interface.Under the system environments of normal authority, should
These information can be read by calling API with program, backup file is saved as, be may then pass through and called API from backup
Data are read in file carries out data recovery.
However, current Backup and Restore instrument is all generally only in the environment of no acquisition system highest (ROOT) authority
Some necessary data are read and write, in addition, in the case where the detail data amount of backup is consistent, backup and recovery
Speed is all slow.
As can be seen here, there is following defect in current data backup restoration operation:First, the storehouse that backup operation is copied out
File is simultaneously imperfect, and secondly, speed when data are carried out with Backup and Restore is slow, i.e., execution efficiency is relatively low.
The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.Therefore, of the invention
One purpose is to propose a kind of operating method with the end message that full backup advantage is carried out to information, device and movement
Terminal.
The embodiment of the present invention proposes a kind of operating method of end message, and the operating method includes:Obtain the terminal
The corresponding all fields of information to be backed up, and generate list of fields to be backed up;By the list of fields to be backed up and default mark
The field included in quasi- list is contrasted, and updates default Exclude Lists and expanded list according to comparison result;And will
The information copy to be backed up in the standard list, current Exclude Lists and the corresponding field of current extensions list, with life
Into backup file.
The operating method embodiment of above-mentioned end message, is arranged by the corresponding field to be backed up of the information to be backed up that will be obtained
The field included in table and default standard list is contrasted, and updates default Exclude Lists and extension according to comparison result
List;Then, by information copy to be backed up to standard list, current Exclude Lists and the corresponding field of current extensions list,
To generate backup file, complete backup is carried out such that it is able to the information to different system.
The embodiment of the present invention proposes a kind of operation device of end message, and the operation device includes:Generation module, is used for
The corresponding all fields of terminal information to be backed up are obtained, and generates list of fields to be backed up;Update module, for by described in
The field included in list of fields to be backed up and default standard list is contrasted, and updates default row according to comparison result
Except list and expanded list;And copy module, for will the information copy to be backed up to the standard list, currently exclusion
In list and the corresponding field of current extensions list, to generate backup file.
The operation device embodiment of above-mentioned end message, list of fields to be backed up is generated by generation module, by updating
Module is contrasted the field included in above-mentioned list of fields to be backed up and default standard list, and according to comparison result more
New default Exclude Lists and expanded list;By copy module by above-mentioned information copy to be backed up to above-mentioned standard list, when
In preceding Exclude Lists and the corresponding field of current extensions list, to generate backup file, such that it is able to the information to different system
Carry out complete backup.
The embodiment of the present invention proposes a kind of mobile terminal, and the mobile terminal includes housing, processor, memory, circuit
Plate and power circuit, wherein, the circuit board is placed in the interior volume that the housing is surrounded, the processor and the storage
Device is arranged on the circuit board;The power circuit, powers for each circuit or device for the mobile terminal;It is described
Memory is used to store executable program code;The processor is by reading the executable program generation stored in the memory
Code runs program corresponding with the executable program code, for performing following steps:
The corresponding all fields of mobile terminal information to be backed up are obtained, and generates list of fields to be backed up;Will be described
The field included in list of fields to be backed up and default standard list is contrasted, and updates default row according to comparison result
Except list and expanded list;And expand the information copy to be backed up to the standard list, current Exclude Lists and currently
In the corresponding field of long list, to generate backup file.
Above-mentioned mobile terminal embodiment, by will obtain the corresponding list of fields to be backed up of information to be backed up with it is default
The field included in standard list is contrasted, and updates default Exclude Lists and expanded list according to comparison result;Then,
By in information copy to be backed up to standard list, current Exclude Lists and the corresponding field of current extensions list, to generate backup
File, complete backup is carried out such that it is able to the information to different system.
Brief description of the drawings
Fig. 1 is the flow chart of the operating method of the end message of one embodiment of the invention.
Fig. 2 is the flow chart for updating Exclude Lists and expanded list of one embodiment of the invention.
Fig. 3 is the flow chart of the backup method of the end message of one embodiment of the invention.
Fig. 4 is the flow chart of the restoration methods of the end message of one embodiment of the invention.
Fig. 5 is the structural representation of the operation device of the end message of one embodiment of the invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish
Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached
It is exemplary to scheme the embodiment of description, it is intended to for explaining the present invention, and be not considered as limiting the invention.
Below with reference to the accompanying drawings the operating method and device of the end message of the embodiment of the present invention described.
Fig. 1 is the flow chart of the operating method of the end message of one embodiment of the invention, and the embodiment is entered from end side
Row description, its executive agent is the software being located in terminal, also, the software does not get the system highest authority of the terminal,
I.e. under non-ROOT environment.
As shown in figure 1, the operating method of the end message includes:
S101, obtains the corresponding all fields of terminal information to be backed up, and generate list of fields to be backed up.
In this embodiment, after the information back-up button or option being displayed in terminal are clicked in user, terminal is received
The information back-up request of user's triggering, and information to be backed up is determined according to information back-up request, then obtain information pair to be backed up
The all fields answered, and generate list of fields to be backed up.
For example, user wants backup address list information, then terminal obtains address list information corresponding according to the triggering of user
All fields, it is herein assumed that the corresponding all fields of address list information are:Name, phone and address.
S102, the field included in list of fields to be backed up and default standard list is contrasted, and according to comparison
Result updates default Exclude Lists and expanded list.
In this embodiment, it is necessary to the details for treating backup information are backed up.But because android system derives
Many versions, under different versions, the form of library file is not fully consistent.For example, user has two mobile phones, first
The operating system of individual mobile phone is Android 4.2, and second operating system of mobile phone is Android 4.4, and present user is wanted to first-hand
Address list information on machine is backed up, to return on second mobile phone, now, due to two system versions of mobile phone not
Unanimously, therefore, the form of address list is possible to different.For such case, it is necessary to analyze the system version library file lattice of main flow
The difference of formula, and system to different editions does compatible treatment.The field that this species diversity is embodied in tables of data has increase and decrease, because
This, judges that the form of correspondence version just can ensure that the copy success of library file exactly.
In due to the android system of the primary version of Google (Google) issue, the form of library file is most widely used
General, various revisions are all modified on its basis, therefore, it should on the basis of primary version, to special version
Originally compatible processing is done.
In order to the information of the library file to different system version carries out compatible processing, in this embodiment, standard is preset with
List, Exclude Lists and expanded list.Wherein, preset field is included in standard list, and default Exclude Lists and extension
Any field is not included in list.Specifically, the standard list equivalent to primary version tables of data, and Exclude Lists preserve
Be need from standard list exclude field, expanded list preserve is need in standard list increased field.
Wherein, updating default Exclude Lists and the process of expanded list can be:First, list of fields to be backed up is read
Contrasted with all fields in standard list, and all fields that will be read out;Then, it is included in standard list by all
In but the field that is not included in list of fields to be backed up be added in Exclude Lists, and be included in field row to be backed up by all
In table but the field that is not included in standard list is added in expanded list, process is implemented reference can be made to Fig. 2.
For example, it is assumed that the field included in standard list is:Name, phone, E-mail address, include in list to be backed up
Field is:Name, phone and address, then the field for being included in Exclude Lists is:Address, the field included in expanded list
For:E-mail address.
S103, by information copy to be backed up to standard list, current Exclude Lists and the corresponding field of current extensions list
In, to generate backup file.
After the field that Exclude Lists and expanded list are included is determined, it is possible to which information copy to be backed up to standard is arranged
It is standard list due to what is included in current Exclude Lists in table, current Exclude Lists and the corresponding field of current extensions list
The field for excluding is needed, therefore, without corresponding information under the exclusion field in standard list.Copied by all of information to be backed up
Shellfish generates backup file to after corresponding field, and the backup file may be located in server, it is also possible to the peace being located locally
In digital (SD) storage card.
The operating method embodiment of above-mentioned end message, is arranged by the corresponding field to be backed up of the information to be backed up that will be obtained
The field included in table and default standard list is contrasted, and updates default Exclude Lists and extension according to comparison result
List;Then, by information copy to be backed up to standard list, current Exclude Lists and the corresponding field of current extensions list,
To generate backup file, complete backup is carried out such that it is able to the information to different system.
Fig. 3 is the flow chart of the backup method of the end message of one embodiment of the invention, as shown in figure 3, the backup side
Method includes:
S301, receive information backup request determines information to be backed up according to information back-up request.
S302, obtains the corresponding all fields of information to be backed up, and generate list of fields to be backed up.
S303, the field included in list of fields to be backed up and default standard list is contrasted, and according to comparison
Result updates default Exclude Lists and expanded list.
S304, by information copy to be backed up to standard list, current Exclude Lists and the corresponding field of current extensions list
In, to generate backup file.
The implementation process of above-mentioned S301-S304 can be found in S101-103, not repeat herein.
Assuming that having been generated comprising 100 backup files of address list information by S301-S304.
S305, receives information back-up request again, then will current information to be backed up and the acquisition from current backup file
To the backup information of terminal compare, obtain increment information, and copy increment information to standard list, current exclude row
In table and the corresponding field of current extensions list, to update backup file.
It is assumed that user has increased 20 address list informations newly, now, if user backs up to this 120 address list informations
Operate, then terminal obtains the backup information of terminal after the information back-up request for receiving user's triggering from backup file, and
The backup information of acquisition and current information to be backed up are compared, increment information, i.e., 20 newly-increased address list informations is obtained.
Then, in the backup file before newly-added information is copied to.This incremental backup method, due to that need not carry out repeating standby
Part, such that it is able to greatly improve the speed of backup.
In order to further improve the backup rate of incremental backup method, the process of above-mentioned acquisition increment information can be with
For:
Character string to the every information composition in current information to be backed up carries out Hash operation, obtains cryptographic Hash, and root
According to cryptographic Hash the first Hash table is generated with corresponding information;Meanwhile, to the every backup letter got from current backup file
The character string for ceasing composition carries out Hash operation, obtains cryptographic Hash, and generate the second Hash table with corresponding information according to cryptographic Hash;
Finally, the cryptographic Hash for belonging to the second Hash table but being not belonging to the first Hash table is obtained, and increment is determined according to the cryptographic Hash for obtaining
Information.Information sufficiently complete to be backed up in due to the present embodiment, it is possible to ensure the uniqueness of cryptographic Hash.It is above-mentioned to use Kazakhstan
The mode that uncommon value is matched, can save many match times, and so as to greatly promote matching speed, i.e. lifting obtains increment letter
The efficiency of breath.
The backup method embodiment of above-mentioned end message, not only can carry out complete backup to the information of different system,
And the efficiency for obtaining increment information is greatly improved, so as to greatly improve information backup efficiency, and then greatly improve
The operating experience of user.
Fig. 4 is the flow chart of the restoration methods of the end message of one embodiment of the invention, as shown in figure 4, the recovery side
Method includes:
S401, receive information recovery request.
In this embodiment, after user is good by first information back-up of mobile phone, the Information recovering of backup can be arrived
On second mobile phone.
Specifically, after the Information recovering button or option being displayed in terminal are clicked in user, terminal receives user and touches
The Information recovering request of hair.
S402, according to the corresponding all fields to be restored of the current information to be restored of Information recovering acquisition request terminal, according to
Field to be restored obtains corresponding information from the backup file of terminal, and the information copy that will be got is to corresponding to be restored
In field.
After terminal determines the corresponding all fields to be restored of information to be restored, information is read from backup file, and will
The information copy for reading in corresponding field to be restored, to complete the recovery of information.
For example, 100 address list informations for having backed up can be got from backup file, and 100 address lists are believed
Breath is copied in second mobile phone.
S403, if receiving Information recovering request again, the information that will recover and according to current information recovery request
The information got from current backup file is compared, and obtains different information, and copy different information to corresponding treating
In recovery field.
Because user can update backup file, for example, user can update or increase new contact person, similarly, Yong Huhui
Repeatedly restore.During restoring, terminal can obtain information from current backup file, while obtaining
The information locally recovered is obtained, and the two is contrasted, find different information, then only copy different information increase to it
In the preceding corresponding field for having recovered file.This re-scheduling formula restoration methods, it is not necessary to carry out repeating to recover to only need to recover poor
Different part, such that it is able to greatly improve the speed of recovery.
In order to further improve the resume speed of re-scheduling formula restoration methods, the process of above-mentioned acquisition different information can be with
For:
The character string of the every information composition to having recovered carries out Hash operation, obtains cryptographic Hash, and according to cryptographic Hash with
Corresponding information generates the 3rd Hash table;Meanwhile, to what is got from current backup file according to current information recovery request
The character string of information composition carries out Hash operation, obtains cryptographic Hash, and generate the 4th Hash with corresponding information according to cryptographic Hash
Table;Finally, the cryptographic Hash for belonging to the 4th Hash table but being not belonging to the 3rd Hash table is obtained, and it is poor according to the cryptographic Hash determination for obtaining
Different information.The mode that above-mentioned use cryptographic Hash is matched, can save many match times, so as to greatly promote matching speed
Degree, i.e. lifting obtain the efficiency of different information.
The restoration methods embodiment of above-mentioned end message, not only can carry out complete recovery to the information of different system,
And the efficiency for obtaining different information is greatly improved, so as to greatly improve the recovery efficiency of information, and then greatly improve
The operating experience of user.
In order to realize above-described embodiment, the present invention also proposes a kind of operation device of end message.
Fig. 5 is the structural representation of the operation device of the end message of one embodiment of the invention.As shown in figure 5, the end
The operation device of client information includes generation module 51, update module 52 and copy module 53, wherein:
Generation module 51 is used to obtain the corresponding all fields of above-mentioned terminal information to be backed up, and generates field row to be backed up
Table;Update module 52 is used to be contrasted the field included in above-mentioned list of fields to be backed up and default standard list, and
Default Exclude Lists and expanded list are updated according to comparison result;Copy module 53 is used to arrive above-mentioned information copy to be backed up
In above-mentioned standard list, current Exclude Lists and the corresponding field of current extensions list, to generate backup file.
In this embodiment, after the information back-up button or option being displayed in terminal are clicked in user, generation module 51
The information back-up request of user's triggering is received, and information to be backed up is determined according to information back-up request, then obtained to be backed up
The corresponding all fields of information, and generate list of fields to be backed up.
Wherein, above-mentioned update module 52 specifically for:In reading above-mentioned list of fields to be backed up and above-mentioned standard list
All fields, and all fields that will be read out are contrasted;And be included in all in above-mentioned standard list but do not include
During field in above-mentioned list of fields to be backed up is added to above-mentioned Exclude Lists, and above-mentioned field to be backed up is included in by all
In list but the field that is not included in above-mentioned standard list is added in above-mentioned expanded list, the process of implementing can be found in figure
2。
In addition, above-mentioned generation module 51 is additionally operable to:In above-mentioned copy module 53 by above-mentioned information copy to be backed up to above-mentioned
After in standard list, current Exclude Lists and the corresponding field of current extensions list, above- mentioned information backup is received again please
Ask;Above-mentioned copy module 52 is additionally operable to:By current information to be backed up and the above-mentioned terminal got from current backup file
Backup information is compared, and obtains increment information, and copy above-mentioned increment information to above-mentioned standard list, current Exclude Lists
In field corresponding with current extensions list, to update above-mentioned backup file, process is implemented reference can be made to Fig. 3, does not go to live in the household of one's in-laws on getting married herein
State.Wherein, during backup file may be located at server, it is also possible to be located locally in safety digital storage card.
In order to improve backup rate, above-mentioned copy module 53 specifically for:To every in above-mentioned current information to be backed up
The character string of information composition carries out Hash operation, generates the first Hash table;It is every to what is got from above-mentioned current backup file
The character string of bar backup information composition carries out Hash operation, generates the second Hash table;And acquisition belongs to above-mentioned second Hash table
But the cryptographic Hash of above-mentioned first Hash table is not belonging to, and above-mentioned increment information is determined according to the cryptographic Hash for obtaining.It is above-mentioned to use Kazakhstan
The mode that uncommon value is matched, can save many match times, and so as to greatly promote matching speed, i.e. lifting obtains increment letter
The efficiency of breath.
In order to recover the information of backup, the operation device can also include receiver module 54 and recovery module 55, its
In:Receiver module 54 is used for receive information recovery request;Recovery module 55 is used for the above-mentioned letter received according to above-mentioned receiver module
Breath recovery request obtains the corresponding all fields to be restored of the current information to be restored of above-mentioned terminal, according to above-mentioned field to be restored from
Obtain corresponding information in the above-mentioned backup file of above-mentioned terminal, and the information copy that will be got is to corresponding field to be restored
In.
Further, above-mentioned receiver module 54 can be also used for:The information copy that will be got in above-mentioned recovery module is arrived
After in corresponding field to be restored, above- mentioned information recovery request is received again;Above-mentioned recovery module 55 can be also used for:Will
The information recovered and compared according to the information that current information recovery request gets from current backup file, it is poor
Different information, and copy above-mentioned different information to corresponding field to be restored, implements process reference can be made to Fig. 4, herein not
Repeat.
In order to improve the resume speed of information, above-mentioned recovery module 55 can be specifically for:To the every information recovered
The character string of composition carries out Hash operation, generates the 3rd Hash table;To above-mentioned according to current information recovery request from current backup
The character string of the information composition got in file carries out Hash operation, generates the 4th Hash table;And obtain and belong to above-mentioned the
Four Hash tables but the cryptographic Hash of above-mentioned 3rd Hash table is not belonging to, and above-mentioned different information is determined according to the cryptographic Hash for obtaining.On
The mode matched using cryptographic Hash is stated, many match times can be saved, so as to greatly promote matching speed, i.e. lifting is obtained
Obtain the efficiency of different information.
It should be noted that the device can also include:Determining module 50, the determining module 50 is used to determine not getting
The system highest authority of above-mentioned terminal, the i.e. operation device complete information backup and recover under non-ROOT environment, and have
There is backup rate and resume speed very high, improve the operating experience of user.
The operation device embodiment of above-mentioned end message, list of fields to be backed up is generated by generation module, by updating
Module is contrasted the field included in above-mentioned list of fields to be backed up and default standard list, and according to comparison result more
New default Exclude Lists and expanded list;By copy module by above-mentioned information copy to be backed up to above-mentioned standard list, when
In preceding Exclude Lists and the corresponding field of current extensions list, to generate backup file, such that it is able to the information to different system
Carry out complete backup.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, and the mobile terminal includes housing, treatment
Device, memory, circuit board and power circuit, wherein, foregoing circuit plate is placed in the interior volume that above-mentioned housing is surrounded, above-mentioned place
Reason device and above-mentioned memory are arranged on foregoing circuit plate;Above-mentioned power circuit, for each circuit for above-mentioned mobile terminal
Or device is powered;Above-mentioned memory is used to store executable program code;Above-mentioned processor deposit in above-mentioned memory by being read
The executable program code of storage runs program corresponding with above-mentioned executable program code, for performing following steps:
S101 ', obtains the corresponding all fields of mobile terminal information to be backed up, and generate list of fields to be backed up.
In this embodiment, it is mobile whole after information back-up button or the option for showing on mobile terminals are clicked in user
Termination receives the information back-up request of user's triggering, and determines information to be backed up according to information back-up request, then obtains and treats standby
The corresponding all fields of part information, and generate list of fields to be backed up.
For example, user wants backup address list information, then mobile terminal obtains address list information pair according to the triggering of user
The all fields answered, it is herein assumed that the corresponding all fields of address list information are:Name, phone and address.
S102 ', the field included in list of fields to be backed up and default standard list is contrasted, and according to comparison
Result updates default Exclude Lists and expanded list.
In this embodiment, it is necessary to the details for treating backup information are backed up.But because android system derives
Many versions, under different versions, the form of library file is not fully consistent.For example, user has two mobile phones, first
The operating system of individual mobile phone is Android 4.2, and second operating system of mobile phone is Android 4.4, and present user is wanted to first-hand
Address list information on machine is backed up, to return on second mobile phone, now, due to two system versions of mobile phone not
Unanimously, therefore, the form of address list is possible to different.For such case, it is necessary to analyze the system version library file lattice of main flow
The difference of formula, and system to different editions does compatible treatment.The field that this species diversity is embodied in tables of data has increase and decrease, because
This, judges that the form of correspondence version just can ensure that the copy success of library file exactly.
In due to the android system of the primary version of Google (Google) issue, the form of library file is most widely used
General, various revisions are all modified on its basis, therefore, it should on the basis of primary version, to special version
Originally compatible processing is done.
In order to the information of the library file to different system version carries out compatible processing, in this embodiment, standard is preset with
List, Exclude Lists and expanded list.Wherein, preset field is included in standard list, and default Exclude Lists and extension
Any field is not included in list.Specifically, the standard list equivalent to primary version tables of data, and Exclude Lists preserve
Be need from standard list exclude field, expanded list preserve is need in standard list increased field.
Wherein, updating default Exclude Lists and the process of expanded list can be:First, list of fields to be backed up is read
Contrasted with all fields in standard list, and all fields that will be read out;Then, it is included in standard list by all
In but the field that is not included in list of fields to be backed up be added in Exclude Lists, and be included in field row to be backed up by all
In table but the field that is not included in standard list is added in expanded list, process is implemented reference can be made to Fig. 2.
For example, it is assumed that the field included in standard list is:Name, phone, E-mail address, include in list to be backed up
Field is:Name, phone and address, then the field for being included in Exclude Lists is:Address, the field included in expanded list
For:E-mail address.
S103 ', by information copy to be backed up to standard list, current Exclude Lists and the corresponding field of current extensions list
In, to generate backup file.
After the field that Exclude Lists and expanded list are included is determined, it is possible to which information copy to be backed up to standard is arranged
It is standard list due to what is included in current Exclude Lists in table, current Exclude Lists and the corresponding field of current extensions list
The field for excluding is needed, therefore, without corresponding information under the exclusion field in standard list.Copied by all of information to be backed up
Shellfish generates backup file to after corresponding field, and the backup file may be located in server, it is also possible to the peace being located locally
In digital (SD) storage card.
Above-mentioned mobile terminal, arranges by by the corresponding list of fields to be backed up of information to be backed up for obtaining with default standard
The field included in table is contrasted, and updates default Exclude Lists and expanded list according to comparison result;Then, will treat standby
Part information copy in standard list, current Exclude Lists and the corresponding field of current extensions list, to generate backup file, from
And complete backup can be carried out to the information of different system.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described
Point is contained at least one embodiment of the invention or example.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be with office
Combined in an appropriate manner in one or more embodiments or example.Additionally, in the case of not conflicting, the skill of this area
Art personnel can be tied the feature of the different embodiments or example described in this specification and different embodiments or example
Close and combine.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance
Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or
Implicitly include at least one this feature.In the description of the invention, " multiple " is meant that at least two, such as two, three
It is individual etc., unless otherwise expressly limited specifically.
Any process described otherwise above or method description in flow chart or herein is construed as, and expression includes
It is one or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussion suitable
Sequence, including function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use
In the order list of the executable instruction for realizing logic function, in may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or with reference to these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
The dress that defeated program is used for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With the electricity that one or more are connected up
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can thereon print described program or other are suitable
Medium, because optical scanner for example can be carried out by paper or other media, then enters edlin, interpretation or if necessary with it
His suitable method is processed electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In implementation method, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried
The rapid hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, during each functional unit in each embodiment of the invention can be integrated in a processing module, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as
Fruit is to realize in the form of software function module and as independent production marketing or when using, it is also possible to which storage is in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although having been shown above and retouching
Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as to limit of the invention
System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention
Type.
Claims (19)
1. a kind of operating method of end message, it is characterised in that including:
The corresponding all fields of terminal information to be backed up are obtained, and generates list of fields to be backed up;
The field included in the list of fields to be backed up and default standard list is contrasted, and according to comparison result more
New default Exclude Lists and expanded list;And
By the information copy to be backed up to the standard list, current Exclude Lists and the corresponding field of current extensions list
In, to generate backup file;
Wherein, it is described to be contrasted the field included in the list of fields to be backed up and default standard list, and according to
Comparison result updates default Exclude Lists and expanded list, including:
The all fields in the list of fields to be backed up and the standard list are read, and all fields that will be read out are carried out
Contrast;And
All fields for being included in the standard list but being not included in the list of fields to be backed up are added to described
In Exclude Lists, and all fields for being included in the list of fields to be backed up but being not included in the standard list are added
It is added in the expanded list.
2. method according to claim 1, it is characterised in that the backup file is located in server or local security number
In word storage card.
3. method according to claim 1, it is characterised in that acquisition terminal information to be backed up is corresponding all
Field, including:
Receive information backup request, determines terminal information to be backed up, and obtain the end according to described information backup request
Hold the corresponding all fields of information to be backed up.
4. method according to claim 3, it is characterised in that described by the information copy to be backed up to the standard
After in list, current Exclude Lists and the corresponding field of current extensions list, also include:
If receiving described information backup request again, get current information to be backed up and from current backup file
The backup information of the terminal is compared, obtain increment information, and by the increment information copy to the standard list, when
In preceding Exclude Lists and the corresponding field of current extensions list, to update the backup file.
5. method according to claim 4, it is characterised in that it is described will current information to be backed up and from current backup file
In the backup information of the terminal that gets compare, obtain increment information, including:
Character string to the every information composition in the current information to be backed up carries out Hash operation, generates the first Hash table;
The character string of the every backup information composition to being got from the current backup file carries out Hash operation, generation the
Two Hash tables;And
Acquisition belongs to second Hash table but is not belonging to the cryptographic Hash of first Hash table, and true according to the cryptographic Hash for obtaining
The fixed increment information.
6. the method according to claim 1-5 any claims, it is characterised in that also include:
It is determined that not getting the system highest authority of the terminal.
7. method according to claim 6, it is characterised in that also include:
Receive information recovery request;And
The corresponding all fields to be restored of the current information to be restored of the terminal according to Information recovering acquisition request, treat according to described
Recover field and obtain corresponding information from the backup file of the terminal, and the information copy that will be got is to corresponding
In field to be restored.
8. method according to claim 7, it is characterised in that treat extensive to corresponding in the information copy that will be got
After in multiple field, also include:
If receiving described information recovery request again, the information that will have recovered and according to current information recovery request from current
The information got in backup file is compared, and obtains different information, and the different information is copied to corresponding treats extensive
In multiple field.
9. method according to claim 8, it is characterised in that the information that will have recovered and recovered according to current information
The information that request gets from current backup file is compared, and obtains different information, including:
The character string of the every information composition to having recovered carries out Hash operation, generates the 3rd Hash table;
The character string that the information got from current backup file according to current information recovery request is constituted is breathed out
Uncommon computing, generates the 4th Hash table;And
Acquisition belongs to the 4th Hash table but is not belonging to the cryptographic Hash of the 3rd Hash table, and true according to the cryptographic Hash for obtaining
The fixed different information.
10. a kind of operation device of end message, it is characterised in that including:
Generation module, for obtaining the corresponding all fields of terminal information to be backed up, and generates list of fields to be backed up;
Update module, for the field included in the list of fields to be backed up and default standard list to be contrasted, and
Default Exclude Lists and expanded list are updated according to comparison result;And
Copy module, for the information copy to be backed up to the standard list, current Exclude Lists and current extensions to be arranged
In the corresponding field of table, to generate backup file;
Wherein, the update module, specifically for:
The all fields in the list of fields to be backed up and the standard list are read, and all fields that will be read out are carried out
Contrast;And
All fields for being included in the standard list but being not included in the list of fields to be backed up are added to described
In Exclude Lists, and all fields for being included in the list of fields to be backed up but being not included in the standard list are added
It is added in the expanded list.
11. devices according to claim 10, it is characterised in that the backup file is located in server or local security
In digital memory card.
12. devices according to claim 10, it is characterised in that the generation module, specifically for:
Receive information backup request, determines terminal information to be backed up, and obtain the end according to described information backup request
Hold the corresponding all fields of information to be backed up.
13. devices according to claim 12, it is characterised in that also include:
The generation module, is additionally operable to:It is described copy module will the information copy to be backed up to the standard list, currently
After in Exclude Lists and the corresponding field of current extensions list, described information backup request is received again;
The copy module, is additionally operable to:By current information to be backed up and the terminal got from current backup file
Backup information is compared, and obtains increment information, and copy the increment information to the standard list, current Exclude Lists
In field corresponding with current extensions list, to update the backup file.
14. devices according to claim 13, it is characterised in that the copy module, specifically for:
Character string to the every information composition in the current information to be backed up carries out Hash operation, generates the first Hash table;
The character string of the every backup information composition to being got from the current backup file carries out Hash operation, generation the
Two Hash tables;And
Acquisition belongs to second Hash table but is not belonging to the cryptographic Hash of first Hash table, and true according to the cryptographic Hash for obtaining
The fixed increment information.
15. device according to claim 10-14 any claims, it is characterised in that also include:
Determining module, the system highest authority of the terminal is not got for determination.
16. devices according to claim 15, it is characterised in that also include:
Receiver module, for receive information recovery request;And
Recovery module, it is currently to be restored that the described information recovery request for being received according to the receiver module obtains the terminal
The corresponding all fields to be restored of information, correspondence is obtained according to the field to be restored from the backup file of the terminal
Information, and the information copy that will be got is in corresponding field to be restored.
17. devices according to claim 16, it is characterised in that the receiver module, are additionally operable to:In the recovery module
The information copy that will be got receives described information recovery request again to after in corresponding field to be restored;
The recovery module, is additionally operable to:The information that to recover and according to current information recovery request from current backup file
The information for getting is compared, obtain different information, and copies the different information to corresponding field to be restored.
18. devices according to claim 17, it is characterised in that the recovery module, specifically for:
The character string of the every information composition to having recovered carries out Hash operation, generates the 3rd Hash table;
The character string that the information got from current backup file according to current information recovery request is constituted is breathed out
Uncommon computing, generates the 4th Hash table;And
Acquisition belongs to the 4th Hash table but is not belonging to the cryptographic Hash of the 3rd Hash table, and true according to the cryptographic Hash for obtaining
The fixed different information.
A kind of 19. mobile terminals, the mobile terminal includes housing, processor, memory, circuit board and power circuit, wherein, institute
State circuit board and be placed in the interior volume that the housing is surrounded, the processor and the memory are arranged on the circuit board
On;The power circuit, powers for each circuit or device for the mobile terminal;The memory is used to store and can hold
Line program code;The processor is held to run by reading the executable program code stored in the memory with described
The corresponding program of line program code, for performing following steps:
The corresponding all fields of mobile terminal information to be backed up are obtained, and generates list of fields to be backed up;
The field included in the list of fields to be backed up and default standard list is contrasted, and according to comparison result more
New default Exclude Lists and expanded list;And
By the information copy to be backed up to the standard list, current Exclude Lists and the corresponding field of current extensions list
In, to generate backup file;
Wherein, it is described to be contrasted the field included in the list of fields to be backed up and default standard list, and according to
Comparison result updates default Exclude Lists and expanded list, including:
The all fields in the list of fields to be backed up and the standard list are read, and all fields that will be read out are carried out
Contrast;And
All fields for being included in the standard list but being not included in the list of fields to be backed up are added to described
In Exclude Lists, and all fields for being included in the list of fields to be backed up but being not included in the standard list are added
It is added in the expanded list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410309709.XA CN104077053B (en) | 2014-06-30 | 2014-06-30 | Terminal information operating method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410309709.XA CN104077053B (en) | 2014-06-30 | 2014-06-30 | Terminal information operating method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104077053A CN104077053A (en) | 2014-10-01 |
CN104077053B true CN104077053B (en) | 2017-05-24 |
Family
ID=51598346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410309709.XA Active CN104077053B (en) | 2014-06-30 | 2014-06-30 | Terminal information operating method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104077053B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988890B (en) * | 2015-01-29 | 2020-01-17 | 阿里巴巴集团控股有限公司 | Information backup method and device |
CN107484003B (en) * | 2017-07-01 | 2019-11-15 | 武汉斗鱼网络科技有限公司 | Television listing data Local hydrodynamic unit method, storage medium, electronic equipment and system |
CN107766313B (en) * | 2017-10-19 | 2019-05-07 | 平安科技(深圳)有限公司 | A kind of introduction method and its terminal of data list |
CN107979506B (en) * | 2017-10-30 | 2020-12-08 | 创新先进技术有限公司 | Flow acquisition and cloud display system, method, device and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102014124A (en) * | 2010-09-28 | 2011-04-13 | 北京神州泰岳软件股份有限公司 | Residual quantity updating method of enterprise address book |
CN103002021A (en) * | 2012-11-20 | 2013-03-27 | 青岛海信移动通信技术股份有限公司 | Address book synchronizing method and device, mobile phone and computer |
CN103309906A (en) * | 2012-03-16 | 2013-09-18 | 中国移动通信集团公司 | Address book backup and recovery method and device |
CN103793293A (en) * | 2012-11-03 | 2014-05-14 | 上海欧朋软件有限公司 | Incremental backup method for archived data files |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120032632A (en) * | 2010-09-29 | 2012-04-06 | 삼성전자주식회사 | Apparatus and method for updating of data in portable terminal |
-
2014
- 2014-06-30 CN CN201410309709.XA patent/CN104077053B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102014124A (en) * | 2010-09-28 | 2011-04-13 | 北京神州泰岳软件股份有限公司 | Residual quantity updating method of enterprise address book |
CN103309906A (en) * | 2012-03-16 | 2013-09-18 | 中国移动通信集团公司 | Address book backup and recovery method and device |
CN103793293A (en) * | 2012-11-03 | 2014-05-14 | 上海欧朋软件有限公司 | Incremental backup method for archived data files |
CN103002021A (en) * | 2012-11-20 | 2013-03-27 | 青岛海信移动通信技术股份有限公司 | Address book synchronizing method and device, mobile phone and computer |
Also Published As
Publication number | Publication date |
---|---|
CN104077053A (en) | 2014-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106325933B (en) | Batch data synchronous method and device | |
US9250946B2 (en) | Efficient provisioning of cloned virtual machine images using deduplication metadata | |
CN109804361B (en) | File synchronization in a computing system | |
CN104077053B (en) | Terminal information operating method and device and mobile terminal | |
CN106445643B (en) | It clones, the method and apparatus of upgrading virtual machine | |
CN110276060B (en) | Data processing method and device | |
CN111143113B (en) | Method, electronic device and computer program product for copying metadata | |
CN111488243B (en) | Backup and recovery method and device for MongoDB database, electronic equipment and storage medium | |
CN112714359A (en) | Video recommendation method and device, computer equipment and storage medium | |
CN104216802B (en) | Memory database recovery method and device | |
CN103412773A (en) | Method and device for obtaining files | |
CN104615662A (en) | Data processing method and device and terminal device | |
CN104834749A (en) | File synchronization method and synchronization system for mobile terminal and PC terminal | |
CN106776120A (en) | The method and device of data recovery | |
CN114253920A (en) | Transaction reordering method, device, equipment and readable storage medium | |
CN111858145B (en) | Method, apparatus and computer program product for data backup and restore | |
CN105989096A (en) | Account information clearing method and apparatus | |
CN109324931B (en) | Method for realizing vmware mount recovery in data de-duplication system | |
CN105760114B (en) | Parallel file system resource management method, device and system | |
CN104834549B (en) | Application program file updating method and device of mobile terminal | |
CN108228611A (en) | Document information copies method and apparatus | |
CN105260423A (en) | Duplicate removal method and apparatus for electronic cards | |
CN105988890A (en) | Information backup method and device | |
CN113703753B (en) | Method and device for product development and product development system | |
CN108958838A (en) | Novel method and device for updating attribute information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20181211 Address after: 519030 Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province Patentee after: Zhuhai Seal Interest Technology Co., Ltd. Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong. Patentee before: Zhuhai Juntian Electronic Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |