CN106021028A - Hot backup method and system for data - Google Patents

Hot backup method and system for data Download PDF

Info

Publication number
CN106021028A
CN106021028A CN201610357376.7A CN201610357376A CN106021028A CN 106021028 A CN106021028 A CN 106021028A CN 201610357376 A CN201610357376 A CN 201610357376A CN 106021028 A CN106021028 A CN 106021028A
Authority
CN
China
Prior art keywords
data
backup
backup machine
backed
serial number
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
CN201610357376.7A
Other languages
Chinese (zh)
Other versions
CN106021028B (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.)
Fujian Sunnada Network Technology Co Ltd
Original Assignee
Fujian Sunnada Network 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 Fujian Sunnada Network Technology Co Ltd filed Critical Fujian Sunnada Network Technology Co Ltd
Priority to CN201910623715.5A priority Critical patent/CN110457165A/en
Priority to CN201610357376.7A priority patent/CN106021028B/en
Priority to CN201910623616.7A priority patent/CN110442479A/en
Publication of CN106021028A publication Critical patent/CN106021028A/en
Application granted granted Critical
Publication of CN106021028B publication Critical patent/CN106021028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1448Management of the data involved in backup or backup restore

Abstract

The invention discloses a hot backup method and system for data. The system comprises a host and a backup machine. The host is used for generating data to be backed up, adding serial numbers to data to be backed up, and sending them to the backup machine. The backup machine is used for examining serial numbers after receiving data and backing up or buffering data after validation passes, deleting data if not and sending data to the host again. By adoption of the above mode, the hot backup method and system for data have following beneficial effects: the backup machine is capable of timely finding out and reflecting specific data required by the host to be backed up when a backup list is unstable or data volume is super-large or the backup machine is lack of data and abnormal; and therefore stability and effectiveness of hot backup are ensured.

Description

