Method, system and server for data backup

A data backup and standby server technology, applied in the field of data processing, can solve problems such as high cost and loss of latest data, and achieve the effect of saving costs

Active Publication Date: 2018-02-27
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a data backup method to solve the problems of high cost and loss of the latest data in the prior art when performing data backup

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, system and server for data backup
  • Method, system and server for data backup
  • Method, system and server for data backup

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 The network architecture of the data backup system provided by the first embodiment of the present invention is shown. The data backup method provided by the embodiment of the present invention can be applied to the data backup system. relevant part.

[0033] The data backup system includes a management background 1 and a plurality of servers. Wherein, the form of the server may be a single server, or a server end composed of several functional servers.

[0034] The servers are further divided into a main server 2 and at least one backup server 3 . Wherein the main server 2 is a server storing the latest and most complete data, and the backup server 3 is a backup server of the main server.

[0035] After each server is started, the management background 1 acquires the status information of each server or receives the status information sent by each server, and sends all the acquired or received status information to each server, so that each server can info...

Embodiment 2

[0046] figure 2 It shows the interaction process of the data backup method provided by the second embodiment of the present invention, which is applied to multiple interconnected servers, and the server stores state information for determining the identity of each server, and the server identity includes the main server and the standby server. server, the process of which is detailed below:

[0047] 1. The master server receives write operation request information.

[0048] In this embodiment, the writing operation includes deleting, modifying, adding, etc. of data.

[0049] 2. The main server assigns a sequence number to the received write operation request information, and stores the write operation request information and the sequence number assigned to the write operation request information in a log file.

[0050] In this embodiment, in order to facilitate data synchronization and improve the efficiency of data backup, each write operation request information is assign...

Embodiment 3

[0069] image 3 The composition structure of the main server in the third embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0070] The main server 2 can be applied as figure 1 In the data backup system shown, the main server 2 is a server that stores the latest and most complete data, and the main server 2 includes an information receiving unit 21, a serial number allocation unit 22, a storage unit 23, an information sending unit 24 and a processing unit 25. The specific functions of each unit are as follows:

[0071] An information receiving unit 21, configured to receive write operation request information;

[0072] A serial number allocation unit 22, configured to allocate a serial number to the write operation request information after the information receiving unit 21 receives the write operation request information;

[0073]a storage unit 23, configured t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention is applicable to the technical field of data processing, and provides a data backup method, system, and server. The method includes: the main server receives write operation request information, assigns a serial number to the write operation request information, and assigns the The write operation request information and the serial number are stored in the log file; the primary server sends the write operation request information carrying the serial number to the standby server; the standby server stores the write operation request information carrying the serial number in the log file file, and feeds back ready information to the main server; the main server judges whether the number of backup servers that feed back ready information is greater than or equal to a preset value, and if so, marks the write operation as a commit operation, and submits The sequence number of the operation is updated to the sequence number of the write operation, the write operation is executed, and the success information of the write operation is fed back to the user. The present invention can effectively solve the problems of high cost of existing data backup and loss of latest data.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a data backup method, system and server. Background technique [0002] With the continuous development of information technology, people have higher and higher requirements for data stability and security. In many fields, the stability and security of data are ensured by adopting active and standby servers. When the main server fails, the standby server is switched to the main server in time to ensure the safe and stable operation of the information system. [0003] Existing data backup methods mainly include: 1. Persistent storage based on sharing. In this way, when the primary server fails, the standby server can restore the service by reading the persistently stored data. However, this method needs to rely on expensive third-party storage devices, and the cost is relatively high. 2. The standby server periodically obtains the data to be backed up from th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24H04L29/08
Inventor 邹永强李锐伍海君朱会灿邓大付叶航军董乘宇阙太富王磊杨绍鹏张书鑫赵大勇刘畅陈晓东张银锋
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products