CN110457165A - The method and system of the data thermal backup of high reliablity - Google Patents

The method and system of the data thermal backup of high reliablity Download PDF

Info

Publication number
CN110457165A
CN110457165A CN201910623715.5A CN201910623715A CN110457165A CN 110457165 A CN110457165 A CN 110457165A CN 201910623715 A CN201910623715 A CN 201910623715A CN 110457165 A CN110457165 A CN 110457165A
Authority
CN
China
Prior art keywords
data
backup
host
sequence number
backup machine
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.)
Withdrawn
Application number
CN201910623715.5A
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.)
Ankexun (fujian) Technology Co Ltd
Original Assignee
Ankexun (fujian) 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 Ankexun (fujian) Technology Co Ltd filed Critical Ankexun (fujian) Technology Co Ltd
Priority to CN201910623715.5A priority Critical patent/CN110457165A/en
Publication of CN110457165A publication Critical patent/CN110457165A/en
Withdrawn 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/1448Management of the data involved in backup or backup restore

Abstract

The invention discloses a kind of method and system of the data thermal backup of high reliablity, including host, backup machine, in which: host adds sequence number for generating data to be backed up, for data to be backed up, and is sent to backup machine;After backup machine receives data, sequence number is verified, if verification passes through, backs up or cache the data;If verification does not pass through, the data are deleted, and retransmit the data to host request.By the above-mentioned means, the present invention can be in the case where or data volume super large or standby host shortage of data, exception unstable in backup link, standby host can find and reflect host requirement to criticize standby specified data again in time, and then ensure that hot standby stability, validity.

Description