The method and system of data thermal backup
Technical field
The present invention relates to internet communication technical field, especially relate to a kind of method of data thermal backup and be System.
Background technology
For communication products, high reliability is always a rigid index.High reliability refers to pass through Shorten the shutdown caused because of the system crash (unplanned) of routine maintaining operations (plan) and burst as far as possible Time, to improve the availability of system and application.It is considered as the fault-toleranr technique of hitless operation Different.Highly-reliable system is that current enterprise prevents kernal computer system because of the most effective means of disorderly closedown. The implementation of high reliability is most commonly that 1+1 backup.
As it is shown in figure 1,1+1 backup refers to there are two equipment in highly-reliable system, an equipment is in main State (active), other one is in standby state (standby).The equipment of major state carries out data service Process, and on the equipment of standby state of simultaneously significant data being backed up in realtime to.In communication products, in order to ensure Communication is not interrupted, and often to back up in realtime the significant data connected.If used conventional methods, Produce a Backup Data and be forwarded directly to backup machine, and backup machine does not carry out any verification, huge in data volume There will be in the case of big and network shakiness that data are out of order, lose, and then cause the data distortion of backup machine, The final reliability affecting Backup Data.
Summary of the invention
The technical problem to be solved is: provides and a kind of optimizes the hot standby reliability of IPSEC data Method, it is to avoid data are out of order or lose, and improve the reliability of Backup Data.
In order to solve above-mentioned technical problem, the technical solution used in the present invention is: provide a kind of data thermal backup Method, including:
Main frame generates data to be backed up, adds serial number for data to be backed up, and is sent to backup machine;
After backup machine receives data, serial number is verified, if verification is passed through, then back up or cache described Data;If verification is not passed through, then delete described data, and resend described data to host request.
For solving the problems referred to above, the present invention also provides for the system of a kind of data thermal backup, including main frame, backup Machine, wherein:
Main frame is used for generating data to be backed up, adds serial number for data to be backed up, and is sent to backup machine;
After backup machine receives data, serial number is verified, if verification is passed through, then back up or cache described Data;If verification is not passed through, then delete described data, and resend described data to host request.
The beneficial effects of the present invention is: be different from prior art, the main frame of the present invention generates data to be backed up, Add serial number for data to be backed up, and be sent to backup machine;After backup machine receives data, serial number is entered Row verification, if verification is passed through, then backs up or caches described data;If verification is not passed through, then delete described number According to, and resend described data to host request.By the way, the present invention can be at backup link In the case of shakiness or data volume super large, or standby host shortage of data, exception, standby host can find also in time Reflection main frame requires again to criticize the standby data specified, and then ensure that hot standby stability, effectiveness.
Accompanying drawing explanation
Fig. 1 is 1+1 data backup schematic diagram of the prior art;
Fig. 2 is the schematic flow sheet of data thermal backup in the specific embodiment of the invention;
Fig. 3 is the pictorial image of data thermal backup in the specific embodiment of the invention.
Detailed description of the invention
By describing the technology contents of the present invention in detail, being realized purpose and effect, below in conjunction with embodiment also Accompanying drawing is coordinated to be explained.
The design of most critical of the present invention is: data are classified by main frame by backup information according to data id, And often class data have the serial number of oneself and are safeguarded;Whether backup machine then judges data according to serial number Distortion, and then determination data is the need of correction.
Refer to Fig. 2, the embodiment of the present invention one provides a kind of method of data thermal backup, including:
Main frame generates data to be backed up, adds serial number for data to be backed up, and is sent to backup machine;
After backup machine receives data, serial number is verified, if verification is passed through, then back up or cache described Data;If verification is not passed through, then delete described data, and resend described data to host request.
Wherein after generating data to be backed up, main frame divides described data to be backed up, backup machine according to data ID After receiving data, judge whether to back up described data according to described data ID,
If being not backed up, then cache described data;
If there being backup, then serial number is verified.
Verifying by rear at serial number, backup machine checks that critical data is the most here;
The most then back up described data;
Otherwise, then described data are cached.
After backup machine is data cached, also include:
The life span of detection back end is the most expired;
The most then backup machine deletes corresponding node and related data, again sends standby to main frame according to data ID Part request;
Otherwise, then the life span of backup machine more new node.
Additionally, backup machine is after host request resends data, main frame finds correspondence by data ID Data, and resend data to backup machine.
Being different from prior art, the main frame of the present invention generates data to be backed up, adds sequence for data to be backed up Number, and it is sent to backup machine;After backup machine receives data, serial number is verified, if verification is passed through, Then back up or cache described data;If verification is not passed through, then delete described data, and to host request again Send described data.By the way, the present invention can at backup link unstable or data volume super large, Or in the case of standby host shortage of data, exception, standby host can find and reflect main frame requirement in time and again criticize standby The data specified, and then ensure that hot standby stability, effectiveness.
Accordingly, the embodiment of the present invention two provides the system of a kind of data thermal backup, including main frame, backup machine, Wherein:
Main frame is used for generating data to be backed up, adds serial number for data to be backed up, and is sent to backup machine;
After backup machine receives data, serial number is verified, if verification is passed through, then back up or cache described Data;If verification is not passed through, then delete described data, and resend described data to host request.
Specifically, after generating data to be backed up, main frame divides data to be backed up described in data according to data ID, After backup machine receives data, judge whether to back up described data according to described data ID,
If being not backed up, then cache described data;
If there being backup, then serial number is verified.
Verifying by rear at serial number, backup machine checks that critical data is the most here;
The most then back up described data;
Otherwise, then described data are cached.
After backup machine is data cached, the life span of detection node is the most expired;
The most then backup machine deletes corresponding node and related data, again sends standby to main frame according to data ID Part request;
Otherwise, then the life span of backup machine more new node.
Additionally, backup machine is after host request resends data, main frame finds correspondence by data ID Data, and resend data to backup machine.
Understand technical scheme of the present invention for convenience, below in conjunction with accompanying drawing, entered by a specific embodiment Row explanation.
(Internet protocol safety (IPSec) is that a kind of opening is marked to the invention provides a kind of IPSEC of optimization Accurate frame structure, the security service encrypted by use is enterprising to guarantee at Internet protocol (IP) network Row secrecy and the communication of safety) mode of the hot standby reliability of data, i.e. main frame by backup information according to data id Data are classified, and every class data have the serial number of oneself and safeguarded;Standby host is then according to serial number Judge data whether distortion, and then determination data is the need of correction.
As in figure 2 it is shown, after the optimization, main frame first can be distinguished data stream according to data id and be each data Stream generates a serial number, and standby host receives batch standby data, and (i.e. the data of batch backup are that main frame ran The data produced in real time in journey) after, inquire about standby host according to data id and the most backed up this data stream, without then Create node and arrange life span (i.e. standby host receives each data and flows to waiting time of next data stream, Depending on data volume, such as 15 or 16 minutes etc., exceed life span, do not receive next data stream, then This data stream is deleted, and again sends backup request to main frame according to data ID), data carry out caching afterwards Come;Having, verify the serial number of data, if serial number is abnormal, (the data stream such as received is the completeest Whole or sequence error, is accordingly to be regarded as exception), then standby host deletes paid-in data, rear send request to main frame, Require again to back up the data specified.In the case of serial number is errorless, standby host has checked critical data the most Here, here, apply data;Otherwise by data buffer storage, and the life span detecting node is the most out of date, Without the life span of the most more new node, have, delete node and the related data of correspondence, according to data ID again Backup request is sent to main frame.
Concrete 1+1 backup application scenarios, as it is shown on figure 3, Femto gw A is main frame, Femto gw B It is standby host:
1, after Femto gw A and AP (base station) produces interaction data, data are produced according to corresponding algorithm Id, interpolation serial number are also cached, and finally data are criticized standby to Femto gw B.
2, Femto gw B is received batch standby data of certain data stream (being distinguished by data id) and detects that data are lost Very, then delete all data that this data stream has received, and resend this data to Femto gw A request All data of stream.
3, after Femto gw A receives the reflection request of Femto gw B, correspondence is found according to its data id Data cached, backward Femto gw B again criticize all data of standby corresponding data id.
4, Femto gw B receives data also verify errorless, then judge data?Material time in Fig. 2 Mistake is the most here, without then caching, has the most directly application data and existing data cached.
The present invention is applicable in the case of backup link shakiness or data volume super large, especially at standby host number According to disappearance, in the case of exception, standby host can find and reflect main frame requirement in time and again criticize the standby number specified According to, and then ensure that hot standby stability, effectiveness.
The foregoing is only embodiments of the invention, not thereby limit the scope of the claims of the present invention, every profit The equivalents made by description of the invention and accompanying drawing content, or directly or indirectly it is used in relevant technology Field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. the method for a data thermal backup, it is characterised in that including:
Main frame generates data to be backed up, adds serial number for data to be backed up, and is sent to backup machine;
After backup machine receives data, serial number is verified, if verification is passed through, then back up or cache described Data;If verification is not passed through, then delete described data, and resend described data to host request.
The method of data thermal backup the most according to claim 1, it is characterised in that also include: main frame root Divide described data to be backed up according to data ID, after backup machine receives data, according to the judgement of described data ID be No back up described data,
If being not backed up, then cache described data;
If there being backup, then serial number is verified.
The method of data thermal backup the most according to claim 1, it is characterised in that
Verifying by rear at serial number, backup machine checks that critical data is the most here;
The most then back up described data;
Otherwise, then described data are cached.
4. according to the method for data thermal backup described in claim 1 or 3, it is characterised in that backup machine caches After data, also include:
The life span of detection back end is the most expired;
The most then backup machine deletes corresponding node and related data, and resends described data to host request;
Otherwise, then the life span of backup machine more new node.
5. according to the method for data thermal backup described in any one of claims 1 to 3, it is characterised in that backup machine After host request resends data, main frame finds the data of correspondence by data ID, and to backup machine Resend data.
6. the system of a data thermal backup, it is characterised in that include main frame, backup machine, wherein:
Main frame is used for generating data to be backed up, adds serial number for data to be backed up, and is sent to backup machine;
After backup machine receives data, serial number is verified, if verification is passed through, then back up or cache described Data;If verification is not passed through, then delete described data, and resend described data to host request.
The system of data thermal backup the most according to claim 6, it is characterised in that main frame is according to data ID Divide data to be backed up described in data, after backup machine receives data, judge whether the most standby according to described data ID The described data of part,
If being not backed up, then cache described data;
If there being backup, then serial number is verified.
The system of data thermal backup the most according to claim 6, it is characterised in that:
Verifying by rear at serial number, backup machine checks that critical data is the most here;
The most then back up described data;
Otherwise, then described data are cached.
9. according to the system of data thermal backup described in claim 6 or 8, it is characterised in that backup machine caches After data, the life span of detection node is the most expired;
The most then backup machine deletes corresponding node and related data, and resends described data to host request;
Otherwise, then the life span of backup machine more new node.
10. according to the system of data thermal backup described in any one of claim 6~8, it is characterised in that backup Machine is after host request resends data, and main frame finds the data of correspondence by data ID, and to backup Machine resends data.
CN201610357376.7A 2016-05-26 2016-05-26 The method and system of data thermal backup Active CN106021028B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910623715.5A CN110457165A (en) 2016-05-26 2016-05-26 The method and system of the data thermal backup of high reliablity
CN201610357376.7A CN106021028B (en) 2016-05-26 2016-05-26 The method and system of data thermal backup
CN201910623616.7A CN110442479A (en) 2016-05-26 2016-05-26 A kind of method and system for the data thermal backup for avoiding data out-of-order or losing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610357376.7A CN106021028B (en) 2016-05-26 2016-05-26 The method and system of data thermal backup

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN201910623616.7A Division CN110442479A (en) 2016-05-26 2016-05-26 A kind of method and system for the data thermal backup for avoiding data out-of-order or losing
CN201910623715.5A Division CN110457165A (en) 2016-05-26 2016-05-26 The method and system of the data thermal backup of high reliablity

