CN101291253A - Man-machine command interaction method for network management terminal based on graphical interface - Google Patents

Man-machine command interaction method for network management terminal based on graphical interface Download PDF

Info

Publication number
CN101291253A
CN101291253A CNA2008101106347A CN200810110634A CN101291253A CN 101291253 A CN101291253 A CN 101291253A CN A2008101106347 A CNA2008101106347 A CN A2008101106347A CN 200810110634 A CN200810110634 A CN 200810110634A CN 101291253 A CN101291253 A CN 101291253A
Authority
CN
China
Prior art keywords
definition
data configuration
configuration file
exchange method
command
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.)
Granted
Application number
CNA2008101106347A
Other languages
Chinese (zh)
Other versions
CN101291253B (en
Inventor
吴春明
范畅
骆文
吴水生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2008101106347A priority Critical patent/CN101291253B/en
Publication of CN101291253A publication Critical patent/CN101291253A/en
Application granted granted Critical
Publication of CN101291253B publication Critical patent/CN101291253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to a human-computer command interaction method based on a graphical interface in a network management client. The method comprises the following steps that: data configuration files are defined; according to the data configuration files, the graphical interface is generated; user operation is received by a graphical interface port and a corresponding human-compute command is generated according to the data configuration files; or data in a server terminal is received or responded, converted according to the data configuration files and provided to a user in an image mode by the graphical interface port. The interaction method is based on the data configuration files; the interface is automatically generated by a layout manger; the command is automatically generated by a human-computer command resolver; the heaviest graphical interface part in the network management development can be relieved; a majority of the interfaces can be automatically completed by the layout manager; a few interfaces can be expanded by the port; the human-computer command interaction method greatly reduces the risk of fault introduction, saves the development cost of network management software and can be widely suitable for various functional network management graphical interfaces.

Description

A kind of NM client is based on the man-machine command interaction method of graphical interfaces
Technical field
The present invention relates to NM client, be specifically related to the man-machine command interaction method of a kind of NM client based on graphical interfaces.
Background technology
In the webmaster field, manmachine command is a kind of use man-machine interaction agreement widely, based on the man-machine interaction client of this protocol development following two kinds of traditional approachs is arranged usually:
1) command line mode
2) order navigation tree mode
Traditional approach has the following disadvantages:
1) traditional approach needs the user to remember a large amount of manmachine commands and parameter thereof, and the initial stage uses quite time-consuming, and is very inapplicable for the system that manmachine command quantity is huge.
2) to make each order use all be independently to traditional approach, lost the relevance between the order.
With respect to traditional approach, the graphical interfaces mode has following good characteristic:
1) the graphical interfaces mode presents manmachine command with pattern interface intuitively, makes the user can be concerned about and remember concrete order, is easy to left-hand seat, and is convenient and swift.
2) the graphical interfaces mode can get up to use with relevant in logic command in combination, has the guide effect.
But, existing graphical interfaces mode only is present in the development company of some webmastering softwares at each different different interface of function hard coded, the development cost that its webmastering software drops into is very high, and the complexity of maintenance is also big, and hard coded also causes the introducing of new fault easily simultaneously.
Summary of the invention
The technical issues that need to address of the present invention are how the man-machine command interaction method of a kind of NM client based on graphical interfaces is provided, and can adapt to various functional graphic interface, reduce the software input simultaneously, safeguard simply, and can effectively avoid the introducing of new fault.
Above-mentioned technical problem of the present invention solves like this, and the man-machine command interaction method of a kind of NM client based on graphical interfaces is provided, and may further comprise the steps:
1.1) the definition of data configuration file;
1.2) generate graphical interfaces according to described data configuration file;
1.3) accept user's operation and generate corresponding manmachine command according to described data configuration file by the graphical interfaces interface; The perhaps data of reception server end or response and change again by the graphical interfaces interface according to described data configuration file and to offer the user in the mode of image.
According to exchange method provided by the invention, described data configuration file comprises layout definition, control definition and manmachine command definition.
According to exchange method provided by the invention, this exchange method comprises that also NM client and server end manmachine command version are compared and does not upgrade manmachine command definition in the described data configuration file simultaneously at both, specifically can be carried out by the man-computer command script manager.
According to exchange method provided by the invention, described layout definition and control definition can be expanded.
According to exchange method provided by the invention, described step 1.2) comprises and read that described data configuration file obtains and generate graphical interfaces automatically according to described layout definition and control definition, specifically can read, the interface layout manager generates by the configuration file resolver.
According to exchange method provided by the invention, described step 1.3) foundation that generates in comprises that reading described data configuration file obtains described manmachine command definition, specifically can be generated by the manmachine command resolver.
According to exchange method provided by the invention, described step 1.3) foundation of conversion comprises that reading described data configuration file obtains described layout definition and control definition in.
According to exchange method provided by the invention, described data configuration file also comprises the dynamic script definition, described step 1.3) also comprise and read that described data configuration file obtains and carry out corresponding script according to described dynamic script definition, specifically by the configuration file resolver read, dynamic script carries out container and carries out.
According to exchange method provided by the invention, described dynamic script definition can be expanded.
According to exchange method provided by the invention, describedly read described data configuration file and comprise and load and resolve.
A kind of NM client provided by the invention is based on the man-machine command interaction method of graphical interfaces, based on data configuration file, the interface is generated automatically by layout manager, order is generated automatically by the manmachine command resolver, make that the heaviest graphical interfaces is partly freed in the webmaster exploitation, most of interface can be finished automatically by layout manager, the minority part can be expanded by interface, reduced the risk that fault is introduced greatly, the development cost of the webmastering software of saving can extensively adapt to various function webmaster graphical interfaces simultaneously.
Description of drawings
Further the present invention is described in detail below in conjunction with the drawings and specific embodiments.
Fig. 1 is the man-machine interaction client framework figure that the present invention is based on graphical interfaces;
Fig. 2 is that layout manager is carried out schematic flow sheet in the client shown in Figure 1;
Fig. 3 is that dynamic script is carried out container execution schematic flow sheet in the client shown in Figure 1;
Fig. 4 is that the manmachine command resolver is carried out schematic flow sheet in the client shown in Figure 1.
Embodiment
At first, the main processing module of client of the present invention is described, as shown in Figure 1, specifically comprises:
1) data configuration file 100: the function of control definition, layout definition, manmachine command definition and dynamic script definition is provided, and these are described as whole framework basic data basis are provided.
2) the configuration file resolver 101: the data parsing in the data configuration file is come out, be loaded in the internal memory, be converted to operable data object, for program running provides the context foundation.
3) the interface layout manager 102: describe generation graphical interfaces automatically according to control definition and layout definition.
4) dynamic script is carried out container 103: carry out user-defined dynamic script.
5) the manmachine command resolver 104: execution after triggering manmachine command to send action generates manmachine command automatically according to the mapping relations between control and the manmachine command parameter.
6) the man-computer command script manager 105: be responsible for downloading up-to-date man-computer command script from network element.
In second step, client operation principle of the present invention is described:
(1) data query specifically comprises:
1) configuration file resolver reading of data configuration file is loaded into configuration information in the internal memory.
2) trigger layout manager work behind user's selection function menu, layout manager gets access to control definition and control layout definition information by the configuration file resolver of step 1), generates display interface.
3) user clicks step 2) in display interface on inquire button after, the configuration file resolver of manmachine command resolver by step 1) gets access to manmachine command definition information, generates manmachine command
4) find to have the dynamic script that shows under the preceding state if dynamic script is carried out container, then carry out script information, finish some as functions such as functions such as manmachine command parameter maps, parameter value conversion, interpolation interface monitoring incidents
5) send man-machine life and accept return data
6) according to step 2) the manmachine command parameter that gets access to of configuration file resolver and control mapping relations definition information show return data.
7) find to have the dynamic script that shows under the state of back if dynamic script is carried out container, then carry out script information, finish some as functions such as function such as manmachine command parameter maps, parameter value conversions
(2) data are increased, modified or deleted, and specifically comprise:
1) configuration file resolver reading of data configuration file is loaded into configuration information in the internal memory.
2) increase, modify or delete function button on user's click function interface after, the configuration file resolver of layout manager by step 1) gets access to control definition and control layout definition information, generates corresponding interface.
3) user clicks step 2) behind the confirming button on the interface that generated, the manmachine command resolver gets access to manmachine command definition information by the configuration file resolver of step 1), generates manmachine command
4) find to have the dynamic script of increasing, modifying or deleting under the preceding state if dynamic script is carried out container, then carry out script information, finish some as functions such as functions such as manmachine command parameter maps, parameter value conversion, interpolation interface monitoring incidents
5) send manmachine command
6) find to have the dynamic script of increasing, modifying or deleting under the state of back if dynamic script is carried out container, then carry out script information, finish some as functions such as function such as manmachine command parameter maps, parameter value conversions.
Further, the present invention also comprises:
1) man-computer command script is synchronous: the man-computer command script manager sends manmachine command to network element and obtains the current network version, if network element version and client manmachine command version do not match, then downloads up-to-date man-computer command script to client from network element.
2) fault processing: carrying out overtime or return error message at manmachine command is that step 5) also comprises unified fault processing in the step later on, and concrete mode can be a log record, ejects error box etc.
3) dilatancy:
Above-mentioned interface layout manager is extendible, and the user can realize that the layout manager interface is to add new layout type; The control that defines in the configuration file is extendible, and the user can realize that the control interface adds new control type or control property; The contents processing that dynamic script is carried out container is extendible, and the user can realize dynamic script processing engine interface, adds new script keyword and grammer.
At last, be that example is elaborated with the configuration management in the network management system:
This a part of function is because of the Network Element Function difference, and along with the variation of a Network Element Function, the function of configuration management also can become increasingly complex, and finally becomes to be difficult to safeguard.In order to address this problem, we adopt the implementation method based on the man-machine command interaction client of graphical interfaces.
(1) content of configuration file is formed and structure.
Configuration file comprises four parts: control definition, layout definition, manmachine command definition and dynamic script definition
1) the control definition comprises: control title (general same parameter title), type, initial value, maximum, minimum value, show state, visible state, the prompting of floating;
2) layout definition comprises: control place grouping serial number, group names, packet type, layout manager, elemental height, original width, grouping information
3) the manmachine command definition comprises: display command, newly-increased order, modification order, delete command
4) dynamic script comprises: the mouse event script of control, the KeyEvent script of control, character processing scripts, numerical value processing scripts, order send pre-process and post-process script, control and manmachine command parameter maps script
Defined these four parts of configuration file are data bases of whole framework operation, and institutional framework also can improve the efficient of whole service framework efficiently.Preferably, use the XML configuration file of encoding.
(2) configuration file resolver once is described.
Configuration file resolver resolves profile data structure, according to the storage of Key-Value form, present case adopts the Map structure in the Java language, and is as follows after the data parsing:
Function name=
{ function name: CONTROL=
{ function name: CONTROL: title=My TextField
{ type=TextField
Initial value=1
Maximum=255
Minimum value=0
Show state=0000
Upstate=0000}}}}
(3) layout manager.
The running of layout manager as shown in Figure 2, specifically may further comprise the steps:
110) read the control definition that belongs to a grouping together;
111) control layout manager of initialization;
112) all controls of initialization;
113) judge that current layout manager whether can layout step 112) in control, if could would continue otherwise recording exceptional and withdrawing from;
114) Panel of initialization;
115) all control of layout is to Panel;
(4) dynamic script is carried out container
Dynamic script is carried out the running of container, as shown in Figure 3, specifically may further comprise the steps:
120) read dynamic script information;
121) analyze the dynamic script grammer, resolving script is the primitive of several logical levels;
122) judge grammaticality, correctly then continue, otherwise withdraw from;
4) carry out primitive one by one by logical level; 123
5) whether script executing is correct, correctly then continues, otherwise withdraws from; 124
6) execution result is returned; 125
Five, manmachine command resolver as shown in Figure 4, specifically may further comprise the steps:
130) read control definition and manmachine command definition information;
131) read man-computer command script information;
132) judge whether control name and manmachine command parameter be corresponding, and correspondence then continues, otherwise execution in step;
133) dynamic script with the manmachine command parameter correlation is arranged, have then and continue, otherwise execution in step;
134) manmachine command parameter and control value are assembled into the word string of Key=Value;
135) call dynamic script and carry out the script that container is handled relevant parameter maps, be combined as a personal-machine command parameter value such as value with a plurality of controls;
136) all word strings are assembled into manmachine command.

