CN102073555A - Backup method, device for backing up and computer - Google Patents

Backup method, device for backing up and computer Download PDF

Info

Publication number
CN102073555A
CN102073555A CN2009102383318A CN200910238331A CN102073555A CN 102073555 A CN102073555 A CN 102073555A CN 2009102383318 A CN2009102383318 A CN 2009102383318A CN 200910238331 A CN200910238331 A CN 200910238331A CN 102073555 A CN102073555 A CN 102073555A
Authority
CN
China
Prior art keywords
variation
intensity
value
system object
score value
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.)
Pending
Application number
CN2009102383318A
Other languages
Chinese (zh)
Inventor
吴清俊
周建勋
陈轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2009102383318A priority Critical patent/CN102073555A/en
Publication of CN102073555A publication Critical patent/CN102073555A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a backup method, a device for backing up and a computer, applied to a first system. The first system comprises at least one system object. The method comprises the following steps of, when monitoring that at least one system object changes, acquiring variable value corresponding to at least one system object; calculating a variation degree value of the first system according to the variable value corresponding to each system object; judging whether the variation degree value of the first system reaches a preset first variation threshold, and generating a judgment result; and when the judgment result expresses that the variation degree value of the first system reaches the preset first variation threshold, backing up the first system. Based on the technical scheme, a user can determine whether to back up according to the variation degree of the system such as a computer operating system.

Description

