Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for cleaning disk space, storage medium and terminal

A technology of disk space and cleaning method, which is applied in digital data processing, input/output process of data processing, instruments, etc. It can solve the problems of high labor cost and time cost, affecting software development and testing progress, etc., to improve efficiency , the effect of saving time cost and labor cost

Active Publication Date: 2019-03-29
BEIJING 58 INFORMATION TECH
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a disk space cleaning method, device, storage medium and terminal, which are used to solve the problem of high labor and time costs in the prior art of manually cleaning disk space, thereby affecting the progress of software development and testing

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 device for cleaning disk space, storage medium and terminal
  • Method and device for cleaning disk space, storage medium and terminal
  • Method and device for cleaning disk space, storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to solve the problem of high labor cost and time cost of manually cleaning disk space in the prior art, which further affects the progress of software development and testing, the present invention provides a method, device, storage medium and terminal for cleaning disk space, which will be combined with the accompanying drawings below And embodiment, the present invention is described in further detail. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0022] The first embodiment of the present invention provides a disk space cleaning method, the flow chart of which is as follows figure 1 As shown, it mainly includes steps S101 to S104:

[0023] S101. Acquire the type of the cleaning object in the preset cleaning policy.

[0024] In this embodiment, the preset cleaning strategy is manually configured by the developer or tester, and mainly configures the f...

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 discloses a method and device for cleaning disk space, a storage medium and a termina. The method comprises the following steps: obtaining a type of a cleaning object in a preset cleaning strategy; Determining an absolute value of a difference between a preset time of a cleaning object and a current time; Detecting if the absolute value is greater than the time out in the preset pruning policy; Cleaning up the disk space of the cleanup object if so. In accordance with that present invention, by setting a preset pruning policy to automatically determine whether disk space of a pruned object can be pruned based on the time difference between the preset time of the pruned object and the current time, Where cleaning is possible, Automatically clean up object disk space, Automateddisk cleaning, no manual cleaning, save time and labor costs, prevent the Jenkins server due to lack of disk space caused by the continuous integration packaging failure problem, thus improving the efficiency of software development and testing.

Description

technical field [0001] The invention relates to the field of software development, in particular to a disk space cleaning method, device, storage medium and terminal. Background technique [0002] In the software development process, developers often use the continuous integration tool Jenkins for continuous integration and packaging. When the project file is large and there are many developers, the disk space of the Jenkins server will become less and less over time. Sometimes, if disk cleanup is not performed, the continuous integration and packaging will fail when the disk space is insufficient, which will seriously affect the efficiency of development and testing. [0003] In the prior art, the above-mentioned problems are usually solved by increasing the hard disk capacity of the Jenkins server or manually cleaning the disk space of the Jenkins server regularly, but increasing the hard disk capacity can only temporarily solve the problem, and it is still necessary to ma...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/0608G06F3/0652G06F3/0676
Inventor 孔校军
Owner BEIJING 58 INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products