Data backup and recovery method and electronic device

A technology of electronic equipment and data backup, which is applied in the direction of data error detection, memory address/allocation/relocation, response error generation, etc., to solve the problem of not having a better data backup method.

Active Publication Date: 2014-12-17
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a data backup and recovery method and electronic equipment, which are used to solve t

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0109] See figure 1 , the embodiment of the present invention provides a data backup method, the method can be applied to an electronic device including a hard disk, the main process of the method is as follows:

[0110] Step 101: Determine at least one valid hard disk physical address in the hard disk from a first mapping table that stores correspondence between hard disk logical addresses and hard disk physical addresses.

[0111] In the embodiment of the present invention, the first mapping table may be a mapping table stored in the memory of the operating system, which may be used to represent the mapping relationship between the logical address of the hard disk and the physical address of the hard disk.

[0112] At least one mapping entry may be stored in the first mapping table, and each mapping entry may represent a mapping relationship between a logical address of a hard disk and a physical address of a hard disk.

[0113] For example, the operating system may issue a...

Embodiment 2

[0161] The electronic device is a notebook, and the notebook has a hard disk of SSD type.

[0162] The operating system in the notebook issues a first instruction for data backup, and after receiving the first instruction, the hard disk may first collect valid data in the hard disk, and determine that the collected valid data corresponds to the At least one valid physical address of the hard disk, so that the at least one valid physical address of the hard disk can be determined according to each mapping entry in the first mapping table.

[0163] After the at least one valid hard disk physical address is determined in the first mapping table, the at least one first identification information may be set for the at least one valid hard disk physical address in the first mapping table, to obtain the first A second mapping table. After the second mapping table is obtained, the second mapping table may be stored. In this embodiment, the second mapping table may be stored in the me...

Embodiment 3

[0170] The electronic device is a PC, and the PC has a hard disk of SSD type.

[0171] The operating system in the PC issues a first instruction for data backup, and after receiving the first instruction, the hard disk may first collect valid data in the hard disk, and determine that the collected valid data corresponds to the At least one valid physical address of the hard disk, so that the at least one valid physical address of the hard disk can be determined according to each mapping entry in the first mapping table.

[0172] After the at least one valid hard disk physical address is determined in the first mapping table, the at least one first identification information may be set for the at least one valid hard disk physical address in the first mapping table, to obtain the first A second mapping table. After the second mapping table is obtained, the second mapping table may be stored. In this embodiment, the second mapping table may be stored in the memory of the operat...

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 data backup method which is a good data backup method for the SSD. The method includes the steps of determining at least one valid hard disk physical address in a hard disk from a first mapping table where the corresponding relation between the hard disk logic address and the hard disk physical address is stored, setting at least one piece of first identification information for the effective hard disk physical address in the first mapping table so as to obtain a second mapping table, and conducting data backup according to the second mapping table and the first identification information. The invention further discloses a data recovery method and a corresponding electronic device.

Description

technical field [0001] The invention relates to computer and embedded fields, in particular to a data backup and restoration method and electronic equipment. Background technique [0002] Solid State Disk (SSD) is a hard disk made of an array of solid-state electronic memory chips. The interface specifications and definitions, functions and usage methods of SSDs are exactly the same as those of ordinary hard disks, and the product shape and size are also completely consistent with ordinary hard disks. Widely used in military, vehicle, industrial control, video surveillance, network monitoring, network terminals, electric power, medical, aviation, navigation equipment and other fields. [0003] The storage medium of the solid-state hard disk is divided into two types, one is to use flash memory (FLASH) as the storage medium, and the other is to use DRAM (Dynamic Random Access Memory, Dynamic Random Access Memory) as the storage medium. [0004] Flash memory-based solid-stat...

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/14G06F12/02
Inventor 郭琦李洪伟陆见微马立俊
Owner SHENZHEN YILIAN INFORMATION SYST 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