Disk space cleaning method, device, storage medium and terminal

A disk space and cleaning method technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve problems affecting software development and testing progress, high labor cost and time cost, and save time and cost and labor costs, the effect of improving efficiency

Active Publication Date: 2022-04-05
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
  • Disk space cleaning method, device, storage medium and terminal
  • Disk space cleaning method, device, storage medium and terminal
  • Disk space cleaning method, device, 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 disk space cleaning method, device, storage medium and terminal. The method includes: acquiring the type of the cleaning object in the preset cleaning strategy; determining the absolute value of the difference between the preset time of the cleaning object and the current time ; Check whether the absolute value is greater than the timeout in the preset cleanup policy; if it is greater than that, clean up the disk space of the cleanup object. The present invention breaks away from manual operation, and automatically determines whether the disk space of the cleaning object can be cleaned by setting a preset cleaning strategy according to the time difference between the preset time of the cleaning object and the current time, and automatically realizes the cleaning object if it can be cleaned The cleaning of disk space enables the automatic execution of disk cleaning without manual cleaning, saving time and labor costs, and preventing the continuous integration and packaging failure of the Jenkins server due to insufficient disk space, thereby improving software development and testing s efficiency.

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 Patents(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products