Claims (10)

1, a kind of NM client is characterized in that based on the man-machine command interaction method of graphical interfaces, may further comprise the steps:
1.1) the definition of data configuration file;
1.2) generate graphical interfaces according to described data configuration file;
1.3) accept user's operation and generate corresponding manmachine command according to described data configuration file by the graphical interfaces interface; The perhaps data of reception server end or response and change again by the graphical interfaces interface according to described data configuration file and to offer the user in the mode of image.
According to the described exchange method of claim 1, it is characterized in that 2, described data configuration file comprises layout definition, control definition and manmachine command definition.
According to the described exchange method of claim 2, it is characterized in that 3, this exchange method comprises that also NM client and server end manmachine command version are compared and do not upgrade manmachine command definition in the described data configuration file simultaneously at both.
According to the described exchange method of claim 2, it is characterized in that 4, described layout definition and control definition can be expanded.
5, according to the described exchange method of claim 2, it is characterized in that described step 1.2) comprise and read described data configuration file acquisition and generate graphical interfaces automatically according to described layout definition and control definition.
6, according to the described exchange method of claim 2, it is characterized in that described step 1.3) in the foundation that generates comprise that reading described data configuration file obtains described manmachine command definition.
7, according to the described exchange method of claim 2, it is characterized in that described step 1.3) in the foundation of conversion comprise that reading described data configuration file obtains the definition of described layout definition and control.
According to the described exchange method of claim 2, it is characterized in that 8, described data configuration file also comprises dynamic script definition, described step 1.3) also comprise and read described data configuration file acquisition and carry out corresponding script according to described dynamic script definition.
9, described according to Claim 8 exchange method is characterized in that, described dynamic script definition can be expanded.
10, according to each described exchange method among the claim 5-8, it is characterized in that, describedly read described data configuration file and comprise and load and resolve.
CN2008101106347A 2008-06-06 2008-06-06 Man-machine command interaction method for network management terminal based on graphical interface Active CN101291253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101106347A CN101291253B (en) 2008-06-06 2008-06-06 Man-machine command interaction method for network management terminal based on graphical interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101106347A CN101291253B (en) 2008-06-06 2008-06-06 Man-machine command interaction method for network management terminal based on graphical interface

