CN101135966A - Graphical interfaces development method and system based on command lines - Google Patents

Graphical interfaces development method and system based on command lines Download PDF

Info

Publication number
CN101135966A
CN101135966A CNA2006101440790A CN200610144079A CN101135966A CN 101135966 A CN101135966 A CN 101135966A CN A2006101440790 A CNA2006101440790 A CN A2006101440790A CN 200610144079 A CN200610144079 A CN 200610144079A CN 101135966 A CN101135966 A CN 101135966A
Authority
CN
China
Prior art keywords
command
module
data
user interface
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.)
Pending
Application number
CNA2006101440790A
Other languages
Chinese (zh)
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 CNA2006101440790A priority Critical patent/CN101135966A/en
Publication of CN101135966A publication Critical patent/CN101135966A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The system comprises: a graphic user interface module used for displaying the data information of graphic user interface, and writing said data information of the graphic user interface data information into a command line data set, and providing an operation menu or button; a configuration data module used for recording the confirmation data of the graphic interface; a command line creating module used for converting the graphic user interface data information into a command line interface command; the command line execution engine module used for sending the command line interface command to the serving end; a command line processing module used for receiving the command line interface command.

Description

A kind of graphical interfaces development method and system based on order line
Technical field
The present invention relates to communication network management system, relate in particular to a kind of graphical interfaces development method and system based on order line.
Background technology
Because the self-condition of telecom operators and the difference of use habit, the customer requirements network management system that has provides the mode of graphical user interface (GUI) to operate, and the user who has then requires network management system to provide the mode of command line interface (CLI) to operate.In order to satisfy requirements of different users, general network management system is divided into two projects and realizes this dual mode, and between these two projects without any contact.For same business function logic, in CLI, realized once, in GUI, realize once again, the result of such system constructing mode is the program code that has produced many realization identical functions, and can not guarantee that the GUI mode is just the same with the resulting result of CLI mode, not only implement the manpower that needs overspending, safeguard that the manpower that gets up to need is also many.
In the exploitation network management system, the general GUI of exploitation earlier mode only when customer requirements provides the CLI mode, just begins to develop the CLI mode.But is not wise selection obviously, so have to make a fresh start this time if develop CLI on the basis of GUI.
Even do not require the network management system that realizes the CLI mode, because we often mix business logic modules easily with GUI, thereby make the degree of coupling between our each module of system than higher, client has been done and manyly should be placed on service and bring in the thing of doing.
A method that addresses the above problem is exactly to change us to make up the mode of network management system, service logic is placed on service end fully, be CLI earlier, be GUI based on CLI then, like this no matter be the GUI of client mode, or WEB mode GUI, do not need too much going to understand service logic, get final product, thereby reach the degree of coupling that reduces between the system module and only need understand each bar order, improve reusability, make things convenient for the purpose of system development tissue.
Summary of the invention
In order to solve above-mentioned technical matters, a kind of graphical interfaces development method and system based on order line is provided, its purpose is, reduces the degree of coupling between each module in the network management system, makes things convenient for the exploitation of network management system.
The invention provides a kind of system that develops based on the graphical interfaces of order line, comprising:
Graphical user interface module is used for display graphics user interface data information, the graphical user interface data message on the graphical interfaces is filled into command-line data concentrates, and actions menu or button are provided;
The configuration data module, each data that are used for being provided with on the recording geometry interface;
The order line constructing module is used for the graphical user interface data message on user command and the graphical interfaces is converted into command line interface command;
Order line is carried out engine modules, is used for described command line interface command is sent to service end:
The order line processing module is used to handle the command line interface command that receives.
Also comprise:
Profile module is used for the data message of recording geometry user interface and command line interface;
The configuration file processing module is used for providing the graphical user interface data message to graphical user interface module.
The invention provides a kind of method of developing based on the graphical interfaces of order line, may further comprise the steps:
Graphical user interface module is set, is used for display graphics user interface data information, the graphical user interface data message on the graphical interfaces is filled into command-line data concentrates, and actions menu or button are provided:
The configuration data module is set, each data that are used for being provided with on the recording geometry interface;
The order line constructing module is set, is used for the graphical user interface data message on user command and the graphical interfaces is converted into command line interface command;
Order line is set carries out engine modules, be used for described command line interface command is sent to service end;
The order line processing module is set, is used to handle the command line interface command that receives.
Also comprise:
Profile module is set, is used for the data message of recording geometry user interface and command line interface;
The configuration file processing module is set, is used for providing the graphical user interface data message to graphical user interface module.
The present invention also provides a kind of method of operating of the graphical interfaces development system based on order line, may further comprise the steps:
Step 1, graphical user interface module are shown to data message on the graphical interfaces;
Step 2, user are provided with or revise some data message, and click command execution button, startup command treatment scheme;
Step 3, graphical user interface module are obtained the data that the user is provided with from graphical interfaces;
Step 4, order line are carried out engine modules and are generated the needed data of structure order according to the data of obtaining from graphical interfaces, and the order of call instruction row constructing module structure;
Step 5, order line are carried out engine modules and are sent order to service end;
Step 6, service end order line processing module fill order, and result turned back on the graphical interfaces.
Comprise that also the configuration file processing module reads profile module information before the described step 1, and generate data information displayed on the graphical interfaces according to these information.
The present invention can realize the network management system of GUI mode very easily on the basis of the network management system that realizes the CLI mode, reduce the degree of coupling between each module of network management system, has improved reusability, can facilitate for the exploitation of network management system.
Description of drawings
Fig. 1 is system framework figure provided by the invention;
Fig. 2 is the process flow diagram of data in the configurations shown data module;
Fig. 3 is a process flow diagram of carrying out configuration.
Embodiment
The present invention proposes a kind of GUI development approach based on CLI, CLI is recorded in the configuration file with the data relationship of GUI, come video data on GUI according to configuration file, and construct order with the data relationship of GUI according to CLI, come analog subscriber to send order, executable operations by a command execution engine then to service end.This method realized reducing the degree of coupling preferably, reuse code, make things convenient for the purpose of development organizations.
Module involved in the present invention mainly is the client in system of operation maintenance center (OMC), the order line processing module of service end is what just to have been constructed when making up CLI mode user interface, make up GUI based on CLI, will reuse the business processing logic module that has existed exactly.
The present invention mainly comprises with lower module:
Profile module determines whether needs according to actual conditions.But, for the ease of maintenance and expansion, the data message that the mode of employing configuration file writes down CLI and GUI is a good selection.
If there is configuration file, then there is this module in the configuration file processing module.
The GUI module, video data information provides actions menu or button.The GUI module need be obtained gui data from the configuration file processing module, and it is presented on the graphical interfaces, and also needing can be with the data organization on the graphical interfaces, and is filled into cli data and concentrates, for the order of order line constructing module structure is prepared.
Configuration data module, effect are each data that are provided with on the recording geometry interface.
Order line constructing module, its effect are exactly that user command and graphical interfaces information are converted into the CLI order.
Order line is carried out engine modules, and its effect is exactly the order that the order line constructor generates to be sent to service end carry out.
The order line processing module has made up when making up CLI and to have finished, and is positioned at the Service Processing Module of service end.
Method of the present invention mainly comprises following processing procedure:
The first step, configuration file processing module read profile module information, and generate data information displayed on the graphical interfaces according to these information.
Second step, GUI module are shown to data message on the graphical interfaces.
The 3rd step, user are provided with or revise some data message, and click command execution button, startup command treatment scheme.
The 4th step, GUI module are obtained the data that the user is provided with from graphical interfaces.
The 5th step, order line are carried out engine modules and are generated the needed data of structure order according to the data of obtaining from graphical interfaces, and the order of call instruction row constructing module structure.
The 6th step, order line are carried out engine modules and are sent order to service end.
The 7th step, service end order line processing module fill order, and result turned back on the graphical interfaces.
Below in conjunction with accompanying drawing, the present invention is described in further detail.
In the preferred implementation method of the present invention, the CLI that adopts the profile module record is with the data relationship between the GUI, and the mode that adopts order line constructing module and order line execution engine to come analog subscriber to construct and send order realizes based on CLI exploitation GUI's.
As shown in Figure 1, system provided by the present invention is divided into two parts: client and service end.Wherein, client is divided into 6 modules again: graphical user interface module, profile module, configuration file processing module, configuration data module, order line constructing module, order line are carried out engine modules.Service end then is one an order line processing module.The function of each module is described below respectively:
Configuration file processing module M101: read and resolve configuration file, provide raw data and data relationship to the GUI module.
Profile module M102: adopt the xml document to come recording GUI with the data relationship between the CLI.
GUI module M103: the data in user's configurations shown data module provide user operation menu and button.GUI module M103 need obtain gui data from the configuration file processing module, and it is presented on the graphical interfaces, and also needing can be with the data organization on the graphical interfaces, and is filled into cli data and concentrates, for the order of order line constructing module structure is prepared.
Order line is carried out engine modules M104: the function that is equivalent to control desk.
Configuration data module M105: write down the data that are provided with on each graphical interfaces.
Order line constructing module M106: a module of structure order, need from the configuration file processing module, obtain information with the configuration data module.
Order line processing module M107: be used to handle the order of being constructed.
The invention provides a kind of method of developing based on the graphical interfaces of order line, may further comprise the steps:
Graphical user interface module is set, is used for display graphics user interface data information, the graphical user interface data message on the graphical interfaces is filled into command-line data concentrates, and actions menu or button are provided;
The configuration data module is set, each data that are used for being provided with on the recording geometry interface;
The order line constructing module is set, is used for the graphical user interface data message on user command and the graphical interfaces is converted into command line interface command;
Order line is set carries out engine modules, be used for described command line interface command is sent to service end;
The order line processing module is set, is used to handle the command line interface command that receives.
Also comprise:
Profile module is set, is used for the data message of recording geometry user interface and command line interface;
The configuration file processing module is set, is used for providing the graphical user interface data message to graphical user interface module.
As shown in Figure 2, the flow process of the data in the configurations shown data module is as follows:
Step S101, configuration file processing module read the information in the profile module, and the information that writes down in the profile module carried out necessary processing, specifically be to be gui data with the cli data metaplasia, be temporarily stored in the configuration data module, provide interface to the GUI module, the GUI module is directly taken gui data and is shown on the graphical interfaces.
The data that step S102, GUI module provide according to the configuration file processing module generate the data in the configuration data module, and are kept in the internal memory.
Step S103, GUI module be according to user's selection, with the data presentation in the configuration data module of preserving in the internal memory to graphical interfaces.
As shown in Figure 3, it is as follows to utilize system of the present invention to carry out the flow process that disposes:
Step S201, user click the button of carrying out configuration on the graphical interfaces, start configuration flow.
Step S202, GUI module are obtained the data in the configuration data module that shows on the graphical interfaces, and the data in the configuration data module that responds in the updating memory.
Step S203, order line are carried out engine modules according to the data relationship of CLI with GUI, and the gui data in the configuration data module is converted into cli data.
Step S204, order line are carried out engine modules call instruction row constructing module according to cli data, generate order.
Step S205, order line are carried out engine modules and are sent order to service end.
Step S206, order line processing module fill order.
Those skilled in the art can also carry out various modifications to above content under the condition that does not break away from the definite the spirit and scope of the present invention of claims.Therefore scope of the present invention is not limited in above explanation, but determine by the scope of claims.

