CN103389925A - Real-time backup method based on process name identification - Google Patents

Real-time backup method based on process name identification Download PDF

Info

Publication number
CN103389925A
CN103389925A CN2012101474383A CN201210147438A CN103389925A CN 103389925 A CN103389925 A CN 103389925A CN 2012101474383 A CN2012101474383 A CN 2012101474383A CN 201210147438 A CN201210147438 A CN 201210147438A CN 103389925 A CN103389925 A CN 103389925A
Authority
CN
China
Prior art keywords
file
backup
needs
name
need
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012101474383A
Other languages
Chinese (zh)
Other versions
CN103389925B (en
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.)
Aerospace One System Jiangsu Information Technology Co ltd
Original Assignee
NANJING YIJIZHI INFORMATION TECHNOLOGY 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 NANJING YIJIZHI INFORMATION TECHNOLOGY Co Ltd filed Critical NANJING YIJIZHI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201210147438.3A priority Critical patent/CN103389925B/en
Publication of CN103389925A publication Critical patent/CN103389925A/en
Application granted granted Critical
Publication of CN103389925B publication Critical patent/CN103389925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a real-time backup method based on process name identification, comprising the steps that a backup application program transmits process name information needing to be monitored and a temporary file type which needs to be excluded and is generated by a process to file filter drive; the file filter drive obtains the process name of a file which is opened at present in a file opening routine; when the conditions that the process is the process needing to be monitored and the file does not belong to the file type which needs to be excluded by the process are ascertained, a hash table is established in a memory, and a file full path is saved by using a file object pointer as a key code; whether the file object pointer exists in the hash table is examined in a file writing and renaming routine of the file filter drive, if yes, an event mechanism informs the backup application program to backup the modified file name in a background in real time. According to the method, two aspects that the operation is convenient in the backup process and the backup object is more comprehensive are unified, and even a user without specialized computer knowledge can easily and efficiently backup files.

Description

