CN101739311A - Method and device for carrying out safety backup on memory data - Google Patents

Method and device for carrying out safety backup on memory data Download PDF

Info

Publication number
CN101739311A
CN101739311A CN200910201491A CN200910201491A CN101739311A CN 101739311 A CN101739311 A CN 101739311A CN 200910201491 A CN200910201491 A CN 200910201491A CN 200910201491 A CN200910201491 A CN 200910201491A CN 101739311 A CN101739311 A CN 101739311A
Authority
CN
China
Prior art keywords
internal storage
storage data
application program
supplementary
essential information
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
CN200910201491A
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.)
Shanghai Eisoo Software Co Ltd
Original Assignee
Shanghai Eisoo Software Co 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 Shanghai Eisoo Software Co Ltd filed Critical Shanghai Eisoo Software Co Ltd
Priority to CN200910201491A priority Critical patent/CN101739311A/en
Publication of CN101739311A publication Critical patent/CN101739311A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for carrying out the safety backup on memory data, comprising the following steps of: acquiring the memory data of an initiated application program as well as basic information and auxiliary information of the memory data; caching the acquired memory data of the application program as well as the basic information and the auxiliary information of the memory data into a cache unit; judging whether the basic information and the auxiliary information of the memory data cached by the cache unit are both not changed or not, and if yes, not carrying out the backup on the cached memory data; if not, further judging whether the backed-up memory data contains data which is same as the basic information and the auxiliary information of the memory data or not, if yes, not carrying out the backup on the cached memory data, and if not, carrying out the backup on the memory data cached in the caching unit. The invention also provides a device for carrying out the safety backup on the memory data. By adopting the method and the device, the invention can carry out the safety backup on the memory data which is not stored into a disk on the premise of not influencing the normal operation of a system.

Description

