CN1304945C - Automatic generatnig method for configuration interface of telecommunicating apparatus - Google Patents

Automatic generatnig method for configuration interface of telecommunicating apparatus Download PDF

Info

Publication number
CN1304945C
CN1304945C CNB2004100274794A CN200410027479A CN1304945C CN 1304945 C CN1304945 C CN 1304945C CN B2004100274794 A CNB2004100274794 A CN B2004100274794A CN 200410027479 A CN200410027479 A CN 200410027479A CN 1304945 C CN1304945 C CN 1304945C
Authority
CN
China
Prior art keywords
interface
assembly
markup language
language file
class
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.)
Expired - Lifetime
Application number
CNB2004100274794A
Other languages
Chinese (zh)
Other versions
CN1584828A (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 CNB2004100274794A priority Critical patent/CN1304945C/en
Publication of CN1584828A publication Critical patent/CN1584828A/en
Application granted granted Critical
Publication of CN1304945C publication Critical patent/CN1304945C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention discloses an automatic generating method for a configuration interface of a telecommunicating apparatus, which is applied to a telecommunication management network system and comprises the following steps: reading the hardware data of a foreground net element to generating interface initial data, and setting the interface initial data to each corresponding component; compiling an interface description XML file according to display interface needs; initializing an interface generating engine; reading the interface description XML file by the interface generating engine; creating interface elements by the interface generating engine according to description information to make layout, and displaying the interface. The present invention realizes that the interface is separated from specific service logic based on the design of an MVC module. The XML file is analyzed by one interface generating engine, and a user interface is automatically generated; simultaneously, a complete event processing function is provided, which makes the constructed interface satisfy various complicated requirements, simultaneously reduces the interface development workload and enhances the interface development flexibility and prolongation.

Description

A kind of telecommunication apparatus configuration interface generates method automatically
Technical field
The present invention relates to a kind of automatic generation technique of human-computer interaction interface, relate in particular to the automatic method that generates in interface of configuration management in the telecom network management system.
Background technology
One of five big management functions that configuration management provides for telecommunications network and telecommunication service as TMN (Telecom Management Network telecommunication management network), its major function is that Telecommunication Network Element/network equipments configuration is carried out integral body control, comprise increase, deletion network element, obtain network element data and the related data of network element configuration is made amendment.The object of configuration management mainly comprises the switching subsystem of forming local mobile radio communication, all physical equipments and the logical device (comprising the base station, sub-district, abutting subdistrict, radio carrier frequency, channel etc.) of base station sub-system.In addition, the content of configuration management also comprises the management to office data and customer group.The task of configuration management client is exactly to initiate the operation requests of physics and logical device configuration data and the operating position of demonstration resource to service end, it highlights the perfect of the management of network data, logical topology and statistical query function, promptly solve the problem of management of resource existence, scope contains physical resource, logical resource, intelligent resource and non intelligent resource.Must set up the data model of every class resource according to the actual attribute of various telecommunication resources, set up unified resource typing, numbering, name, set up complete, resource reflection accurately.Because the kind of configuration data is various, and concern complexity between the configuration data, make to relate to a large amount of human-computer interaction interfaces in the configuration management.Fig. 1 is based on the interface generating principle synoptic diagram of java swing in the prior art.Because the diversity of the distinctive form of expression of telecommunication apparatus and the complicacy of status information, cause based on the defective that the human-computer interaction interface of JAVA SWING assembly is developed being: one, the programmer often needs to control accurately the generation of each control and the layout work at interface, and this workload accounts for about 50% of whole configuration management development.Especially the frequent change to Foreground Data storehouse field at stable initial stage of version causes the developer need spend a large amount of energy and is handling on these interface details.Two, the development at interface is normally numerous and diverse and repetition, in case change to some extent at the interface, because the Layout mechanism of Swing assembly, so change to get up to waste time and energy, and corresponding data base manipulation statement also must be changed accordingly, whole process is more miscellaneous, has inevitably caused the reduction of work efficiency, also causes code to be difficult to maintenance and expansion.
In main flow business application now, in order to solve this telecommunication apparatus GUI (graphics userinterface, graphic user interface) develops the intricate property of bringing, ilog company has proposed their the software development kit JTGO (Java Telecomm Graphics Object) based on graphic assembly, the developer can build the webmaster operating system of enterprise-level fast on this basis, owing to adopted the user interface of data-driven to develop, the developer can directly generate graphical interfaces from the business object that makes up, and can pass through MVC (model-view-control model-view-controller, the implication of this model is according to data model with a system, User shows and Data Control designs respectively, has optimized the structure of system) pattern guarantee the consistance of various views and bottom data.Though these graphic assemblies that Ilog company provides can satisfy the needs of some complicated graphic presentations to a certain extent, but still have such defective: generation and layout for some simple interface controls (such as TextField and ComboBox) do not have to set up a general development mode, and the composition major part at the configuration management interface still depends on these simple interface elements, still need the code of this type of control of developer's hand-coding and carry out layout, add the code that is provided with to some restriction inputs of these controls and other attributes, these work will occupy about size of code of about 40% equally, and make that the developer continues to tangle in the middle of the details at interface.In telecommunication apparatus configuration management field, lack a kind of effective and necessary method and finish the generation at these interfaces and the autoplacement of control.
So there is the reduction of work efficiency in prior art, waste a large amount of manpowers, code is difficult to maintenance and expansion, lacks dirigibility and expansibility, and generation and the layout at the simple interface control that do not have are set up a general development mode.
Summary of the invention
The method of the present invention by providing a kind of interface to generate automatically, employing realizes interface display and separating that concrete application data is handled based on the interface engine of MVC modelling, the interface of configuration management is stored according to the prescribed form in the xml file, the shortage dirigibility and the expansion of interface development have been solved, inefficiency, the problem of waste of manpower.
Interface of the present invention generation method automatically comprises the steps:
The first step, read the hardware data of foreground network element, generate interface initial data, and be set in each corresponding assembly;
Second the step, write interface description xml file according to the display interface needs;
The 3rd step, initialization machine interface generation engine;
The 4th step, machine interface generation engine read the xml file of interface description;
The 5th step, machine interface generation engine are created interface element according to descriptor, carry out layout, and display interface.
In the above-mentioned first step, assembly comprises the assembly in the Component Gallery, also comprises the subclass assembly of the Jcomponent class (being the interface assembly foundation class) that Component Gallery is outer.
In above-mentioned second step, by the auxiliary xml file that generates of an interface Core Generator, this document has been described the specifying information of each assembly in the interface, comprises the type, name of assembly, corresponding class name, action listener class name, size and response events and scope limitation attribute.
Above-mentioned the 5th step specifically comprises:
A, the assembly element in the xml file that reads is separated, carry out interface layout, use recursion method to resolve for container assemblies according to the size and the position of each assembly;
B, primary data is set in each corresponding assembly;
C, finish the action listener of assembly:
C1, for the assembly in the Component Gallery, engine is according to the assembly incident class name that defines in the xml file, the class reflex mechanism of utilization java is realized the monitor function of this event class;
C2, for the subclass assembly of the outer Jcomponent class of Component Gallery, finish the action listener function by assembly oneself.
Resolve the also automatic generation user interface of xml file by a machine interface generation engine and make the interface, have good maintainability and intelligibility, complete event handling function is provided simultaneously, and the demand of various complexity can be satisfied in the interface that makes this mechanism construction come out.Thisly realized peeling off of interface and concrete service logic based on MVC (model-view-controller) Model Design, reduce the workload of developer's development interface, in the demand that each field frequently changes in satisfying background data base, allow the exploitation personnel can be absorbed in the design of logic of business functions more, needn't spend a large amount of time carries out the treatment of details at interface.
Description of drawings
Fig. 1 is based on the interface generating principle synoptic diagram of java swing in the prior art;
Fig. 2 is the method for the invention principle schematic;
Fig. 3 is the method for the invention process flow diagram.
Embodiment
Dirigibility and expansion during the development mode that the inventive method proposes realizes developing preferably specifically describe the present invention below in conjunction with drawings and Examples.
Fig. 2 is the method for the invention principle schematic.
Machine interface generation engine is in the core status of whole interface automatic creation system, provide API (Application Programming Interface to application on the one hand, application programming interface), create the interface by application call, the application-oriented data operating interface that provides of the opposing party is finished the configuration operation of application to the foreground network element.Machine interface generation engine provides interface to application program, the database interface that the inside by configuration management provides realize to the data database data additions and deletions, look into and change operation; Component Gallery, assembly wherein can be by the assembly of third party's exploitation, can be discerned by machine interface generation engine, and meet the defined component interface of interface engine; The xml file of interface description has been described the specifying information of each assembly in the interface, as component type, and attributes such as size and response events and scope restriction.Said modules library module, interface description file, concrete interface of the common generation of action listener class.As seen, in the principle of the invention, do not relate to particular configuration data, all data manipulations are finished by concrete business fully, and the present invention only provides interface for it, have so just reached interface and concrete professional separating.
Fig. 3 the method for the invention process flow diagram.
The first step, read the hardware data of foreground network element, generate interface initial data, and be set in each corresponding assembly;
Second goes on foot, writes according to the display interface needs xml file (being extended markup language file) of interface description;
The 3rd step, initialization machine interface generation engine;
The 4th step, machine interface generation engine read the xml file of interface description;
The 5th step, machine interface generation engine are created interface element according to the descriptor in the xml file of interface description, and are carried out layout, display interface.
Wherein the first step, second step order can be changed.
For a better understanding of the present invention, introduce a bright embodiment of this law below, at the interface creating method of BTS (BaseTransceiver Station, base station transceiver) controlled variable.
1, from the hardware configuration of BTS network element side, obtains initialized data, and be set in each corresponding assembly;
2, write BTS controlled variable interface xml file according to the form of appointment;
The method of xml file of writing interface assembly is as follows:
2a, in the Xml file initialized information in interface of definition, comprise the size of definition interfaces, the initialized incident class name in the title at interface and interface;
The information of each assembly in 2b, the definition interfaces: the information of assembly comprises the size of assembly, position and the name of assembly and the class name of assembly correspondence of assembly in the interface; In addition, the action listener class name that also needs definitions component.Owing to defined the positional information of assembly in the interface, so the order of component definition is unessential;
2c, some special attributes are arranged, if in the interface, use these assemblies then need in the xml file, define these special attribute informations at some assembly.Machine interface generation engine can be discerned these attribute informations automatically according to component type;
3, start machine interface generation engine;
4, machine interface generation engine reads the xml file of interface description, creates interface element and carries out layout according to the descriptor in the xml file of interface description;
5, by the action listener of interface engine charging assembly, the action listener class name of these assemblies is exactly the name of the action listener class described in the xml file;
6, the application personnel call the generation interfacial process in the machine interface generation engine, obtain the interface and the demonstration of BTS configuration.
In sum, the present invention proposes a kind of, and designed Component Gallery and based on the development mode of xml file based on the interface engine of MVC pattern; The interface display effect that develops according to the method will have higher consistance, and its interface is standard and understanding easily more, is convenient to safeguard; And its development amount and the maintenance workload in later stage reduce to original 1/7, makes the application developer can concentrate one's energy to carry out the design of service logic.

Claims (5)

1, a kind of telecommunication apparatus configuration interface generates method automatically, it is characterized in that, comprises the steps:
The first step, read the hardware data of foreground network element, generate interface initial data, and be set in each corresponding assembly;
Second extended markup language file that goes on foot, writes interface description according to the display interface needs;
The 3rd step, initialization machine interface generation engine;
The 4th step, machine interface generation engine read the extended markup language file of interface description;
The 5th step, machine interface generation engine are created interface element and are carried out layout, display interface according to the descriptor in the extended markup language file of interface description;
Described the 5th step specifically comprises:
A, the assembly element in the extended markup language file that reads is resolved, carry out interface layout according to the size and the position of each assembly;
B, primary data is set in each corresponding assembly;
C, finish the action listener of assembly.
2, telecommunication apparatus configuration interface according to claim 1 generates method automatically, it is characterized in that, in the described first step, described assembly comprises the subclass assembly of the interface assembly foundation class that assembly in the Component Gallery and Component Gallery are outer.
3, telecommunication apparatus configuration interface according to claim 1 generates method automatically, it is characterized in that, in described second step, by the auxiliary interface description extended markup language file that generates of an interface Core Generator, described interface description extended markup language file has been described the specifying information of each assembly in the interface, comprises the type, name of assembly, corresponding class name, action listener class name, size and response events and scope limitation attribute.
4, telecommunication apparatus configuration interface according to claim 1 generates method automatically, it is characterized in that, among the described step a, uses the recursion method resolution component for container assemblies.
5, telecommunication apparatus configuration interface according to claim 1 generates method automatically, it is characterized in that, described step c further comprises:
C1, for the assembly in the Component Gallery, engine is according to extended markup language file definitions component incident class name, the class reflex mechanism of utilization java is realized the monitoring of this event class;
C2, for the subclass assembly of Component Gallery outer boundary assembly foundation class, finish monitoring by assembly oneself.
CNB2004100274794A 2004-06-02 2004-06-02 Automatic generatnig method for configuration interface of telecommunicating apparatus Expired - Lifetime CN1304945C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100274794A CN1304945C (en) 2004-06-02 2004-06-02 Automatic generatnig method for configuration interface of telecommunicating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100274794A CN1304945C (en) 2004-06-02 2004-06-02 Automatic generatnig method for configuration interface of telecommunicating apparatus

Publications (2)

Publication Number Publication Date
CN1584828A CN1584828A (en) 2005-02-23
CN1304945C true CN1304945C (en) 2007-03-14

Family

ID=34601362

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100274794A Expired - Lifetime CN1304945C (en) 2004-06-02 2004-06-02 Automatic generatnig method for configuration interface of telecommunicating apparatus

Country Status (1)

Country Link
CN (1) CN1304945C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010091623A1 (en) * 2009-02-10 2010-08-19 腾讯科技(深圳)有限公司 Apparatus and method for dynamically generating application program interface

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100426750C (en) * 2006-04-23 2008-10-15 华为技术有限公司 Method for generating two set of network administration systems
CN101373466B (en) * 2007-08-24 2011-07-13 上海全成通信技术有限公司 Method for exhibiting specific data information
CN101206668B (en) * 2007-12-14 2011-05-04 北大方正集团有限公司 Method for generating and analyzing website content components as well as apparatus
CN101447889B (en) * 2008-03-21 2011-08-24 中兴通讯股份有限公司 Network management system and GUI client login control method
CN101436133B (en) * 2008-11-20 2012-11-21 腾讯科技(深圳)有限公司 Method and device for generating control object library
CN102520927B (en) 2011-11-23 2014-09-10 中兴通讯股份有限公司 Method, device and terminal for generation logic business of embedded terminal
CN103164201A (en) * 2011-12-15 2013-06-19 航天信息软件技术有限公司 Web page generating method
CN103530094B (en) * 2012-07-02 2017-08-29 西安曲江出版传媒股份有限公司 Method based on visual development iPad application programs under Windows systems
CN103257855B (en) * 2012-12-11 2016-04-06 深圳市梦圆皇宫管理顾问有限公司 A kind of disposal system based on MVC, disposal route and the application in beauty treatment software
CN103281202B (en) * 2013-05-21 2017-12-29 上海寰创通信科技股份有限公司 The system and its front end rendering method of a kind of browser/server framework
CN103309659A (en) * 2013-05-24 2013-09-18 天津市天安怡和信息技术有限公司 User interface dynamic generation method and device based on rich client platform
CN104375814A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Generation method and device of an interface document
CN103684879B (en) * 2013-12-30 2017-03-08 华为技术有限公司 Show the method and apparatus for processing
CN104007967B (en) * 2014-05-21 2017-09-12 广州华多网络科技有限公司 A kind of user interface creating method and device based on extensible markup language
CN104090749B (en) * 2014-05-30 2015-09-16 爱培科科技开发(深圳)有限公司 A kind of WinCE Product Interface theme upgrades transform process method and system
CN104268163B (en) * 2014-09-05 2017-12-29 烽火通信科技股份有限公司 A kind of realization method and system of webmaster network element configuration interface
CN105630466A (en) * 2014-10-30 2016-06-01 阿里巴巴集团控股有限公司 Business control method and apparatus
CN105808239A (en) * 2016-02-29 2016-07-27 浪潮通信信息系统有限公司 Module-based IT network management system construction method and IT network management system
CN107506227A (en) * 2017-09-04 2017-12-22 郑州云海信息技术有限公司 The method and apparatus for managing compiled code

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225730A1 (en) * 2002-06-03 2003-12-04 Rightnow Technologies, Inc. System and method for generating a dynamic interface via a communications network
CN1499774A (en) * 2002-11-05 2004-05-26 深圳市中兴通讯股份有限公司上海第二 Method for generating telecommunication network management interface

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225730A1 (en) * 2002-06-03 2003-12-04 Rightnow Technologies, Inc. System and method for generating a dynamic interface via a communications network
CN1499774A (en) * 2002-11-05 2004-05-26 深圳市中兴通讯股份有限公司上海第二 Method for generating telecommunication network management interface

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010091623A1 (en) * 2009-02-10 2010-08-19 腾讯科技(深圳)有限公司 Apparatus and method for dynamically generating application program interface

Also Published As

Publication number Publication date
CN1584828A (en) 2005-02-23

Similar Documents

Publication Publication Date Title
CN1304945C (en) Automatic generatnig method for configuration interface of telecommunicating apparatus
FI109069B (en) Program structure for data communication switching devices
Jacobson Use cases and aspects-working seamlessly together
CN101699393B (en) Network-facing intelligent software interface dynamic generation method
CN102193793B (en) A kind of method and apparatus realizing software repeated usage
CN101246424A (en) Menu automatic generation system and method for based on file
GB2411331A (en) Rendering user interface using actor attributes
CN112711408A (en) Vue componentization-based visualization configuration rendering method, system and terminal
CN102158516B (en) Service composition realization method compiler
Brugali et al. The framework life span
CN104657149A (en) Software framework implementation method of management module of storage system
CN101042751A (en) Implementing method and system for flexible and expandable dynamic statistics
CN102968303A (en) Program design system and program design method
CN101937335B (en) Method for generating Widget icon, method for generating Widget summary document and Widget engine
CN110362363A (en) A method of model realization controls terminal applies when based on operation
CN1967574A (en) Method and system to realize generating of integrated communications platform process
CN103473034A (en) Method and device for dynamically publishing Web service
CN113626128A (en) Audio-visual media micro-service third-party module access method, system and electronic equipment
CN1499774A (en) Method for generating telecommunication network management interface
CN1314225C (en) System for realizing open telecommunication business based on XML file and thereof
CN101677284A (en) Hardware component generation method and device capable of downloading reconstructive hardware bodies
CN103631645A (en) Digital family middleware system based on digital medical treatment
CN1588411A (en) Flow custom managing platform
CN1779645A (en) Realization of visual development system of assembled simulated programm
CN114168110B (en) Application development transaction management system and method for lightweight class Hongmon operating system

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