Data recovery and migration method and device

A data and data reading technology, applied in the field of data recovery and migration, can solve the problems of long data migration time, high communication cost, high labor cost, etc., achieve high efficiency of data recovery and migration, improve safety and reliability, and secure connection high speed effect

Active Publication Date: 2018-11-23
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1) It has a great impact on the normal production warehouse and is inconvenient to operate;
[0008] 2) Low efficiency and longer data migration time;
[0009] 3) The close cooperation of the database administrator is required, and the communication cost is high;
[0010] 4) High processing costs after problems occur
It is cumbersome to continue at the interruption point after the interruption, requiring too much manual intervention, and the labor cost is high

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 recovery and migration method and device
  • Data recovery and migration method and device
  • Data recovery and migration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040]Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0041] figure 1 is a schematic diagram of the main steps of the method for data recovery and migration according to the present invention.

[0042] Such as figure 1 As shown, a method for data recovery and migration in the embodiment of the present invention mainly includes the following steps:

[0043] A configuration step, configuring data recovery and migration tasks,...

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 invention provides a data recovery and migration method and device. The method comprises a configuration step of configuring a data recovery and migration task and setting parameters associated with the task; a data reading step of reading history data in sequence according to batches and the parameters, independently generating a data file for each batch of history data, buffering and storingthe data files, and storing a data range and a data reading mark of each data file into Redis; and a data writing step of obtaining each batch of to-be-recovered data ranges and data reading marks inthe Redis according to the parameters, if the data reading marks fails, terminating the operation, and otherwise, recovering the buffered and stored history data into a source database or migrating the buffered and stored history data into a target database in sequence according to the batches and the data ranges, and storing the data range and a data writing mark of each data file into the Redis.

Description

technical field [0001] The invention relates to the field of computer technology and software, in particular to a method and device for data restoration and migration. Background technique [0002] With the increase of visits, the amount of online data is growing faster and faster. Operators need to periodically transfer the closed business data to the historical library or cloud storage. The transferred data is called historical data. However, historical data is not permanently sealed. It can be said that its subsequent survival is of greater significance, such as data analysis and restoration to the performance test environment for stress testing. In addition, for big data analysis or offline testing, it is necessary to migrate closed business data to the big data platform or test database. Therefore, there is a need for a method and device for restoring or migrating historical data. [0003] At present, there are several ways to restore data to the source database or mi...

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 Applications(China)
IPC IPC(8): G06F17/30G06F11/14
CPCG06F11/1458
Inventor 周振华
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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