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

A 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 no better data backup method.

Active Publication Date: 2018-02-09
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF6 Cites 0 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 the technical problem that there is no better data backup method for SSD in the prior art, and provide a better data backup method for SSD

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 data backup and recovery method and electronic device
  • A data backup and recovery method and electronic device
  • A 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 used for providing a better data backup method for SSD. The method includes: determining 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; The physical address of the hard disk is set with at least one piece of first identification information, and a second mapping table is obtained, so as to perform data backup according to the second mapping table and the at least one piece of first identification information. The invention also discloses a data recovery method and corresponding electronic equipment.

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
Patent Type & Authority Patents(China)
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products