Publications (2)

Publication Number Publication Date
CN106021028A true CN106021028A (en) 2016-10-12
CN106021028B CN106021028B (en) 2019-08-13

Family

ID=57094057

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201910623715.5A Withdrawn CN110457165A (en) 2016-05-26 2016-05-26 The method and system of the data thermal backup of high reliablity
CN201910623616.7A Withdrawn CN110442479A (en) 2016-05-26 2016-05-26 A kind of method and system for the data thermal backup for avoiding data out-of-order or losing
CN201610357376.7A Active CN106021028B (en) 2016-05-26 2016-05-26 The method and system of data thermal backup

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN201910623715.5A Withdrawn CN110457165A (en) 2016-05-26 2016-05-26 The method and system of the data thermal backup of high reliablity
CN201910623616.7A Withdrawn CN110442479A (en) 2016-05-26 2016-05-26 A kind of method and system for the data thermal backup for avoiding data out-of-order or losing

Country Status (1)

Country Link
CN (3) CN110457165A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040601A (en) * 2017-04-21 2017-08-11 广州明珞汽车装备有限公司 A kind of collecting method and system
CN107608831A (en) * 2017-09-26 2018-01-19 甘肃万维信息技术有限责任公司 The processing method and processing device of Backup Data
CN108023968A (en) * 2017-12-21 2018-05-11 东软集团股份有限公司 A kind of session information synchronous method, device and equipment
CN109445909A (en) * 2018-10-31 2019-03-08 深信服科技股份有限公司 Backup method, system, terminal and the storage medium of virtual-machine data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818881A (en) * 2006-03-10 2006-08-16 四川大学 Fault controlling method in long-distance data backup
CN1859204A (en) * 2006-03-21 2006-11-08 华为技术有限公司 Method and device for realizing synchronous data in double machine heat backup
US20130183995A1 (en) * 2010-07-15 2013-07-18 Rivada Networks, Llc Methods and Systems for Dynamic Spectrum Arbitrage
CN104253667A (en) * 2013-06-28 2014-12-31 联芯科技有限公司 System and method for check and feedback of serial synchronous bus for mobile phone platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1818881A (en) * 2006-03-10 2006-08-16 四川大学 Fault controlling method in long-distance data backup
CN1859204A (en) * 2006-03-21 2006-11-08 华为技术有限公司 Method and device for realizing synchronous data in double machine heat backup
US20130183995A1 (en) * 2010-07-15 2013-07-18 Rivada Networks, Llc Methods and Systems for Dynamic Spectrum Arbitrage
CN104253667A (en) * 2013-06-28 2014-12-31 联芯科技有限公司 System and method for check and feedback of serial synchronous bus for mobile phone platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴晓辉: "IPsec VPN双机热备系统设计与实现", 《中国硕士学位论文全文数据库 信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040601A (en) * 2017-04-21 2017-08-11 广州明珞汽车装备有限公司 A kind of collecting method and system
CN107608831A (en) * 2017-09-26 2018-01-19 甘肃万维信息技术有限责任公司 The processing method and processing device of Backup Data
CN107608831B (en) * 2017-09-26 2020-08-04 中电万维信息技术有限责任公司 Backup data processing method and device
CN108023968A (en) * 2017-12-21 2018-05-11 东软集团股份有限公司 A kind of session information synchronous method, device and equipment
CN109445909A (en) * 2018-10-31 2019-03-08 深信服科技股份有限公司 Backup method, system, terminal and the storage medium of virtual-machine data

Also Published As

Publication number Publication date
CN110442479A (en) 2019-11-12
CN106021028B (en) 2019-08-13
CN110457165A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
US8316422B2 (en) Propagation of principal authentication data in a mediated communication scenario
CN106021028A (en) Hot backup method and system for data
CN108566361B (en) Security parameter negotiation method and system based on SSL/TLS protocol
JP2009087035A (en) Encryption client device, encryption package distribution system, encryption container distribution system, encryption management server device, solftware module management device and software module management program
CN105516135A (en) Method and device used for account login
CN109525542A (en) Data reconstruction method, transmitting/receiving means and computer readable storage medium
CN113515766A (en) File transmission method and device
CN109214206A (en) cloud backup storage system and method
CN108040090A (en) A kind of system combination method of more Web
CN110493192A (en) A kind of data safe transmission system and method based on data gateway
CN113726743A (en) Method, device, equipment and medium for detecting network replay attack
JP2000040044A (en) Method and mechanism for intensifying time limit management
KR101027725B1 (en) Security system
US11765058B2 (en) Extensible, secure and efficient monitoring and diagnostic pipeline for hybrid cloud architecture
CN106878378B (en) Scatter processing method in network communication management
CN114612101A (en) Reliable inter-link route cross-link method and system for connection
CN111506930B (en) E-commerce transaction information management system and method based on blockchain
CN110955542B (en) Data integration service platform
CN114065302A (en) Data processing method, device, equipment, medium and block chain network
Rüsch et al. ZugChain: Blockchain-based juridical data recording in railway systems
CN110147995A (en) A kind of auditing method based on key level
CN116980474B (en) Log data subscription management method of data pushing system
CN111030984B (en) Data safety transmission system and method
CN114363319B (en) Supervision file processing method, device, medium and electronic equipment
US11122081B2 (en) Preventing unauthorized access to information resources by deploying and utilizing multi-path data relay systems and sectional transmission techniques

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 350400 Building 28, Fuzhou Software Park C, 89 Software Avenue, Gulou District, Fuzhou City, Fujian Province

Applicant after: Ankexun (Fujian) Technology Co., Ltd.

Address before: 350400 Central Business Headquarters of Pingtan Comprehensive Experimental Zone, Fuzhou City, Fujian Province

Applicant before: FUJIAN SUNNADA NETWORK TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant