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

Automatic disk cleaning method for edge server of Internet of Things

An edge server and automatic cleaning technology, applied in the server field, can solve problems such as high cost of edge servers, data loss, disk exhaustion, etc., to reduce the risk of data loss and prevent code errors

Pending Publication Date: 2022-08-02
杭州指令集智能科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will cause a lot of cost for the maintenance of the edge server. The disk is limited. As the usage time increases, the disk will definitely be exhausted. Disk cleaning may cause data loss, but it must not don't clean up
As the machine's running data accumulates, the disk may run out of space

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
  • Automatic disk cleaning method for edge server of Internet of Things
  • Automatic disk cleaning method for edge server of Internet of Things
  • Automatic disk cleaning method for edge server of Internet of Things

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0038] see Figure 1-2 The present invention provides a technical solution: an automatic disk cleaning method for an Internet of Things edge server, comprising step S0, setting a timed task on the Internet of Things edge server, and triggering it once every 30 minutes;

[0039] Step S1: Divide the system into different levels according to the current disk usage rate, set the range in the program in advance, and clean up only the files...

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 an automatic disk cleaning method for an edge server of the Internet of Things, which comprises the following steps of: S0, setting a timed task on the edge server of the Internet of Things, and triggering once every 30 minutes; the method comprises the following steps: S1, dividing a system into different grades according to the current disk utilization rate, setting a range in a program in advance, and only cleaning files in the range; s2, different disk cleaning strategies can be triggered according to different grades, the strategies are divided into three conditions, and in the step S2, the three conditions are as follows: S2-1, the grade 1 comprises a log cleaning strategy, and logs within 7 days are reserved; s2-2, the grade 2 comprises a log cleaning strategy, logs within 3 days are reserved, meanwhile, some persistent file photos are cleaned, and files and photos of recent 2 months are reserved; and S2-3, the grade 3 comprises a data cleaning strategy of the database and relates to cleaning of historical reserved data of the database table, and the method has the advantage of being high in practicability.

Description

technical field [0001] The invention relates to the technical field of servers, in particular to an automatic disk cleaning method for an edge server of the Internet of Things. Background technique [0002] The deployment locations of IoT edge servers are mostly the same as the actual device locations, and there will be many edge servers distributed in different places. As a result, the maintenance of the edge server will cause a lot of cost. The disk is limited. As the usage time increases, the disk will definitely be exhausted. Disk cleaning may cause data loss. Do not clean up. As the machine runs and data accumulates, the disk may run out of space. Therefore, there is a need for a way to automatically clean up disk space. SUMMARY OF THE INVENTION [0003] The purpose of the present invention is to provide an automatic disk cleaning method for the edge server of the Internet of Things, so as to solve the problems raised in the above background technology. [0004] I...

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): G06F3/06
CPCG06F3/0652G06F3/0619Y02D10/00
Inventor 周元秦钢花京武
Owner 杭州指令集智能科技有限公司
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