Supercharge Your Innovation With Domain-Expert AI Agents!

Data backup method and device, data restoration method and device, equipment, and storage medium

A data backup and backup technology, applied in the field of data processing, can solve problems such as low backup efficiency and achieve the effect of improving efficiency

Active Publication Date: 2018-11-23
SHANGHAI DAMENG DATABASE
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In related technologies, when data is backed up, the data pages need to be written into the backup file sequentially according to the storage order, and the next data page can only be processed after the current data page is backed up, and the backup efficiency is low

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
  • Data backup method and device, data restoration method and device, equipment, and storage medium
  • Data backup method and device, data restoration method and device, equipment, and storage medium
  • Data backup method and device, data restoration method and device, equipment, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] figure 1 It is a flow chart of a data backup method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of backing up data. The method can be executed by a data backup device, which can be composed of hardware and / or software. And generally can be integrated in computers, servers and all terminals with data backup function. Such as figure 1 Said, the method includes the following steps.

[0056] Step 110, read the data to be backed up.

[0057] In this embodiment, when the server receives the data backup request, it reads the data to be backed up stored in the database according to the data backup request. Wherein, the data backup request carries attribute information of the data to be backed up, and the attribute information may be the file number to which the data to be backed up belongs, etc., and the server reads the data to be backed up according to the attribute information, and the data backup request may be initia...

Embodiment 2

[0074] figure 2 It is a flow chart of a data restoration method provided in Embodiment 2 of the present invention. This embodiment is applicable to the situation of restoring data. The method can be executed by a data restoration device, which can be composed of hardware and / or software. And generally can be integrated in computers, servers and all terminals with data backup function. Such as figure 2 As shown, the method includes the following steps.

[0075] Step 210, acquire the backup package to be restored in the backup file.

[0076] In this embodiment, when the server receives the data restoration request, it reads the backup package to be restored stored in the target memory according to the data restoration request. Wherein, the data restoration request carries attribute information of the data to be restored, and the attribute information may be the file number to which the data to be restored belongs, etc., and the server reads the data to be restored according...

Embodiment 3

[0088] In this implementation, when data is backed up or restored, data backup or restoration is realized by creating a read thread task queue, a processing thread task queue, and a storage thread task queue. As a further explanation to the above examples, Figure 3a It is a work flow chart of a read thread task queue during data backup or restoration provided by Embodiment 3 of the present invention. Such as Figure 3aAs shown, the task is read from the task queue of the reading thread, and when the task is read, the task type is distinguished. If it is a backup task, read the file to be backed up, encapsulate the backup data of the set size in the file to be backed up into an empty backup package, obtain the backup package, and send the obtained backup package to the processing thread task queue, and continue to treat the backup data Encapsulate until all the data in the file to be backed up is encapsulated into an empty backup package, and then read the next task. If it ...

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 embodiments of the invention disclose a data backup method and device, a data restoration method and device, equipment, and a storage medium. The data backup method comprises: reading data to be backed up; storing the data to be backed up in at least one empty backup packet of a set length to obtain at least one target backup packet, the target backup packet carrying description information, and the description information comprising an effective length of data in the target backup packet and the location of the data in the target backup packet in a data file to be backed up; and storing the at least one target backup packet to a target storage. The data backup method packages the data to be backed up into at least one target backup packet, and can back up multiple target backup packets at the same time, without considering the order of data pages stored in the backup packet or the storage order of the backup packets, thereby improving the efficiency of data backup.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data processing, and in particular, to a data backup method, a data restoration method, a device, a device, and a storage medium. Background technique [0002] With the advent of the information age, people pay more and more attention to data security. Among them, data backup can be said to be an effective means to ensure data security. [0003] The principle of data backup is to realize data backup by copying the data pages that have been allocated and used in the database to the backup file, and then copy the data pages to the data file when restoring. During the backup process, in order to ensure data security and reduce the space occupied by the data, it is usually necessary to encrypt and compress the data pages. In related technologies, when data is backed up, the data pages need to be written into the backup file sequentially according to the storage order, and the next d...

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
IPC IPC(8): G06F11/14
CPCG06F11/1448G06F11/1461G06F11/1469
Inventor 沈宁王巍王蒙蒙
Owner SHANGHAI DAMENG DATABASE
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More