CN103532756B - Command line system and command line operation method based on webmaster system - Google Patents
Command line system and command line operation method based on webmaster system Download PDFInfo
- Publication number
- CN103532756B CN103532756B CN201310483441.7A CN201310483441A CN103532756B CN 103532756 B CN103532756 B CN 103532756B CN 201310483441 A CN201310483441 A CN 201310483441A CN 103532756 B CN103532756 B CN 103532756B
- Authority
- CN
- China
- Prior art keywords
- command
- module
- order
- line
- command line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a command line system and a command line operation method based on a network management system and belongs to a command line system. The command line system comprises a command line analysis module, a command line external interface module and a command line module, wherein the command line analysis module and the command line external interface module are arranged at a server rear end subsystem and are connected with each other, and the command line module is arranged at a front end subsystem; the command line module comprises a command editing assembly which is used for inputting command sentences; the command sentences which are sent from the front end subsystem are analyzed by the command line system through the command line analysis module so as to obtain a corresponding object operation command; an application program interface on the server rear end subsystem is associated with the object operation command by the command line system through the command line external interface module, and operation is carried out on a network unit through the application program interface according to the object operation command. The command line system and the command line operation method have the beneficial effects that the massive operation of the command sentences is realized, and the command is simply and quickly issued, so that the operation efficiency is increased.
Description
Technical field
The present invention relates to a kind of command line system, more particularly, to a kind of command line system based on network management system and order
Row operational approach.
Background technology
It may be desirable to use the NE in operation terminal-pair network, by software supervision in the network management of telecommunications
Mode carry out regular maintenance.Existing monitoring software, is all generally using the friendly graphic user interface of user interface (referred to as
Gui).Typically under most of scenes, the mode of this graphical interfaces can be competent at the maintenance work to the network equipment.But this
Plant graphic interface and there is also many defects, such as it may be desirable to extra overhead is to support this user interface, therefore
Can heavy system burden.For another example, patterned operation interface can not execute batch operation or by the order often repeatedly executing
Stored with realize call process, for operator, operation relatively complicated it is impossible to simple and direct, rapidly carry out
Order issues, and reduces operating efficiency.Accordingly, it would be desirable to a kind of command line system based on network management system and order line operation side
Method, with realize simple and direct, rapidly enter issuing of line command, thus improve and being operated to equipment in telecommunicatioin network management and safeguarded
Efficiency.
Content of the invention
For techniques discussed above problem, the invention provides a kind of command line system based on network management system and life
Make row operational approach, with realize simple and direct, rapidly enter issuing of line command, thus improve in telecommunicatioin network management operating to equipment
And the efficiency safeguarded.
Concrete technical scheme is as follows:
A kind of command line system based on network management system, described network management system includes interconnective front end subsystem kimonos
Business device backend systems, wherein,
Described command line system includes located at described server back end subsystem and interconnective order line parsing module,
Order line external interface module and the order line module located at described front end subsystem;Described order line module is included for defeated
Enter imperatival commard editor assembly;
The order that described command line system is sent from the subsystem of described front end by the parsing of described order line parsing module
Sentence, and obtain corresponding Object Operations order;
Described command line system by described order line external interface module by described server back end subsystem should
It is associated with described Object Operations order with routine interface, and by described application programming interfaces according to described Object Operations order
NE is operated.
Preferably, described order line module also includes batch command component, and described batch command component is by a plurality of order language
Sentence composition;Described order line module disposably imports a plurality of life in described batch command component by described batch command component
Make sentence.
Preferably, described Object Operations order obtains after including command statement is parsed command statement action type and life
Make statement parameter.
Preferably, described command line system also includes being arranged at front end subsystem, and be connected with described order line module
Command tree module;Described order line module includes the command selection assembly for calling described command tree module;
All imperatival Sentence formats are shown with tree form by described command line system by described command tree module
It is shown in the display interface of described command line system, and select imperatival Sentence format therein to be shown in described commard editor
Assembly;
Described command line system is imperatival to selected by described command tree module by described commard editor assembly
Sentence format increases parameter, forms complete command statement.
Preferably, described tree form is the tree form based on command statement type.
Preferably, the described order line module positioned at described front end subsystem passes through rpc agreement request located at described service
The described order line parsing module of device backend systems pair.
A kind of order line operational approach based on network management system, wherein, described network management system includes above-mentioned order line system
System, described order line operational approach specifically includes following steps:
Step 1. inputs command statement by commard editor assembly;
Step 2. order line module request order line parsing module parses to command statement;
Step 3. order line parsing module parses to the command statement receiving, and obtains corresponding Object Operations life
Order;
Described Object Operations order is issued to order line external interface module by step 4. order line parsing module;
Step 5. is sub with described server back end by described Object Operations order by described order line external interface module
Application programming interfaces in system are associated, and call corresponding network element operational order;
Operating result is returned described front end subsystem by server back end subsystem described in step 6..
Preferably, also comprise the steps: in described step 1
Step a. selects to be shown in the order of described command line system display interface with tree form by command tree module
Sentence Sentence format, the described command statement Sentence format selecting is shown in described commard editor assembly by described command tree module
In;
Step b. increases parameter by described commard editor assembly in described command statement, forms complete order language
Sentence.
Preferably, also comprise the steps: in described step 3
Order line parsing module described in step a. verifies to the command statement receiving, if it fails, return to step 1;
If it is successful, return to step 3.
The invention has the beneficial effects as follows:
By a kind of command line system based on network management system and order line operational approach and existing telecommunication network management
The seamless connection of system is so that the management for communication network and maintenance can be carried out by the mode of operation of order line, therefore
Can realize imperatival batch operation, simple and direct, rapidly enter issuing of line command, thus improving the efficiency of operation;Meanwhile,
Command script can also be passed through, directly the order that may repeatedly execute be stored, thus facilitating the behaviour of site operation personnel
Make, improve the work efficiency of the efficiency safeguarded and whole system.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, also may be used
So that other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of the embodiment of the command line system based on network management system of the present invention;
Fig. 2 is a kind of schematic flow sheet of the order line operational approach based on network management system of the present invention.
Specific embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as limiting to the invention.
Fig. 1 is a kind of structural representation of the embodiment of the command line system based on network management system of the present invention.Wherein, webmaster
System includes interconnective front end subsystem server backend systems.In a kind of specific embodiment, front end subsystem
It can be web front-end subsystem.Command line system includes located at server back end subsystem and the parsing of interconnective order line
Module, order line external interface module and located at web front-end subsystem and interconnective order line module, command tree mould
Block;Order line module is included for inputting imperatival commard editor assembly and the order choosing for call instruction tree module
Select assembly.Commard editor assembly, is mainly used to show the order of editor.Command statement can operator directly input,
Can also be by call instruction tree module after, select generate.Command line system passes through command tree module by all orders
The Sentence format of sentence is shown in the display interface of command line system with tree form, and selects imperatival sentence therein
Form is shown in commard editor assembly.Command tree module is used for when user is unfamiliar with to the Sentence format of number order sentence,
Show they can be directed to which operation of the object of which type using order line operation to user, by command tree module
Operation, the Sentence format of the corresponding command sentence can directly occur in order line module.Therefore, in one kind tool of the present invention
In body embodiment, the input of order line terminal has the input of order edlin and command tree to select two kinds of forms of input.
On the basis of technique scheme, tree form can be the tree form based on command statement type.For example,
The command statement of inquiry class is set to a class, the command statement of setting class is set to another kind of, then also can be again in these types
Under command statement proceed segment.The command statement Sentence format that these are presented may can be inherently one complete
Command statement, directly can use;Can also be simply part, incomplete command statement is in addition it is also necessary to operator add
Plus suitable condition, command statement parameter, wait completion order.For example in querying command sentence, command statement undetermined is joined
Number can be just according to using the network element needing in selection particular range.
In a kind of specific embodiment of the present invention, order line module also includes batch command component, batch command component
It is made up of a plurality of command statement;Order line module disposably imports a plurality of life in batch command component by batch command component
Make sentence.
Command line system passes through the command statement that the parsing of order line parsing module sends from web front-end subsystem, and
To corresponding Object Operations order.In a kind of specific embodiment, order line parsing module is also included for entering to command statement
The command checksum assembly of row verification, for example, command checksum assembly is used for carry out whether legal to imperatival order expression formula
Checking.If command statement verifies successfully, issue and carry out imperatival parsing;If verifying unsuccessfully, by abnormal show
On the command line system display interface of web front-end subsystem.
In a kind of specific embodiment, passing through rpc agreement positioned at the described order line module of described front end web subsystem please
Seek the described order line parsing module located at described server back end subsystem pair.Rpc agreement is a kind of remote procedure call association
View, it is not necessary to understand the agreement of underlying network technology, therefore is realized directly remotely accessing process by rpc, can be avoided loaded down with trivial details
Packing and unpacking process, and do not rely on certain specific agreement.
In a kind of specific embodiment, order line module also includes batch command component.In a kind of specific embodiment,
It can be a kind of shell script.Batch command component includes a plurality of command statement.Order line module passes through batch command component
Need to reselect defeated when can disposably import a plurality of command statement in batch command component, and not be used in each use
Enter such that it is able to quick Selection and call be carried out to commonly used command in order line module, realize the raising of operating efficiency.
Can be according to the command statement transmitting through order line parsing module, group builds up corresponding Object Operations life
Order, command statement action type and command statement parameter that Object Operations order obtains after can including command statement is parsed.
In a kind of specific embodiment, under java environment, order line parsing module is permissible according to the command statement establishment one of parsing
It is command by the javabean object of row system identification, network management system passes through this javabean object it is possible to learning operation personnel
Operation to be expressed, thus the corresponding interface of calling system class, carries out operation and issues.
Command line system pass through order line external interface module by the application programming interfaces on server back end subsystem with
Object Operations order is associated, and NE is operated according to Object Operations order by application programming interfaces.Here
Mainly the order line javabean object passing over is entered with the reading of row information, so that it is determined that needing to carry out to which type of
NE operation calls.Order line external interface module is it is only necessary to enter in the original application programming interfaces of network management system
Row is simple to be encapsulated, and connects and ensure that concordance so that a kind of command line system of the present invention and the seamless connection of existing product,
Also maintain the stability of product.
In a kind of specific embodiment of the present invention, command line system is after order line external interface module is by server
Application programming interfaces on terminal system are associated with Object Operations order, and are ordered according to Object Operations by application programming interfaces
Order operates to NE.
By above-mentioned command line system, the software monitors to network element and day can be completed by operating the order line of terminal
Normal maintenance function.User can send identical order for inquiring about or changing relevant to multiple network elements in operation terminal
Parameter, realize quick, simple and direct order and issue.
Fig. 2 is a kind of schematic flow sheet of the order line operational approach based on network management system of the present invention, wherein, network management system
Including above-mentioned command line system, order line operational approach specifically includes following steps:
Step 1. inputs command statement by commard editor assembly;
Step 2. order line module request order line parsing module parses to command statement;
Step 3.1 order line parsing module verifies to the command statement receiving, if it fails, return to step 1;As
Fruit success, enters step 3.2;
Step 3.2 order line parsing module parses to the command statement receiving, and obtains corresponding Object Operations life
Order;
Object Operations order is issued to order line external interface module by step 4. order line parsing module;
Step 5. passes through order line external interface module by the application on Object Operations order and server back end subsystem
Routine interface is associated, and calls corresponding network element operational order;
Operating result is returned web front-end subsystem by step 6. server back end subsystem.
In a kind of specific embodiment, also comprise the steps: in step 1
Step a. selects to be shown in the command statement of command line system display interface with tree form by command tree module
Sentence format, the command statement Sentence format of selection is shown in commard editor assembly command tree module;Step b. passes through life
Make editing component increase parameter in command statement, form complete command statement.By above step, can be compiled by order
Collect assembly and command tree module two ways realizes imperatival input.When the sentence lattice to number order sentence for the operator
It is possible to show which they can be directed to using order line operation by command tree module to user when formula is unfamiliar with or is forgotten
Which operation of the object of type, thus increased the convenience of use.
The present invention is by a kind of command line system based on network management system and order line operational approach and existing telecommunications network
The seamless connection of network management system is so that the management for communication network and maintenance can be entered by the mode of operation of order line
OK, therefore can realize imperatival batch operation, simple and direct, rapidly enter issuing of line command, thus improving the effect of operation
Rate;Simultaneously additionally it is possible to pass through command script, directly the order that may repeatedly execute is stored, thus facilitating execute-in-place
The operation of personnel, improves the work efficiency of the efficiency safeguarded and whole system.
The foregoing is only preferred embodiments of the present invention, not thereby limit embodiments of the present invention and protection model
Enclose, to those skilled in the art it should can appreciate that done by all utilization description of the invention and diagramatic content
Scheme obtained by equivalent and obvious change, all should be included in protection scope of the present invention.
Claims (8)
1. a kind of command line system based on network management system, described network management system includes interconnective front end subsystem and service
Device backend systems it is characterised in that
Described command line system includes located at described server back end subsystem and interconnective order line parsing module, order
Row external interface module and the order line module located at described front end subsystem;Described order line module is included for input life
Make the commard editor assembly of sentence;
The command statement that described command line system is sent from the subsystem of described front end by the parsing of described order line parsing module,
And obtain corresponding Object Operations order;
Described command line system is by described order line external interface module by the application journey on described server back end subsystem
Sequence interface is associated with described Object Operations order, and by described application programming interfaces according to described Object Operations order to net
Network unit is operated;
Described command line system also includes being arranged at front end subsystem, and the command tree module being connected with described order line module;
Described order line module includes the command selection assembly for calling described command tree module;
All imperatival Sentence formats are shown in tree form by described command line system by described command tree module
The display interface of described command line system, and select imperatival Sentence format therein to be shown in described commard editor group
Part;
Described command line system is by described commard editor assembly to the imperatival sentence being selected by described command tree module
Form increases parameter, forms complete command statement.
2. the command line system based on network management system as claimed in claim 1 it is characterised in that
Described order line module also includes batch command component, and described batch command component is made up of a plurality of command statement;Described
Order line module disposably imports a plurality of command statement in described batch command component by described batch command component.
3. the command line system based on network management system as claimed in claim 1 is it is characterised in that described Object Operations order bag
Include to the command statement action type obtaining after command statement parsing and command statement parameter.
4. the command line system based on network management system as claimed in claim 1 it is characterised in that described tree form be based on
The tree form of command statement type.
5. the command line system based on network management system as claimed in claim 1 is it is characterised in that be located at described front end subsystem
Described order line module pass through rpc agreement request and parse mould located at the described order line of described server back end subsystem pair
Block.
6. a kind of order line operational approach based on network management system is it is characterised in that described network management system is included as claim
Command line system described in any one of 1-5, described order line operational approach specifically includes following steps:
Step 1. inputs command statement by commard editor assembly;
Step 2. order line module request order line parsing module parses to command statement;
Step 3. order line parsing module parses to the command statement receiving, and obtains corresponding Object Operations order;
Described Object Operations order is issued to order line external interface module by step 4. order line parsing module;
Step 5. is by described order line external interface module by described Object Operations order and described server back end subsystem
On application programming interfaces be associated, and call corresponding network element operational order;
Operating result is returned described front end subsystem by server back end subsystem described in step 6..
7. the order line operational approach based on network management system as claimed in claim 6 is it is characterised in that go back in described step 1
Comprise the steps:
Step a. selects to be shown in the command statement of described command line system display interface with tree form by command tree module
Sentence format, the described command statement Sentence format selecting is shown in described commard editor assembly described command tree module;
Step b. increases parameter by described commard editor assembly in described command statement, forms complete command statement.
8. the order line operational approach based on network management system as claimed in claim 6 is it is characterised in that go back in described step 3
Comprise the steps:
Order line parsing module described in step a. verifies to the command statement receiving, if it fails, return to step 1;If
Success, return to step 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310483441.7A CN103532756B (en) | 2013-10-15 | 2013-10-15 | Command line system and command line operation method based on webmaster system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310483441.7A CN103532756B (en) | 2013-10-15 | 2013-10-15 | Command line system and command line operation method based on webmaster system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103532756A CN103532756A (en) | 2014-01-22 |
CN103532756B true CN103532756B (en) | 2017-01-25 |
Family
ID=49934457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310483441.7A Active CN103532756B (en) | 2013-10-15 | 2013-10-15 | Command line system and command line operation method based on webmaster system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103532756B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598202A (en) * | 2014-12-26 | 2015-05-06 | 曙光信息产业股份有限公司 | Command line management device and method |
US10216709B2 (en) | 2015-05-22 | 2019-02-26 | Microsoft Technology Licensing, Llc | Unified messaging platform and interface for providing inline replies |
US20160342665A1 (en) * | 2015-05-22 | 2016-11-24 | Microsoft Technology Licensing, Llc | Interactive command line for content creation |
US20160344677A1 (en) | 2015-05-22 | 2016-11-24 | Microsoft Technology Licensing, Llc | Unified messaging platform for providing interactive semantic objects |
CN106406825A (en) * | 2015-07-27 | 2017-02-15 | 中兴通讯股份有限公司 | Command line processing method and device |
CN105847041B (en) * | 2016-03-18 | 2019-06-07 | 烽火通信科技股份有限公司 | A kind of exchange method based on network management system command-line data |
CN106775937A (en) * | 2016-12-02 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of order line method of calibration and device |
CN107894918A (en) * | 2017-11-20 | 2018-04-10 | 中国银行股份有限公司 | A kind of WAS object integrations operating method and device based on order line script |
CN109842646A (en) * | 2017-11-27 | 2019-06-04 | 北京京东尚科信息技术有限公司 | The treating method and apparatus of network request |
CN108647043B (en) * | 2018-04-03 | 2021-03-16 | 烽火通信科技股份有限公司 | Method and system for realizing command line input |
CN108551405B (en) * | 2018-04-24 | 2021-05-28 | 新华三技术有限公司 | Equipment operation method and device |
CN109450679A (en) * | 2018-11-01 | 2019-03-08 | 郑州云海信息技术有限公司 | A kind of network information configuration method and device |
CN114553660A (en) * | 2022-01-10 | 2022-05-27 | 北京思特奇信息技术股份有限公司 | Distributed system and operation and maintenance method for efficient operation and maintenance |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859158A (en) * | 2005-08-05 | 2006-11-08 | 华为技术有限公司 | Command line conflict detecting and service configuration realizing method |
CN101079737A (en) * | 2007-06-08 | 2007-11-28 | 中兴通讯股份有限公司 | An automatic structuring and parsing method and system of command line interface command |
CN101110702A (en) * | 2007-08-14 | 2008-01-23 | 中兴通讯股份有限公司 | Method for command line interface authority classification and system thereof |
CN102857355A (en) * | 2011-06-27 | 2013-01-02 | 中兴通讯股份有限公司 | Method and device for information adaptation |
CN103001786A (en) * | 2011-09-16 | 2013-03-27 | 中兴通讯股份有限公司 | MML-based (man-machine-language-based) method, server and system for configuring large volume data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7769859B1 (en) * | 2005-04-15 | 2010-08-03 | Cisco Technology, Inc. | Controlling access to managed objects in networked devices |
-
2013
- 2013-10-15 CN CN201310483441.7A patent/CN103532756B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859158A (en) * | 2005-08-05 | 2006-11-08 | 华为技术有限公司 | Command line conflict detecting and service configuration realizing method |
CN101079737A (en) * | 2007-06-08 | 2007-11-28 | 中兴通讯股份有限公司 | An automatic structuring and parsing method and system of command line interface command |
CN101110702A (en) * | 2007-08-14 | 2008-01-23 | 中兴通讯股份有限公司 | Method for command line interface authority classification and system thereof |
CN102857355A (en) * | 2011-06-27 | 2013-01-02 | 中兴通讯股份有限公司 | Method and device for information adaptation |
CN103001786A (en) * | 2011-09-16 | 2013-03-27 | 中兴通讯股份有限公司 | MML-based (man-machine-language-based) method, server and system for configuring large volume data |
Also Published As
Publication number | Publication date |
---|---|
CN103532756A (en) | 2014-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103532756B (en) | Command line system and command line operation method based on webmaster system | |
WO2018006789A1 (en) | Parameter checking method and apparatus, and network management server and computer storage medium | |
CN111083225B (en) | Data processing method and device in Internet of things platform and Internet of things platform | |
US20060190579A1 (en) | Assisted command script template creation | |
US10817819B2 (en) | Workflow compilation | |
EP2661014A1 (en) | Polling sub-system and polling method for communication network system and communication apparatus | |
CN109560996B (en) | Automatic testing system and method for terminal of Internet of things | |
CN101894059B (en) | A kind of detection method of running status and system | |
CN103577320A (en) | Testing method and system of remote terminals | |
CN104572644A (en) | Database updating device and database updating method | |
CN106776639A (en) | Data processing method and data processing equipment based on SQL | |
CN104918280A (en) | Vehicle-mounted wireless equipment, train equipment wireless test system and method | |
CN113256095A (en) | Draggable configured agile flow service construction method, system, device and medium | |
CN112269746A (en) | Automatic testing method and related equipment | |
CN107704257A (en) | A kind of method and device of distributed server centralized management | |
CN108287720B (en) | Software compiling method, device, equipment and storage medium | |
CN109617944A (en) | WEB parameter management method, device, computer storage medium and equipment | |
CN106681852B (en) | A kind of method of adjustment and device of browser compatibility | |
KR101482668B1 (en) | System and method for generating database based on SCL | |
CN111459748A (en) | Operation and maintenance control method, system and device based on command control and storage medium | |
CN102007471A (en) | Method and apparatus for designing device-to-device configurations suitable to be used in a power system | |
CN103281202A (en) | System of browser/server architecture and front-end presentation method of system | |
CN110209722A (en) | A kind of data-interface for data exchange | |
CN105204862A (en) | Method for processing CLI commands in concentrated mode | |
CN109981342A (en) | A kind of method and system of batch processing network device operation order |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |