Method and system for deleting data files
A data file and deletion method technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of inability to guarantee the normal operation of deletion and low deletion efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] Reference figure 1 , Shows a flowchart of a method for deleting a data file according to the first embodiment of the present invention. The method may specifically include the following steps:
[0064] Step 101: Determine the deletion condition.
[0065] In the embodiment of the present invention, the deletion condition can be determined first according to the characteristics of the data file to be deleted, so as to find the data file to be deleted according to the deletion condition. For example, if you want to delete a data file whose upload time is within a certain time period, you can use the upload time within the time period as the deletion condition. Of course, the upload condition can also be determined based on other characteristics of the data file, for example, based on the name and type of the data file, which is not limited in the embodiment of the present invention.
[0066] Step 102: Search for data files that meet the deletion conditions.
[0067] After the del...
Embodiment 2
[0078] In the current technology, the API method provided by the application system program itself is used alone, or the operation command method provided by the operating system itself is used to delete data files. There are various problems when the number of data files is large. The embodiment of the present invention proposes a method for deleting data files by combining the API provided by the application system program itself and the operation commands provided by the operating system itself, so as to realize the deletion operation when the number of data files is large.
[0079] It should be noted that, in the embodiment of the present invention, the application system program is a program based on JAVA language and the operating system is the Solaris operating system as an example for description. However, the embodiment of the present invention is not limited to the above application scenarios. Application system programs based on other languages and other types of oper...
Embodiment 3
[0135] Refer to image 3 , Shows a structural block diagram of a data file deletion system in the third embodiment of the present invention. The system may specifically include the following modules:
[0136] The determining module 301 is used to determine the deletion condition;
[0137] The search module 302 is used to search for data files meeting the deletion conditions;
[0138] The first judgment module 303 is configured to judge whether the number of data files meeting the deletion condition is greater than or equal to a preset deletion threshold;
[0139] The adding module 304 is configured to add a deletion condition when the judgment result of the first judgment module is yes; and call the search module after adding the deletion condition;
[0140] The deleting module 305 is configured to delete the data file when the judgment result of the first judgment module is no.
[0141] In a preferred embodiment of the present invention, the deletion condition may include a deletion ti...
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