The device and the computing machine of a kind of backup method, realization backup
Technical field
The present invention relates to field of computer technology, particularly relate to the device and the computing machine of a kind of backup method, realization backup.
Background technology
Along with the expansion of hard disc of computer capacity, computing machine more and more becomes the part of user job life, and the user stores important data such as personal data in the file system of computing machine into, important software is installed in operating system; And, except that personal data, also need often to install the important user's computer that is updated to of some softwares, for example, the updating file of installing operating system such as Windows Windows.Above-mentioned personal data and software update file can be various file types, as dynamic base, Office document, MP3, source code, PDF, executable program etc.
The intelligent backup method of active computer is a timed backup, according to being provided with according to predetermined cycle such as every month or carrying out the backup of data weekly.In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: some the time, when having carried out a lot of important operations on computers, the user cause computer system that bigger variation has taken place, as a lot of critical softwares have been installed and have been done a lot of important operations, wherein, this critical software can comprise the update software of operating system, this important operation can comprise: frequently edit important data file, a lot of codes have been write, copied a lot of users' vital document etc., and do not reach time of timed backup as yet, and the user has not reached certain variation owing to know the variation that its file system takes place, also need can't determine whether Backup Data, thereby when under some burst conditions, breaking down as system owing to fail timely Backup Data cause work change and lose, bring loss to the user.
Summary of the invention
Embodiments of the invention provide a kind of backup method, realize the device and the computing machine of backup, can't determine whether the technical matters that backs up with the backup method that solves prior art according to the intensity of variation of system.
To achieve these goals, on the one hand, provide a kind of backup method, be applied in first system, described first system comprises at least one system object, wherein, comprising:
When monitoring described at least one system object when changing, obtain the variation score value of described at least one system object correspondence;
According to the variation score value of each described at least one system object correspondence, calculate the intensity of variation value of described first system;
Whether the intensity of variation value of judging described first system reaches the first predetermined change threshold, produces a judged result;
When described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold, back up described first system.
Preferably, described backup method, wherein, the intensity of variation value of first system of described at least one the system object correspondence of described calculating is specially:
The variation score value addition of each described at least one system object correspondence is obtained the intensity of variation value of described first system.
Preferably, described backup method, wherein, the intensity of variation value of first system of described at least one the system object correspondence of described calculating comprises:
When at least one first system object in described at least one system object belongs to first subsystem,, calculate the intensity of variation value of described first subsystem according to the variation score value of each described at least one first system object correspondence;
When at least one second system object in described at least one system object belongs to second subsystem,, calculate the intensity of variation value of described second subsystem according to the variation score value of each described at least one second system object correspondence;
According to intensity of variation value and described first subsystem and described second subsystem weighting coefficient separately of the intensity of variation value of described first subsystem, described second subsystem, obtain the intensity of variation value of described first system.
Preferably, described backup method, wherein, the variation score value of described at least one system object correspondence is preestablished by system or user; Or, set according to the variable quantity of described at least one system object and/or the type of variation by system.
Preferably, described backup method, wherein, each described at least one system object comprises: at least one object properties;
The variation score value of described at least one the system object correspondence of described acquisition comprises:
The variation score value of the object properties correspondence that comprises according to described each described at least one system object calculates the variation score value of each described system object that changes.
Preferably, described backup method, wherein, the variation score value of each described system object that changes of described calculating is specially:
The variation score value addition of described at least one object properties correspondence that each described system object is comprised obtains the variation score value of each described system object.
On the other hand, provide a kind of device of backing up realized, first system that can move, described first system comprises at least one system object, wherein, comprising:
First processing module is used for obtaining the variation score value of described at least one system object correspondence when monitoring described at least one system object when changing;
Second processing module is used for the variation score value according to each described at least one system object correspondence, calculates the intensity of variation value of described first system;
Judge module is used to judge whether the intensity of variation value of described first system reaches the first predetermined change threshold, produces a judged result;
The backup trigger module is used for backing up described first system when described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold.
Preferably, described device, wherein, described second processing module comprises:
First summation module is used for the variation score value addition of each described at least one system object correspondence is obtained the intensity of variation value of described first system.
Preferably, described device, wherein, described second processing module comprises:
The 3rd processing module is used for according to the variation score value of each described at least one first system object correspondence, calculating the intensity of variation value of described first subsystem when at least one first system object of described at least one system object belongs to first subsystem;
Manages module everywhere, when at least one second system object in described at least one system object belongs to second subsystem, according to the variation score value of each described at least one second system object correspondence, calculates the intensity of variation value of described second subsystem;
The 5th processing module is used for intensity of variation value and described first subsystem and described second subsystem weighting coefficient separately of the intensity of variation value according to described first subsystem, described second subsystem, obtains the intensity of variation value of described first system.
Preferably, described device, wherein, each described at least one system object comprises: at least one object properties;
Described first processing module comprises:
The 6th processing module is used for the variation score value of the object properties correspondence that comprises according to described each described at least one system object, calculates the variation score value of each described system object that changes.
Another aspect provides a kind of computing machine, can move first system, and described first system comprises at least one system object, wherein, comprising:
First processing module is used for obtaining the variation score value of described at least one system object correspondence when monitoring described at least one system object when changing;
Second processing module is used for the variation score value according to each described at least one system object correspondence, calculates the intensity of variation value of described first system;
Judge module is used to judge whether the intensity of variation value of described first system reaches the first predetermined change threshold, produces a judged result;
The backup trigger module is used for backing up described first system when described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold.
A technical scheme in the technique scheme has following technique effect:
By monitoring at least one system object when changing, variation score value according to each described at least one system object, obtain the intensity of variation value of first system, and the intensity of variation value of described first system is when reaching predetermined first change threshold, back up described first system, realized the intelligent backup that carries out according to the system change degree.
Description of drawings
Fig. 1 is the schematic flow sheet of the backup method of the embodiment of the invention;
Fig. 2 is the schematic flow sheet of the backup method of another embodiment of the present invention;
Fig. 3 is in the embodiment of the invention, calculates the schematic flow sheet of the intensity of variation value of this document after a file changes;
Fig. 4 is the structural representation of device of the realization backup of the embodiment of the invention.
Embodiment
For technical matters, technical scheme and advantage that the embodiment of the invention will be solved is clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Fig. 1 is the schematic flow sheet of the backup method of the embodiment of the invention.The backup method of the embodiment of the invention is applied in first system, and this first system comprises at least one system object.This method of the embodiment of the invention comprises:
Step 101 when monitoring at least one system object when changing, obtains the variation score value of above-mentioned at least one system object correspondence;
Step 102 according to the variation score value of each above-mentioned at least one system object correspondence, is calculated the intensity of variation value of first system;
Step 103 judges whether the intensity of variation value of first system reaches the first predetermined change threshold, produces a judged result;
Step 104 when described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold, backs up first system.
Exemplarily, above-mentioned first system can comprise a plurality of system objects, in the backup method of the embodiment of the invention, and some or certain the several system object in the optional majority system object, when the system object of above-mentioned selection changes, start the backup method of the embodiment of the invention.
Preferably, above-mentioned first change threshold is preestablished by the user or is specified by system such as computer system acquiescence.In a specific implementation of the embodiment of the invention, can adopt two threshold values simultaneously, first change threshold and second change threshold, first change threshold is greater than second change threshold; First change threshold is set by the user; Second change threshold is set by system default.In the step 103, the intensity of variation value that identifies first system when judged result is during less than first change threshold, and whether the change threshold that can further judge first system is greater than second change threshold; As greater than, then back up first system.
In the above-described embodiments, exemplarily, the variation score value of above-mentioned at least one system object correspondence is preestablished by system or user; Or, set according to the variable quantity of above-mentioned at least one system object or the type of variation by system.
In the above-described embodiments, exemplarily, each described at least one system object comprises: at least one object properties; In the above-mentioned steps 101, the variation score value that obtains above-mentioned at least one system object correspondence comprises:
The variation score value of the object properties correspondence that comprises according to described each described at least one system object calculates the variation score value of each described system object that changes.
Exemplarily, the variation score value addition of described at least one object properties correspondence that each described system object is comprised obtains the variation score value of each described system object.Exemplarily, the direct addition of variation score value of the object properties correspondence that each system object can be comprised or obtain the variation score value of each system object according to the weighting coefficient weighting summation of each object properties.Exemplarily, the variation score value of the system property correspondence that comprises of each system object is preestablished by system or user; Or, set according to the variable quantity of said system attribute by system.
In one embodiment of this invention, in the above-mentioned steps 103, the variation score value addition of each system object correspondence is obtained the intensity of variation value of first system; Exemplarily, this addition can be direct addition or obtain according to the weighting coefficient weighting summation of each system object correspondence.
In one embodiment of this invention, in the above-mentioned steps 103, the intensity of variation value of calculating first system of described at least one system object correspondence comprises:
When at least one first system object in described at least one system object belongs to first subsystem,, calculate the intensity of variation value of described first subsystem according to the variation score value of each described at least one first system object correspondence;
When at least one second system object in described at least one system object belongs to second subsystem,, calculate the intensity of variation value of described second subsystem according to the variation score value of each described at least one second system object correspondence;
According to intensity of variation value and described first subsystem and described second subsystem weighting coefficient separately of the intensity of variation value of described first subsystem, described second subsystem, obtain the intensity of variation value of described first system.
In the foregoing description, first system is not limited to comprise first subsystem and two subsystems of second subsystem, the said system object is except that first system object that belongs to first subsystem and belonging to second system object of second subsystem, also can comprise belong to the 3rd, the system object of the more a plurality of subsystems of the fourth class, when first system comprises more than two subsystem, the intensity of variation value weighting summation of each subsystem is obtained the intensity of variation value of first system according to the weighting coefficient of these subsystem correspondences.And the intensity of variation value of subsystem, then the variation score value by the system object that subsystem comprised obtains, and as can obtaining by the variation score value addition of the system object that will comprise, obtains as direct addition or by the weighting coefficient weighting summation of system object correspondence.
The backup method of the embodiment of the invention can be applicable in the computer system.For computing machine, utilize the backup method of the embodiment of the invention, can judge whether that the tentation data that triggers in the computer system backs up by determining in the computer operating system the some or intensity of variation value of a plurality of subsystems or the intensity of variation value of computer operating system integral body.
Particularly, when the backup method of the embodiment of the invention was applied to computer operating system, the method for this embodiment comprised the steps:
Step a, the variation that takes place in the supervisory control comuter operating system;
Step b when monitoring at least one predetermined system object when changing, according to the variation score value of system property correspondence predetermined, that each system object comprises, calculates the variation score value of each system object that changes;
Particularly, because in the operating system in modern age, each variation all can have events corresponding, monitors thereby can utilize the service processes of a lightweight whether system object is changed.Exemplarily, the variation of the file system readjustment API that can provide by filter Driver on FSD, windows and/or the system service of lightweight are monitored; The readjustment API that the variation of registration table can provide by windows and/or the system service of lightweight are monitored; The variation of the installation aspect of program can be monitored by the system service of lightweight; The readjustment API that system user account's variation can provide by windows and/or the system service of lightweight are monitored.
Except that the variation pattern of above-mentioned supervisory system object, can also come the variation of supervisory system object by the mode of timing scan.Utilize the mode of timing scan, regularly predetermined system object is scanned, find the variation that system object takes place by judging the difference between twice scanning.
Among this step b, predetermined system object can be preestablished according to self demand and/or the importance of system object and/or the influence of system object computer operating system integral body etc. by the user; System also can provide default setting in advance;
In this step, the variation score value of the object properties that system object can be comprised is the variation score value of the addition system object that obtains changing in the intended manner; Exemplarily, as the direct addition of variation score value of object properties correspondence that system object is comprised or by addition after the weighting coefficient weighting of each predetermined object properties correspondence, obtain the variation score value of described system object; As adopting addition after the weighting, weighting coefficient can preestablish according to the importance of object properties and/or to system object and/or to the influence degree of computer operating system integral body;
Step c according to the intensity of variation value of each described system object that changes, calculates the intensity of variation value of described computer operating system integral body, and first system is computer operating system in this example;
In this step, exemplarily, can be with the direct addition of variation score value of each described system object that changes or by addition after the weighting coefficient weighting of predetermined system object correspondence, obtain the intensity of variation value of aforementioned calculation machine operation system, the weighting coefficient of system object correspondence can preestablish according to the importance of system object and/or to the influence degree of computer operating system integral body in this example.
Perhaps, exemplarily, in this step, can described system object be divided into a plurality of system object groups according to the branch set condition that sets in advance; To belong to the intensity of variation value addition of the system object of integrated system group of objects, obtain the intensity of variation value of this system object group; With the direct addition of intensity of variation value of different system group of objects or according to addition after the weighting coefficient weighting of system object group correspondence, obtain the intensity of variation value of computer operating system, the weighting coefficient of described all system object groups and equal 1; Preferably, this minute set condition be the subsystem under the system object, promptly according to the subsystem under the system object, system object is divided into a plurality of system object groups, different system object groups belong to the different subsystem of operating system; Exemplarily, above-mentioned subsystem comprises: file system, registration table, driver, software runtime environment etc.Illustrate, change as a plurality of files, then these a plurality of files can be included into the file system as the computer operating system subsystem; As adopting addition after the weighting, the weighting coefficient of system object group or subsystem can preestablish according to the importance of system object group or subsystem and/or to the influence degree of computer operating system integral body;
Steps d when the intensity of variation value of computer operating system reaches predetermined change threshold, triggers the backup to tentation data in the system.
Exemplarily, the mode of the backup of data can have multiplely in the above-mentioned triggering system, automatically the user is preestablished as system and to desire backed up data and back up; Or the system prompt user carries out data backup etc.
Exemplarily, the said system object comprises one or more in the following object: the file in the file system; The subregion of disk; Program in the system; Registration table; The account information of system user.
System object changes and comprises in the computer operating system: the file in the file system changes; Program in the system is mounted, unloads or upgrades; Registration table changes; The account information of system user changes.
Exemplarily, the object properties of the file in the file system comprise in following one or multinomial: file type; Catalogue under the file; The frequency of file modification; The size of file; The variation pattern of file; The subregion of disk.
Exemplarily, the object properties of the program in the system comprise in following one or multinomial: the importance of the program that changes; The action type that described program is carried out.
Exemplarily, the object properties of registration table comprise: the rank catalogue of registration table.
Exemplarily, the account's of system user object properties comprise in following one or multinomial: the account level of the system user that changes; The action type that the account of system user is carried out, as increase, deletion or revise.
Exemplarily, the object properties of the subregion of disk comprise: the action type that the subregion of disk is carried out, as increase, deletion or revise.
The variation score value of object properties can obtain in several ways, for example: preestablished by system; Or, set in advance as the importance of a certain attribute or attribute influence degree to the whole operation system by the demand of user according to self; Or, after changing, dynamically set the variation score value of attribute according to the type big or small and/or that change of the variable quantity that object properties took place, in this case, same attribute may have different variation score values under the situation of different variable quantities, for example, during the file change of same type, the variation that can be the file of same type is provided with same variation score value, also can be to change file setting variation score value greatly more as the type that the file size variation is more.Example ground, the variation score value of attribute can promptly immobilize after configuring, and also can change according to changing size adaptation in the process of system change.In addition, system can give tacit consent to can directly not go the certain user to some file, the program of revising or visiting, be set to the influential system object of calculating as some operating system file relevant and registration table etc. to computer system intensity of variation value with system, and attribute of considering for these system object default settings and the variation score value that acquiescence is provided for these attributes; Exemplarily, the user can revise the configuration of these acquiescences.
When the variation score value that adopts direct initialization system object obtains the variation score value of system object, also can utilize the mode of the object score value of above-mentioned setting object properties that the variation score value of system object is set.
Illustrate in the backup method of the embodiment of the invention computing method of the intensity of variation value of computer operating system integral body below.In this example, by predetermined system object is divided into a plurality of system object groups by affiliated subsystem, different system object groups belong to different subsystems, are the intensity of variation value that the intensity of variation value of different subsystem is come the calculating operation entire system by calculating different system object groups.In this example, the subsystem of consideration comprises: the account of file system, program installation, registration table and system user.Wherein, program is installed subsystem and can be comprised the renewal, unloading, installation etc. of the program operation to program in the system.
Fig. 2 is the schematic flow sheet of the backup method of another embodiment of the present invention.As Fig. 2, the schematic flow sheet of the backup method of this embodiment comprises:
Step 201, the variation that takes place in the supervisory computer system;
Step 202 when having monitored a plurality of files when changing, calculates the variation score value of each file, and with the variation score value addition of each file, obtains the intensity of variation value of file system;
Step 203 when having monitored a plurality of programs installations or having upgraded, calculates the variation score value of the program of each installation or renewal, and the variation score value addition of the program that will respectively install, unload or upgrade, obtains the intensity of variation value of program installation subsystem;
Step 204, when the account information that monitors system user changes, user class such as Permission Levels according to the system user account who changes, calculate the variation score value of the account information change operation of each system user, with the variation score value addition of the account information change operation of each system user of obtaining, obtain the intensity of variation value of system user account subsystem;
Step 205, with the intensity of variation value of above-mentioned each subsystem by predetermined weighting coefficient weighting after addition, obtain the intensity of variation value of computer operating system, the weighting coefficient addition of each subsystem equals 1.
Do not have sequencing between the above-mentioned steps 202 to 204, promptly calculate the intensity of variation value of which subsystem earlier the calculating of entire system intensity of variation is not had influence.
Wherein, file system is the basis of operating system, comprises system file, program file and personal document, is to revise a most frequent system.Be example below with the file system, the method for the intensity of variation of calculation document system is introduced.In this example, file system is defined as variables A; Wherein, for file system, utilize following attribute to weigh the intensity of variation of file system:
File type A1, as * .doc, * .dll, * .xls, * .xml etc. wherein, define the variation score value of its correspondence in advance for each type;
File directory A2, as C: personal_folders, C: patents, C: Documents and Setting etc., be the corresponding variation score value of each catalogue definition in advance, wherein, if two catalogues have relation of inclusion, preferential with sub-directory, the variation score value that is about to sub-directory is not less than the variation score value of parent directory with being provided with; The frequency A3 of file modification sets in advance the variation score value corresponding with this modification frequency; Exemplarily, revise the high file of frequency than revising the low variation score value height of frequency for one, revise the frequency height and reflect that the user often edits this file, belong to vital document;
Disk partition A4, the user adds, deletes or revise a disk partition, all is the material alteration to file system.
In the operating system, the installation of some application programs can produce bigger influence to user's use.The program of installing comprises: operation system renewing software, the defective that can repair operating system self as Service Pack and the hotfix of Windows; User-defined application software such as notes, office, antivirus software etc. also have bigger device driver such as BIOS, the kernel rank driver etc. of use influence to the user; In this example, program installed be defined as variable B, utilize the type, importance of program itself and the action type of program is weighed the intensity of variation of subsystem B as attribute, particularly:
Regular software is installed B1, different significance levels according to software are provided with different variation score values in advance, for example, the update software of operating system such as Windows Service Pack and hotfix can be provided with their variation score value than general application software height because importance is wanted than other application programs;
System equipment drives and upgrades B2, because the mounting means of device driver and the mounting means of regular software are different, it changes the score value operated by rotary motion must be than higher, in addition, system equipment drives and to comprise: the kernel rank drives and user class drives, and can drive more new peak than user class for the variation score value of the renewal of kernel rank driving with being provided with.
Registration table is an important ingredient of Windows operating system, and the modification with registration table in this example is defined as variable C.That is storing system in the registration table is provided with data in a large number, comprising: service (SERVICE) information, system start-up process, ADM group policy etc.; Registration table has different rank catalogues, can be according to the different stage catalogue of registration table, define different importance, this point is similar to above-mentioned file directory, for example the modification to HKLM and HKCU can have different importance, corresponding different variation score values, exemplarily, also can set to " HKEY_LOCAL_MACHINE SYSTEM " the variation score value height of modification of modification comparison " HKEY_LOCAL_MACHINE SOFTWARE " rank catalogue of rank catalogue, in addition, also can be provided with subhierarchy registration table priority ratio father level want high, be about to variation score value to the subhierarchy registration table and be set to be not less than variation score value father's level registration table;
The modification of the account information of system user such as user cipher are revised, new user creates and deletion all is to the very important information of user, in this example the system user change in account information are defined as variables D.
Remove above-mentioned A, B, C outside the D, can also exist other a plurality of to the influential subsystem of computer operating system overall variation.In this example, can be provided with the influential n of computer operating system overall variation (n for greater than 0 integer) subsystem is comprised: A, B, C, D ... X.In this example, the intensity of variation value of total system can use function: F (A, B, C, D...X)=F1 (A) * α+F2 (B) * β+F3 (C) * γ+F4 (D) * ε+Fn (X) * x calculates the value of a reflection entire system intensity of variation; Wherein, F1, F2, F3, F4...Fn are respectively the intensity of variation values of calculating the corresponding subsystem that obtains; α, beta, gamma, δ, ε ... x is respectively the weighting coefficient of corresponding subsystem correspondence, these weighting coefficients have determined the proportion that the shared total system of the intensity of variation of subsystem changes, and their sums equal 1.
How to illustrate the intensity of variation value of computing subsystem below.In this example, F1 is the intensity of variation of whole file system, it is by the summation of the intensity of variation of All Files, suppose the function of calfile for the variation score value of certain file of calculating, have n file to change, so F1=calfile (FILE 1)+calfile (FILE2)+... .+calfile (FILEn).Fig. 3 is in the embodiment of the invention, calculates the schematic flow sheet of the intensity of variation value of this document after a file changes.As Fig. 3, in the embodiment of the invention, the flow process of variation score value of calculating the file correspondence of a certain variation is that the calfile flow process comprises the steps:
Step 301 sets in advance the initial value of the variation score value of this document, and exemplarily, initial value is set to 0;
Step 302 judges whether the file of this modification is arranged in predefined important catalogue; In this way, execution in step 303; Otherwise, finish this flow process;
Step 303, the variation score value of the object properties that comprise according to predetermined this document obtains the variation score value V1 of the file place catalogue of this modification;
Step 304 judges that whether this V1 is greater than 0; In this way, execution in step 305 then; Otherwise, process ends;
Step 305 according to the file type of the file of this modification, obtains the variation score value V2 of this document corresponding file type;
Step 306 is determined the file modifying frequency of this modification, and obtains variation score value V3 file, the file modification frequency attribute of this modification; Exemplarily, according to default file modification frequency and the corresponding relation between the file importance, determine the importance of this document, and and then according to default file importance and variation score value to the file system variable effect, obtain the variation score value V3 of file aspect the file modification frequency of this modification;
Step 307, with the V1 of above-mentioned acquisition, V2 and V3 addition, variation score value after the addition and that be this document.
In specific implementation, the order between the step of aforementioned calculation V2 and V3 can be changed.In this example, exemplary but not as restrictedly, with the frequency of the residing catalogue of file, file type and file modification as the system change parameter that influence the file system variation.
Illustrate the computation process that subsystem changes the whole corresponding intensity of variation value of the calculating of corresponding intensity of variation value and computer operating system below.
One, the calculating of file system intensity of variation value
The variation of file system is caused by file change usually, in this example, the system object that sets in advance in the file system is a file, and be provided with, in this example with the type of the residing catalogue of file, file as influencing the object properties that intensity of variation calculates, wherein, with changing score value 0,1,2,3 respectively the importance of indicated object attribute be: " ignore, " low ", " in ", " height ":
1) c: patents the importance of catalogue be high, corresponding variation score value is 3;
2) file-level of * .doc suffix is high, and corresponding variation score value is 3;
3) during the file-level of * .cpp suffix was, corresponding variation score value was 2.
Suppose after having carried out certain operation at machine, after outlet (Out of Box) or backup, the user c: patents have three files that variation test1.cpp, test2.doc have taken place under the catalogue, test3.cpp, the intensity of variation value of so current file system may be calculated:
File system changes corresponding intensity of variation value=calfile (c: patents test1.cpp)+calfile (c: patents test2.doc)+calfile (c: patents test3.cpp); Wherein, the variation score value of calfile (c: patents test1.cpp) representative system object test1.cpp file; The variation score value of calfile (c: patents test2.doc) representative system object test2.doc file; Calfile (c: patents test3.cpp); The variation score value of representative system object test3.cpp file; According to the aforementioned calculation method, obtain the intensity of variation value of the file system that these variations cause=(3+2)+(3+3)+(3+2)=16 easily.Exemplarily, also can obtain after the weighting coefficient weighting of variation score value with above-mentioned three file correspondences by correspondence.
Exemplarily, provide the pseudo-code example of the calculating process of calfile (c: patents test1.cpp)=(3+2) below:
Figure B2009102383318D0000131
The importance of the object properties of // " patents " catalogue is high, and corresponding variation score value is 3, and monitor_folder_set.get (" c: patents test1.cpp ") result is 3;
Figure B2009102383318D0000141
In this example, exemplarily but not as restriction, the variation of file has caused the change system of file system, obtains the intensity of variation value of file system by the variation score value of calculation document.But in other embodiments of the invention, the variation of file system can also be to be changed by other system object that the variation of file type, the variation of file directory, the variation of disk partition etc. belong to file system to cause; The variation of above-mentioned file directory comprises: the establishment of file directory, modification, deletion etc.For this situation,, when the intensity of variation value of calculation document system, need to consider the variation score value of the above-mentioned system object that changes according to user's setting.
In like manner, can calculate the intensity of variation value of other each subsystem, as the intensity of variation value of subsystems such as program installation, Registry Modifications and system user account, and and then calculate the intensity of variation value F (A of computer operating system integral body by following formula, B, C, D...X):
F(A,B,C,D...X)=F1(A)*α+F2(B)*β+F3(C)*γ+F4(D)*ε+Fn(X)*x。
Two, program is installed the calculating of the intensity of variation value of subsystem B:
Give in advance the installation of the various programs in the system or more redetermination change score value, as:
1) system update/hot patch (update/hotfix): changing score value is 3, and it is the highest to change score value;
2) device drives: changing score value is 2;
3) the important program of user installation, such as antivirus software, office software: changing score value is 1;
4) the still unessential software of user installation: such as the google spelling input method, changing score value is 0;
For the sake of simplicity, in this embodiment, only consider the installation/unloading of program, do not consider whether the user did change to these programs and wait other situation.In other embodiments of the invention, the user also can select will be to the change of these programs as the system change parameter of considering.
In this example, suppose that the user has installed following program or hot patch on machine:
A) hot patch: Microsoft Windows update KB974332
B) Windows driver: Windows driver installer-AuthentecInc. (ATSwpWDF) Biometric
C) the promise network security software that pauses: Norton Internet Security
D) Google's phonetic: Google Pinyin input
According to top predefined variation score value, the program that draws is installed the intensity of variation value of subsystem and is: 3+2+1+0=6.
Three, the calculating of the intensity of variation value of registration table subsystem C:
In this example, utilize the algorithm calfile (catalogue) of the system change degree that the aforementioned calculation file modification causes to calculate the intensity of variation value of registration table.Particularly, different variation score values is set in advance the different directories in the registration table:
HKEY_LOCAL_MACHINE: changing score value is 3;
HKEY_USERS: changing score value is 2;
HKEY_CLASSES_ROOT: changing score value is 1;
HKEY_CURRENT_CONFIG: changing score value is 0.
For the sake of simplicity, the factor of not considering other in this example the inside such as: revise the type (string, dword etc.) of frequency, key assignments etc.
In this example, suppose that variation has taken place the following keys in the registration table:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
HKEY_LOCAL_MACHINE\SYSTEM\Setup
HKEY_USERS\S-1-5-21-1189779346-2590151778-3407895205-1000\Network
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers
HKEY_CURRENT_CONFIG\Software\Fonts
According to the above-mentioned variation score value that sets in advance, the intensity of variation value that draws the registration table subsystem is: 3+3+2+1+0=9
Four, the calculating of the intensity of variation value of system user account subsystem D
In this example, exemplarily, in advance following account's change events is set corresponding variation score value:
A) create a new keeper administrator account: changing score value is 3;
B) create the new common user of a domestic consumer account: changing score value is 2;
C) information of modification keeper administrator account, such as password, head portrait icon etc.: changing score value is 1;
D) information of a common user of domestic consumer of modification, such as password, head portrait icon etc.: changing score value is 0.
In this example, suppose that following incident has taken place the computing system account information:
1) created Admin Account a: CSS;
2) modification of Admin Account CSS the password of oneself;
3) account of domestic consumer tester has revised the head portrait icon of oneself;
In so should example, the value of the intensity of variation of systematic account information change subsystem be: 3+3+0=6.
Five, according to above-mentioned A, B, C, the system change that four subsystems of D cause, to the calculating of the intensity of variation value of computer operating system overall variation correspondence:
F(A,B,C,D...X)=F1(A)*α+F2(B)*β+F3(C)*γ+F4(D)*ε
Wherein, according to above-mentioned four subsystems the degree of influence that system's total system changes is preestablished factor alpha, beta, gamma, ε are given such numerical value: 0.4,0.3,0.2,0.1, wherein, alpha+beta+γ+ε=1.
In this example, above-mentioned variation then takes place after, the intensity of variation value of whole computer operating system is:
F(A,B,C,D...X)=16*0.4+6*0.3+9*0.2+6*0.1=10.6。
In embodiments of the present invention, can set in advance an initial change degree value, monitoring when changing, calculate the intensity of variation value that current variation causes, this the intensity of variation value that calculates of adding up obtains current intensity of variation value, when the intensity of variation value after adding up reaches predetermined first change threshold, triggers backup, and after triggering backup, deduct this first change threshold; Continue the variation in the supervisory system.In this example, the initial value of supposing operating system intensity of variation value is 0, intensity of variation value=the 0+10.6=10.6 of current entire system then, as first change threshold that sets in advance is 10, then need to trigger backup this moment, and after backup, deduct 10, and deducting adding up of the back continuation follow-up intensity of variation value of participation.
In the foregoing description, also can only consider after some or several subsystems reach predetermined variance threshold the trigger data backup; For example, after the intensity of variation value of only considering file system reaches predetermined change threshold, the trigger data backup.
In the foregoing description, after the intensity of variation value that also can only consider the operating system that obtains after being weighted according to wherein selected several subsystems reached predetermined variance threshold, trigger data backed up.
In this example, the corresponding attribute of the subsystem of selection, the system object in the subsystem, system object, the weighting coefficient of subsystem correspondence all is exemplarily when computing machine overall variation degree, all can change in other embodiments of the invention.
After determining the intensity of variation value of computer operating system,, when this intensity of variation value reaches this change threshold, trigger the backup of data in the computer system by this intensity of variation value is compared with predefined change threshold.Wherein, this change threshold can be preestablished by the user.System can provide a default value.
In the specific implementation, also a plurality of change thresholds can be set, as first change threshold, second change threshold, first change threshold is less than second change threshold.When the system change degree value of determining: when being positioned at the scope of 0 to first change threshold, the system that can judge belongs to rudimentary intensity of variation; When being positioned at the scope of first change threshold to the second change threshold, the system that can judge belongs to intermediate intensity of variation; When surpassing second change threshold, the system that can judge belongs to senior intensity of variation, and bigger variation has taken place in system.Can when reaching intermediate change degree and/or senior intensity of variation, system change trigger backup; As point out user ID or automated back-up.
In the specific implementation, can offer the specific setting interface of user, the user can be provided on this specific interface that provides by the setting of coefficient of change threshold, system object, system object grouping, subsystem, subsystem correspondence etc.
After calculating the intensity of variation value of computer system integral body, remove a Rule of judgment that utilizes its conduct whether to back up; Can also utilize this intensity of variation value, offer other application program that need know the file system variation as the reference data, this reference data can be in order to point out the user.
In another embodiment of the present invention, can only consider the variation score value of a certain system object that changes, whether reach predetermined threshold value according to the variation score value of this system object and determine whether to trigger backup.For example, in computer system, whether the variation score value of only examining or check predetermined file reaches predetermined change threshold.Illustrate, the attribute that preestablishes file is: under the size of file type, file, file during the variation pattern of catalogue, file,
The variation score value F (file) of file=F1 (file class) * weighting coefficient 1+F2 (size of file) * weighting coefficient 2+F3 (importance of file place catalogue) * weighting coefficient 3+F4 (variation pattern of file) * weighting coefficient 4.
Among this embodiment, promptly directly with the score value of a certain system object intensity of variation value as system.
The variation pattern of above-mentioned file comprises: new files changes file etc.
The attribute of above-mentioned file can be by learning in the filtration drive on file system upper strata.
One of ordinary skill in the art will appreciate that, realize that all or part of step in the method for the above-mentioned fact is to instruct relevant hardware to finish by program, described program can be stored in the storage medium that a computing machine be can read, this program is when carrying out, comprise the steps: to obtain the variation score value of above-mentioned at least one system object correspondence when monitoring at least one system object when changing; According to the variation score value of each above-mentioned at least one system object correspondence, calculate the intensity of variation value of first system; Whether the intensity of variation value of judging first system reaches the first predetermined change threshold, produces a judged result; When described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold, back up first system.Described storage medium is as ROM/RAM, disk, CD etc.
Fig. 4 is the structural representation of device of the realization backup of the embodiment of the invention.As Fig. 4, the device of this embodiment can move first system, first system comprises at least one system object, this device comprises: first processing module 401 is used for obtaining the variation score value of described at least one system object correspondence when monitoring described at least one system object when changing; Second processing module 402 is used for the variation score value according to each described at least one system object correspondence, calculates the intensity of variation value of described first system; Judge module 403 is used to judge whether the intensity of variation value of described first system reaches the first predetermined change threshold, produces a judged result; Backup trigger module 404 is used for backing up described first system when described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold.
Preferably, in the described device, described second processing module comprises: first summation module is used for the variation score value addition of each described at least one system object correspondence is obtained the intensity of variation value of described first system.
Preferably, in the described device, described second processing module comprises:
The 3rd processing module is used for according to the variation score value of each described at least one first system object correspondence, calculating the intensity of variation value of described first subsystem when at least one first system object of described at least one system object belongs to first subsystem;
Manages module everywhere, when at least one second system object in described at least one system object belongs to second subsystem, according to the variation score value of each described at least one second system object correspondence, calculates the intensity of variation value of described second subsystem;
The 5th processing module is used for intensity of variation value and described first subsystem and described second subsystem weighting coefficient separately of the intensity of variation value according to described first subsystem, described second subsystem, obtains the intensity of variation value of described first system.
Preferably, described device, wherein, each described at least one system object comprises: at least one object properties; Described first processing module comprises: the 6th processing module, be used for the variation score value of the object properties correspondence that comprises according to described each described at least one system object, and calculate the variation score value of each described system object that changes.
Preferably, the device of above-mentioned realization backup is a computing machine.
On the other hand, a kind of computing machine is provided, can move first system, this first system comprises at least one system object, wherein, this computing machine comprises: first processing module is used for obtaining the variation score value of described at least one system object correspondence when monitoring described at least one system object when changing; Second processing module is used for the variation score value according to each described at least one system object correspondence, calculates the intensity of variation value of described first system; Judge module is used to judge whether the intensity of variation value of described first system reaches the first predetermined change threshold, produces a judged result; The backup trigger module is used for backing up described first system when described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the described principle of the embodiment of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. a backup method is applied in first system, and described first system comprises at least one system object, it is characterized in that, comprising:
When monitoring described at least one system object when changing, obtain the variation score value of described at least one system object correspondence;
According to the variation score value of each described at least one system object correspondence, calculate the intensity of variation value of described first system;
Whether the intensity of variation value of judging described first system reaches the first predetermined change threshold, produces a judged result;
When described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold, back up described first system.
2. backup method according to claim 1 is characterized in that, the intensity of variation value of first system of described at least one the system object correspondence of described calculating is specially:
The variation score value addition of each described at least one system object correspondence is obtained the intensity of variation value of described first system.
3. backup method according to claim 1 is characterized in that, the intensity of variation value of first system of described at least one the system object correspondence of described calculating comprises:
When at least one first system object in described at least one system object belongs to first subsystem,, calculate the intensity of variation value of described first subsystem according to the variation score value of each described at least one first system object correspondence;
When at least one second system object in described at least one system object belongs to second subsystem,, calculate the intensity of variation value of described second subsystem according to the variation score value of each described at least one second system object correspondence;
According to intensity of variation value and described first subsystem and described second subsystem weighting coefficient separately of the intensity of variation value of described first subsystem, described second subsystem, obtain the intensity of variation value of described first system.
4. backup method according to claim 1 is characterized in that, the variation score value of described at least one system object correspondence is preestablished by system or user; Or, set according to the variable quantity of described at least one system object and/or the type of variation by system.
5. backup method according to claim 1 is characterized in that, each described at least one system object comprises: at least one object properties;
The variation score value of described at least one the system object correspondence of described acquisition comprises:
The variation score value of the object properties correspondence that comprises according to described each described at least one system object calculates the variation score value of each described system object that changes.
6. backup method according to claim 5 is characterized in that, the variation score value of each described system object that changes of described calculating is specially:
The variation score value addition of described at least one object properties correspondence that each described system object is comprised obtains the variation score value of each described system object.
7. device of realizing backing up, first system that can move, described first system comprises at least one system object, it is characterized in that, comprising:
First processing module is used for obtaining the variation score value of described at least one system object correspondence when monitoring described at least one system object when changing;
Second processing module is used for the variation score value according to each described at least one system object correspondence, calculates the intensity of variation value of described first system;
Judge module is used to judge whether the intensity of variation value of described first system reaches the first predetermined change threshold, produces a judged result;
The backup trigger module is used for backing up described first system when described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold.
8. device according to claim 7 is characterized in that, described second processing module comprises:
First summation module is used for the variation score value addition of each described at least one system object correspondence is obtained the intensity of variation value of described first system.
9. device according to claim 7 is characterized in that, described second processing module comprises:
The 3rd processing module is used for according to the variation score value of each described at least one first system object correspondence, calculating the intensity of variation value of described first subsystem when at least one first system object of described at least one system object belongs to first subsystem;
Manages module everywhere, when at least one second system object in described at least one system object belongs to second subsystem, according to the variation score value of each described at least one second system object correspondence, calculates the intensity of variation value of described second subsystem;
The 5th processing module is used for intensity of variation value and described first subsystem and described second subsystem weighting coefficient separately of the intensity of variation value according to described first subsystem, described second subsystem, obtains the intensity of variation value of described first system.
10. device according to claim 7 is characterized in that, each described at least one system object comprises: at least one object properties;
Described first processing module comprises:
The 6th processing module is used for the variation score value of the object properties correspondence that comprises according to described each described at least one system object, calculates the variation score value of each described system object that changes.
11. a computing machine can move first system, described first system comprises at least one system object, it is characterized in that, comprising:
First processing module is used for obtaining the variation score value of described at least one system object correspondence when monitoring described at least one system object when changing;
Second processing module is used for the variation score value according to each described at least one system object correspondence, calculates the intensity of variation value of described first system;
Judge module is used to judge whether the intensity of variation value of described first system reaches the first predetermined change threshold, produces a judged result;
The backup trigger module is used for backing up described first system when described judged result represents that the intensity of variation value of described first system reaches predetermined first change threshold.
CN2009102383318A 2009-11-24 2009-11-24 Backup method, device for backing up and computer Pending CN102073555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102383318A CN102073555A (en) 2009-11-24 2009-11-24 Backup method, device for backing up and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102383318A CN102073555A (en) 2009-11-24 2009-11-24 Backup method, device for backing up and computer

