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

Customizable command line implementation method and system

An implementation method and a technology for implementing a system, which are applied in transmission systems, digital transmission systems, program control devices, etc., and can solve problems such as modifying version codes

Inactive Publication Date: 2011-11-30
OPEN INVENTION NEWTORK LLC
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problems in the prior art such as the need to modify the version code if the user requests to add or modify a command line, the present invention provides a customizable command line implementation method and system. If the user requires to add or modify a command line, Only need to modify the tree configuration file, without modifying the version code, it can meet the needs of different users

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
  • Customizable command line implementation method and system
  • Customizable command line implementation method and system
  • Customizable command line implementation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0024] The idea of ​​the method of the present invention is:

[0025] 1. Define the command line format in the xm1 file in advance according to the habits of the target user. Define its attributes for each node, such as the target object to be modified, format, value range, help description, and corresponding response message analysis node Wait;

[0026] 2. When the system starts, the command line module loads the above xm1 configuration file and generates a command line configuration tree in memory;

[0027] 3. When the user enters a command line, it will be matched according to the command line configuration tree generated above, and the message field of the comm...

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 customizable command line implementation method and system, wherein the method may include the following steps: Step 1, define the command line format in the configuration file according to user requirements; Step 2, when the system starts, load configuration file, generate a command line configuration tree in memory; step 3, when receiving a command line input by the user, parse the command line according to the command line configuration tree to generate a command message, and obtain a response message processing node; step 4 , wait for a response message after sending the command message to the target object; and step 5, the response message processing node processes the response message, and displays the result to the user. Therefore, different needs of different users for different products can be met, that is, users can customize the command line format according to their own habits without modifying program codes.

Description

technical field [0001] The present invention relates to the field of telecommunication system equipment, more specifically, to a method and system for implementing a customizable command line. Background technique [0002] When performing data configuration and maintenance on telecommunications equipment, it is generally necessary to provide a command line method. This command line operation method has brought some problems. First, from the perspective of use, different users have different operating habits for different products. , the current command line implementation is difficult to satisfy this difference at the same time. From the perspective of implementation, the usual implementation is that every time a command is added or modified, the code must be modified, recompiled and connected, and version A large number of engineering maintenance tasks such as upgrades have a relatively large impact. In addition, code modifications are frequent, and programs are prone to er...

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): H04L12/24G06F9/44
Inventor 余晓文朱丹绯邓辉田小渝
Owner OPEN INVENTION NEWTORK LLC