Publications (2)

Publication Number Publication Date
CN101291253A true CN101291253A (en) 2008-10-22
CN101291253B CN101291253B (en) 2011-04-20

Family

ID=40035348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101106347A Active CN101291253B (en) 2008-06-06 2008-06-06 Man-machine command interaction method for network management terminal based on graphical interface

Country Status (1)

Country Link
CN (1) CN101291253B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902363A (en) * 2010-08-16 2010-12-01 中兴通讯股份有限公司 Method and device for managing network element equipment
CN103001786A (en) * 2011-09-16 2013-03-27 中兴通讯股份有限公司 MML-based (man-machine-language-based) method, server and system for configuring large volume data
CN103034481A (en) * 2011-10-10 2013-04-10 深圳市证通电子股份有限公司 Financial self-service terminal and interface realizing method thereof
CN103116499A (en) * 2013-03-11 2013-05-22 南京因泰莱电器股份有限公司 Configuration method of menu
CN103838158A (en) * 2014-03-07 2014-06-04 南京聚诚电子科技有限公司 LED full-color display screen system controlled through smart phone
CN103858104A (en) * 2011-09-27 2014-06-11 甲骨文国际公司 System and method for administering server configurations including GUI navigation, property sheets, and auto-Tab completion
CN106201507A (en) * 2016-07-07 2016-12-07 蓝网科技股份有限公司 The graphical interfaces of a kind of medical science calling system generates and display packing
CN107992337A (en) * 2017-10-19 2018-05-04 用友网络科技股份有限公司 Method, the system of cross-system remote deployment operation system
CN107992305A (en) * 2017-12-29 2018-05-04 广州酷狗计算机科技有限公司 The layout method and device of function of application button
CN108614689A (en) * 2017-01-09 2018-10-02 阿里巴巴集团控股有限公司 Generation method, device and the terminal device of scene service
CN115220852A (en) * 2022-09-20 2022-10-21 北京融为科技有限公司 Method and device for generating human-computer interaction interface

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1190038C (en) * 2002-04-01 2005-02-16 港湾网络有限公司 Network equipment panel management method and system thereof
CN101135966A (en) * 2006-11-24 2008-03-05 中兴通讯股份有限公司 Graphical interfaces development method and system based on command lines

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902363A (en) * 2010-08-16 2010-12-01 中兴通讯股份有限公司 Method and device for managing network element equipment
CN103001786A (en) * 2011-09-16 2013-03-27 中兴通讯股份有限公司 MML-based (man-machine-language-based) method, server and system for configuring large volume data
CN103001786B (en) * 2011-09-16 2017-06-06 南京中兴新软件有限责任公司 A kind of Large Volume Data collocation method based on MML, server and system
CN103858104B (en) * 2011-09-27 2017-06-27 甲骨文国际公司 The system and method for the server configuration that management is automatically performed containing GUI navigation, attribute list and Tab
CN103858104A (en) * 2011-09-27 2014-06-11 甲骨文国际公司 System and method for administering server configurations including GUI navigation, property sheets, and auto-Tab completion
US9477528B2 (en) 2011-09-27 2016-10-25 Oracle International Corporation System and method for providing a rest-based management service in a traffic director environment
US9733983B2 (en) 2011-09-27 2017-08-15 Oracle International Corporation System and method for surge protection and rate acceleration in a traffic director environment
US9652293B2 (en) 2011-09-27 2017-05-16 Oracle International Corporation System and method for dynamic cache data decompression in a traffic director environment
CN103034481A (en) * 2011-10-10 2013-04-10 深圳市证通电子股份有限公司 Financial self-service terminal and interface realizing method thereof
CN103116499A (en) * 2013-03-11 2013-05-22 南京因泰莱电器股份有限公司 Configuration method of menu
CN103838158A (en) * 2014-03-07 2014-06-04 南京聚诚电子科技有限公司 LED full-color display screen system controlled through smart phone
CN106201507A (en) * 2016-07-07 2016-12-07 蓝网科技股份有限公司 The graphical interfaces of a kind of medical science calling system generates and display packing
CN108614689A (en) * 2017-01-09 2018-10-02 阿里巴巴集团控股有限公司 Generation method, device and the terminal device of scene service
CN108614689B (en) * 2017-01-09 2021-08-13 斑马智行网络(香港)有限公司 Scene service generation method and device and terminal equipment
CN107992337A (en) * 2017-10-19 2018-05-04 用友网络科技股份有限公司 Method, the system of cross-system remote deployment operation system
CN107992305A (en) * 2017-12-29 2018-05-04 广州酷狗计算机科技有限公司 The layout method and device of function of application button
CN115220852A (en) * 2022-09-20 2022-10-21 北京融为科技有限公司 Method and device for generating human-computer interaction interface

