System and method for extended structure command line

An extended structure and command line technology, applied to the system of extended structured command line and embedded software development field, can solve the problems of low development efficiency, difficult expansion, no command provided, etc., and achieve the effect of easy management

Active Publication Date: 2018-06-29
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, the above-mentioned operating systems (such as DOS and UNIX), the system contains a set of standard command sets, software developers (ie Shell users) may have the need to add new commands, but at the same time other software developers may develop brand new operations The system does not provide any commands, so the development of Shell cannot flexibly meet the different needs of users
The commands provided by the command line interface are usually designed and implemented to test a newly developed function. The implementation of each command of the command line interface is "hard coded" into the program. This method is not easy to expand, and the development low efficiency

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
  • System and method for extended structure command line
  • System and method for extended structure command line
  • System and method for extended structure command line

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Commands are organized in a tree structure, such as image 3 As shown, the command tree in the illustration has command nodes 10-60: root node 10 has three sub-command nodes, show node 20, set node 30, get node 40, among them, show node 20 has two sub-command nodes, ipx node 50 and ip node 60. When the user inputs a command on the command line interface, the operating system parses the command and runs the corresponding program to execute the command. For example, if the user enters the command "show ip" and presses the "Enter" key, the operating system will first parse the command into two parts, "show" and "ip". Then, the operating system will traverse the command tree from the root, first reach the show node 20, then reach the ip node 60, and finally execute the corresponding functions associated with the show node 20 and the ip node 60, and feedback the result to the user. The command tree in the example has three levels, the first level is root node 10, the secon...

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

In the embedded software development process, a user can conduct information query and operating control on a system through a command line interface (that is, Shell), which is one of the more widelyused functions in the embedded development environment. The invention introduces a system and method for dynamically developing a Shell command by utilizing structural representation of a command, andthe user can conduct addition, edition and delete operation on the command through a graphic user interface. The system and method can easily translate a description of the command into a natural language for generating a related description document. The system and method solve the problem that the command in the Shell cannot be extended by the user after the command of the Shell is developed bya developer. Meanwhile, help documents and the description documents can be automatically generated, and the efficiency of development is improved.

Description

technical field [0001] The invention is mainly applied in the development process of embedded software, and belongs to the technical field of computer system software; in particular, it relates to a system and method for expanding structured command lines. Background technique [0002] The command line interface is a common interface for computer operating systems (such as DOS, UNIX, etc.). The user enters commands line by line, and the operating system executes these commands sequentially, and the operating system does not distinguish between commands and programs. The user enters the name of a command or program, presses the "Enter" key, and the system executes the command or runs the program. For example, the user enters the "Command0" command and then presses the "Enter" key. The "Enter" key serves as a signal for the user to complete the command input. After the system obtains the command entered by the user, it executes the "Command0" command. [0003] Although the c...

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): G06F8/30
Inventor 卫进李运喜张旻麦先根魏国李晓龙
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products