System and method for command line interface command processing
First Claim
1. A system for CLI (Command Line Interface) command processing, the system being usable for configuring and administering electronic devices, the system comprising:
- an I/O (input/output) controlling module, for receiving input commands from a console or terminal;
a command parsing module, for parsing each character in the input commands, and separating the input commands into a job parent command and plural job child commands;
a job controlling module, for carrying out the job parent command and job child commands; and
a mode controlling module, for selecting an appropriate mode for inputting of commands by a user.
1 Assignment
0 Petitions
Accused Products
Abstract
A system (100) for CLI command processing is usable for configuring and administering electronic devices. The system includes: an I/O controlling module (110) for receiving input commands from a console or a terminal; a command parsing module (120) for parsing each character in the input commands, and separating the input commands into a job parent command and plural job child commands; a job controlling module (130) for executing the job parent command and job child commands; and a mode controlling module (140) for selecting an appropriate mode for inputting of commands by a user. The job controlling module comprises a job list (131), which stores the command information structures of the job parent command and job child commands. A related method is also provided.
76 Citations
14 Claims
-
1. A system for CLI (Command Line Interface) command processing, the system being usable for configuring and administering electronic devices, the system comprising:
-
an I/O (input/output) controlling module, for receiving input commands from a console or terminal;
a command parsing module, for parsing each character in the input commands, and separating the input commands into a job parent command and plural job child commands;
a job controlling module, for carrying out the job parent command and job child commands; and
a mode controlling module, for selecting an appropriate mode for inputting of commands by a user. - View Dependent Claims (3, 4, 5)
-
-
2. The system for CLI command processing as recited in claim 2, wherein the command parsing module builds up command information structures for the job parent command and the job child commands.
-
6. A method of CLI command processing, the method being usable for configuring and administering electronic devices, the method comprising the following steps:
-
receiving input commands from a console or terminal, and transmitting the input commands to a command parsing module;
checking whether there are special characters in the input commands;
separating the input commands into a job parent command and plural job child commands, and building up command information structures;
checking whether all the command information structures are valid;
transmitting the valid command information structures to a job controlling module, if all the command information structures are valid; and
executing tasks indicated by the valid command information structures. - View Dependent Claims (7, 8, 9, 10, 11, 12)
-
-
13. A method of command line interface (CLI) command processing to configure and administer electronic devices, comprising the following steps:
-
acquiring input commands from a user via said CLI;
parsing said input commands into a plurality of electronic-device recognizable job commands and command information structures;
creating process check information based on said command information structures; and
executing said job commands and command information structures under a process check based on said process check information. - View Dependent Claims (14)
-
Specification