Unlock instant, AI-driven research and patent intelligence for your innovation.

A system and method for automatically generating software cleaning scripts under linux

A technology of automatic generation and scripting, which is applied in software deployment, program code conversion, code compilation, etc., can solve the problems of no script generation scripts, scripts not universal, and heavy script writing workload, so as to reduce workload and facilitate Environment restoration method, fast and automatic generated effect

Active Publication Date: 2022-02-22
中科曙光国际信息产业有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the existing software cleaning scripts are generally custom-written according to the installation actions of each software. The script itself is not universal, and the script writing workload is relatively large. Therefore, the cleaning scripts provided by some software are not perfect, and there are residual
In addition, the current method of automatically generating scripts is mainly to generate scripts with very clear functions, and generally it is directly generated by manually writing a specific program, there is no way to generate scripts by scripts

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
  • A system and method for automatically generating software cleaning scripts under linux
  • A system and method for automatically generating software cleaning scripts under linux
  • A system and method for automatically generating software cleaning scripts under linux

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] Embodiments of the present invention provide a system for automatically generating software cleaning scripts under Linux, such as figure 1 As shown, the system includes:

[0052] The management interface 11 is used to define the cleaning command information of the software installation command by the user, import the installation scri...

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 present invention provides a system and method for automatically generating software cleaning scripts under Linux. The system includes: a management interface for user-defined cleaning command information of software installation commands and storing them in a database, and importing installation scripts to be analyzed; The generated cleaning script is edited and modified and the corresponding file of the cleaning script is exported; the script analysis module is used to read and analyze the text of the imported installation script, analyze each command executed in the installation script, and compare it with the cleaning command information Correspondingly generate cleanup statements; or, in the process of executing the installation script, analyze each command in actual execution, and generate cleanup statements corresponding to the cleanup command information; script generation module is used to generate cleanup statements after analysis Statement synthesis cleanup script. The invention can make the cleaning script more efficient and convenient to automatically generate; effectively improve the integrity of the generated cleaning script and reduce the workload of writing the cleaning script.

Description

technical field [0001] The invention relates to the technical field of software cleaning, in particular to a system and method for automatically generating software cleaning scripts under Linux. Background technique [0002] GNU / Linux is one of the most powerful and flexible operating systems in the world. It is ubiquitous in modern computing, from servers, laptops, mobile phones, tablets to supercomputers. The most important feature of this system architecture is the shell, which enables users to interact with the core functions of the operating system. So, despite being equipped with a beautiful and stylish graphical user interface, the shell is still the most flexible way to interact with Linux. [0003] In addition to executing individual commands, the shell can also execute command scripts, so it is very easy to automate various tasks. One of the more common scenarios is the automatic deployment and cleaning of services. At present, the installation and deployment of...

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): G06F8/41G06F8/61
CPCG06F8/41G06F8/61
Inventor 王路谢莹莹郭庆宋怀明蒋丹东
Owner 中科曙光国际信息产业有限公司