CN104077053A - Terminal information operating method and device and mobile terminal - Google Patents
Terminal information operating method and device and mobile terminal Download PDFInfo
- Publication number
- CN104077053A CN104077053A CN201410309709.XA CN201410309709A CN104077053A CN 104077053 A CN104077053 A CN 104077053A CN 201410309709 A CN201410309709 A CN 201410309709A CN 104077053 A CN104077053 A CN 104077053A
- Authority
- CN
- China
- Prior art keywords
- information
- list
- backed
- current
- fields
- 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
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, relate in particular to a kind of method of operating, device and mobile terminal of end message.
Background technology
In for example Android of current most popular mobile terminal operating system (Android) system, the informational needs such as contact person, note, message registration are read and write by application programming interface (API) interface.Under the system environments of normal authority, application program can read these information by calling API, saves as backup file, then can carry out data recovery by calling API reading out data from backup file.
But, it is all only to read and write some necessary data conventionally that current backup recovers instrument under the environment of the system of not obtaining the highest (ROOT) authority, in addition, in the case of backup detail data amount consistent, the speed of backup and recovery is all slow.
As can be seen here, there is following defect in current data backup restoration operation: first, the library file that backup operation copies out is also imperfect, and secondly, speed when data are backed up to recovery is slow, and execution efficiency is lower.
Summary of the invention
The present invention is intended to solve at least to a certain extent one of technical matters in correlation technique.For this reason, one object of the present invention is to propose a kind of the have method of operating, device and the mobile terminal that information are carried out to the end message of full backup advantage.
The embodiment of the present invention has proposed a kind of method of operating of end message, and this method of operating comprises: obtain all fields corresponding to described terminal information to be backed up, and generate list of fields to be backed up; The field comprising in described list of fields to be backed up and default standard list is contrasted, and upgrade default Exclude Lists and expanded list according to comparison result; And by described information copy to be backed up in field corresponding to described standard list, current Exclude Lists and current expanded list, to generate backup file.
The method of operating embodiment of above-mentioned end message, by the field comprising in the list of fields to be backed up corresponding information to be backed up of obtaining and default standard list is contrasted, and upgrades default Exclude Lists and expanded list according to comparison result; Then, information copy to be backed up, in field corresponding to standard list, current Exclude Lists and current expanded list, to generate backup file, thereby can be carried out to complete backup to the information of different system.
The embodiment of the present invention has proposed a kind of operating means of end message, and this operating means comprises: generation module, for obtaining all fields corresponding to described terminal information to be backed up, and generates list of fields to be backed up; Update module, contrasts for the field that described list of fields to be backed up and default standard list are comprised, and upgrades default Exclude Lists and expanded list according to comparison result; And copy module, for by described information copy to be backed up to described standard list, current Exclude Lists and field corresponding to current expanded list, to generate backup file.
The operating means embodiment of above-mentioned end message, generate list of fields to be backed up by generation module, by update module, the field comprising in above-mentioned list of fields to be backed up and default standard list is contrasted, and upgrade default Exclude Lists and expanded list according to comparison result; By copy module by above-mentioned information copy to be backed up in field corresponding to above-mentioned standard list, current Exclude Lists and current expanded list, to generate backup file, thereby can carry out complete backup to the information of different system.
The embodiment of the present invention has proposed a kind of mobile terminal, this mobile terminal comprises housing, processor, storer, circuit board and power circuit, wherein, described circuit board is placed in the interior volume that described housing surrounds, and described processor and described storer are arranged on described circuit board; Described power circuit, is used to each circuit or the device power supply of described mobile terminal; Described storer is for stores executable programs code; Described processor moves the program corresponding with described executable program code by reading the executable program code of storing in described storer, for carrying out following steps:
Obtain all fields corresponding to described mobile terminal information to be backed up, and generate list of fields to be backed up; The field comprising in described list of fields to be backed up and default standard list is contrasted, and upgrade default Exclude Lists and expanded list according to comparison result; And by described information copy to be backed up in field corresponding to described standard list, current Exclude Lists and current expanded list, to generate backup file.
Above-mentioned mobile terminal embodiment, by the field comprising in the list of fields to be backed up corresponding information to be backed up of obtaining and default standard list is contrasted, and upgrades default Exclude Lists and expanded list according to comparison result; Then, information copy to be backed up, in field corresponding to standard list, current Exclude Lists and current expanded list, to generate backup file, thereby can be carried out to complete backup to the information of different system.
Brief description of the drawings
Fig. 1 is the process flow diagram of the method for operating of the end message of one embodiment of the invention.
Fig. 2 is the renewal Exclude Lists of one embodiment of the invention and the process flow diagram of expanded list.
Fig. 3 is the process flow diagram of the backup method of the end message of one embodiment of the invention.
Fig. 4 is the process flow diagram of the restoration methods of the end message of one embodiment of the invention.
Fig. 5 is the structural representation of the operating means of the end message of one embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Be exemplary below by the embodiment being described with reference to the drawings, be intended to for explaining the present invention, and can not be interpreted as limitation of the present invention.
Method of operating and the device of the end message of the embodiment of the present invention are described below with reference to accompanying drawing.
Fig. 1 is the process flow diagram of the method for operating of the end message of one embodiment of the invention, this embodiment is described from end side, and its executive agent is the software being positioned in terminal, and, this software does not get the system highest weight limit of this terminal, under non-ROOT environment.
As shown in Figure 1, the method for operating of this end message comprises:
S101, obtains all fields corresponding to terminal information to be backed up, and generates list of fields to be backed up.
In this embodiment, click user after the information back-up button or option being presented in terminal, terminal receives the information back-up request that user triggers, and information to be backed up is determined in request according to information back-up, then obtain all fields corresponding to information to be backed up, and generate list of fields to be backed up.
For example, user wants to back up address list information, and terminal, according to user's triggering, is obtained all fields that address list information is corresponding, supposes that all fields that address list information is corresponding are: name, phone and address herein.
S102, contrasts the field comprising in list of fields to be backed up and default standard list, and upgrades default Exclude Lists and expanded list according to comparison result.
In this embodiment, the details that need to treat backup information back up.But because Android system has derived a lot of versions, under different versions, the form of library file is also not quite identical.For example, user has two mobile phones, the operating system of first mobile phone is Android 4.2, the operating system of second mobile phone is Android 4.4, and user wants the address list information on the first mobile phone to back up now, to return on second mobile phone, now, because the system version of two mobile phones is inconsistent, therefore, the form of address list is likely different.For this situation, need to analyze the difference of the system version library file form of main flow, and the system of different editions is done to compatible processing.The field that this species diversity is embodied in tables of data has increase and decrease, therefore, judges that exactly the form of corresponding version just can guarantee that the copy of library file is successful.
In the Android system of primary version of issuing due to Google (Google), the form of library file is most widely used, and various revisions are all changed on its basis, therefore, should, on the basis of primary version, do compatible processing to special version.
Carry out compatible processing for the information of the library file to different system version, in this embodiment, be preset with standard list, Exclude Lists and expanded list.Wherein, in standard list, include preset field, and in default Exclude Lists and expanded list, all do not comprise any field.Particularly, this standard list is equivalent to the tables of data of primary version, and Exclude Lists preserve be the field that need to get rid of from standard list, expanded list preserve be the field that need to increase in standard list.
Wherein, the process of upgrading default Exclude Lists and expanded list can be: first, read all fields in list of fields to be backed up and standard list, and all fields that read out are contrasted; Then, be included in standard list but the field not being included in list of fields to be backed up is added in Exclude Lists all, and be included in list of fields to be backed up but the field not being included in standard list is added in expanded list all, specific implementation process can be referring to Fig. 2.
For example, the field comprising in tentative standard list is: name, phone, E-mail address, the field comprising in list to be backed up is: name, phone and address, the field comprising in Exclude Lists is: address, the field comprising in expanded list is: E-mail address.
S103, by information copy to be backed up in field corresponding to standard list, current Exclude Lists and current expanded list, to generate backup file.
Determining after the field that Exclude Lists and expanded list comprise, just can be by information copy to be backed up in field corresponding to standard list, current Exclude Lists and current expanded list, the field that standard list need to be got rid of due to what comprise in current Exclude Lists, therefore, in standard list under this eliminating field without corresponding information.All information copy to be backed up are arrived after corresponding field, generate backup file, this backup file can be arranged in server, also can be arranged in local secure digital (SD) storage card.
The method of operating embodiment of above-mentioned end message, by the field comprising in the list of fields to be backed up corresponding information to be backed up of obtaining and default standard list is contrasted, and upgrades default Exclude Lists and expanded list according to comparison result; Then, information copy to be backed up, in field corresponding to standard list, current Exclude Lists and current expanded list, to generate backup file, thereby can be carried out to complete backup to the information of different system.
Fig. 3 is the process flow diagram of the backup method of the end message of one embodiment of the invention, and as shown in Figure 3, this backup method comprises:
S301, receives information back-up request, determines information to be backed up according to this information back-up request.
S302, obtains all fields corresponding to information to be backed up, and generates list of fields to be backed up.
S303, contrasts the field comprising in list of fields to be backed up and default standard list, and upgrades default Exclude Lists and expanded list according to comparison result.
S304, by information copy to be backed up in field corresponding to standard list, current Exclude Lists and current expanded list, to generate backup file.
The implementation procedure of above-mentioned S301-S304 can, referring to S101-103, not repeat herein.
Suppose to have generated by S301-S304 the backup file that comprises 100 address list informations.
S305, again receive information back-up request, the backup information of current information to be backed up and the terminal that gets from current backup file is compared, obtain increment information, and increment information is copied in field corresponding to standard list, current Exclude Lists and current expanded list, to upgrade backup file.
Suppose, user has increased 20 address list informations newly, now, if user carries out backup operation to these 120 address list informations, terminal, receiving after the information back-up request of user's triggering, is obtained the backup information of terminal, and the backup information obtaining and current information to be backed up is compared from backup file, obtain increment information, i.e. 20 newly-increased address list informations.Then, newly-added information is copied in previous backup file.This incremental backup method, owing to not needing to repeat backup, thereby can improve the speed of backup greatly.
In order to improve further the backup rate of incremental backup method, the process of above-mentioned acquisition increment information can be:
Character string to every information composition in current information to be backed up is carried out Hash operation, obtains cryptographic hash, and according to cryptographic hash and corresponding Information generation the first Hash table; Meanwhile, the character string of every backup information composition getting is carried out to Hash operation from current backup file, obtain cryptographic hash, and according to cryptographic hash and corresponding Information generation the second Hash table; Finally, obtain the cryptographic hash that belongs to the second Hash table but do not belong to the first Hash table, and determine increment information according to the cryptographic hash obtaining.Due to the information sufficiently complete to be backed up in the present embodiment, so can ensure the uniqueness of cryptographic hash.The mode that above-mentioned use cryptographic hash is mated, can save many match times, thereby greatly promotes matching speed, promotes the efficiency that obtains increment information.
The backup method embodiment of above-mentioned end message, not only can carry out complete backup to the information of different system, and greatly promoted the efficiency that obtains increment information, thus information backup efficiency greatly promoted, and then greatly promoted user's operating experience.
Fig. 4 is the process flow diagram of the restoration methods of the end message of one embodiment of the invention, and as shown in Figure 4, this restoration methods comprises:
S401, receives information recovery request.
In this embodiment, after user is good by the information back-up of first mobile phone, the information of backup can be returned on second mobile phone.
Particularly, click the information being presented in terminal recover after button or option user, terminal receives the information recovery request that user triggers.
S402, according to information recovery request obtain terminal current treat recovery information corresponding institute need to be recovered field, from the backup file of terminal, obtain corresponding information according to field to be recovered, and by the information copy getting in the field to be recovered of correspondence.
Terminal determine until recovery information corresponding institute need to be recovered after field, reading information from backup file, and by the information copy reading in the field to be recovered of correspondence, to complete the recovery of information.
For example, can from backup file, get 100 address list informations that backed up, and 100 address list informations are copied in second mobile phone.
S403, if again receive information recovery request, the information getting from current backup file by the information of having recovered with according to current information recovery request is compared, and obtains different information, and different information is copied in corresponding field to be recovered.
Because user can upgrade backup file, for example, user can upgrade or increase new contact person, and similarly, user can repeatedly restore.In the process restoring, terminal can be from current backup file obtaining information, obtain the local information of having recovered simultaneously, and the two contrasted, find different information, before then only different information increase being copied in the corresponding field of recovery file.This re-scheduling formula restoration methods, does not need to repeat to recover only need to recover difference part, thereby can greatly improve the speed of recovery.
In order to improve further the resume speed of re-scheduling formula restoration methods, the process of above-mentioned acquisition different information can be:
Character string to every information composition having recovered is carried out Hash operation, obtains cryptographic hash, and according to cryptographic hash and corresponding Information generation the 3rd Hash table; Meanwhile, the character string of the information composition getting according to current information recovery request is carried out to Hash operation from current backup file, obtain cryptographic hash, and according to cryptographic hash and corresponding Information generation the 4th Hash table; Finally, obtain the cryptographic hash that belongs to the 4th Hash table but do not belong to the 3rd Hash table, and determine different information according to the cryptographic hash obtaining.The mode that above-mentioned use cryptographic hash is mated, can save many match times, thereby greatly promotes matching speed, promotes the efficiency that obtains 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 greatly promoted the efficiency that obtains different information, thus the recovery efficiency of information greatly promoted, and then greatly promoted user's operating experience.
In order to realize above-described embodiment, the present invention also proposes a kind of operating means of end message.
Fig. 5 is the structural representation of the operating means of the end message of one embodiment of the invention.As shown in Figure 5, the operating means of this end message comprises generation module 51, update module 52 and copy module 53, wherein:
Generation module 51 is for obtaining all fields corresponding to above-mentioned terminal information to be backed up, and generates list of fields to be backed up; Update module 52 contrasts for the field that above-mentioned list of fields to be backed up and default standard list are comprised, and upgrades default Exclude Lists and expanded list according to comparison result; Copy module 53 for by above-mentioned information copy to be backed up to above-mentioned standard list, current Exclude Lists and field corresponding to current expanded list, to generate backup file.
In this embodiment, click user after the information back-up button or option being presented in terminal, generation module 51 receives the information back-up request that user triggers, and information to be backed up is determined in request according to information back-up, then obtain all fields corresponding to information to be backed up, and generate list of fields to be backed up.
Wherein, above-mentioned update module 52 specifically for: read all fields in above-mentioned list of fields to be backed up and above-mentioned standard list, and all fields that read out contrasted; And be included in above-mentioned standard list but the field not being included in above-mentioned list of fields to be backed up is added in above-mentioned Exclude Lists all, and be included in above-mentioned list of fields to be backed up but the field not being included in above-mentioned standard list is added in above-mentioned expanded list all, specific implementation process can be referring to Fig. 2.
In addition, above-mentioned generation module 51 also for: above-mentioned copy module 53 by above-mentioned information copy to be backed up after field corresponding to above-mentioned standard list, current Exclude Lists and current expanded list, again receive above-mentioned information back-up request; Above-mentioned copy module 52 also for: the backup information of current information to be backed up and the above-mentioned terminal that gets from current backup file is compared, obtain increment information, and above-mentioned increment information is copied in field corresponding to above-mentioned standard list, current Exclude Lists and current expanded list, to upgrade above-mentioned backup file, specific implementation process can, referring to Fig. 3, not repeat herein.Wherein, backup file can be arranged in server, also can be arranged in local security digital memory card.
In order to improve backup rate, above-mentioned copy module 53 specifically for: the character string to every information composition in above-mentioned current information to be backed up is carried out Hash operation, generates the first Hash table; Character string to every the backup information composition getting from above-mentioned current backup file is carried out Hash operation, generates the second Hash table; And obtain the cryptographic hash that belongs to above-mentioned the second Hash table but do not belong to above-mentioned the first Hash table, and determine above-mentioned increment information according to the cryptographic hash obtaining.The mode that above-mentioned use cryptographic hash is mated, can save many match times, thereby greatly promotes matching speed, promotes the efficiency that obtains increment information.
In order to recover the information of backup, this operating means can also comprise receiver module 54 and recovery module 55, wherein: receiver module 54 is for receiving information recovery request; Above-mentioned terminal is current treats that institute corresponding to recovery information needs to be recovered field for obtaining according to the above-mentioned information recovery request of above-mentioned receiver module reception to recover module 55, from the above-mentioned backup file of above-mentioned terminal, obtain corresponding information according to field above-mentioned to be recovered, and by the information copy getting in the field to be recovered of correspondence.
Further, above-mentioned receiver module 54 can also be used for: above-mentioned recovery module by the information copy getting after the field to be recovered of correspondence, again receive above-mentioned information recovery request; Above-mentioned recovery module 55 can also be used for: the information getting from current backup file by the information of having recovered with according to current information recovery request is compared, obtain different information, and above-mentioned different information is copied in corresponding field to be recovered, specific implementation process can, referring to Fig. 4, not repeat herein.
In order to improve the resume speed of information, above-mentioned recovery module 55 can be specifically for: the character string to every the information composition having recovered is carried out Hash operation, generates the 3rd Hash table; Character string to the above-mentioned information composition getting from current backup file according to current information recovery request is carried out Hash operation, generates the 4th Hash table; And obtain the cryptographic hash that belongs to above-mentioned the 4th Hash table but do not belong to above-mentioned the 3rd Hash table, and determine above-mentioned different information according to the cryptographic hash obtaining.The mode that above-mentioned use cryptographic hash is mated, can save many match times, thereby greatly promotes matching speed, promotes the efficiency that obtains different information.
It should be noted that, this device can also comprise: determination module 50, this determination module 50 is for determining the system highest weight limit that does not get above-mentioned terminal, this operating means completes information backup and recovery under non-ROOT environment, and there is very high backup rate and resume speed, promoted user's operating experience.
The operating means embodiment of above-mentioned end message, generate list of fields to be backed up by generation module, by update module, the field comprising in above-mentioned list of fields to be backed up and default standard list is contrasted, and upgrade default Exclude Lists and expanded list according to comparison result; By copy module by above-mentioned information copy to be backed up in field corresponding to above-mentioned standard list, current Exclude Lists and current expanded list, to generate backup file, thereby can carry out complete backup to the information of different system.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, this mobile terminal comprises housing, processor, storer, circuit board and power circuit, wherein, foregoing circuit plate is placed in the interior volume that above-mentioned housing surrounds, and above-mentioned processor and above-mentioned storer are arranged on foregoing circuit plate; Above-mentioned power circuit, is used to each circuit or the device power supply of above-mentioned mobile terminal; Above-mentioned storer is for stores executable programs code; Above-mentioned processor moves the program corresponding with above-mentioned executable program code by reading the executable program code of storing in above-mentioned storer, for carrying out following steps:
S101 ', obtains all fields corresponding to mobile terminal information to be backed up, and generates list of fields to be backed up.
In this embodiment, click user after the information back-up button or option being presented on mobile terminal, mobile terminal receives the information back-up request that user triggers, and information to be backed up is determined in request according to information back-up, then obtain all fields corresponding to information to be backed up, and generate list of fields to be backed up.
For example, user wants to back up address list information, and mobile terminal, according to user's triggering, obtains all fields that address list information is corresponding, supposes that all fields that address list information is corresponding are: name, phone and address herein.
S102 ', contrasts the field comprising in list of fields to be backed up and default standard list, and upgrades default Exclude Lists and expanded list according to comparison result.
In this embodiment, the details that need to treat backup information back up.But because Android system has derived a lot of versions, under different versions, the form of library file is also not quite identical.For example, user has two mobile phones, the operating system of first mobile phone is Android 4.2, the operating system of second mobile phone is Android 4.4, and user wants the address list information on the first mobile phone to back up now, to return on second mobile phone, now, because the system version of two mobile phones is inconsistent, therefore, the form of address list is likely different.For this situation, need to analyze the difference of the system version library file form of main flow, and the system of different editions is done to compatible processing.The field that this species diversity is embodied in tables of data has increase and decrease, therefore, judges that exactly the form of corresponding version just can guarantee that the copy of library file is successful.
In the Android system of primary version of issuing due to Google (Google), the form of library file is most widely used, and various revisions are all changed on its basis, therefore, should, on the basis of primary version, do compatible processing to special version.
Carry out compatible processing for the information of the library file to different system version, in this embodiment, be preset with standard list, Exclude Lists and expanded list.Wherein, in standard list, include preset field, and in default Exclude Lists and expanded list, all do not comprise any field.Particularly, this standard list is equivalent to the tables of data of primary version, and Exclude Lists preserve be the field that need to get rid of from standard list, expanded list preserve be the field that need to increase in standard list.
Wherein, the process of upgrading default Exclude Lists and expanded list can be: first, read all fields in list of fields to be backed up and standard list, and all fields that read out are contrasted; Then, be included in standard list but the field not being included in list of fields to be backed up is added in Exclude Lists all, and be included in list of fields to be backed up but the field not being included in standard list is added in expanded list all, specific implementation process can be referring to Fig. 2.
For example, the field comprising in tentative standard list is: name, phone, E-mail address, the field comprising in list to be backed up is: name, phone and address, the field comprising in Exclude Lists is: address, the field comprising in expanded list is: E-mail address.
S103 ', by information copy to be backed up in field corresponding to standard list, current Exclude Lists and current expanded list, to generate backup file.
Determining after the field that Exclude Lists and expanded list comprise, just can be by information copy to be backed up in field corresponding to standard list, current Exclude Lists and current expanded list, the field that standard list need to be got rid of due to what comprise in current Exclude Lists, therefore, in standard list under this eliminating field without corresponding information.All information copy to be backed up are arrived after corresponding field, generate backup file, this backup file can be arranged in server, also can be arranged in local secure digital (SD) storage card.
Above-mentioned mobile terminal, by the field comprising in the list of fields to be backed up corresponding information to be backed up of obtaining and default standard list is contrasted, and upgrades default Exclude Lists and expanded list according to comparison result; Then, information copy to be backed up, in field corresponding to standard list, current Exclude Lists and current expanded list, to generate backup file, thereby can be carried out to complete backup to the information of different system.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, to the schematic statement of above-mentioned term not must for be identical embodiment or example.And, specific features, structure, material or the feature of description can one or more embodiment in office or example in suitable mode combination.In addition,, not conflicting in the situation that, those skilled in the art can carry out combination and combination by the feature of the different embodiment that describe in this instructions or example and different embodiment or example.
In addition, term " first ", " second " be only for describing object, and can not be interpreted as instruction or hint relative importance or the implicit quantity that indicates indicated technical characterictic.Thus, at least one this feature can be expressed or impliedly be comprised to the feature that is limited with " first ", " second ".In description of the invention, the implication of " multiple " is at least two, for example two, and three etc., unless otherwise expressly limited specifically.
Any process of otherwise describing in process flow diagram or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in process flow diagram, represent or otherwise describe at this, for example, can be considered to the sequencing list of the executable instruction for realizing logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, device that storage, communication, propagation or transmission procedure use for instruction execution system, device or equipment or in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), the erasable ROM (read-only memory) (EPROM or flash memory) of editing, fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanning, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in storer and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, this program, in the time carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.
The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, amendment, replacement and modification.
Claims (21)
1. a method of operating for end message, is characterized in that, comprising:
Obtain all fields corresponding to described terminal information to be backed up, and generate list of fields to be backed up;
The field comprising in described list of fields to be backed up and default standard list is contrasted, and upgrade default Exclude Lists and expanded list according to comparison result; And
By described information copy to be backed up in field corresponding to described standard list, current Exclude Lists and current expanded list, to generate backup file.
2. method according to claim 1, is characterized in that, described the field comprising in described list of fields to be backed up and default standard list is contrasted, and upgrades default Exclude Lists and expanded list according to comparison result, comprising:
Read all fields in described list of fields to be backed up and described standard list, and all fields that read out are contrasted; And
Be included in described standard list but the field not being included in described list of fields to be backed up is added in described Exclude Lists all, and be included in described list of fields to be backed up but the field not being included in described standard list is added in described expanded list all.
3. method according to claim 1, is characterized in that, described backup file is arranged in server or local security digital memory card.
4. method according to claim 1, is characterized in that, described in obtain all fields corresponding to described terminal information to be backed up, comprising:
Receive information back-up request, determine described terminal information to be backed up according to described information back-up request, and obtain all fields corresponding to described terminal information to be backed up.
5. method according to claim 4, is characterized in that,, also comprises after described information copy to be backed up is in field corresponding to described standard list, current Exclude Lists and current expanded list described:
If again receive described information back-up request, the backup information of current information to be backed up and the described terminal that gets from current backup file is compared, obtain increment information, and described increment information is copied in field corresponding to described standard list, current Exclude Lists and current expanded list, to upgrade described backup file.
6. method according to claim 5, is characterized in that, the described backup information by current information to be backed up and the described terminal that gets from current backup file is compared, and obtains increment information, comprising:
Character string to every information composition in described current information to be backed up is carried out Hash operation, generates the first Hash table;
Character string to every the backup information composition getting from described current backup file is carried out Hash operation, generates the second Hash table; And
Acquisition belongs to described the second Hash table but does not belong to the cryptographic hash of described the first Hash table, and determines described increment information according to the cryptographic hash obtaining.
7. according to the method described in the arbitrary claim of claim 1-6, it is characterized in that, also comprise:
Determine the system highest weight limit that does not get described terminal.
8. method according to claim 7, is characterized in that, also comprises:
Reception information recovery request; And
Obtain according to information recovery request that described terminal is current treats that institute corresponding to recovery information needs to be recovered field, from the described backup file of described terminal, obtain corresponding information according to field described to be recovered, and by the information copy getting in the field to be recovered of correspondence.
9. method according to claim 8, is characterized in that,, also comprises after the information copy getting is in the field to be recovered of correspondence described:
If again receive described information recovery request, the information getting from current backup file by the information of having recovered with according to current information recovery request is compared, and obtains different information, and described different information is copied in corresponding field to be recovered.
10. method according to claim 9, is characterized in that, the described information getting from current backup file by the information of having recovered with according to current information recovery request is compared, and obtains different information, comprising:
Character string to every the information composition having recovered is carried out Hash operation, generates the 3rd Hash table;
Character string to the described information composition getting from current backup file according to current information recovery request is carried out Hash operation, generates the 4th Hash table; And
Acquisition belongs to described the 4th Hash table but does not belong to the cryptographic hash of described the 3rd Hash table, and determines described different information according to the cryptographic hash obtaining.
The operating means of 11. 1 kinds of end messages, is characterized in that, comprising:
Generation module, for obtaining all fields corresponding to described terminal information to be backed up, and generates list of fields to be backed up;
Update module, contrasts for the field that described list of fields to be backed up and default standard list are comprised, and upgrades default Exclude Lists and expanded list according to comparison result; And
Copy module, for by described information copy to be backed up to described standard list, current Exclude Lists and field corresponding to current expanded list, to generate backup file.
12. devices according to claim 11, is characterized in that, described update module, specifically for:
Read all fields in described list of fields to be backed up and described standard list, and all fields that read out are contrasted; And
Be included in described standard list but the field not being included in described list of fields to be backed up is added in described Exclude Lists all, and be included in described list of fields to be backed up but the field not being included in described standard list is added in described expanded list all.
13. devices according to claim 11, is characterized in that, described backup file is arranged in server or local security digital memory card.
14. devices according to claim 11, is characterized in that, described generation module, specifically for:
Receive information back-up request, determine described terminal information to be backed up according to described information back-up request, and obtain all fields corresponding to described terminal information to be backed up.
15. devices according to claim 14, is characterized in that, also comprise:
Described generation module, also for: described copy module by described information copy to be backed up after field corresponding to described standard list, current Exclude Lists and current expanded list, again receive described information back-up request;
Described copy module, also for: the backup information of current information to be backed up and the described terminal that gets from current backup file is compared, obtain increment information, and described increment information is copied in field corresponding to described standard list, current Exclude Lists and current expanded list, to upgrade described backup file.
16. devices according to claim 15, is characterized in that, described copy module, specifically for:
Character string to every information composition in described current information to be backed up is carried out Hash operation, generates the first Hash table;
Character string to every the backup information composition getting from described current backup file is carried out Hash operation, generates the second Hash table; And
Acquisition belongs to described the second Hash table but does not belong to the cryptographic hash of described the first Hash table, and determines described increment information according to the cryptographic hash obtaining.
17. according to the device described in the arbitrary claim of claim 11-16, it is characterized in that, also comprises:
Determination module, for determining the system highest weight limit that does not get described terminal.
18. devices according to claim 17, is characterized in that, also comprise:
Receiver module, for receiving information recovery request; And
Recover module, for obtaining according to the described information recovery request of described receiver module reception, described terminal is current treats that institute corresponding to recovery information needs to be recovered field, from the described backup file of described terminal, obtain corresponding information according to field described to be recovered, and by the information copy getting in the field to be recovered of correspondence.
19. devices according to claim 18, is characterized in that, described receiver module, also for: described recovery module by the information copy getting after the field to be recovered of correspondence, again receive described information recovery request;
Described recovery module, also for: the information getting from current backup file by the information of having recovered with according to current information recovery request is compared, and obtains different information, and described different information is copied in corresponding field to be recovered.
20. devices according to claim 19, is characterized in that, described recovery module, specifically for:
Character string to every the information composition having recovered is carried out Hash operation, generates the 3rd Hash table;
Character string to the described information composition getting from current backup file according to current information recovery request is carried out Hash operation, generates the 4th Hash table; And
Acquisition belongs to described the 4th Hash table but does not belong to the cryptographic hash of described the 3rd Hash table, and determines described different information according to the cryptographic hash obtaining.
21. 1 kinds of mobile terminals, this mobile terminal comprises housing, processor, storer, circuit board and power circuit, and wherein, described circuit board is placed in the interior volume that described housing surrounds, and described processor and described storer are arranged on described circuit board; Described power circuit, is used to each circuit or the device power supply of described mobile terminal; Described storer is for stores executable programs code; Described processor moves the program corresponding with described executable program code by reading the executable program code of storing in described storer, for carrying out following steps:
Obtain all fields corresponding to described mobile terminal information to be backed up, and generate list of fields to be backed up;
The field comprising in described list of fields to be backed up and default standard list is contrasted, and upgrade default Exclude Lists and expanded list according to comparison result; And
By described information copy to be backed up in field corresponding to described standard list, current Exclude Lists and current expanded list, to generate backup file.
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 true CN104077053A (en) | 2014-10-01 |
CN104077053B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988890A (en) * | 2015-01-29 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Information backup method and device |
CN107484003A (en) * | 2017-07-01 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | Television listing data Local hydrodynamic unit method, storage medium, electronic equipment and system |
CN107766313A (en) * | 2017-10-19 | 2018-03-06 | 平安科技(深圳)有限公司 | The introduction method and its terminal of a kind of data list |
CN107979506A (en) * | 2017-10-30 | 2018-05-01 | 阿里巴巴集团控股有限公司 | Flow obtains and high in the clouds display systems, method, apparatus and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102014124A (en) * | 2010-09-28 | 2011-04-13 | 北京神州泰岳软件股份有限公司 | Residual quantity updating method of enterprise address book |
US20120077529A1 (en) * | 2010-09-29 | 2012-03-29 | Samsung Electronics Co., Ltd. | Apparatus and method for updating data in portable terminal |
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 |
-
2014
- 2014-06-30 CN CN201410309709.XA patent/CN104077053B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102014124A (en) * | 2010-09-28 | 2011-04-13 | 北京神州泰岳软件股份有限公司 | Residual quantity updating method of enterprise address book |
US20120077529A1 (en) * | 2010-09-29 | 2012-03-29 | Samsung Electronics Co., Ltd. | Apparatus and method for updating data in portable terminal |
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 |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988890A (en) * | 2015-01-29 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Information backup method and device |
CN105988890B (en) * | 2015-01-29 | 2020-01-17 | 阿里巴巴集团控股有限公司 | Information backup method and device |
CN107484003A (en) * | 2017-07-01 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | Television listing data Local hydrodynamic unit method, storage medium, electronic equipment and system |
CN107484003B (en) * | 2017-07-01 | 2019-11-15 | 武汉斗鱼网络科技有限公司 | Television listing data Local hydrodynamic unit method, storage medium, electronic equipment and system |
CN107766313A (en) * | 2017-10-19 | 2018-03-06 | 平安科技(深圳)有限公司 | The introduction method and its terminal of a kind of data list |
CN107766313B (en) * | 2017-10-19 | 2019-05-07 | 平安科技(深圳)有限公司 | A kind of introduction method and its terminal of data list |
CN107979506A (en) * | 2017-10-30 | 2018-05-01 | 阿里巴巴集团控股有限公司 | Flow obtains and high in the clouds display systems, method, apparatus and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104077053B (en) | 2017-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109933348B (en) | Method and device for updating Bootloader in electronic control unit | |
CN104156414A (en) | Terminal, device and method for clearing junk files | |
CN109804361B (en) | File synchronization in a computing system | |
CN110096302B (en) | Software data storage and upgrading method, device, equipment and storage medium | |
CN103886059A (en) | Method and device for cleaning up files | |
CN104020991A (en) | Method and device for multi-language switching of application program | |
CN102932777A (en) | Method for updating terminal application and user terminal | |
CN103518191A (en) | Upgrade method, intelligent terminal and upgrade system | |
CN104123199A (en) | Method and device for recovering application program and mobile terminal | |
CN104426955A (en) | Processing method of shared file, and cloud storage server | |
CN106445643B (en) | It clones, the method and apparatus of upgrading virtual machine | |
CN104035800A (en) | Incremental packet generation method and device, version upgrade method and device, and version upgrade system | |
CN103617154A (en) | Method and device for having control over content paste operation | |
CN104077053A (en) | Terminal information operating method and device and mobile terminal | |
CN111858577B (en) | Method, apparatus and computer program product for storage management | |
CN103841464A (en) | Video information pushing method and device | |
CN104169902A (en) | Synchronizing local and remote data | |
CN110968417B (en) | Method, apparatus, system and computer storage medium for managing storage units | |
CN104216802A (en) | Memory database recovery method and device | |
CN104903853A (en) | Dynamic firmware updating | |
WO2019177775A1 (en) | Leveraging previously installed application elements to install an application | |
CN102880478B (en) | Oftware updating method | |
CN104182532A (en) | Terminal file cleaning method and device and terminal | |
CN104199682A (en) | Information processing method and electronic equipment | |
CN112000321B (en) | Method and device for realizing undo and/or redo of three-dimensional detection software |
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 | ||
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. |