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

Engine and method for executing scripts and commands based on Linux pipeline technology

An engine and script technology, applied in the field of computer software, can solve problems such as inability to process control, inability to directly output scripts, commands or executable program exit codes, hidden dangers of computer system security, etc., and achieve the effect of precise control

Inactive Publication Date: 2014-04-23
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Currently, in the Linux operating system, scripts, commands, or executable programs can be executed through various shell interpreters; at the code level, they can also be executed through the system call interface; however, in some cases, the two methods It is impossible to have precise control over the process of execution
[0003] For example: in a certain program, another script or command is executed, which is used to output the contents of a file. Even the security of the entire computer system has caused great hidden dangers; for another example, when executing a certain command, it may be hoped that the command will either be executed within the specified time, or the execution of the command will be forcibly terminated without waiting for further execution. wait, this cannot be done in the prior art; in addition, in the existing execution mode, it is also impossible to directly output the exit code of the script, command or executable program
It can be seen that the existing technology has room for improvement.

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
  • Engine and method for executing scripts and commands based on Linux pipeline technology
  • Engine and method for executing scripts and commands based on Linux pipeline technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] For a script command execution engine based on Linux pipeline technology of the present invention, the script can be executed, and the steps of use are:

[0058] 1) Pass the script name parameter that needs to be executed to the engine, without the maximum return result length and timeout parameters;

[0059] 2) The engine executes the script and prints out the execution result and exit code.

Embodiment 2

[0061] For a script command execution engine based on Linux pipeline technology of the present invention, the command can be executed, and the steps of use are:

[0062] 1) Pass the name parameter of the command to be executed to the engine, without the maximum return result length and timeout parameters;

[0063] 2) The engine executes the command and prints out the execution result and exit code.

Embodiment 3

[0065] For a script command execution engine based on Linux pipeline technology of the present invention, executable programs can be executed, and the steps of use are:

[0066] 1) Pass the executable program name parameter that needs to be executed to the engine, without the maximum return result length and timeout parameters;

[0067] 2) The engine executes the executable program, and prints out the execution result and exit code.

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 provides an engine and a method for executing scripts and commands based on a Linux pipeline technology. The engine and the method are applied to the field of computer software. The method comprises the following steps: transmitting name parameters of scripts and commands to be executed or name parameters of executable programs to the engine; executing the scripts, commands or the executable programs by the engine and outputting execution results and exit codes. Due to the implementation of the engine and the method, more accurate control of the execution of the scripts, commands or the executable programs can be realized.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a script, command execution engine and method based on Linux pipeline technology. Background technique [0002] Currently, in the Linux operating system, scripts, commands, or executable programs can be executed through various shell interpreters; at the code level, they can also be executed through the system call interface; however, in some cases, the two methods It is impossible to carry out precise control on the execution process. [0003] For example: in a certain program, another script or command is executed, which is used to output the contents of a file. Even the security of the entire computer system has caused great hidden dangers; for another example, when executing a certain command, it may be hoped that the command will either be executed within the specified time, or the execution of the command will be forcibly terminated without waiting for further execution. ...

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/44G06F9/54
Inventor 刘续东
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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