Claims (6)

1. the system based on the graphical interfaces exploitation of order line is characterized in that, comprising:
Graphical user interface module is used for display graphics user interface data information, the graphical user interface data message on the graphical interfaces is filled into command-line data concentrates, and actions menu or button are provided;
The configuration data module, each data that are used for being provided with on the recording geometry interface;
The order line constructing module is used for the graphical user interface data message on user command and the graphical interfaces is converted into command line interface command;
Order line is carried out engine modules, is used for described command line interface command is sent to service end;
The order line processing module is used to handle the command line interface command that receives.
2. the system that develops based on the graphical interfaces of order line as claimed in claim 1 is characterized in that, also comprises:
Profile module is used for the data message of recording geometry user interface and command line interface;
The configuration file processing module is used for providing the graphical user interface data message to graphical user interface module.
3. the method based on the graphical interfaces exploitation of order line is characterized in that, may further comprise the steps:
Graphical user interface module is set, is used for display graphics user interface data information, the graphical user interface data message on the graphical interfaces is filled into command-line data concentrates, and actions menu or button are provided;
The configuration data module is set, each data that are used for being provided with on the recording geometry interface;
The order line constructing module is set, is used for the graphical user interface data message on user command and the graphical interfaces is converted into command line interface command;
Order line is set carries out engine modules, be used for described command line interface command is sent to service end;
The order line processing module is set, is used to handle the command line interface command that receives.
4. the method for developing based on the graphical interfaces of order line as claimed in claim 3 is characterized in that, also comprises:
Profile module is set, is used for the data message of recording geometry user interface and command line interface;
The configuration file processing module is set, is used for providing the graphical user interface data message to graphical user interface module.
5. the method for operating based on the graphical interfaces development system of order line is characterized in that, may further comprise the steps:
Step 1, graphical user interface module are shown to data message on the graphical interfaces;
Step 2, user are provided with or revise some data message, and click command execution button, startup command treatment scheme;
Step 3, graphical user interface module are obtained the data that the user is provided with from graphical interfaces;
Step 4, order line are carried out engine modules and are generated the needed data of structure order according to the data of obtaining from graphical interfaces, and the order of call instruction row constructing module structure;
Step 5, order line are carried out engine modules and are sent order to service end;
Step 6, service end order line processing module fill order, and result turned back on the graphical interfaces.
6. the method for developing based on the graphical interfaces of order line as claimed in claim 5, it is characterized in that, comprise that also the configuration file processing module reads profile module information before the described step 1, and generate data information displayed on the graphical interfaces according to these information.
CNA2006101440790A 2006-11-24 2006-11-24 Graphical interfaces development method and system based on command lines Pending CN101135966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101440790A CN101135966A (en) 2006-11-24 2006-11-24 Graphical interfaces development method and system based on command lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101440790A CN101135966A (en) 2006-11-24 2006-11-24 Graphical interfaces development method and system based on command lines

