Data file repair method and device and computer-readable storage medium
A data file and repair method technology, which is applied in the direction of calculation, electrical digital data processing, and redundant data error detection in calculations, can solve the problems that data files cannot be repaired in real time, so as to improve safety and reliability, The effect of simplifying the repair process and improving stability and security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0037] In the first embodiment of the present invention, a data file repair method, such as figure 1 shown, including the following specific steps:
[0038] Step S101, when receiving an access instruction of a data file, detect whether the data file is damaged.
[0039] Step S102, in the case of detecting that the data file is damaged, access the preset first copy file corresponding to the data file, and restore the data file through the first copy file.
[0040] Wherein, the quantity of the first copy file is one or more.
[0041] Optionally, step S102 includes:
[0042] The number of first copy files is one;
[0043] In the case of detecting that the data file is damaged, the preset first copy file corresponding to the data file is accessed, and the data file is repaired through the first copy file.
[0044] Optionally, step S102 includes:
[0045] The number of first copy files is multiple;
[0046] In the case of detecting that the data file is damaged, determine the...
no. 2 example
[0055] In the second embodiment of the present invention, a data file repair method, such as figure 2 shown, including the following specific steps:
[0056] In step S201, when an access instruction of a data file is received, it is detected whether the data file is damaged.
[0057] Optionally, step S201 includes:
[0058] Map the physical handle of the data file and the physical handle of the preset first copy file corresponding to the data file to a virtual handle;
[0059] When receiving the access command of the data file, the data file is detected based on the physical handle of the data file corresponding to the virtual handle.
[0060] Wherein, the quantity of the first copy file is one or more.
[0061] Based on the virtual handle, to access the data file and / or the first copy file, the software at the application layer cannot perceive the difference between the virtual handle and the actual physical handle, and the software at the application layer still operates t...
no. 3 example
[0114] In the third embodiment of the present invention, a data file repair device, such as image 3 shown, including the following components:
[0115] Processor 501 and memory 502. In some embodiments of the present invention, the processor 501 and the memory 502 may be connected through a bus or in other ways.
[0116] The processor 501 may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU), and may also be a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (English: Application Specific Integrated Circuit, ASIC), Or one or more integrated circuits configured to implement embodiments of the invention. Wherein, the memory 502 is used to store executable instructions of the processor 501;
[0117]The memory 502 is used to store program codes and transmit the program codes to the processor 501 . The memory 502 may include a volatile memory (Volatile Memory), such as a Random A...
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