Publications (1)

Publication Number Publication Date
CN102073555A true CN102073555A (en) 2011-05-25

Family

ID=44032101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102383318A Pending CN102073555A (en) 2009-11-24 2009-11-24 Backup method, device for backing up and computer

Country Status (1)

Country Link
CN (1) CN102073555A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294005A (en) * 2016-07-27 2017-01-04 浙江大华技术股份有限公司 A kind of method and system of backup image
CN106708663A (en) * 2016-12-16 2017-05-24 郑州云海信息技术有限公司 Automatic backup method and device of database
CN111046052A (en) * 2019-11-11 2020-04-21 支付宝(杭州)信息技术有限公司 Method, device and equipment for storing operation records in database

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294005A (en) * 2016-07-27 2017-01-04 浙江大华技术股份有限公司 A kind of method and system of backup image
CN106708663A (en) * 2016-12-16 2017-05-24 郑州云海信息技术有限公司 Automatic backup method and device of database
CN111046052A (en) * 2019-11-11 2020-04-21 支付宝(杭州)信息技术有限公司 Method, device and equipment for storing operation records in database

Similar Documents

Publication Publication Date Title
JP5007046B2 (en) Maintaining component-based software products
US8584115B2 (en) Automated operating system device driver updating system
US8364639B1 (en) Method and system for creation, analysis and navigation of virtual snapshots
US7831412B1 (en) Systems and methods for providing guidance by category on the potential impact of an application on the health of a computing system
JP5065295B2 (en) Method, system, and computer-readable medium for sharing files between different virtual machine images
US8832028B2 (en) Database cloning
CN102216905B (en) Method and system for creating application restore point for application operated in computer system
US7966278B1 (en) Method for determining the health impact of an application based on information obtained from like-profiled computing systems using clustering
US8898116B2 (en) Partitioning management of system resources across multiple users
KR101760778B1 (en) Computer system and method for updating program therein
US20040243997A1 (en) Method, system, and program for installing program components on a computer
US6223345B1 (en) System and method for building client and server application packages
CN102193817B (en) Simplify the management of physics and virtual deployment
US20060200639A1 (en) System and method for computer backup and recovery using incremental file-based updates applied to an image of a storage device
US20130290949A1 (en) System reset
JP2010205267A (en) Method and system for unifying virtualized sublayers
WO2005078603A1 (en) Method of converting a filesystem while the filesystem remains in an active state
CN101960442B (en) Method and apparatus for inputting/outputting data using virtualization technique
US20100031251A1 (en) Method and apparatus of software migration
CA2793868A1 (en) Method and system for managing power consumption of a computing device
WO2006023274A2 (en) System and method for configuring computer for operation
CN101996109A (en) Computer system, control method thereof and recording medium storing computer program thereof
CN102073555A (en) Backup method, device for backing up and computer
CN101031879A (en) Method for installing a software program on a computer
AU2019371545A1 (en) Management system, acquisition device and management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110525