The backup method of portable terminal device
Technical field
The present invention relates to a kind of backup method, particularly relate to and a kind ofly can dynamically provide the user to select increasing software newly, and the backup method of the portable terminal device that backs up.
Background technology
Along with the progress of science and technology, the various electronic products that are applied to daily life also develop vigorously.Portable terminal device particularly, for example notebook computer, Smartphone (Smart Phone) and personal digital assistant (Personal Digital Assistant, PDA) or the like, not only make people's life convenient more, it is colourful much more more life is adopted.
When the user when using these portable terminal devices, usually have the needs of archives backup.For example need before earlier archives are backed up in that new software (software is software, below all be called software) is installed, avoiding after new software is installed, cause the stage that to remedy if produce wrong.Or the present personal digital assistant of picture, if shutdown will lose the situation of some archives too for a long time, also need usually to carry out the archives backup.Moreover, because modern electronic product is usually weeded out the old and bring forth the new, do not think to lose time again when user's upgrading products when each software is installed, also can carry out the archives backup earlier, utilize the backup archives to reduce afterwards again and get final product.
Generally speaking, when the user installs new software or carries out software upgrading, except meeting produces the archives of installing, also can in system registry (Registry), produce some registration code key assignments, use for software access in the future.The degree of difficulty of intelligent software backup is the content alteration of grasp registration code key assignments that can't be certain and the path that archives are placed is installed.So, present backup formula only provides some preset options to select for the user, to carry out the archives backup, for example my file, news in brief, phone, calendar or the like, and can't be dynamically at software that the user installed, or the part of software upgrading provides Backup options, and backs up, thereby reduced effective utilization.
This shows that the backup method of above-mentioned existing portable terminal device obviously still has inconvenience and defective, and demands urgently further being improved in method and use.In order to solve the problem of above-mentioned existence, relevant manufacturer there's no one who doesn't or isn't seeks solution painstakingly, but do not see always that for a long time suitable design finished by development, and general backup method does not have appropriate method to address the above problem, this obviously is the problem that the anxious desire of relevant dealer solves.Therefore how to found a kind of backup method of new portable terminal device, real one of the current important research and development problem that belongs to, also becoming the current industry utmost point needs improved target.
Because the defective that the backup method of above-mentioned existing portable terminal device exists, the inventor is based on being engaged in this type of product design manufacturing abundant for many years practical experience and professional knowledge, and the utilization of cooperation scientific principle, actively studied innovation, in the hope of founding a kind of backup method of new portable terminal device, can improve the backup method of general existing portable terminal device, make it be more suitable for practicality.Through constantly research, design, and after studying repeatedly and improving, create the present invention who has practical value finally.
Summary of the invention
The objective of the invention is to, overcome the defective of the backup method existence of existing portable terminal device, and provide a kind of backup method of new portable terminal device, technical matters to be solved is to make its data that immediately obtains newly-increased software and registration code key assignments, and the user can be installed and upgrading software dynamically provides the user to select, and back up, be very suitable for practicality.
The object of the invention to solve the technical problems realizes by the following technical solutions.The backup method of a kind of portable terminal device that proposes according to the present invention, it may further comprise the steps: search formula fund-raising feed collet to obtain the shelves name of at least one shortcut shelves, these shortcut shelves are corresponding to a software; Judge whether these shortcut shelves are newly-increased; When judging these shortcut shelves when newly-increased, judge whether to have a pair of anti-installations grade that should software; This is anti-when shelves are installed when judgement has, according to installing instead that shelves are obtained the data of this software and to a registration code key assignments that should software; Data and this registration code key assignments of this software are recorded at least one data change table; And carry out a backup actions according to this data change table.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
The backup method of aforesaid portable terminal device, it more comprises: the archives change time of writing down the shelves name of these shortcut shelves or writing down these shortcut shelves.
The backup method of aforesaid portable terminal device, the data of wherein said software are to comprise shelves name and the file route to small part formula archives that this software has.
The backup method of aforesaid portable terminal device wherein saidly judges that whether these shortcut shelves are that the step that increases newly is to judge according to the shelves name of these shortcut shelves or the archives change time of these shortcut shelves whether these shortcut shelves are newly-increased.
The backup method of aforesaid portable terminal device, wherein said judge whether to have to should software should the anti-step that shelves are installed be according to a system registry judge whether to have to should software shelves should instead be installed.
The backup method of aforesaid portable terminal device, it is to comprise that wherein said foundation should instead be installed a grade step that obtains the data of this software: obtain this anti-path that shelves are installed by a system registry; And read this anti-path that shelves are installed with the formula archives obtaining this software and had.
It is obtain this registration code key assignments according to should shelves being installed instead from a system registry that the backup method of aforesaid portable terminal device, wherein said foundation should anti-be installed the step that shelves obtain this registration code key assignments that should software.
The backup method of aforesaid portable terminal device, wherein said step of carrying out this backup actions according to this data change table comprises: the shelves name of newly-increased these shortcut shelves is in a backup menu, and shows this backup menu; Reception is selected signal to backing up one of menu; And carry out this backup actions according to this selection signal.
The backup method of aforesaid portable terminal device, it more comprises: when judgement does not exist this anti-shelves to be installed, obtain the data of this software according to these shortcut shelves, and write down the data of this software.
The backup method of aforesaid portable terminal device, the data of wherein said software are to comprise shelves name and the file route to small part formula archives that this software has, and wherein these formula archives are to be execution shelves.
The present invention compared with prior art has tangible advantage and beneficial effect.As known from the above, for achieving the above object, the backup method that proposes a kind of portable terminal device of the present invention comprises the following step, at first searches formula fund-raising feed collet to obtain the shelves name of at least one shortcut shelves, and these shortcut shelves are corresponding to a software.Secondly, judge whether the shortcut shelves are newly-increased.Then, when judging the shortcut shelves when newly-increased, judge whether to have a pair of anti-installations grade that should software.Moreover, when judgement has anti-installation shelves, obtain the data of software and the registration code key assignments of corresponding software according to the anti-shelves of installing.Then, data and the registration code key assignments with software is recorded at least one data change table.Then, carry out a backup actions according to data change table.
By technique scheme, the backup method of portable terminal device of the present invention has following advantage and beneficial effect at least: the present invention judges whether newly-increased software by the shortcut shelves earlier, be new software or the upgrading software that the user installs, and then obtain the anti-installation shelves of corresponding software, and then according to anti-install shelves obtain the user install or upgrade software after software document and registration code key assignments, again software document and registration code key assignments are write down.So, software document and registration code key assignments that utilization is write down just can be installed the user and upgrading software dynamically provides the user to select, and backed up, and were very suitable for practicality.
In sum, the backup method of portable terminal device of the present invention can immediately be obtained the data and the registration code key assignments of newly-increased software, and the user can be installed and upgrading software dynamically provides the user to select, and backs up.The present invention has above-mentioned plurality of advantages and practical value, no matter it all has bigger improvement on method or function, be a significant progress in technology, and produced handy and practical effect, and the backup method of more existing portable terminal device has the outstanding effect of enhancement, thereby being suitable for practicality more, really is a new and innovative, progressive, practical new design.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, below especially exemplified by preferred embodiment, and conjunction with figs., be described in detail as follows.
Description of drawings
Fig. 1 is the process flow diagram according to the backup method of a kind of portable terminal device of a preferred embodiment of the present invention.
S01-S06: the step of backup method
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, its embodiment of backup method, method, step, feature and the effect thereof of the portable terminal device that foundation the present invention is proposed, describe in detail as after.
Seeing also shown in Figure 1ly, is the process flow diagram of backup method that shows a kind of portable terminal device of a preferred embodiment of the present invention.In the present embodiment, portable terminal device is to can be a device for mobile communication, and for example Smartphone, personal digital assistant or the like also can be a notebook computer.The backup method of the portable terminal device of preferred embodiment of the present invention may further comprise the steps:
At first, in step S01, the backup method of present embodiment is all shortcut shelves of detecting, and wherein, each shortcut shelves is corresponding to a software.Generally speaking, concerning an operating system, all shortcut shelves all can find at same information kit usually, for example are formula fund-raising feed collets (Program), and its path for example is Windows Start Menu Program.In this step, be in order to judge which software the user installed, after finding the shortcut shelves, its grade name can be write down, in the present embodiment, be that the shelves name with the shortcut shelves is recorded in the archives change table, for follow-up use.
Secondly, in step S02, the backup method of present embodiment is to judge whether newly-increased shortcut shelves, and at this, the newly-increased pairing software of shortcut shelves is to comprise new software that the user installs and the part that a software of having installed is upgraded.In the present embodiment, can use the shelves name of shortcut shelves to judge whether to be newly-increased shortcut shelves, for example the shelves name of the shortcut shelves that all can be detected and shelves masterpiece one comparison that is recorded in the archives change table know that promptly which shortcut shelves is to belong to increasing newly.Certainly, if carry out the backup method of present embodiment for the first time in portable terminal device, then all shortcut shelves that detect all should belong to newly-increased.
In this step, also the foundation that can use other attributes to be used as judging for example utilizes the archives of shortcut shelves to change the time.On the implementation, the archives change time keeping of the shortcut shelves that can earlier all be detected gets off, also can be recorded in the archives change table, then, the archives of the shortcut shelves that again all the detected change time is intercropping one comparison during with the archives change that has been recorded in the archives change table, knows that promptly which shortcut shelves is to increase newly after carrying out the backup method of present embodiment last time.
Then, in step S03, when judgement had newly-increased shortcut shelves, the backup method of present embodiment was to judge whether newly-increased shortcut shelves exist corresponding anti-installation shelves.Because instead installing in the archives can which data of record be current newly-increased behavior (comprise new software and upgrade software are installed) ability entrant, these accessions comprise the formula archives of software and are present in registration code key assignments (Key Value) in the system registry (Registry), and the path of these accessions is to be recorded in the anti-installation shelves, so before obtaining accession, need judge whether to exist the anti-installation shelves of the corresponding pairing software of shortcut shelves that increases newly earlier.
In this step, the backup method of present embodiment is to judge whether to have to anti-installation shelves that should software according to system registry.Owing in system registry, record the anti-path that shelves are installed, so the backup method of present embodiment is to search in system registry according to the shelves name of newly-increased shortcut shelves, when the newly-increased pairing software of shortcut shelves has anti-installations shelves, the path that then can instead be installed grade.
This is anti-when shelves are installed when judgement has, and the backup method of present embodiment promptly carries out step S04, promptly according to installing instead that shelves are obtained the data of this software and to registration code key assignments that should software.Wherein, the data of software is to comprise shelves name and the file route to small part formula archives that software has.
With regard to the data of software because the anti-path that the shelves formula archives that logging software had had are installed, so after obtaining the anti-path that shelves are installed, shelves are installed in readable negate, with the path of obtaining the formula archives that software had and grade.With regard to the registration code key assignments,, can in system registry, obtain corresponding registration code key assignments according to the register machine sign indicating number because the anti-shelves of installing have write down the register machine sign indicating number of change.
When judging that these shortcut shelves do not have corresponding anti-installations grade, the backup method of present embodiment is to carry out step S05, promptly obtain the data of this software according to these shortcut shelves, at this, the data of software is to comprise shelves name and the file route to small part formula archives that software has.Because most of not have the anti-software that shelves are installed be for independently carrying out grade, its secondary shelves name for example is exe, bat, com or the like, also there are some not have the anti-software that shelves are installed in addition, it is except carrying out shelves, the formula archives that also have some secondary shelves dll, ini or the like by name, these formula archives all should go on record simultaneously, to carry out follow-up backup actions.In gross, these do not have the anti-software that shelves are installed can directly be obtained the path of formula archives by its shortcut shelves, so just can obtain the pairing software of shortcut shelves according to the path.
After the change data of the data that obtains the software that has anti-installation shelves and do not have anti-installation shelves and registration code key assignments or the like, it can be write down (step S06), in the present embodiment, obtained change data is to be recorded in archives change table.Thus, the user just can show to carry out backup actions according to the archives change in the future.In addition, back up for the convenience of the users, the shelves name that the step of carrying out backup actions according to data change table can comprise newly-increased these shortcut shelves is in a backup menu, and shows the backup menu, receive one of corresponding backup menu and select signal, and according to selecting signal to carry out this backup actions.Promptly by showing the backup menu, it is the shelves name with all newly-increased softwares, selects software to back up by the user, and backs up.
What deserves to be mentioned is that the backup method of present embodiment can automatically perform when new software promptly being installed or carrying out software upgrading when the user carries out the newly-increased behavior of software, to promote effective utilization; Certainly also can allow the user start.
In sum, the backup method of portable terminal device of the present invention is to judge whether newly-increased software by the shortcut shelves earlier, be new software or the upgrading software that the user installs, and then obtain the anti-installation shelves of corresponding software, and then according to anti-install shelves obtain the user install or upgrade software after software document and registration code key assignments, again software document and registration code key assignments are write down.So, just the user can be installed and upgrading software dynamically provides the user to select, and back up.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention, any those skilled in the art, in not breaking away from the technical solution of the present invention scope, when the technology contents that can utilize above-mentioned announcement is made a little change or is modified to the equivalent embodiment of equivalent variations, in every case be not break away from the technical solution of the present invention content, according to technical spirit of the present invention to any simple modification that above embodiment did, equivalent variations and modification all still belong in the scope of technical solution of the present invention.