A kind of real time backup method of processed-based name identification
Technical field
The present invention relates to a kind of real time backup method, particularly relate to a kind of real time backup method of processed-based name identification.
Background technology
Data security is one of important demand of information society, and, along with the extensive of internet and computer popularized, occupies more and more consequence in government regulation, enterprise operation, personal lifestyle.As the counte-rplan of data security, data backup becomes the key problem of current data safety.
Existing file backup method, be mainly that the user sets backup target as required, and backup target is carried out in real time or monitoring regularly, finds that file has modification, carries out fully or incremental backup, reached the purpose of backup file.
But in actual backup procedure, the existing file backup method has the following disadvantages:
1, backup target is set complexity, generally needs setting to need the catalogue that backs up, the file type that needs backup, do not need the sub-directory that backs up, do not need the file type that backs up; Which catalogue general user may know own important data in, but selects have what type just not too easy again.The document that produces such as word has doc, and docx, be not easy to understand this difference of two types concerning the user.
2, monitoring has regularly and real-time two kinds of methods traditional file backup system to backup target.If timed backup, need the modification time of All Files in scanning directory during to BACKUP TIME point, CPU usage is high consuming time long with scanning.If back up in realtime, the read-write operation that needs all processes in the Real Time Monitoring file system, whether decision operation is the target that backs up for needs, and the General System process is more frequent to the read-write operation of system, nonsensical to its monitoring, only can affect system effectiveness.
When if 3 users need to dispose backup scenario in batches, be difficult to cook up unified policy template, because the work habit of different user is different, the position of depositing significant data is different, so be difficult to set unified strategy.
4, the user in the course of the work, if forget vital document is stored in and needs the backup target catalogue, or preserves into non-designated file type, likely causes significant data to leak standby.
For solving above weak point, the present invention, from backup procedure simplification, backup target generalization and backup high-level efficiency three aspects:, has formed a creationary invention just.
Summary of the invention
The purpose of this invention is to provide a kind of real time backup method of processed-based name identification, the user need only need determine the application name of backup, just can simple, comprehensive, high efficiency backup file.
The present invention is achieved in that
A kind of real time backup method of processed-based name identification, concrete steps are as follows:
On the client of needs backup, backup application is installed, a filter Driver on FSD is installed simultaneously is used for the operation of monitoring file read-write, described backup application imports the backup template, template is named with apply names, comprises the temporary file type of the process name of monitoring and the process generation that needs are got rid of in template;
Further, described backup application will need the temporary file type transfer of the process generation that the process name information of monitoring and needs get rid of to filter Driver on FSD;
Further, described filter Driver on FSD is obtained the current process name that opens file opening in routine of file;
Further, when determine described process for the process that needs monitoring and this document be not this process need to get rid of file type the time, set up in Hash table at internal memory, the file object pointer of using is preserved the file complete trails as the crux code;
Further, the file of described filter Driver on FSD is write in routine and file rename routine and is checked whether the file object pointer exists in the internal memory Hash table, if be present in Hash table, take out the file complete trails from internal memory, be inserted in the listed files of needs backup, notify backup application to have new file to need backup by clobal simultaneously;
Further, after backup application obtains the event notice of filter Driver on FSD, need to obtain the listed files of backup from the control interface of filtration drive, read immediately on backstage by thread and need the file of backup to back up.
Preferably, the memory location of backup file can be in server, can be also in movable storage device.
Can find out from technique scheme, compared with prior art, the present invention can easily reach following purpose:
First, backup target of the present invention is selected simpler, the user only need to know that the data which program produces are to need backup, and then by selecting accordingly the template with the program name name, back-up application software just can the automated back-up process and got rid of simultaneously temporary file;
The second, the present invention is less to systematic influence, and system only need to be monitored the appointment process, does not need all process operation are monitored, and has reduced the impact on system running speed;
The 3rd, large scale deployment is more convenient, and in same unit, employee's vital document deposit position can be different according to personal habits, but the application software of using is generally identical, so more simple according to program deployment backup scenario;
The 4th, back up more comprehensively, the user only needs the option program name just can easily back up, so do not worry not backing up because save as Unknown file type or non-designated position in process.
In summary, the present invention at backup procedure easy to operate and backup target more reached unification aspect generalization two, more oversimplify when the user is operated and back up simultaneously high-level efficiency more, even without the user of any computer expertise also light Overall Backup file.
Description of drawings
Fig. 1 is the process flow diagram that File filtration drive of the present invention is obtained the monitoring process name
Fig. 2 is the process flow diagram of backup application processed-based name backup file in the present invention
Embodiment
The present invention can reach unification between simple to operate and backup comprehensively, we are when backup file at ordinary times, generally only know and where oneself need the data that back up, but and unclear, there is which file type to need backup,, if entirely standby, back up that efficiency is low, BACKUP TIME is long,, if entirely not standby, likely leak standby vital document; Perhaps, without the user of computer expertise, while needing the file of some relative complex of backup, but because can not find correct file path or file type, cause the failure of back-up job.
And the present invention be based on process name identification and simultaneously can the eliminating process produce the temporary file type, so by directly selecting application name, and can easily solve the problem that the backup target selection bothers, high-level efficiency, Overall Backup file, and can not leak standby vital document.
For example, due to work or individual demand, the user need to back up the chat record in certain chat software, and the general user does not know what this file type is, so when selecting the backup file type, just have no way of doing it, thereby cause the failure of back-up job or because having selected wrong file type to cause backing up content false or imperfection.And use backup method of the present invention, the user does not need to require efforts and selects various file types, only need to select the template with this chat software name in backup application, the light chat record in backup software just, and can not leak for vital document.
Below in conjunction with accompanying drawing, technical scheme of the present invention is elaborated
Fig. 1 shows File filtration drive of the present invention and obtains the process flow diagram of monitoring process name,
As shown in Figure 1, installation file filtration drive and backup application in system, Real Time Monitoring document creation, modification (writing), rename operation, the user is according to the template with the program name name in the described backup application of backup requirements selection, and backup application will need the process name information of monitoring to pass to filter Driver on FSD simultaneously.
Described filter Driver on FSD is a kind of optional, and the driver with added value function is provided for file system, is a kind of core schema assembly, carries out the part operation of body as Windows NT.File system filter driver can filter the I/O operation of one or more file system or file system volume.Divide by different kinds, file system filter driver can be divided into log recording, system monitoring, data modification or several classes of event prevention, and the effect of filter Driver on FSD of the present invention is Real Time Monitoring document creation, modification (writing), rename operation.
Can import one or more templates in described backup application, described template is to name with apply names, and the temporary file type that comprises the process name of monitoring and the process generation that needs are got rid of in template, template is made by the characteristics of the file type of technician's flow of research generation of exploitation backup application, and the user can select to import one or more templates as required simultaneously.
The template of only having selected called after WORD take the user is as example, and the process name that has comprised the needs monitoring in this template is WINWORD.EXE, the files such as ad hoc type * .tmp, * .dat that need the process of getting rid of to produce, the simple robotization of backup procedure.
Temporary file type * .tmp, * .dat information that the process that described backup application will need the process name WINWORD.EXE that monitors and needs to get rid of produces pass to filter Driver on FSD, filter Driver on FSD is obtained the current process name that opens file opening in routine of file, if process is WINWORD.EXE, continue to obtain this time file complete trails of operation, judge that according to the filename in the file complete trails its file type is not * .tmp, * .dat again, continue to use the file object pointer and preserve the file complete trails as the crux code in the internal memory Hash table., if run into hash-collision, adopt chained list to solve.
Described Hash table is to visit record by key value being mapped to position in table, to accelerate the speed of searching, so adopt Hash table to preserve the file complete trails
After operation, file object pointer and the complete trails of the file type that the needs that filter Driver on FSD is opened WINWORD.EXE back up all have been saved in the internal memory Hash table more than having carried out.Fig. 2 has shown the process flow diagram of backup application processed-based name backup file in the present invention, as shown in Figure 2: when file is write while with rename, operating, filter Driver on FSD checks whether the file object pointer exists in the internal memory Hash table, if described file object is present in Hash table, take out the file complete trails from internal memory, be inserted in the listed files of needs backup, notify backup application to have new file to need backup by clobal simultaneously.After backup application obtains the event notice of filter Driver on FSD, need to obtain the listed files of backup from the control interface of filtration drive, read immediately on backstage by thread and need the file of backup to back up, whole backup procedure backstage is moved automatically, need not the user and sets.
Preferably, the memory location of backup file, the user can, according to individual or need of work, be stored in it in server or movable storage device.While a series of problem of data safety such as loss of data occurring as the user, can the immediate recovery backup file, realize the Data Protection Scheme of safe ready.
The foregoing is only preferred embodiment of the present invention,, not in order to limit the present invention, all any modifications of making within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (4)

1. the real time backup method of a processed-based name identification, is characterized in that, comprises the following steps:
The user imports the template with the process name name in backup application, the data that need which application program of backup to produce just import the template of corresponding process name, and backup application passes to filter Driver on FSD with the backup target information in template simultaneously;
The temporary file type that filter Driver on FSD produces by the process name in template and process need to determine the file object of monitoring;
When the file object of filter Driver on FSD monitoring enters modification (writing) or rename routine, the described filter Driver on FSD file complete trails that file object is corresponding adds in internal memory and needs the listed files that backs up, and notifies backup application to obtain the listed files that needs to back up on backstage and back up.
2. the method for claim 1, is characterized in that: comprise the process name of monitoring and the process temporary file name that needs are got rid of in the template that described user selects.
3. the method for claim 1, is characterized in that, obtains the file object that needs monitoring according to following steps:
Described filter Driver on FSD is obtained the current process name that opens file opening in routine of file;
When determining that current opening file is the process that needs monitoring, continue to obtain the file complete trails of current file object, open file while not being file type that this process need to get rid of when described, set up Hash table at internal memory, and use the file object pointer to preserve the file complete trails as the crux code.
4. the method for claim 1, is characterized in that, obtains the listed files that needs backup according to following steps:
In the file of described filter Driver on FSD is write in routine and file rename routine and to be checked whether the current file pointer to object is present in the internal memory Hash table;
When definite described file object is present in Hash table, take out the file complete trails from internal memory, be inserted in the listed files of needs backup, notify backup application to have new file to need backup by clobal simultaneously.
After backup application obtains the event notice of filter Driver on FSD, need to obtain the listed files of backup from the control interface of filtration drive, read immediately on backstage by thread and need the file of backup to back up.
CN201210147438.3A 2012-05-09 2012-05-09 A kind of real time backup method based on process name identification Active CN103389925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210147438.3A CN103389925B (en) 2012-05-09 2012-05-09 A kind of real time backup method based on process name identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210147438.3A CN103389925B (en) 2012-05-09 2012-05-09 A kind of real time backup method based on process name identification

Publications (2)

Publication Number Publication Date
CN103389925A true CN103389925A (en) 2013-11-13
CN103389925B CN103389925B (en) 2016-01-20

Family

ID=49534204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210147438.3A Active CN103389925B (en) 2012-05-09 2012-05-09 A kind of real time backup method based on process name identification

Country Status (1)

Country Link
CN (1) CN103389925B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714864A (en) * 2015-03-20 2015-06-17 成都云祺科技有限公司 Intelligent computer data backup method
CN105242984A (en) * 2015-08-27 2016-01-13 北京金山安全软件有限公司 Data backup method and device
CN106484570A (en) * 2016-10-28 2017-03-08 福建平实科技有限公司 A kind of backpu protecting method and system extorting software document data for defence
CN106503551A (en) * 2016-10-28 2017-03-15 福建平实科技有限公司 A kind of for the processing method and system of extorting software
CN107103092A (en) * 2017-05-15 2017-08-29 努比亚技术有限公司 Quick method for cleaning, terminal and the computer-readable recording medium of data garbage
CN112988457A (en) * 2019-12-17 2021-06-18 中国移动通信集团河南有限公司 Data backup method, device and system and computer equipment
CN115168110A (en) * 2022-09-05 2022-10-11 深圳市科力锐科技有限公司 Incremental data identification method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609814A (en) * 2004-09-14 2005-04-27 中国人民解放军上海警备区司令部指挥自动化工作站 Monitoring operation system for data catastrophic failure-tolerant backup control system
CN101719165A (en) * 2010-01-12 2010-06-02 山东高效能服务器和存储研究院 Method for realizing high-efficiency rapid backup of database

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1609814A (en) * 2004-09-14 2005-04-27 中国人民解放军上海警备区司令部指挥自动化工作站 Monitoring operation system for data catastrophic failure-tolerant backup control system
CN101719165A (en) * 2010-01-12 2010-06-02 山东高效能服务器和存储研究院 Method for realizing high-efficiency rapid backup of database

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714864A (en) * 2015-03-20 2015-06-17 成都云祺科技有限公司 Intelligent computer data backup method
CN105242984A (en) * 2015-08-27 2016-01-13 北京金山安全软件有限公司 Data backup method and device
CN106484570A (en) * 2016-10-28 2017-03-08 福建平实科技有限公司 A kind of backpu protecting method and system extorting software document data for defence
CN106503551A (en) * 2016-10-28 2017-03-15 福建平实科技有限公司 A kind of for the processing method and system of extorting software
CN106484570B (en) * 2016-10-28 2019-02-26 福建平实科技有限公司 A kind of backpu protecting method and system for extorting software document data for defence
CN107103092A (en) * 2017-05-15 2017-08-29 努比亚技术有限公司 Quick method for cleaning, terminal and the computer-readable recording medium of data garbage
CN112988457A (en) * 2019-12-17 2021-06-18 中国移动通信集团河南有限公司 Data backup method, device and system and computer equipment
CN115168110A (en) * 2022-09-05 2022-10-11 深圳市科力锐科技有限公司 Incremental data identification method, device, equipment and storage medium
CN115168110B (en) * 2022-09-05 2022-11-29 深圳市科力锐科技有限公司 Incremental data identification method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN103389925B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN103389925B (en) A kind of real time backup method based on process name identification
US7974948B2 (en) Automatically capturing and maintaining versions of documents
US7991747B1 (en) System and method for managing data loss due to policy violations in temporary files
US7792789B2 (en) Method and system for collaborative searching
US8914412B2 (en) Determining file ownership of active and inactive files based on file access history
US8396838B2 (en) Legal compliance, electronic discovery and electronic document handling of online and offline copies of data
US8346729B2 (en) Business-semantic-aware information lifecycle management
US9146735B2 (en) Associating workflows with code sections in a document control system
US8627403B1 (en) Policy applicability determination
JP2009540461A (en) Declarative Management Framework (DECLARATIVEMAAGEENTENTRAMEWORK)
US8407185B2 (en) Computer, its processing method, and computer system
US20080147621A1 (en) Method and system for backup and restoration of content within a blog
US9141628B1 (en) Relationship model for modeling relationships between equivalent objects accessible over a network
US10476878B2 (en) Access permissions management system and method
US9514150B2 (en) Automatic WORM-retention state transitions
US20140358868A1 (en) Life cycle management of metadata
EP3752926A1 (en) Integrated disposition for file retention management
US8583662B2 (en) Managing data across a plurality of data storage devices based upon collaboration relevance
US11775474B2 (en) Systems and methods for implementing content aware file management labeling
JP2007328400A (en) Policy management device, policy management method and computer program
US20130226976A1 (en) File-processing device for executing a pre-processed file, and recording medium for executing a related file-processing method in a computer
CN102880718A (en) Flexible log storage and acquisition method
CN106294470A (en) The method that real-time incremental log information based on cutting daily record reads
US9734195B1 (en) Automated data flow tracking
CN106557572A (en) A kind of extracting method and system of Android application program file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Guanghua Road, Baixia District Nanjing city Jiangsu province 210014 No. 166 East Midlands Building 5 layer

Patentee after: NANJING UNARY INFORMATION TECHNOLOGY Inc.,Ltd.

Address before: Guanghua Road, Baixia District Nanjing city Jiangsu province 210014 No. 166 East Midlands Building 5 layer

Patentee before: Nanjing Unary Information Technology Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Real-time backup method based on process name identification

Effective date of registration: 20171204

Granted publication date: 20160120

Pledgee: Bank of China Limited by Share Ltd. Jiangsu branch

Pledgor: NANJING UNARY INFORMATION TECHNOLOGY Inc.,Ltd.

Registration number: 2017320000054

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 210014 Five Floors East of Delan Building, 166 Guanghua Road, Baixia District, Nanjing City, Jiangsu Province

Patentee after: NANJING UNARY INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 210014 Five Floors East of Delan Building, 166 Guanghua Road, Baixia District, Nanjing City, Jiangsu Province

Patentee before: NANJING UNARY INFORMATION TECHNOLOGY Inc.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20201126

Granted publication date: 20160120

Pledgee: Bank of China Limited by Share Ltd. Jiangsu branch

Pledgor: NANJING UNARY INFORMATION TECHNOLOGY Inc.,Ltd.

Registration number: 2017320000054

DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Xu Pingping

Document name: Notification of procedure qualification

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Building 1, 6th Floor, Changfeng Building, No.14 Xinghuo Road, Research and Innovation Park, Jiangbei New District, Nanjing City, Jiangsu Province, 210000

Patentee after: Aerospace One System (Jiangsu) Information Technology Co.,Ltd.

Address before: 210014 Five Floors East of Delan Building, 166 Guanghua Road, Baixia District, Nanjing City, Jiangsu Province

Patentee before: NANJING UNARY INFORMATION TECHNOLOGY Co.,Ltd.