A kind of method of carrying out safety backup on memory data and device
Technical field
The present invention relates to the data backup technology, particularly a kind of method of carrying out safety backup on memory data and device.
Background technology
Data backup and recovery have become a kind of data protection measure that enterprises and institutions generally adopt; after backuping in the standby system by the data of storing on the disk of backup method with data source; after data source various mistakes occur and causes its loss of data, the data in the standby system can be returned to data source and continue to use for data source.
Present data backup and restoration methods only can be protected the data that are stored in the disk; then have no idea to protect for the data that in internal memory, are not stored to as yet in the disk; this will cause the data that need in the internal memory to preserve to lose easily, and the user is caused damage.When editor's data not being carried out initiatively preserving such as: user, the data that the user edit have been stored in the internal memory but have not been stored in as yet on the disk, if user side cuts off the power supply at this moment, then can cause to be stored in the loss of data that the user in the internal memory edits.At present can't to internal storage data protect mainly be since data source work in the internal storage data that can't directly read application program under the protected mode.Existing data source is server or client; The mode of operation of server or client comprises real pattern and protected mode; Server or client run on real pattern when starting, switch to the protected mode operation afterwards.Server or client run on real pattern following time; directly may make amendment to system program in the internal memory or user program during the access memory data; cause the systemic breakdown or the infringement of server or client; therefore; server or client switch to protected mode from real pattern immediately after startup; preventing the direct visit of internal deposit data, and then system program or user program in the protection internal memory.Because behind server or the client terminal start-up, application program all operates under the protected mode, this just causes the directly internal storage data of access application; And the internal storage data of mandatory access application tends to influence the stable operation of application program.Therefore, owing to the restriction of the mode of operation of server or client is difficult to realize carrying out safety backup to internal storage data.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method of carrying out safety backup on memory data, this method can be carried out carrying out safety backup to the internal storage data that is not saved to disk under the prerequisite that does not influence the normal operation of system.
Another object of the present invention is to provide a kind of device of carrying out safety backup on memory data, this device can carry out carrying out safety backup to the internal storage data that is not saved to disk under the prerequisite that does not influence the normal operation of system.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of method of carrying out safety backup on memory data, this method comprises:
Obtain the internal storage data of application program started, the essential information and the supplementary of internal storage data;
With the essential information of the internal storage data of the application program obtained, internal storage data and supplementary buffer memory to buffer unit;
Whether essential information and the supplementary of judging the internal storage data of buffer unit buffer memory all do not change, if then do not back up this internal storage data of buffer memory; Otherwise, further whether comprise essential information and all identical data of supplementary in the internal storage data that judgement has been backed up with the internal storage data of this buffer memory, if then do not back up the internal storage data of this buffer memory, otherwise this internal storage data of buffer memory in the buffer unit is backed up.
In the said method, the essential information of described internal storage data is the title and the attribute of internal storage data; The supplementary of described internal storage data is the size and the modification time of internal storage data.
Preferably, this method further comprises: judge whether described application program closes, be cached in the internal storage data of this application program in the described buffer unit, the essential information and the supplementary of internal storage data if then remove.
In the said method, the essential information of the described internal storage data that obtains application program started, internal storage data and supplementary are in real time or periodically carry out;
Whether the essential information of the described internal storage data of judging the buffer unit buffer memory and supplementary are not all changed in real time or are periodically carried out.
In the said method, described periodicity is obtained the internal storage data of application program started, the essential information and the supplementary of internal storage data comprises: set in advance described internal storage data, the essential information of internal storage data and obtaining the cycle of supplementary of obtaining application program, and the internal storage data that periodically obtains application program by this cycle of obtaining, the essential information and the supplementary of internal storage data;
Described periodicity is judged whether the essential information of internal storage data of buffer unit buffer memory and supplementary all change and is comprised: set in advance the essential information of the described internal storage data of judging the buffer unit buffer memory and supplementary all unaltered judgement cycle whether, and judge that by this cycle judges periodically whether the essential information and the supplementary of the internal storage data of buffer unit buffer memory all change.
In the said method, whether all unaltered judgement cycle equals described internal storage data, the essential information of internal storage data and obtaining the cycle of supplementary of obtaining application program for the essential information of the described internal storage data of judging the buffer unit buffer memory and supplementary.
In the said method, whether the essential information of the described internal storage data of judging the buffer unit buffer memory in real time and supplementary all do not change into the method that adopts file filter.
A kind of device of carrying out safety backup on memory data, this device comprises:
The internal storage data acquiring unit obtains the internal storage data of application program started, the essential information and the supplementary of internal storage data, exports the internal storage data of the application program obtained, the essential information and the supplementary of internal storage data to buffer unit; Behind closing application program, remove the internal storage data of this application program of buffer memory in the buffer unit, the essential information and the supplementary of internal storage data;
Buffer unit, the internal storage data of this application program of buffer memory internal storage data acquiring unit output, the essential information and the supplementary of internal storage data;
The backup scheduling unit judges whether the essential information of the internal storage data of this application program of buffer memory in the buffer unit and supplementary all do not change, if then do not back up the internal storage data of this application program of buffer memory; Otherwise, further judge the essential information and all identical data of supplementary that whether comprise in the internal storage data that has backed up of storage unit with the internal storage data of this application program of buffer memory, if then do not back up the internal storage data of this application program, otherwise export the internal storage data of this application program of buffer memory in the buffer unit, the essential information and the supplementary of internal storage data to Storage unit backups.
In the said apparatus, described buffer unit is the storage medium that comprises hard disk, system buffer dish or flash disk;
Described storage unit is the storage medium that comprises disk or flash disk.
In the said apparatus, described internal storage data acquiring unit obtains plug set by internal storage data and is formed in each application program that needs the archive memory data, obtains the internal storage data of application program started, the essential information and the supplementary of internal storage data.
As seen from the above technical solutions, in the method for archive memory data provided by the invention and the device, the internal storage data acquiring unit with the essential information of the internal storage data of the application program started obtained, internal storage data and supplementary buffer memory to buffer unit; When the essential information of the internal storage data of this application program of backup scheduling unit judgement buffer memory or supplementary change, further judge whether to back up the internal storage data of this application program of buffer memory, if then directly from buffer unit, read the essential information and the supplementary of internal storage data, internal storage data, avoided directly from internal memory, reading the internal storage data of this application program, may revise the mistake of system program in the internal memory or user program when also just having avoided directly from internal memory, reading this application's data.Adopt method disclosed by the invention and device, under the prerequisite of the normal operation of the system that do not influence, internal storage data that can application programs carries out carrying out safety backup.
Description of drawings
Fig. 1 is the method flow diagram of carrying out safety backup on memory data of the present invention.
Fig. 2 is the structural representation of the device of carrying out safety backup on memory data of the present invention.
Fig. 3 is the process flow diagram of an embodiment of carrying out safety backup on memory data method of the present invention.
Embodiment
For make purpose of the present invention, technical scheme, and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
The invention provides a kind of method of carrying out safety backup on memory data, this method comprises: obtain the internal storage data of application program started, and the interior poke of this application program of obtaining is carried out buffer memory; After the internal storage data of this application program of judging buffer memory changes, judge the essential information and all identical data of supplementary that whether comprise in the internal storage data backed up with the internal storage data of this application program of buffer memory, just after the internal storage data of this application program of judging buffer memory changes, judge the title that whether comprises in the internal storage data backed up with the internal storage data of this application program of buffer memory, attribute, the data that size is all identical with modification time, if then do not back up the internal storage data of this application program of buffer memory, otherwise, the internal storage data of this application program of buffer memory is backed up; Afterwards, whether need the application program of archive memory data close, when this application program is not closed, continue to obtain the internal storage data of this application program if further judging; Behind this closing application program, remove the internal storage data and the end of buffer memory.
The invention provides a kind of device of carrying out safety backup on memory data, be used for the internal storage data of the application program of data source is backed up, the internal storage data acquiring unit obtains the internal storage data of application program started, the essential information and the supplementary of internal storage data, the essential information of the internal storage data of this application program of obtaining, internal storage data and supplementary is buffered to buffer unit preserves; The backup scheduling unit is when the essential information of the internal storage data of this application program of judging the buffer unit buffer memory or supplementary change, further judge whether the internal storage data that has backed up in the storage unit comprises essential information and all identical data of supplementary with the internal storage data of this application program of buffer unit buffer memory, if, then the internal storage data of this application program of buffer unit buffer memory is not backed up, otherwise, the internal storage data of this application program of buffer unit buffer memory, the essential information and the supplementary of internal storage data are backed up in storage unit.
Fig. 1 is the method flow diagram of carrying out safety backup on memory data of the present invention.Now in conjunction with Fig. 1, the method for carrying out safety backup on memory data of the present invention is described, specific as follows:
For sake of clarity, only the carrying out safety backup method of the internal storage data of certain application program is described below.
The internal storage data of application program has essential information and supplementary, and its essential information is the information of its essential characteristic of expression, such as: title, attribute etc., its supplementary is its characteristic information that can change of expression, such as: size, modification time etc.In the present embodiment, only comprise that with essential information title and attribute, supplementary are that the carrying out safety backup method of the internal storage data of size and modification time describes.
Step 101: the internal storage data that periodically obtains application program;
Before this step, further comprise: set in advance internal storage data and obtain the cycle.
This step is obtained the cycle for behind the application program launching that needs the archive memory data according to default internal storage data, periodically obtains the internal storage data of this application program, the essential information and the supplementary of internal storage data.
Can utilize existing internal memory data acquiring method to obtain the internal storage data of application program; Particularly, can edit plug-in unit with development function, plug-in component operation behind the editor in the application program of needs backup, is utilized the internal storage data of the plug-in unit access application after editing, and then obtains the internal storage data of this application program, the essential information and the supplementary of internal storage data; Provide a cover Addin developing plug function such as: Microsoft Office, can develop the Addin plug-in unit, the Addin plug-in component operation of exploitation in the process of Microsoft Office, is obtained the internal storage data after Microsoft Office starts by VSTO.
Step 102: the internal storage data of buffer memory application program;
The internal storage data of the application program started that buffer memory step 101 is obtained, the essential information of internal storage data and supplementary.The internal storage data of application program can be cached in the storage mediums such as hard disk, system buffer dish and flash disk of various interface type.
This step is carried out buffer memory to the internal storage data of the application program started that step 101 is obtained, mainly avoided subsequent step directly the internal storage data of this application program to be conducted interviews, also just avoided maloperation, can obtain internal storage data safely system program in the internal memory or user program.
Step 103: judge whether the essential information of internal storage data of buffer memory and supplementary all change, if execution in step 106 then, otherwise execution in step 104;
By to the essential information of the internal storage data of this application program of buffer memory and the real-time monitoring of supplementary, but whether the essential information of the internal storage data of real-time judge buffer memory and supplementary all change.Can adopt existing file filter method that the essential information and the supplementary of the internal storage data of this application program of buffer memory are monitored in real time.
Judge that the method whether internal storage data of buffer memory changes can be this area file filter method commonly used, does not repeat them here.
Step 104: judge the essential information and all identical data of supplementary that whether have in the internal storage data backed up with the internal storage data of buffer memory, if execution in step 106 then, otherwise execution in step 105;
This step is judged the essential information data identical with supplementary that whether have in the internal storage data backed up with the internal storage data of this application program of buffer memory, whether comprises essential information and all identical data message of supplementary with the internal storage data of buffer memory in the essential information of just judging the internal storage data that has backed up and the supplementary; Be specially: at first, obtain the internal storage data of this application program of buffer memory, the essential information and the supplementary of internal storage data; Secondly, obtain the essential information and the supplementary of the internal storage data that has backed up; At last, whether comprise essential information and all identical data message of supplementary in the essential information of judging the internal storage data backed up and the supplementary with the internal storage data of this application program of buffer memory, if, then do not back up the internal storage data of this application program of buffer memory, execution in step 106, otherwise, execution in step 105.
Step 105: the internal storage data to buffer memory backs up, and execution in step 106 afterwards;
The internal storage data of buffer memory backed up just the internal storage data of this application program of buffer memory, the essential information and the supplementary of internal storage data are backed up in the storage unit.The storage unit here can be the storage medium that hard disk, disk etc. are used for the internal storage data of backup application.
Step 106: judge whether application program closes, if execution in step 107, otherwise execution in step 101;
Whether need the application program of archive memory data close, if close then execution in step 107, if do not close then execution in step 101 if judging.
Step 107: the internal storage data of removing buffer memory;
Need to determine under the buttoned-up situation of application program of archive memory data in judgement, remove the internal storage data of this application program of buffer memory.
Step 108: finish.
In the above embodiment of the present invention, after the internal storage data of this application program of judging buffer memory changes, judge further whether the internal storage data of this application program that changes backs up.Can judge the cycle judges periodically whether the essential information and the supplementary of internal storage data of the application program of buffer memory all changes according to default in the another embodiment of the present invention, just the step 103 in embodiment illustrated in fig. 1 be become according to default and judge that whether all the cycle periodically judge the change of the essential information of internal storage data of application program of buffer memory and supplementary.Default judge that the cycle judges whether the essential information and the supplementary of internal storage data of the application program of buffer memory changes, and then for the internal storage data that guarantees application programs efficiently backs up, the judgement cycle can equal obtaining the cycle of internal storage data if adopt; The cycle of obtaining of internal storage data also can be greater than the judgement cycle, but just may there be the identical situation of repeatedly judging of internal storage data in this, has influenced the efficient of data backup; The cycle of obtaining also can be less than the judgement cycle, whether it is not changed but this just may exist the internal storage data that repeatedly obtains all to carry out buffer memory always and to judge, if do not had the situation that storage space carries out buffer memory when taking place also to carry out RAM date backup, then may cause the losing of internal storage data of application program.
Fig. 2 is the structural representation of the device of carrying out safety backup on memory data of the present invention.Now in conjunction with Fig. 2, the structure of the device of carrying out safety backup on memory data of the present invention is described, specific as follows:
The device of archive memory data of the present invention comprises: internal storage data acquiring unit 201, buffer unit 202, backup scheduling unit 203 and storage unit 204.
Wherein, internal storage data acquiring unit 201 can be integrated in the application program that needs the archive memory data in the data source, internal storage data acquiring unit 201 with need the integrated approach of the application program of archive memory data can adopt existing integrated approach, do not repeat them here.Buffer unit 202 can be arranged in data source, also can be arranged in the memory device that is connected with data source.
The internal storage data of application program has essential information and supplementary, and its essential information is the information of its essential characteristic of expression, such as: title, attribute etc., its supplementary is its characteristic information that can change of expression, such as: size, modification time etc.In the present embodiment, only comprise that with essential information title and attribute, supplementary are that the carrying out safety backup of the internal storage data of size describes.
Internal storage data acquiring unit 201 can be provided with internal storage data and obtain the cycle.Internal storage data acquiring unit 201 is behind the application program launching that needs the archive memory data, can obtain the internal storage data of this application program, the essential information and the supplementary of internal storage data according to the internal storage data cycle of setting of obtaining, also can obtain the internal storage data of this application program, the essential information and the supplementary of internal storage data in real time; Internal storage data acquiring unit 201 is cached in buffer unit 202 with the internal storage data of the application program obtained, the essential information and the supplementary of internal storage data; Internal storage data acquiring unit 201 is removed the internal storage data of buffer unit 202 buffer memorys, the essential information and the supplementary of internal storage data when needing the closing application program of archive memory data.Internal storage data acquiring unit 201 can utilize existing internal storage data to obtain plug-in unit, by with the integrated internal storage data that obtains this application program of application program.
Buffer unit 202 is used for the essential information and the supplementary of the internal storage data and the internal storage data of buffer memory application program.Buffer unit 202 can be hard disk, system buffer dish or the flash disk etc. of various interface type.If the internal storage data of application program is cached in the internal memory, follow-up judging whether is equivalent to directly read internal storage data to the process that internal storage data backs up from internal memory, can exist existing because of forcing to read the system program that internal storage data causes or the modification of user program, in the follow-up process that reads internal storage data, may make amendment to system program in the internal memory or user program, influence the stable operation of application program, be difficult to realize carrying out safety backup internal storage data.Utilize 202 pairs of internal storage datas that obtain of buffer unit to carry out buffer memory, mainly be to avoid follow-up judging whether that internal storage data is carried out directly reading in the backup procedure internal storage data, also just avoided modification that the system program in the internal memory or user program are carried out, improved the stable operation of application program, helped the carrying out safety backup of follow-up realization internal storage data.
Whether the essential information and the supplementary of the internal storage data of backup scheduling unit 203 real-time judge buffer units 202 buffer memorys all do not change, after the essential information of the internal storage data of determining buffer memory or supplementary change, from buffer unit 202, read internal storage data, the essential information of internal storage data and supplementary, from storage unit 204, read the essential information and the supplementary of the internal storage data that has backed up, judge the essential information and all identical data of supplementary that whether comprise in the backed up data with internal storage data, if, then do not back up the internal storage data of storage in the buffer unit 202, otherwise, export the internal storage data that reads to storage unit 204 and preserve; Backup scheduling unit 203 does not back up the internal storage data of buffer memory in the buffer unit 202 after the essential information of the internal storage data of determining buffer memory and supplementary all change.Backup scheduling unit 203 can utilize existing file filter system (IFS) or file system micro-filter (Minifilter) to monitor buffer unit 202 in real time, when judgement has new internal storage data to be buffered in the buffer unit 202, further whether comprise essential information and all identical data of supplementary in the internal storage data that judgement has been backed up with the internal storage data of the application program of buffer memory.Back up scheduling unit 203 when the internal storage data of buffer unit 202 buffer memorys is deleted, the backup of the internal storage data of end application.
The internal storage data of 204 pairs of backups of storage unit scheduling unit, 203 outputs, the essential information and the supplementary of internal storage data back up.Storage unit 204 can be the storage medium that the disk that is used for Backup Data or flash memory (Flash Memory) etc. can be used for forever preserving data.
In the another embodiment of the present invention, backup scheduling unit 203 can be provided with the judgement cycle, backup scheduling unit 203 is according to judging that the cycle judges periodically whether the essential information of internal storage data and the supplementary of the application program of buffer unit 202 buffer memorys all change, when the essential information of the internal storage data of the application program of buffer unit 202 buffer memorys or supplementary change, further whether comprise essential information and all identical data of supplementary in the internal storage data that judgement has been backed up with the internal storage data of the application program of buffer memory.For the internal storage data that guarantees application programs efficiently backs up, the judgement cycle can equal the cycle of obtaining; The cycle of obtaining also can be greater than the judgement cycle, but just may there be the identical situation of internal storage data of the buffer memory that the backup scheduling unit judges for more than 203 time in this, has influenced the efficient of data backup; The cycle of obtaining also can be less than the judgement cycle, but this internal storage data that just may exist the internal storage data acquiring unit to obtain for more than 201 time all is stored to buffer unit 202, when buffer unit 202 has not had the situation of storage space if take place backup scheduling unit 203 also internal storage data not to be backed up, may cause the losing of internal storage data of application program.
Fig. 3 is the process flow diagram of carrying out safety backup on memory data method one embodiment of the present invention.Now in conjunction with Fig. 3, an embodiment of carrying out safety backup on memory data method of the present invention is described, specific as follows:
For sake of clarity, earlier the device of realizing present embodiment is described.In the embodiment of carrying out safety backup on memory data method of the present invention, internal storage data obtains plug set and is formed in the application program, to obtain the internal storage data of this application program; Internal storage data obtains plug-in unit can utilize the VSTO exploitation Addin plug-in unit at application program, with the Addin plug-in component operation in application program to obtain the internal storage data of application program.At server or the predefined disk buffer of client is a disk storage area that is exclusively used in buffering internal storage data to be backed up, and this disk buffer can be internal storage data buffering is provided; Disk buffer can be provided for this disk buffer preserve file preservation file interface SaveFile (), be used for this disk buffer load specified file loading file interface LoadFile (), be used at the deleted file interface DeleteFile () of this disk buffer deleted file and be used to travel through the traversal file interface ListFile () of all data of this disk buffer.Whether 203 pairs of disk buffers of backup scheduling unit that file filter system (IFS) or file system micro-filter (Minifilter) are installed are monitored in real time, change with the essential information or the supplementary of the internal storage data of judging disk buffer; Storage unit 204 is for being used for forever preserving the storage medium of internal storage data.
Step 301: the internal storage data of creating application program obtains plug-in unit;
In the present embodiment, be integrated into Microsoft OfficeWord2007 application program as embodiment internal storage data is obtained plug-in unit, the internal storage data of creating Microsoft Office Word 2007 application programs is obtained plug-in unit describe, be specially: use Visual Studio Tools for Office to create Word Add-in plug-in unit; Definition realizes class ThisAddIn; When the plug-in unit initialization, preserve current Word Application Instance Word.Application; Add new document and opening document monitor event, so that after starting application program, obtain the internal storage data of this application program; Register this Word Add-in in Microsoft Office Word 2007.
Step 302: the initialization internal storage data obtains plug-in unit when starting application program;
The initialization internal storage data obtains plug-in unit and just the internal storage data of creating is obtained plug set and be formed in the application program when starting application program, and internal storage data obtains the integrated concrete grammar of plug-in unit and application program and depends on application program itself.Such as: internal storage data is obtained plug-in unit Word Add-in plug set be formed in Microsoft Office Word 2007 application programs.
Step 303: internal storage data obtains the internal storage data that plug-in unit periodically obtains application program;
Internal storage data obtains plug-in unit and obtains the cycle according to the internal storage data that sets in advance, and periodically obtains the internal storage data of application program.In the present embodiment, Word Add-in plug-in unit obtains the cycle according to the internal storage data that sets in advance, and periodically obtains the internal storage data of this application program by the Word.Document object in Microsoft Office Word 2007 application programs.
Step 304: internal storage data obtains plug-in unit the internal storage data that obtains is buffered in disk buffer;
Internal storage data obtains plug-in unit the internal storage data of the application program that obtains is stored in the disk buffer by calling DiskBufferArea.SaveFile () interface.
Step 305: the backup scheduling unit judges whether the internal storage data of disk buffer changes, if execution in step 306 then, otherwise execution in step 308;
The backup scheduling unit is equipped with file filter system (IFS) or file system micro-filter (Minifilter); Be installed on backup file filter system (IFS) of scheduling unit or file system micro-filter (Minifilter) after the essential information of the internal storage data that monitors disk buffer or supplementary change, execution in step 306, otherwise execution in step 308.
Step 306: the backup scheduling unit judges whether comprise the data identical with supplementary with the essential information of internal storage data in the backed up data, if, execution in step 308, otherwise, execution in step 307;
The internal storage data of the application program of backup scheduling unit reading disk buffer zone buffer memory, the essential information and the supplementary of internal storage data; The backup scheduling unit is judged essential information and all identical data of supplementary that whether comprise in the internal storage data backed up with the internal storage data of the application program that reads, if then execution in step 308, otherwise execution in step 307.
Step 307: the backup scheduling unit with the RAM date backup that reads in storage medium;
The backup scheduling unit backs up the internal storage data of the application program of the buffer memory that reads, the essential information and the supplementary of internal storage data in storage medium.
Step 308: internal storage data obtains plug-in unit and judges whether application program closes, if execution in step 309 then, otherwise execution in step 303;
During closing application program, the internal storage data that is integrated in application program obtains plug-in unit and can obtain to represent application program out code; If internal storage data obtains plug-in unit and obtained the out code of expression application program, then execution in step 309, otherwise execution in step 303.
Step 309: internal storage data obtains the internal storage data that plug-in unit is removed buffer memory;
Internal storage data obtains the internal storage data of plug-in unit bar with the application program of DiskBufferArea.DeleteFile () deletion buffer memory.
Step 310: finish.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method for a carrying out safety backup on memory data is characterized in that, this method comprises:
Obtain the internal storage data of application program started, the essential information and the supplementary of internal storage data;
With the essential information of the internal storage data of the application program obtained, internal storage data and supplementary buffer memory to buffer unit;
Whether essential information and the supplementary of judging the internal storage data of buffer unit buffer memory all do not change, if then do not back up this internal storage data of buffer memory; Otherwise, further whether comprise essential information and all identical data of supplementary in the internal storage data that judgement has been backed up with the internal storage data of this buffer memory, if then do not back up the internal storage data of this buffer memory, otherwise this internal storage data of buffer memory in the buffer unit is backed up.
2. method according to claim 1 is characterized in that, the essential information of described internal storage data is the title and the attribute of internal storage data; The supplementary of described internal storage data is the size and the modification time of internal storage data.
3. method according to claim 1, it is characterized in that, this method further comprises: judge whether described application program closes, be cached in the internal storage data of this application program in the described buffer unit, the essential information and the supplementary of internal storage data if then remove.
4. according to claim 1 or 3 described methods, it is characterized in that the essential information of the described internal storage data that obtains application program started, internal storage data and supplementary are in real time or periodically carry out;
Whether the essential information of the described internal storage data of judging the buffer unit buffer memory and supplementary are not all changed in real time or are periodically carried out.
5. method according to claim 4, it is characterized in that, described periodicity is obtained the internal storage data of application program started, the essential information and the supplementary of internal storage data comprises: set in advance described internal storage data, the essential information of internal storage data and obtaining the cycle of supplementary of obtaining application program, and the internal storage data that periodically obtains application program by this cycle of obtaining, the essential information and the supplementary of internal storage data;
Described periodicity is judged whether the essential information of internal storage data of buffer unit buffer memory and supplementary all change and is comprised: set in advance the essential information of the described internal storage data of judging the buffer unit buffer memory and supplementary all unaltered judgement cycle whether, and judge that by this cycle judges periodically whether the essential information and the supplementary of the internal storage data of buffer unit buffer memory all change.
6. method according to claim 5 is characterized in that,
Whether all unaltered judgement cycle equals described internal storage data, the essential information of internal storage data and obtaining the cycle of supplementary of obtaining application program for the essential information of the described internal storage data of judging the buffer unit buffer memory and supplementary.
7. method according to claim 4 is characterized in that, whether the essential information of the described internal storage data of judging the buffer unit buffer memory in real time and supplementary all do not change into the method that adopts file filter.
8. the device of a carrying out safety backup on memory data is characterized in that, this device comprises:
The internal storage data acquiring unit obtains the internal storage data of application program started, the essential information and the supplementary of internal storage data, exports the internal storage data of the application program obtained, the essential information and the supplementary of internal storage data to buffer unit; Behind closing application program, remove the internal storage data of this application program of buffer memory in the buffer unit, the essential information and the supplementary of internal storage data;
Buffer unit, the internal storage data of this application program of buffer memory internal storage data acquiring unit output, the essential information and the supplementary of internal storage data;
The backup scheduling unit judges whether the essential information of the internal storage data of this application program of buffer memory in the buffer unit and supplementary all do not change, if then do not back up the internal storage data of this application program of buffer memory; Otherwise, further judge the essential information and all identical data of supplementary that whether comprise in the internal storage data that has backed up of storage unit with the internal storage data of this application program of buffer memory, if then do not back up the internal storage data of this application program, otherwise export the internal storage data of this application program of buffer memory in the buffer unit, the essential information and the supplementary of internal storage data to Storage unit backups.
9. device according to claim 8 is characterized in that, described buffer unit is the storage medium that comprises hard disk, system buffer dish or flash disk;
Described storage unit is the storage medium that comprises disk or flash disk.
10. according to Claim 8 or 9 described devices, it is characterized in that, described internal storage data acquiring unit obtains plug set by internal storage data and is formed in each application program that needs the archive memory data, obtains the internal storage data of application program started, the essential information and the supplementary of internal storage data.
CN200910201491A 2009-12-15 2009-12-15 Method and device for carrying out safety backup on memory data Pending CN101739311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910201491A CN101739311A (en) 2009-12-15 2009-12-15 Method and device for carrying out safety backup on memory data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910201491A CN101739311A (en) 2009-12-15 2009-12-15 Method and device for carrying out safety backup on memory data

