Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for data recovery and migration

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 processing cost, etc., achieve high data recovery and migration efficiency, improve safety and reliability, and easy and flexible operation Effect

Active Publication Date: 2021-01-26
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 0 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
  • A method and device for data recovery and migration
  • A method and device for data recovery and migration
  • A method and device for data recovery and migration

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 includes: a configuration step, configuring data recovery and migration tasks, and setting parameters associated with the tasks; a data reading step, according to the parameters, sequentially reading historical data in batches, and reading for each batch The historical data of the data file is separately generated and buffered, and the data range and read data mark of each data file are stored in Redis; and the data writing step is to obtain each batch of data to be restored from Redis according to the parameters Range and read data mark, if the read data is marked as failure, then terminate, otherwise, according to the data range, the buffered historical data will be restored to the source database or migrated to the target database in batches, and the data of each data file Range and write data tags are stored in 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 Patents(China)
IPC IPC(8): G06F16/21G06F11/14
CPCG06F11/1458
Inventor 周振华
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products