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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com