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

Customized cleaning method and system based on container service

A cleaning method and container technology, applied in the computer field, can solve the problems of not providing, unable to meet the needs of practitioners, etc.

Pending Publication Date: 2020-10-23
ZHUHAI SEASUN MOBILE GAME TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at present, docker itself does not provide a very direct and effective method to customize cleaning, which cannot meet the needs of practitioners

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
  • Customized cleaning method and system based on container service
  • Customized cleaning method and system based on container service
  • Customized cleaning method and system based on container service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The concept, specific structure and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments and the accompanying drawings, so as to fully understand the purpose, solutions and effects of the present invention.

[0025] Terminology Explanation:

[0026] python: code language, used to write logic

[0027] Dockerpy: container operation sdk, used to operate each docker container

[0028] psutil: system performance data collection tool

[0029] Prettytable: beautiful console output report

[0030] gevent: use its coroutine method to achieve asynchrony and concurrency

[0031] Redis: message pipeline

[0032] Mysql: Storage cleanup strategy.

[0033] refer to figure 1 , is a schematic flowchart of a method according to an embodiment of the present invention, including the following steps:

[0034] S10. Set a cleaning policy;

[0035] S20, generating a corresponding cleaning rule according to the cle...

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 customized cleaning method and system based on container service, relates to the technical field of computers, and is used for realizing that scheduling, strategies and cleaning are divided into three parts for various cleaning requirements; the coupling degree is reduced to the minimum, and remote cleaning is carried out for different containers based on various cleaningstrategies. The invention has the beneficial effects that aiming at various cleaning requirements, scheduling, strategy and cleaning are divided into three parts, the coupling degree is reduced to the minimum, meanwhile, the maximum flexibility is reserved, the operation is simple and convenient, the expansion is easy, and effective support is provided for solving the problem of cleaning redundant files in a remote container.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a customized cleaning method and system based on container services. Background technique [0002] With the wide application of docker technology, a large number of services are deployed using container technology. At any time the service running time spans, the number and size of files in the docker container will gradually become uncontrollable. While occupying a lot of disk space, it also slows down the performance of container services. [0003] As for the directories or files in the container, it is often necessary to clean up the container. Since most of the containers are used for distributed services, the need to remotely clean up the files in the container is often used. However, at present, docker itself does not provide a very direct and effective method to customize the cleaning, which cannot meet the needs of practitioners. SUMMARY OF THE INVENTION [...

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): G06F9/54G06F9/50
CPCG06F9/544G06F9/546G06F9/5027G06F9/5083G06F2209/544G06F2209/548
Inventor 郭申张鹏飞王靖斌廖泉辉
Owner ZHUHAI SEASUN MOBILE GAME TECH CO LTD
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