Data processing method and device of storage equipment
A storage device and data processing technology, applied in the field of data processing, can solve the problem of deleting valuable files in the way of deleting files
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] According to an embodiment of the present invention, an embodiment of a data processing method for a storage device is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and , although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0025] figure 2 It is a data processing method of a storage device according to an embodiment of the present invention, such as figure 2 As shown, the method includes the following steps:
[0026] Step S201, detecting whether the storage space of the storage device is sufficient.
[0027] Specifically, the above-mentioned storage device may be a magnetic disk or hard disk of a computer or a smart device. Detecting whether the storage space of the storage device is sufficient can be used as ...
Embodiment 2
[0084] According to an embodiment of the present invention, an embodiment of a data processing apparatus for a storage device is provided, such as Figure 8 As shown, the data processing device of the storage device includes: a detection module 81 for detecting whether the storage space of the storage device is sufficient; an active value acquisition module 82 for determining that the storage space of the storage device is insufficient, according to each The file parameter of file determines the activity value of each described file, wherein, above-mentioned file parameter comprises: file size and file reading time; Selection module 83, is used for selecting from the file stored in storage device according to the activity value of each file At least one file to be cleared; a clearing module 84, configured to clear the file to be cleared.
[0085] Optionally, the detection module 81 includes: a receiving submodule, configured to receive a write instruction to the storage device...
Embodiment 3
[0091] According to an embodiment of the present application, a computer storage medium is provided, and a plurality of instructions are stored in the computer storage medium, and the instructions are suitable for being loaded by a processor and executing any one of the method steps in Embodiment 1.
[0092] In the embodiment of the present application, the storage medium stores a plurality of instructions so that the processor can load and execute any one of the methods in Embodiment 1 to detect whether the storage space of the storage device is sufficient; when determining that the storage space of the storage device is insufficient When, determine the active value of each file according to the file read time of each file in the storage device; select at least one file to be cleared from the files stored in the storage device according to the active value of each file; clear the file to be cleared. The above solution uses the file reading time to determine the active value of...
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