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

A method for supporting interactive command in command line interface of communication device

A command line interface and communication device technology, applied in the field of communication, can solve the problems of not being able to support the interactive command line interface, unable to support the interactive command line interface command line interface at the same time, and troublesome to maintain the communication device, etc.

Inactive Publication Date: 2008-06-04
ZTE CORP
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0022] However, the existing command line interface on the current communication device cannot support the interactive command line interface, that is, it cannot support the interactive command line interface and the Cisco style command line interface at the same time, which brings trouble to the maintenance of the communication device

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 method for supporting interactive command in command line interface of communication device
  • A method for supporting interactive command in command line interface of communication device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The method of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0043] The present invention is used to support the interactive command line interface on the existing command line interface on the communication device, that is, to support two styles of the command line interface at the same time. The user can maintain the equipment conveniently in two ways, improving the maintainability of the communication equipment.

[0044] Such as figure 1 As shown, in the original command execution flowchart of the present invention: the command terminal can be a serial port or a Telnet client. The original command execution flow is as follows:

[0045] Execute command configuration on the command terminal, and the command terminal submits the input command line to the command parsing part.

[0046] The command parsing part parses the command line according to the command tree, and then submits the parsed command identifier ...

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 a method for a communications equipment to command a line interface to support an interactive command. The method includes the following steps: registering the interactive command in a command tree; executing command collocation and judging whether the command is an interactive command at the time of command analysis; executing flow of the original command if the executed command is not the interactive command; switching the interactive command into a Cisco-style command line if the executed command is the interactive command, and processing the command according to the original command flow; feeding back a result after the interactive command is processed. The method of the invention supports an interactive command line interface in the current command line interface of the communications equipment, namely, the command line interfaces of two styles are supported at the same time so that a user can conveniently maintain the equipment in the both ways, thus improving equipment maintainability.

Description

technical field [0001] The invention relates to the field of communication, in particular to a method for a command line interface in a communication device to support interactive commands. Background technique [0002] The command line interface configuration method is a common configuration method for communication devices, and the command line interface in communication devices generally adopts the Cisco style. [0003] The Cisco-style command line format is: [0004] <keyword1>[<keyword2>[…]][<parameter1>[<parameter2>[…]]] [0005] The format of the interactive command is: [0006] <keyword1>[<parameter1>[<parameter2>[...]]] [0007] Command Prompt 1: (the value of the last configuration)[<parameter>] [0008] Command Prompt 2: (the last configured value)[<parameter>] [0009] Taking configuring user accounts as an example, the Cisco-style command line is as follows: [0010] Cisco(config)#subscriber sub 1 [0...

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
IPC IPC(8): H04L29/06G06F9/44
Inventor 曹文利
Owner ZTE CORP