The method and system of the data thermal backup of high reliablity
This case is so that application No. is 201610357376.7, the applying date is on May 26th, 2016, and entitled " data are hot standby Part method and system " patent application be female case divisional application.
Technical field
The present invention relates to internet communication technical fields, more particularly, to a kind of method of the data thermal backup of high reliablity And system.
Background technique
For communication products, high reliability is always a rigid index.High reliability is referred to by contracting as far as possible The short downtime because caused by the system crash (unplanned) of routine maintaining operations (plan) and burst, system and is answered with improving Availability.It be considered as hitless operation fault-toleranr technique it is different.Highly-reliable system is that current enterprise is anti- Only most effective means of the kernal computer system because of disorderly closedown.The implementation of high reliability is most commonly that 1+1 backup.
As shown in Figure 1,1+1 backup, which refers in highly-reliable system, two equipment, an equipment is in major state (active), in addition one be in standby state (standby).The equipment of major state carries out data processing, and handle simultaneously Significant data is backed up in realtime onto the equipment of standby state.It, often will be to connection in order to guarantee that communication is not interrupted in communication products Significant data is backed up in realtime.If used conventional methods, generates a Backup Data and be forwarded directly to backup machine, and back up Machine does not carry out any verification, will appear that data are out-of-order, lose and network is unstable in the case that huge in data volume, and then causes The data distortion of backup machine, the final reliability for influencing Backup Data.
Summary of the invention
The technical problems to be solved by the present invention are: providing a kind of method for optimizing the hot standby reliability of IPSEC data, keep away Exempt from data random ordering or lose, and improves the reliability of Backup Data.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows: a kind of data heat of high reliablity is provided The method of backup, comprising:
Host generates data to be backed up, adds sequence number for data to be backed up, and be sent to backup machine;
After backup machine receives data, sequence number is verified, if verification passes through, backs up or cache the data;If Verification does not pass through, then deletes the data, and retransmit the data to host request.
To solve the above problems, the present invention also provides a kind of system of the data thermal backup of high reliablity, including it is host, standby Part machine, in which:
Host adds sequence number for generating data to be backed up, for data to be backed up, and is sent to backup machine;
After backup machine receives data, sequence number is verified, if verification passes through, backs up or cache the data;If Verification does not pass through, then deletes the data, and retransmit the data to host request.
The beneficial effects of the present invention are: it is different from the prior art, host of the invention generates data to be backed up, for standby Part data add sequence number, and are sent to backup machine;After backup machine receives data, sequence number is verified, if verification passes through, Then back up or cache the data;If verification does not pass through, the data are deleted, and retransmit the number to host request According to.By the above-mentioned means, the present invention can or data volume super large unstable in backup link or standby host shortage of data, abnormal In the case of, standby host can find and reflect host requirement to criticize standby specified data again in time, and then ensure that hot standby stabilization Property, validity.
Detailed description of the invention
Fig. 1 is 1+1 data backup schematic diagram in the prior art;
Fig. 2 is the flow diagram of the data thermal backup of high reliablity in the specific embodiment of the invention;
Fig. 3 is the pictorial image of the data thermal backup of high reliablity in the specific embodiment of the invention.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached Figure is explained.
The most critical design of the present invention is: data are classified backup information according to data id by host, and every class Data have the sequence number of oneself and are safeguarded;Backup machine then judges whether data are distorted according to sequence number, and then determines number According to whether needing to correct.
Referring to figure 2., the embodiment of the present invention one provides a kind of method of the data thermal backup of high reliablity, comprising:
Host generates data to be backed up, adds sequence number for data to be backed up, and be sent to backup machine;
After backup machine receives data, sequence number is verified, if verification passes through, backs up or cache the data;If Verification does not pass through, then deletes the data, and retransmit the data to host request.
Wherein after generating data to be backed up, host divides the data to be backed up according to data ID, and backup machine receives number According to rear, judge whether to have backed up the data according to the data ID,
If being not backed up, the data are cached;
If there is backup, sequence number is verified.
After sequence number verification passes through, whether backup machine check critical data is here;
If so, backing up the data;
Conversely, then caching the data.
After backup machine is data cached, further includes:
Whether the life span of detection data node is expired;
If so, backup machine deletes corresponding node and related data, backup request is sent to host again according to data ID;
Conversely, the then life span of backup machine more new node.
In addition, backup machine is requested after retransmitting data to host, host finds corresponding data by data ID, and Data are retransmitted to backup machine.
It is different from the prior art, host of the invention generates data to be backed up, adds sequence number for data to be backed up, concurrently Give backup machine;After backup machine receives data, sequence number is verified, if verification passes through, backs up or cache the data; If verification does not pass through, the data are deleted, and retransmit the data to host request.By the above-mentioned means, of the invention Can be in the case where backup link shakiness or data volume super large or standby host shortage of data, exception, standby host can be found in time And it reflects host requirement and criticizes standby specified data again, and then ensure that hot standby stability, validity.
Accordingly, second embodiment of the present invention provides a kind of systems of the data thermal backup of high reliablity, including host, backup Machine, in which:
Host adds sequence number for generating data to be backed up, for data to be backed up, and is sent to backup machine;
After backup machine receives data, sequence number is verified, if verification passes through, backs up or cache the data;If Verification does not pass through, then deletes the data, and retransmit the data to host request.
Specifically, after generating data to be backed up, host data to be backed up according to data ID division data, backup machine After receiving data, judge whether to have backed up the data according to the data ID,
If being not backed up, the data are cached;
If there is backup, sequence number is verified.
After sequence number verification passes through, whether backup machine check critical data is here;
If so, backing up the data;
Conversely, then caching the data.
After backup machine is data cached, whether the life span of detection node is expired;
If so, backup machine deletes corresponding node and related data, backup request is sent to host again according to data ID;
Conversely, the then life span of backup machine more new node.
In addition, backup machine is requested after retransmitting data to host, host finds corresponding data by data ID, and Data are retransmitted to backup machine.
It is illustrated below in conjunction with attached drawing by a specific embodiment for convenience of understanding technical solution of the present invention.
The present invention provides a kind of optimization IPSEC, (Internet protocol safety (IPSec) is a kind of frame of open standard Frame structure, ensure to be maintained secrecy on Internet protocol (IP) network by using the security service of encryption and safety it is logical News) the hot standby reliability of data mode, i.e., data are classified backup information according to data id by host, and every class data have The sequence number of oneself is simultaneously safeguarded;Standby host then judges whether data are distorted according to sequence number, and then whether determination data needs It corrects.
As shown in Fig. 2, after the optimization, host first can distinguish data flow according to data id and generate one for each data flow A sequence number, standby host receive batch standby data (i.e. the data of batch backup are the data generated in real time in host operational process) Afterwards, standby host is inquired according to data id and whether has backed up the data flow, without then creating node and life span is arranged (i.e. standby host connects The waiting time that each data flow to next data flow is received, depending on data volume, such as 15 or 16 minutes, it is more than life span, Next data flow is not received, then the data flow is deleted, and sends backup request to host again according to data ID), data later It is cached;Have, the sequence number of data is verified, (data flow such as received is imperfect if sequence number is abnormal Or sequence error, be accordingly to be regarded as exception), then standby host deletes paid-in data, rear sent to host request, it is desirable that back up again Specified data.In the case where sequence number is errorless, standby host checks whether critical data is here, here then to apply data;It is no Then by data buffer storage, and whether the life span of detection node is out of date, the life span without then more new node, there is then deletion pair The node and related data answered send backup request to host again according to data ID.
Specific 1+1 backup application scenarios, as shown in figure 3, Femto gw A is host, Femto gw B is standby host:
1, after Femto gw A and AP (base station) generates interaction data, data id, addition sequence are generated according to corresponding algorithm Row number is simultaneously cached, finally that data batch are standby to Femto gw B.
2, Femto gw B receives batch standby data of certain data flow (distinguishing by data id) and detects data distortion, then The received all data of the data flow are deleted, and request all data of the retransmission data flow to Femto gw A.
3, after the reflection that Femto gw A receives Femto gw B is requested, corresponding caching number is found according to its data id According to, backward Femto gw B criticize all data of standby corresponding data id again.
Do 4, Femto gw B is received data simultaneously verify errorless, then judge data whether the material time mistake in Fig. 2 It is here, without then caching, have then direct using data and existing data cached.
The present invention is suitable for especially lacking in standby host data in the case where backup link shakiness or data volume super large It loses, in the case where exception, standby host can find and reflect host requirement to criticize standby specified data again in time, and then ensure that heat Standby stability, validity.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include In scope of patent protection of the invention.

