CN107402848A - A kind of implementation method of snapshot data uniformity - Google Patents

A kind of implementation method of snapshot data uniformity Download PDF

Info

Publication number
CN107402848A
CN107402848A CN201710639340.2A CN201710639340A CN107402848A CN 107402848 A CN107402848 A CN 107402848A CN 201710639340 A CN201710639340 A CN 201710639340A CN 107402848 A CN107402848 A CN 107402848A
Authority
CN
China
Prior art keywords
snapshot
data
main program
backup
application program
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
CN201710639340.2A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710639340.2A priority Critical patent/CN107402848A/en
Publication of CN107402848A publication Critical patent/CN107402848A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process

Abstract

The invention discloses a kind of implementation method of snapshot data uniformity, this method includes:Main program receives snapshot request, it is desirable to which application program enumerates meta data file;Data in memory storage are written on disk by application program, and short interruption read-write operation;Main program creates snapshot in host side, and notice backup software creates snapshot operation and completed after snapshot has created, and notifies application program to restart reading and writing of files;Main program receives the data backup requests of backup software, and local replica is done to source book.This method, which is realized, improves Information Security.

Description

A kind of implementation method of snapshot data uniformity
Technical field
The present invention relates to data snapshot technical field, more particularly to a kind of implementation method of snapshot data uniformity.
Background technology
At present, the technology such as cloud computing, Internet of Things, social networks, mobile Internet, data class and the rule of IT field are promoted Mould volatile is increased with exponential.The arrival in big data epoch, data are changed into important basis from simple process object Property resource.Scale, the complexity growth rate of big data, have exceeded the hardware advances speed according to Moore's Law, to existing IT architecture and machine processing and computing capability bring great challenge.Meanwhile as long as data storage, transmission, exchange occurs, just It is likely to result in loss of data or is destroyed.Data disaster tolerance, data safety can be protected and improve the clock availability of data, It can consider from many aspects such as RAID protections, redundancy structure, data backup, fault pre-alarmings.Data backup is that disaster tolerance is most basic Form, after accident occurs, can it is complete, quick, simple and direct by the data of backup, reliably recover legacy data.Snapshot Technology, it is a completely available copy on specifying data acquisition system, the copy includes corresponding data to be copied at some time point The image at the time point that shellfish starts.Snapshot can be that a copy of the data represented by it or one of data answer Product.
But current snapshot cannot ensure that data in snapshot and some time dotted state are completely the same, it is impossible to reach several According to uniformity, the complete reliable of snapshot data can not be ensured, Information Security is relatively low.Therefore how to improve Information Security is urgently The problem of to be solved.
The content of the invention
It is an object of the invention to provide a kind of implementation method of snapshot data uniformity, to realize raising Information Security.
In order to solve the above technical problems, the present invention provides a kind of implementation method of snapshot data uniformity, this method includes:
Backup software initiates snapshot request;
Main program receives snapshot request, it is desirable to which application program enumerates meta data file;
Data in memory storage are written on disk by application program, and short interruption read-write operation;
Main program creates snapshot in host side, and notice backup software creates snapshot operation and completed after snapshot has created, And application program is notified to restart reading and writing of files;
Main program receives the data backup requests of backup software, and local replica is done to source book.
Preferably, the backup software initiates snapshot request, including:
Backup software inherits requestor's interface that main program externally provides, and initiates snapshot request.
Preferably, the main program receives snapshot request, it is desirable to and application program enumerates meta data file, including:
Main program captures the snapshot request of backup software initiation;
Main program requires that all application programs enumerate meta data file, how is used to specify application program according to Backup Data Recovered;
Backup software realizes writer's interface that main program externally provides, and meta data file is returned to main program.
Preferably, the application program is by before data are written on disk in memory storage, in addition to:
Main program receives the meta data file that all application programs return, and notifies all application program short interruptions to read and write Operation, and notify application program that data in EMS memory is written on disk.
Preferably, the main program creates snapshot in host side, including:
After all application programs finish preparation, main program is notified;Main program creates snapshot in host side, to source book.
Preferably, the main program receives the data backup requests of backup software, and local replica is done to source book, including:
Main program receives the data backup requests of backup software, and according to request type, dependence does snapshot, source book is done and increased Amount, full dose data copy operation.
Preferably, the meta data file is used to recover data.
A kind of implementation method of snapshot data uniformity provided by the present invention, backup software initiate snapshot request;Main journey Sequence receives snapshot request, it is desirable to which application program enumerates meta data file;Data in memory storage are written on disk by application program, And short interruption read-write operation;Main program creates snapshot in host side, and notice backup software creates snapshot after snapshot has created Operation has been completed, and notifies application program to restart reading and writing of files;Main program receives the data backup requests of backup software, right Source book does local replica.It can be seen that main program is backup software, application program provides interface, backup software, main program and using journey Cooperated between sequence, create the snapshot of data consistency, the complete reliable of snapshot data is substantially ensured that, after ensureing data recovery System can use, lift the safety and clock availability of data, and both ensured the integrality of backuped data, also ensure that to the greatest extent Short it may interrupt application program normal use.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of flow chart of the implementation method of snapshot data uniformity provided by the present invention.
Embodiment
The core of the present invention is to provide a kind of implementation method of snapshot data uniformity, to realize raising Information Security.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 is a kind of flow chart of the implementation method of snapshot data uniformity provided by the present invention, should Method includes:
S11:Backup software initiates snapshot request;
S12:Main program receives snapshot request, it is desirable to which application program enumerates meta data file;
S13:Data in memory storage are written on disk by application program, and short interruption read-write operation;
S14:Main program creates snapshot in host side, and it is complete to create snapshot operation for notice backup software after snapshot has created Into, and notify application program to restart reading and writing of files;
S15:Main program receives the data backup requests of backup software, and local replica is done to source book.
It can be seen that main program is backup software, application program provides interface, between backup software, main program and application program Cooperate, create the snapshot of data consistency, substantially ensure that the complete reliable of snapshot data, ensure the system after data recovery It can use, lift the safety and clock availability of data, and both ensure the integrality of backuped data, also ensure that as short as possible Interrupt application program normal use.
Method in opportunity, further, step S11 process specifically include:Backup software is inherited main program and externally provided Requestor's interface, initiate snapshot request.
Further, step S12 process specifically includes following steps:
S1:Main program captures the snapshot request of backup software initiation;
S2:Main program requires that all application programs enumerate meta data file, how is used to specify application program according to backup Data are recovered;
S3:Backup software realizes writer's interface that main program externally provides, and meta data file is returned to main program.
Wherein, the meta data file is used to recover data.
Further, in step S13, the application program by before data are written on disk in memory storage, in addition to: Main program receives the meta data file that all application programs return, and notifies all application program short interruption read-write operations, and Data in EMS memory is written on disk by notice application program.
Further, in step S14, the process that the main program creates snapshot in host side is specially:It is all to apply journey After sequence finishes preparation, main program is notified;Main program creates snapshot in host side, to source book.
Further, step S15 process is specially:Main program receive backup software data backup requests, according to please Type is sought, dependence does snapshot, increment, full dose data copy operation are done to source book.
Snapshot needs and the guarantee of some time point data mode are completely the same, ensure the accuracy of Backup Data with this, Improve the complete reliable of data backup, snapshot data uniformity may insure that data in snapshot and some time dotted state are complete Unanimously.This method is backup software, application program provides interface, is cooperated with, and creates the snapshot of data consistency, both protected Card backups the integralities of data, also ensures that and as short as possible interrupts application program normal use.Other programs of our normal direction Interface is provided, is cooperated with backup software, application program, storage device, coordinates to link up between each role, it is ensured that do snapshot Data consistency, the uniformity of snapshot data is ensured in snapshot processes are done, so as to substantially ensure that the complete of snapshot data can Lean on, ensure that the system after data recovery can use, lift the safety and clock availability of data.
It is as follows based on this method, specific implementation flow:
1st, backup software initiates snapshot request;
Wherein, backup software, which is inherited, realizes requestor's interface that main program externally provides, and backup software initiates to create snapshot Request;
2nd, main program receives snapshot request, it is desirable to which application program defines how to be resumed;
Wherein, main program captures the request of backup software initiation;Main program requires that all application programs enumerate metadata File, is used to specify how application program is recovered according to Backup Data;Backup software realizes that what main program externally provided writes Author's interface, meta data file is returned to main program.
3rd, data in memory storage are written on disk by application program, and short interruption read-write operation;
Wherein, main program receives the file that all application programs return, and notifies all application program short interruptions to read and write Operation;Main program notifies application program by data in EMS memory flush to disk.
4th, start to create snapshot;
Wherein, after all application programs finish preparation, main program is notified;Main program starts in host side, to source book Create snapshot;
5th, after snapshot creates, backup software is notified;
Wherein, after main program has created snapshot, notice backup software creates snapshot operation and completed;
6th, application software is notified;
Wherein, main program notice application program, can restart read-write operation, recover normal use;
7th, asked according to backup software, local replica is done to source book.
Wherein, the data backup requests of backup software are received;Main program is according to request type, and snapshot is done in dependence, to source Volume does increment, full dose data copy, improves data integrity, security.
This method kind, common interface is provided to backup software, application program, it is ensured that cooperate, during snapshot is created, It short interruption application program read-write operation, after snapshot creates, can be required according to stand-by program, create the behaviour such as increment, full dose copy Make, by the realization of data consistency snapshot, lift the integrality, security, stability of Backup Data.In this method, backup Software, application software, storage device collaboration use, it is ensured that do the data consistency of snapshot, while beaten as far as possible in the short time The read-write operation of disconnected application program, host side can carry out uniformity snapshot data, reduce the shadow to user's normal work online Ring, improve uniformity, the security of data.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
A kind of implementation method of snapshot data uniformity provided by the present invention is described in detail above.Herein Apply specific case to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to help Understand the method and its core concept of the present invention.It should be pointed out that for those skilled in the art, do not taking off On the premise of from the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this In invention scope of the claims.

Claims (7)

  1. A kind of 1. implementation method of snapshot data uniformity, it is characterised in that including:
    Backup software initiates snapshot request;
    Main program receives snapshot request, it is desirable to which application program enumerates meta data file;
    Data in memory storage are written on disk by application program, and short interruption read-write operation;
    Main program creates snapshot in host side, and notice backup software creates snapshot operation and completed after snapshot has created, and leads to Know that application program restarts reading and writing of files;
    Main program receives the data backup requests of backup software, and local replica is done to source book.
  2. 2. the method as described in claim 1, it is characterised in that the backup software initiates snapshot request, including:
    Backup software inherits requestor's interface that main program externally provides, and initiates snapshot request.
  3. 3. the method as described in claim 1, it is characterised in that the main program receives snapshot request, it is desirable to application program piece Meta data file is lifted, including:
    Main program captures the snapshot request of backup software initiation;
    Main program requires that all application programs enumerate meta data file, is used to specify how application program is carried out according to Backup Data Recover;
    Backup software realizes writer's interface that main program externally provides, and meta data file is returned to main program.
  4. 4. the method as described in claim 1, it is characterised in that data in memory storage are written on disk by the application program Before, in addition to:
    Main program receives the meta data file that all application programs return, and notifies all application program short interruption read-write behaviour Make, and notify application program that data in EMS memory is written on disk.
  5. 5. the method as described in claim 1, it is characterised in that the main program creates snapshot in host side, including:
    After all application programs finish preparation, main program is notified;Main program creates snapshot in host side, to source book.
  6. 6. the method as described in claim 1, it is characterised in that the main program receives the data backup requests of backup software, Local replica is done to source book, including:
    Main program receives the data backup requests of backup software, and according to request type, snapshot is done in dependence, source book is done increment, Full dose data copy operation.
  7. 7. method as claimed in claim 3, it is characterised in that the meta data file is used to recover data.
