Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for recovering data

A technology for recovering data and data, which is applied in the computer field, can solve problems such as database operation performance degradation and system complexity, and achieve the effects of reducing product operation and maintenance costs, reducing complexity, and improving performance

Active Publication Date: 2011-12-21
创泽智能机器人集团股份有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since database access usually includes steps such as API calls, SQL parsing, and network transmission, if all data is restored through database technology, the system will become very complicated, and the operating performance of the database may also be reduced

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 recovering data
  • A method and device for recovering data
  • A method and device for recovering data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Usually in environments such as UNIX and Linux, a process exception (for example: invalid address access) will cause the process to exit, and all the information in the memory will be transferred to the core (magnetic core storage) file. The core file is usually called a memory dump file (or coredump file, core file, the suffix of this file can be set on some operating systems, such as "core.xxxxxx", etc. "xxxxxx" is usually generated by adding the process name and date a string of numbers). Therefore, the coredump file just saves the memory information when the process exits abnormally, so theoretically it is possible to restore the data required by the process from the coredump file.

[0015] like figure 1 As shown, it is a schematic flowchart of a method for recovering data in an embodiment of the present invention. The method mainly includes the following steps:

[0016] 101. Obtain a memory dump file. The memory dump file may be a coredump file, a core file, or...

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 discloses a method and device for recovering data. The method includes: generating a data recovery file, the data recovery file includes a description of the recovery data structure, and the recovery data structure defines a data recovery mark field, a data The block length information field and the correctness check code field; when the process is running, store the value of the field defined in the recovery data structure in the memory dump file; obtain the memory dump file, and check the memory dump Whether there is a data recovery mark in the file; if the data recovery mark is checked, then obtain the corresponding data block stored in the memory dump file according to the data recovery mark and the data block length information; check the correctness of the data block Checking, if the correctness checking result is correct, recovering the data block. By adopting the invention, data recovery can be performed simply and efficiently.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for restoring data. Background technique [0002] Usually in environments such as UNIX and Linux, in order to avoid the loss of important data caused by the abnormal exit of the process, the important data is usually saved in the database, through the Application Programming Interface (Application Programming Interface, API) or Structured Query Language (Structured Query) Language, SQL) statements directly access and modify the data in the database, so that the data can be easily recovered from the database when the process is restarted. [0003] However, since database access usually includes steps such as API calls, SQL parsing, and network transmission, if all data is restored through database technology, the system will become very complicated, and the operating performance of the database may also be reduced. Contents of the invention [0004] The te...

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): G06F11/14G06F17/30
Inventor 张耿
Owner 创泽智能机器人集团股份有限公司