Claims (10)

1. a kind of method of the data thermal backup of high reliablity characterized by comprising
Host generates data to be backed up, adds sequence number for data to be backed up, and be sent to backup machine;
After backup machine receives data, sequence number is verified, if verification passes through, backs up or cache the data;If verification Do not pass through, then deletes the data, and the data are retransmitted to host request according to the id of the data;
Host searches whether corresponding tunnel also exists according to the id of the data, if it is not, the data are then abandoned, otherwise, from record Sequence number is obtained in the id of shelves;
The sequence number that will acquire is bundled in data, and is sent to backup machine.
2. the method for the data thermal backup of high reliablity according to claim 1, which is characterized in that further include: host according to Data ID divides the data to be backed up and judges whether to have backed up the number according to the data ID after backup machine receives data According to,
If being not backed up, the data are cached;
If there is backup, sequence number is verified.
3. the method for the data thermal backup of high reliablity according to claim 1, which is characterized in that
After sequence number verification passes through, whether backup machine check critical data is here;
If so, backing up the data;
Conversely, then caching the data.
4. according to claim 1 or the method for the data thermal backup of 3 high reliablity, which is characterized in that backup machine caches number According to later, further includes:
Whether the life span of detection data node is expired;
If so, backup machine deletes corresponding node and related data, and the data are retransmitted to host request;
Conversely, the then life span of backup machine more new node.
5. the method for the data thermal backup of any one high reliablity according to claim 1~3, which is characterized in that backup machine It is requested after retransmitting data to host, host finds corresponding data by data ID, and retransmits number to backup machine According to.
6. a kind of system of the data thermal backup of high reliablity, which is characterized in that including host, backup machine, in which:
Host adds sequence number for generating data to be backed up, for data to be backed up, and is sent to backup machine;
After backup machine receives data, sequence number is verified, if verification passes through, backs up or cache the data;If verification Do not pass through, then deletes the data, and the data are retransmitted to host request according to the id of the data;
Host searches whether corresponding tunnel also exists according to the id of the data, if it is not, the data are then abandoned, otherwise, from record Sequence number is obtained in the id of shelves;
The sequence number that will acquire is bundled in data, and is sent to backup machine.
7. the system of the data thermal backup of high reliablity according to claim 6, which is characterized in that host is drawn according to data ID Data to be backed up described in divided data, backup machine receive data after, judge whether to have backed up the data according to the data ID,
If being not backed up, the data are cached;
If there is backup, sequence number is verified.
8. the system of the data thermal backup of high reliablity according to claim 6, it is characterised in that:
After sequence number verification passes through, whether backup machine check critical data is here;
If so, backing up the data;
Conversely, then caching the data.
9. according to the system of the data thermal backup of the high reliablity of claim 6 or 8, which is characterized in that backup machine caches number According to later, whether the life span of detection node is expired;
If so, backup machine deletes corresponding node and related data, and the data are retransmitted to host request;
Conversely, the then life span of backup machine more new node.
10. according to the system of the data thermal backup of any one of claim 6~8 high reliablity, which is characterized in that backup machine It is requested after retransmitting data to host, host finds corresponding data by data ID, and retransmits number to backup machine According to.
CN201910623715.5A 2016-05-26 2016-05-26 The method and system of the data thermal backup of high reliablity Withdrawn CN110457165A (en)