Publications (1)

Publication Number Publication Date
CN101135966A true CN101135966A (en) 2008-03-05

Family

ID=39160076

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101440790A Pending CN101135966A (en) 2006-11-24 2006-11-24 Graphical interfaces development method and system based on command lines

Country Status (1)

Country Link
CN (1) CN101135966A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291253B (en) * 2008-06-06 2011-04-20 中兴通讯股份有限公司 Man-machine command interaction method for network management terminal based on graphical interface
CN102279744A (en) * 2011-08-24 2011-12-14 北京星网锐捷网络技术有限公司 System and method for processing command line
CN102571953A (en) * 2010-12-31 2012-07-11 宏正自动科技股份有限公司 Remote management method and device thereof
CN105099595A (en) * 2015-08-04 2015-11-25 瑞斯康达科技发展股份有限公司 Method and apparatus for business mapping of OTN equipment
CN105302552A (en) * 2015-10-21 2016-02-03 浪潮(北京)电子信息产业有限公司 Expansion method and device of user interface view
CN106528166A (en) * 2016-11-22 2017-03-22 郑州云海信息技术有限公司 Command line interface processing system and method
CN108121221A (en) * 2016-11-26 2018-06-05 沈阳新松机器人自动化股份有限公司 A kind of robotic command interface control system and method
CN110297636A (en) * 2019-07-03 2019-10-01 广州鲁邦通物联网科技有限公司 A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device
CN110445644A (en) * 2019-07-26 2019-11-12 广州鲁邦通物联网科技有限公司 Method, equipment end and the page management system that the page and CLI command sequence automatic generation method, the page generate
CN110622488A (en) * 2019-03-27 2019-12-27 阿里巴巴集团控股有限公司 System and method for managing user interaction with blockchains
CN111556092A (en) * 2020-03-27 2020-08-18 北京五八信息技术有限公司 Information processing method and device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291253B (en) * 2008-06-06 2011-04-20 中兴通讯股份有限公司 Man-machine command interaction method for network management terminal based on graphical interface
CN102571953A (en) * 2010-12-31 2012-07-11 宏正自动科技股份有限公司 Remote management method and device thereof
CN102279744A (en) * 2011-08-24 2011-12-14 北京星网锐捷网络技术有限公司 System and method for processing command line
CN105099595A (en) * 2015-08-04 2015-11-25 瑞斯康达科技发展股份有限公司 Method and apparatus for business mapping of OTN equipment
CN105302552A (en) * 2015-10-21 2016-02-03 浪潮(北京)电子信息产业有限公司 Expansion method and device of user interface view
CN105302552B (en) * 2015-10-21 2018-09-07 浪潮(北京)电子信息产业有限公司 A kind of user interface view extended method and device
CN106528166B (en) * 2016-11-22 2019-10-18 郑州云海信息技术有限公司 A kind of Command Line Interface processing system and method
CN106528166A (en) * 2016-11-22 2017-03-22 郑州云海信息技术有限公司 Command line interface processing system and method
CN108121221A (en) * 2016-11-26 2018-06-05 沈阳新松机器人自动化股份有限公司 A kind of robotic command interface control system and method
WO2019120319A3 (en) * 2019-03-27 2020-02-06 Alibaba Group Holding Limited System and method for managing user interactions with a blockchain
CN110622488A (en) * 2019-03-27 2019-12-27 阿里巴巴集团控股有限公司 System and method for managing user interaction with blockchains
US10764032B2 (en) 2019-03-27 2020-09-01 Alibaba Group Holding Limited System and method for managing user interactions with a blockchain
CN110622488B (en) * 2019-03-27 2021-02-09 创新先进技术有限公司 System and method for managing user interaction with blockchains
US11201727B2 (en) 2019-03-27 2021-12-14 Advanced New Technologies Co., Ltd. System and method for managing user interactions with a blockchain
CN110297636A (en) * 2019-07-03 2019-10-01 广州鲁邦通物联网科技有限公司 A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device
CN110297636B (en) * 2019-07-03 2023-06-27 广州鲁邦通物联网科技股份有限公司 Page automatic generation and parameter management method, system and device based on page configuration file
CN110445644A (en) * 2019-07-26 2019-11-12 广州鲁邦通物联网科技有限公司 Method, equipment end and the page management system that the page and CLI command sequence automatic generation method, the page generate
CN111556092A (en) * 2020-03-27 2020-08-18 北京五八信息技术有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN101135966A (en) Graphical interfaces development method and system based on command lines
US10678406B1 (en) Conversational user interface design
US20170185275A1 (en) Method and system for integrated application notifications
WO2020048326A1 (en) Interface display method and system, and terminal device
US20170214726A1 (en) Open Collaboration Board with Multiple Integrated Services
CN104126186A (en) Systems and methods for developing multi-platform applications for computing devices
US20130339459A1 (en) Information sharing apparatus, information sharing system, and method of processing information
EP3196783A1 (en) Open collaboration board with multiple integrated services
CN104054050A (en) Improved configuration of a user interface for a mobile communications terminal
CN106775751A (en) A kind of web front-end frame system and framework method
CN112653584A (en) 5G message arranging method and arranging tool box based on component capability
JP2019016288A (en) Information processing apparatus, information processing system, and program
US20130179797A1 (en) Shared user interface services framework
CN101211260A (en) GUI generation apparatus and method for generating gui
CN110474836A (en) A kind of email template generation method, calculates equipment and medium at device
CN114548056A (en) Rich text editing method, device and equipment
CN105719049A (en) Realization method and system of intelligent logs
US8117561B2 (en) Method and system for managing apparatus
CN115495069A (en) Model-driven coal industry software flow implementation method, device and equipment
CN102375738A (en) Device and method for managing data of mobile terminal
CN107943455A (en) A kind of list rendering system based on JSON data formats
CN107102792A (en) Image processing apparatus, its control method and computer-readable recording medium
CN115794075B (en) Visual component interaction linkage configuration system, method and electronic equipment
CN102722473B (en) Document display system and document display device
CN116933754A (en) Transaction electronic protocol generation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080305