Publications (1)

Publication Number Publication Date
CN101739311A true CN101739311A (en) 2010-06-16

Family

ID=42462827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910201491A Pending CN101739311A (en) 2009-12-15 2009-12-15 Method and device for carrying out safety backup on memory data

Country Status (1)

Country Link
CN (1) CN101739311A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012106874A1 (en) * 2011-07-07 2012-08-16 华为技术有限公司 Method and device for processing system command during memory backup process
CN103440178A (en) * 2013-07-30 2013-12-11 广东明创软件科技有限公司 Method and mobile terminal for backing up operating parameters of application program
CN104102750A (en) * 2013-04-11 2014-10-15 深圳市腾讯计算机系统有限公司 Operating data recording method, device and server
CN105718330A (en) * 2016-01-15 2016-06-29 浪潮(北京)电子信息产业有限公司 Linux system backup data recovery method and device
CN105893173A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Caching data processing method and device
CN106933607A (en) * 2015-12-30 2017-07-07 五八同城信息技术有限公司 Plug-in component operation method and device
CN107844386A (en) * 2016-09-19 2018-03-27 北京金山云网络技术有限公司 A kind of data backup, restoration methods and device
CN109656779A (en) * 2018-12-07 2019-04-19 广州市百果园信息技术有限公司 Internal memory monitoring method, device, terminal and storage medium
CN109815060A (en) * 2019-01-30 2019-05-28 北京百度网讯科技有限公司 Method and device for backup information
CN112486723A (en) * 2020-11-25 2021-03-12 龙芯中科技术股份有限公司 Data verification method and device, processor and electronic equipment
CN112988471A (en) * 2021-04-27 2021-06-18 北京邮电大学 Data backup method and device in industrial Internet system and electronic equipment

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9513838B2 (en) 2011-07-07 2016-12-06 Huawei Technologies Co., Ltd. Method and apparatus for processing system command during memory backup
WO2012106874A1 (en) * 2011-07-07 2012-08-16 华为技术有限公司 Method and device for processing system command during memory backup process
CN104102750A (en) * 2013-04-11 2014-10-15 深圳市腾讯计算机系统有限公司 Operating data recording method, device and server
CN104102750B (en) * 2013-04-11 2018-04-27 深圳市腾讯计算机系统有限公司 Operation data recording method, device and server
CN103440178A (en) * 2013-07-30 2013-12-11 广东明创软件科技有限公司 Method and mobile terminal for backing up operating parameters of application program
CN105893173A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Caching data processing method and device
CN106933607A (en) * 2015-12-30 2017-07-07 五八同城信息技术有限公司 Plug-in component operation method and device
CN106933607B (en) * 2015-12-30 2020-02-14 五八同城信息技术有限公司 Plug-in operation method and device
CN105718330A (en) * 2016-01-15 2016-06-29 浪潮(北京)电子信息产业有限公司 Linux system backup data recovery method and device
CN107844386A (en) * 2016-09-19 2018-03-27 北京金山云网络技术有限公司 A kind of data backup, restoration methods and device
CN107844386B (en) * 2016-09-19 2020-11-27 北京金山云网络技术有限公司 Data backup and recovery method and device
CN109656779A (en) * 2018-12-07 2019-04-19 广州市百果园信息技术有限公司 Internal memory monitoring method, device, terminal and storage medium
CN109815060A (en) * 2019-01-30 2019-05-28 北京百度网讯科技有限公司 Method and device for backup information
CN112486723A (en) * 2020-11-25 2021-03-12 龙芯中科技术股份有限公司 Data verification method and device, processor and electronic equipment
CN112486723B (en) * 2020-11-25 2023-11-07 龙芯中科技术股份有限公司 Data verification method and device, processor and electronic equipment
CN112988471A (en) * 2021-04-27 2021-06-18 北京邮电大学 Data backup method and device in industrial Internet system and electronic equipment
CN112988471B (en) * 2021-04-27 2023-03-14 北京邮电大学 Data backup method and device in industrial Internet system and electronic equipment