Priority Applications (1)

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

Applications Claiming Priority (2)

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
CN201910623715.5A CN110457165A (en) 2016-05-26 2016-05-26 The method and system of the data thermal backup of high reliablity

Related Parent Applications (1)

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

Publications (1)

Publication Number Publication Date
CN110457165A true CN110457165A (en) 2019-11-15

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
CN201610357376.7A Active CN106021028B (en) 2016-05-26 2016-05-26 The method and system of data thermal backup
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

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN201610357376.7A Active CN106021028B (en) 2016-05-26 2016-05-26 The method and system of data thermal backup
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)

Families Citing this family (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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100405312C (en) * 2006-03-10 2008-07-23 四川大学 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
US8837418B2 (en) * 2010-07-15 2014-09-16 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

Also Published As

Publication number Publication date
CN106021028A (en) 2016-10-12
CN106021028B (en) 2019-08-13
CN110442479A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN106021028B (en) The method and system of data thermal backup
CN103942252B (en) A kind of method and system for recovering data
US20050086342A1 (en) Techniques for client-transparent TCP migration
US20150156025A1 (en) Message sending and receiving method, apparatus, and system
CN102638468B (en) The method of protection information transmission security, transmitting terminal, receiving terminal and system
CN102137435A (en) Method, device and system for processing data
CN105516135A (en) Method and device used for account login
CN106534129B (en) Connection control method and device
CN109525542A (en) Data reconstruction method, transmitting/receiving means and computer readable storage medium
CN113132978A (en) LTE PDCP data decryption enhancement method and device
CN107959569B (en) Key supplementing method, key supplementing device and key supplementing system based on symmetric key pool
CN112968910B (en) Replay attack prevention method and device
CN106909826A (en) Password is for action and system
CN105472030A (en) Remote mirror image method and system based on iSCSI
CN110830413B (en) Communication method, client, server, communication device and system
KR101837150B1 (en) Proxy authentication system and method for providing proxy service
CN109617672B (en) Novel key filling method
CN101917671B (en) Method for managing authentication parameters and terminal
US20120183142A1 (en) Method and apparatus for applying a ciphering configuration in a wireless communication network
CN103701595B (en) System, method and apparatus for login authentication
CN108881447A (en) Illegal external connection data reporting method and device
CN111130797B (en) Security protection system, method and storage medium based on challenge response
CN102612099B (en) The reconstruction method of service bearer and device
CN109194490B (en) Power distribution network communication security authentication system and method
WO2019200690A1 (en) Data protection method, server and computer readable storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20191115

WW01 Invention patent application withdrawn after publication