CN201710639340.2A 2017-07-31 2017-07-31 A kind of implementation method of snapshot data uniformity Pending CN107402848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710639340.2A CN107402848A (en) 2017-07-31 2017-07-31 A kind of implementation method of snapshot data uniformity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710639340.2A CN107402848A (en) 2017-07-31 2017-07-31 A kind of implementation method of snapshot data uniformity

Publications (1)

Publication Number Publication Date
CN107402848A true CN107402848A (en) 2017-11-28

Family

ID=60402410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710639340.2A Pending CN107402848A (en) 2017-07-31 2017-07-31 A kind of implementation method of snapshot data uniformity

Country Status (1)

Country Link
CN (1) CN107402848A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733514A (en) * 2018-05-24 2018-11-02 郑州云海信息技术有限公司 Method, system and the equipment that snapshot is realized between a kind of storage of isomery
CN108984779A (en) * 2018-07-25 2018-12-11 郑州云海信息技术有限公司 Distributed file system snapshot rollback metadata processing method, device and equipment
CN110515769A (en) * 2019-08-15 2019-11-29 苏州浪潮智能科技有限公司 A kind of backup processing method, device and electronic equipment and readable storage medium storing program for executing
CN111078368A (en) * 2019-12-26 2020-04-28 浪潮电子信息产业股份有限公司 Memory snapshot method and device of cloud computing platform virtual machine and readable storage medium
CN113868027A (en) * 2021-12-01 2021-12-31 云和恩墨(北京)信息技术有限公司 Data snapshot method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567262A (en) * 2003-06-10 2005-01-19 联想(北京)有限公司 On-line data backup method based on data volume snapshot
CN1889742A (en) * 2005-06-30 2007-01-03 华为技术有限公司 Data sharing method based on equipment management and data backup recovering method thereof
CN102053876A (en) * 2009-11-06 2011-05-11 杭州华三通信技术有限公司 Snapshot creating method and system as well as application server
CN102360320A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Terminal backup object sharing and recovery method based on cloud architecture
CN104484354A (en) * 2014-11-28 2015-04-01 华为技术有限公司 Snapshot method for guaranteeing data consistency and storage equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567262A (en) * 2003-06-10 2005-01-19 联想(北京)有限公司 On-line data backup method based on data volume snapshot
CN1889742A (en) * 2005-06-30 2007-01-03 华为技术有限公司 Data sharing method based on equipment management and data backup recovering method thereof
CN102053876A (en) * 2009-11-06 2011-05-11 杭州华三通信技术有限公司 Snapshot creating method and system as well as application server
CN102360320A (en) * 2011-09-30 2012-02-22 奇智软件(北京)有限公司 Terminal backup object sharing and recovery method based on cloud architecture
CN104484354A (en) * 2014-11-28 2015-04-01 华为技术有限公司 Snapshot method for guaranteeing data consistency and storage equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733514A (en) * 2018-05-24 2018-11-02 郑州云海信息技术有限公司 Method, system and the equipment that snapshot is realized between a kind of storage of isomery
CN108984779A (en) * 2018-07-25 2018-12-11 郑州云海信息技术有限公司 Distributed file system snapshot rollback metadata processing method, device and equipment
CN110515769A (en) * 2019-08-15 2019-11-29 苏州浪潮智能科技有限公司 A kind of backup processing method, device and electronic equipment and readable storage medium storing program for executing
CN111078368A (en) * 2019-12-26 2020-04-28 浪潮电子信息产业股份有限公司 Memory snapshot method and device of cloud computing platform virtual machine and readable storage medium
CN113868027A (en) * 2021-12-01 2021-12-31 云和恩墨(北京)信息技术有限公司 Data snapshot method and device

Similar Documents

Publication Publication Date Title
CN107402848A (en) A kind of implementation method of snapshot data uniformity
EP3008600B1 (en) Virtual machine backup from storage snapshot
US10678663B1 (en) Synchronizing storage devices outside of disabled write windows
JP6219305B2 (en) System and method for restoring application data
US9348827B1 (en) File-based snapshots for block-based backups
CN102331949B (en) Methods for generating and restoring memory snapshot of virtual machine, device and system
US8600945B1 (en) Continuous data replication
US9400611B1 (en) Data migration in cluster environment using host copy and changed block tracking
CN102594849B (en) Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
US8990164B1 (en) Systems and methods for performing incremental backups
US9098452B2 (en) Selecting files to backup in a block level backup
US8260752B1 (en) Systems and methods for change tracking with multiple backup jobs
US8065272B2 (en) Systems and methods for tracking changes to a volume
US8095510B2 (en) Data restoration in a storage system using multiple restore points
US20170052723A1 (en) Replicating data using remote direct memory access (rdma)
EA201201060A1 (en) METHOD AND SYSTEM FOR QUICK CREATION OF A BIT CARD IMAGE OF A FILE SYSTEM IN A VIRTUAL ENVIRONMENT
US10409691B1 (en) Linking backup files based on data partitions
US20160300069A1 (en) Data sanitization
US9785641B2 (en) Reducing a backup time of a backup of data files
CN106357703B (en) Cluster switching method and device
JP4917102B2 (en) Methods, programs, and systems for counting data set versions in a mixed local and remote storage environment
US8972351B1 (en) Systems and methods for creating selective snapshots
US9336250B1 (en) Systems and methods for efficiently backing up data
CN110019063A (en) Method, terminal device and the storage medium of calculate node data disaster tolerance playback
US11093290B1 (en) Backup server resource-aware discovery of client application resources

Legal Events

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

Application publication date: 20171128

RJ01 Rejection of invention patent application after publication