Similar Documents

Publication Publication Date Title
CN101739311A (en) Method and device for carrying out safety backup on memory data
WO2018161559A1 (en) Power failure protection method and device for non-volatile memory
CN103577567A (en) Method for uninstalling application and deleting garbage file in Android system
CN101231604B (en) Apparatus, system, and method for volume-level restoration of cluster server data
KR20030017532A (en) Data storage system and process
CN103713972B (en) A kind of incremental backup system and method
JP2009205488A (en) Logging device and recording medium
CN105573859A (en) Data recovery method and device of database
WO2013044785A1 (en) User data backup method and apparatus
CN101216789A (en) Data update method, device and system
CN106708960B (en) Repair method of NAS device file system and NAS device
CN111338844A (en) Database backup management method and electronic equipment
CN105718330A (en) Linux system backup data recovery method and device
CN100426246C (en) Protection method for caching data of memory system
CN103092718A (en) Test data backup system and method
CN103942126A (en) Electronic device and data backup method thereof
CN105653393B (en) A method of mass file backup is carried out based on USN log modes
JP4872493B2 (en) Information processing apparatus and log collection method in information processing apparatus
WO2019140738A1 (en) Method for avoiding excess return visits, and electronic apparatus and computer-readable storage medium
CN103838645A (en) Remote difference synthesis backup method based on Hash
CN107807791A (en) A kind of hard disc of computer sequence binding method and system
CN102750202A (en) Data protection method and device
CN101320389B (en) File management method and apparatus
CN100372307C (en) Method for managing system log
CN101916234A (en) Information maintenance method and system of storage equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100616