Also Published As

Publication number Publication date
CN101291253B (en) 2011-04-20

Similar Documents

Publication Publication Date Title
CN101291253B (en) Man-machine command interaction method for network management terminal based on graphical interface
CN112688865B (en) Design method of OPC UA gateway for graphical online modeling
CN103455540B (en) The system and method for generating memory model from data warehouse model
CN101446971B (en) Method for building content management system and device thereof
CN103441900A (en) Centralization cross-platform automated testing system and control method thereof
CN104123227A (en) Method for automatically generating testing cases
CN102566984B (en) Method and device for configuring parameters
CN101909082B (en) Model-driven grid portal configuration system and method
JP2011517823A (en) Query processing visualizing system, method for visualizing query processing, and computer program
CN115469941A (en) Automatic configuration processing method and system for wind control index calculation development based on FlinkSQL
CN115599382A (en) Automatic Sar architecture based code automatic generation tool and method
CN112488502A (en) Standard water resource management integrated management and control platform
CN101706823B (en) Inquiry system and method of customized database
CN113419969B (en) Interface automatic formation power guarantee method based on browser plug-in
CN105468793A (en) Automated management method for simulation model data
CN101056210B (en) An event processing system and method of network central management platform
CN105550431A (en) Three-dimensional layout design data integration method and system for nuclear power plant
CN102999329A (en) Active directory interface developing method based on extensive markup language mapping configuration
CN101968747B (en) Cluster application management system and application management method thereof
CN106599087B (en) A kind of Secondary of spatial Information Service
CN103714035B (en) Multilayer software bus structure for integrated environment
Magoutis et al. Galapagos: Automatically discovering application-data relationships in networked systems
CN202736109U (en) High-concurrency enterprise concentrated application system
CN112015560A (en) Device for constructing IT infrastructure
CN109885419A (en) A kind of automatic management method for middle wound middleware Fault Isolation and reparation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant