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

Active Publication Date: 2014-04-09
DATANG MOBILE COMM EQUIP CO LTD
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention provides a method and system for deleting data files to solve the problem that in the current method, when the numbe...

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
  • Method and system for deleting data files
  • Method and system for deleting data files
  • Method and system for deleting data files

Examples

Experimental program
Comparison scheme
Effect test

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...

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 provides a method and system for deleting data files in order to solve the problems that in the prior art, when the number of deletable data files is overlarge, it cannot be guaranteed that deleting operations are carried out normally and deleting efficiency is low. The method includes the steps of determining deleting conditions and searching for data files meeting the deleting conditions; judging whether the number of the data files meeting the deleting conditions is larger than or equal to a preset deleting threshold value or not; returning to the step of searching for the data files meeting the deleting conditions after deleting conditions are increased if the number of the data files meeting the deleting conditions is larger than or equal to the preset deleting threshold value; the data files are deleted if the number of the data files meeting the deleting conditions is not larger than or equal to the preset deleting threshold value. According to the method and system, the situation that the deleting operations cannot be carried out normally when the number of the deletable data files is overlarge is avoided, and deleting efficiency can be improved.

Description

Technical field [0001] The present invention relates to the technical field of file processing, in particular to a method and system for deleting data files. Background technique [0002] Operating System (Operating System, referred to as OS) is a computer program that manages and controls computer hardware and software resources. It is the most basic system software that runs directly on the "bare metal", and other software can only run under the support of the operating system. The operating system is the interface between the user and the computer, as well as the interface between computer hardware and other software. The functions of the operating system include managing the hardware, software and data resources of the computer system, controlling program operation, improving the man-machine interface, and providing support for other application software, etc., so that the resources of the computer system can be used to the maximum extent. It provides various forms The user ...

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
IPC IPC(8): G06F17/30
CPCG06F16/162
Inventor 赵晗
Owner DATANG MOBILE COMM EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products