CN1251121C - Method for realizing maintenance interface system - Google Patents

Method for realizing maintenance interface system Download PDF

Info

Publication number
CN1251121C
CN1251121C CN 02159236 CN02159236A CN1251121C CN 1251121 C CN1251121 C CN 1251121C CN 02159236 CN02159236 CN 02159236 CN 02159236 A CN02159236 A CN 02159236A CN 1251121 C CN1251121 C CN 1251121C
Authority
CN
China
Prior art keywords
business object
display window
display
operation information
instance data
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 - Fee Related
Application number
CN 02159236
Other languages
Chinese (zh)
Other versions
CN1512403A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 02159236 priority Critical patent/CN1251121C/en
Publication of CN1512403A publication Critical patent/CN1512403A/en
Application granted granted Critical
Publication of CN1251121C publication Critical patent/CN1251121C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a method for realizing maintenance interface systems. The method comprises the following procedures: A) a maintenance interface system which is composed of a display drive module, a protocol conversion module and a data access module is established; B) an information describing database which aims at all business objects is established, and the information describing database records all the description and operation information of each business object; C) when operation is carried out on the business objects, a display window is created on a main window of a business maintenance system by the display drive module; D) the data access module accesses the information describing database and picks out all the description and operation information of the business object; E) the interface maintenance system converts the browse reports which are generated by the business objects in executing operating commands into instance data that are then compared with all the description and operation information of the business objects. If the instance data are identical to all the description and operation information of the business objects, the instance data are inserted by the display drive module onto the created display window, and operation on the instance data is carried out on the display window, or the created display window is destroyed. The method which can be learned and mastered simply has the advantages of convenient operation, easy maintenance and simple expansion.

Description

Realize the method for maintenance interface system
Technical field
The present invention relates to realize the technology of maintenance interface, particularly a kind of by realize the method for maintenance interface system with database.
Background technology
When design service maintenance interface system, need the various maintenance interfaces of the concrete business object of structure.Because every class business object all has oneself attribute, operation, corresponding order line, therefore every class business object all has operating process separately.During maintenance interface, need a lot of information at structure, just can finish configuration a kind of business object as parameter information, control information etc.
Existing scheme is to read configuration text file to generate order line, and implementation step is: the first step, and the user imports the order of prerun on the interface; In second step, program is read the parameter information, control information etc. of order respectively in configuration text file; The 3rd goes on foot, and dynamically generates the control of input command parameter according to these information; In the 4th step, the user is with command parameter difference input control; In the 5th step, Automatic Program is assembled out complete command execution.This method that reads configuration text file generation order line, order can only encapsulate one by one, and encapsulation property is poor.In order to finish the configuration to a kind of business, the maintainer often will move a lot of orders.Because order is separate each other, not only the maintainer need remember a large amount of different orders, and study and the difficulty of grasping are bigger, and the maintainer needs a large amount of different orders of input when finishing a kind of business configuration, and operation is also inconvenient.
Summary of the invention
In view of this, the purpose of this invention is to provide the method for a kind of maintenance interface system, this method can be constructed the various maintenance interfaces of concrete business object flexibly, makes the operation that business object is safeguarded easier.
In order to achieve the above object, the invention provides a kind of method that realizes the maintenance interface system, this method may further comprise the steps:
A. set up the maintenance interface system that constitutes by display driver unit, conversion unit of protocol and data access unit;
B. set up a descriptor database at all business objects, this descriptor data-base recording all descriptions and the operation information of every kind of business object;
When C. business object being operated, on the main window of service maintenance system, create display window by the display driver unit;
D. by data access unit access descriptor database, access all descriptions and the operation information of this business object;
E. the maintenance interface system carries out the report of browsing that generates by conversion unit of protocol with the business object operational order and is converted to instance data, all of instance data and this business object are described and operation information compares, if instance data is identical with operation information with all descriptions of this business object, by the display driver unit this instance data is inserted on the display window of being built, on display window, this business object is operated; Otherwise, destroy the display window of being built.
The order line that all descriptions of every kind of business object of the described step B of this method and operation information are set to attribute, mode of operation and the various operation correspondences of business object.
Be provided with respectively in the descriptor database of the described step B of this method: the business object table is used to store different business objects; The mode of operation table is used to store various modes of operation and its pairing order of every kind of business object; Attribute list is used to store the various attributes of every kind of mode of operation; The value command list is used to store the various values of each attribute; Business object tree table is used to connect different business object tables, forms the tree-shaped relation between the business object.
The process that the described step C of this method creates display window is: the main window of service maintenance system sends initial message to the display driver unit, and the display window on main window with unique overall handle is created in the display driver unit.
The described step e of this method by the generative process of browsing report that the business object operational order generates is: the display driver unit sends the operational order of this business object by main window to background management unit, and this operational order is carried out the back generation through background management unit and browsed report.
The process that the described step e of this method is inserted into instance data on the display window of being built is: the display driver unit reads all descriptions and the operation information of such business object, according to all of such business object describe and operation information determine instance data in display window display position and display mode and it is dynamically generated and the corresponding menu of instance data.
The process that the described step e of this method is destroyed display window is: show the error message dialog box, destroy display window by the service maintenance system after confirming.
The described step e of this method further comprises the process that this business object is operated on display window:
E1. click menu, the display driver unit reads the parameter and the order of this business object operation in display window, ejects parameter input dialogue frame;
E2. behind selection and the input parameter, the display driver unit is dressed up complete maintenance command with these parameter group and by the main window of service maintenance system background management unit is issued in this order and carried out, background management unit generates this fill order and browses report, the display driver unit is browsed report according to this and is converted into instance data by conversion unit of protocol, and the description of such business object in the data access cell call descriptor database and operation information are according to instance data update displayed window;
E3. the attended operation result with this business object is presented in the display window.
Business object can also be added or revise to this method, specific implementation comprises: add or when revising business object storage or the corresponding order line of attribute, mode of operation and mode of operation of the revising business object list in the corresponding descriptive data base in the descriptor database.
By such scheme as can be seen, the present invention puts in order according to OO mode all business objects, and the attribute, mode of operation, the corresponding order line correspondence that have separately according to every class business object generate the different lists in the database.Then relevant business object is formed an operational group, different operational group constitutes tree structure.The corresponding list of maintenance interface system business object of inquiring user operation when operation just can be obtained all descriptions and the operation information of such business object, and determines operation and these operation parameters needed information that such business object is all.
Therefore, this invention adopts the mode of describing that business object is encapsulated in the database, and various maintenance interfaces can be constructed flexibly by the data of description of business object.This method is driven apart database access and interface, when needs Added Business object, only needs the data of description in increase or the modification descriptor database, is easy to safeguard and expand.Simultaneously, owing to classify by business object, the user can carry out many associative operations in a window, need not to remember a large amount of orders, and study and grasp are simpler, operate also more convenient.
Description of drawings
Fig. 1 is the maintenance interface process synoptic diagram that reads description and operation information and realize business object.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage are clearer, and by the following examples and with reference to accompanying drawing, the present invention is described in more detail.
Because the present invention finishes operation or maintenance to business object by calling the descriptor database, therefore at first set up a descriptor database, this descriptor database mainly is made up of different lists, and they comprise: business object (Object) table, mode of operation (Action) table, attribute (Setting) table, value order (ValueDict) table and business object tree (ObjectTree) table.Because every class object all has oneself attribute, mode of operation, corresponding order line, different list in its corresponding respectively one-tenth database.
These lists are provided with as follows:
Every kind of business object occupies a list item in the Object table, and each list item is represented a kind of different business object;
The Action table has not only been enumerated the available action mode of every kind of business object, for example increases, deletes analog subscriber, and enumerated the order of every kind of mode of operation correspondence;
The Setting table has been described all properties of business object, when for example increasing the user, needs the input telephone number, DN set, and information such as state of user, these information are exactly the attribute of business object.Because the attribute number of every kind of operation might not be identical, thus in Setting table, every kind of different attribute correspondence that operation all has an attribute list index to show therewith, every kind of operation has just formed the attribute list of oneself like this;
The all possible value of each attribute is selected when user-friendly in the tabulation of ValueDict table memory attribute;
The ObjectTree table is used to form the tree-shaped relation between the business object, to be used for the navigation tree of structuring user's operation.
Each business object only occupies a list item in the Object table; The list item of each Object table has some operations, and promptly each business object has the list item of several Action tables; The list item of each Action table has several property store to show at Setting; Each attribute has many values, and promptly the list item of each Setting table all has the list item of several ValueDict tables; Hence one can see that, and the structure of these lists is a tree structure, and ObjectTree connects various Object table and is used to form tree-shaped relation between the business object.These lists have constituted a navigation tree, and wherein the list item of each table has constituted the node on this navigation tree.The maintenance interface system just can obtain all descriptions and the operation information of this class business object at the corresponding list of the business object of when operation inquiring user operation, and determines that operation that this class business object is all and these operate information such as parameters needed.
Referring to Fig. 1, Fig. 1 is the maintenance interface process synoptic diagram that reads description and operation information and realize business object.The maintenance interface system of whole realization business object maintenance interface is divided into four major parts, and promptly conversion unit of protocol 12, data access unit 13, display driver unit 11 and database 15.Read description and operation information and realize that the maintenance interface process steps of business object is as follows:
Step 100,101: during the operation of a certain business object of user applies, the interface maintenance system is opened database 15, the user clicks the node of the business object of desire operation on the navigation tree, this moment, main window 10 meetings sent the initial message that open window to display driver unit 11, the display driver unit obtains creating the display window on main window after this message, and is registered as unique overall this window of handle sign demonstration;
Step 102,103,104,105,106,108,109: when business object is operated, the display driver unit sends initialization command by main window to background management unit (BAM) 14, BAM with this command conversion for after browsing report, this is browsed report and returns to the display driver unit by main window, the display driver unit will be browsed report again and send conversion unit of protocol to, conversion unit of protocol is converted into the instance data of preserving by certain data structure that comprises business object all properties and value thereof this being browsed report, call all descriptions and the operation information of such business object in the descriptor database of being visited the data access unit simultaneously, instance data compares by all descriptions and the operation information of conversion unit of protocol and this class business object, if all descriptions of this business object are identical with instance data with operation information, then command execution success, the display driver unit is by data access cell call initialization interface description, the formation object operation interface changes step 107 over to; If all descriptions of this business object and operation information and to browse report inequality, command execution failure will abandon instance data, shows instance data failure dialog box, and the display window of being created is destroyed;
Step 107: the processing procedure of carrying out message, if authentication initialization success, the display driver unit reads all descriptions and the operation information of such business object in the descriptor database by the data access unit, determine display position and the display mode of the instance objects data of generation according to these descriptions and operation information at the Object Operations interface, and all operations order of business object dynamically is inserted in the menu of display window, the user can pass through the different menu item of choice menus when safeguarding, come this business object is carried out its relevant operation; For example, when a certain operation of user's click right menu when safeguarding, the display driver unit can read the parameter and the order of this operation and eject parameter input dialogue frame from description and operation information, the user can select and input parameter after, the display driver unit is dressed up complete maintenance command with this parameter group and is issued BAM by the main window of service maintenance system and carry out, BAM sends to conversion unit of protocol with execution result by main window and display driver unit, this execution result is converted into instance data by conversion unit of protocol, call corresponding description and the operation information that the data access unit extracts this class business object in the descriptor database according to the instance data conversion unit of protocol, according to existing description and the operation information in this information display driver unit update displayed window.Therefore to the attended operation result of business object can the actual display result that is reflected in display window in.
For the descriptor database constantly being expanded or revising, when needs increase newly or revise business object, do not need to revise code, can directly increase or modification description and operation information to the descriptor database.Like this, the business object in the descriptor database has realized renewal.
The method of this realization maintenance interface provided by the invention, the description that not only makes the user pass through business object just can be constructed the various maintenance interfaces of concrete object, and when needs Added Business object, only need to increase or revise the data of description of database, be easy to safeguard and expand.This method is easy to study and grasps, and is simple to operate, obtained good effect.
The above only is preferred embodiment of the present invention, in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a method that realizes the maintenance interface system is characterized in that, this method may further comprise the steps:
A. in the service maintenance system, set up the maintenance interface system that constitutes by display driver unit, conversion unit of protocol and data access unit;
B. in the maintenance interface system, set up a descriptor database at all business objects, this descriptor data-base recording all descriptions and the operation information of every kind of business object;
When C. business object being operated, on the main window of service maintenance system, create display window by the display driver unit;
D. by data access unit access descriptor database, access all descriptions and the operation information of this business object;
E. the maintenance interface system carries out the report of browsing that generates by conversion unit of protocol with the business object operational order and is converted to the instance data that comprises various attributes of business object and value thereof, and all of instance data and this business object are described and operation information compares by conversion unit of protocol, if instance data is identical with operation information with all descriptions of this business object, by the display driver unit this instance data is inserted on the display window of being built, on display window, this business object is operated; Otherwise, destroy the display window of being built.
2. the method for claim 1 is characterized in that: the order line that all descriptions of every kind of business object of described step B and operation information are set to attribute, mode of operation and the various operation correspondences of business object.
3. the method for claim 1 is characterized in that, be provided with respectively in the descriptor database of described step B: the business object table is used to store different business objects; The mode of operation table is used to store various modes of operation and its pairing order of every kind of business object; Attribute list is used to store the various attributes of every kind of mode of operation; The value command list is used to store the various values of each attribute; Business object tree table is used to connect different business object tables, forms the tree-shaped relation between the business object.
4. the method for claim 1, it is characterized in that, the process that described step C creates display window is: the main window of service maintenance system sends initial message to the display driver unit, and the display window on main window with unique overall handle is created in the display driver unit.
5. the method for claim 1, it is characterized in that, described step e by the generative process of browsing report that the business object operational order carry out to generate is: the display driver unit sends the operational order of this business object by main window to the background management unit of service maintenance system, and this operational order is carried out the back generation through background management unit and browsed report.
6. the method for claim 1, it is characterized in that, the process that described step e is inserted into instance data on the display window of being built is: the display driver unit reads all descriptions and the operation information of such business object, determines display position and display mode and the dynamically generation and instance data corresponding menu of instance data in display window according to all descriptions and the operation information of such business object.
7. the method for claim 1 is characterized in that, the process that described step e is destroyed display window is: show the error message dialog box, destroy display window by the service maintenance system after confirming.
8. the method for claim 1 is characterized in that, described step e further comprises the process that this business object is operated on display window:
E1. click menu, the display driver unit reads the parameter and the order of this business object operation in display window, ejects parameter input dialogue frame;
E2. behind selection and the input parameter, the display driver unit is dressed up complete maintenance command with these parameter group and is carried out by the background management unit that the main window of service maintenance system is issued the service maintenance system with this order, background management unit generates this fill order and browses report, the display driver unit will be browsed report and be sent to conversion unit of protocol, by conversion unit of protocol this is browsed report and be converted into instance data, conversion unit of protocol is called the data access unit according to instance data, extract the corresponding description and the operation information of such business object from the descriptor database, the display driver unit is according to this information updating display window;
E3. the attended operation result with this business object is presented in the display window.
9. the method for claim 1, it is characterized in that also comprising, described descriptor database is added or revises business object, and its process further comprises: in storage or the corresponding order line of attribute, mode of operation and mode of operation of the revising business object corresponding list in the descriptor database.
CN 02159236 2002-12-27 2002-12-27 Method for realizing maintenance interface system Expired - Fee Related CN1251121C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02159236 CN1251121C (en) 2002-12-27 2002-12-27 Method for realizing maintenance interface system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02159236 CN1251121C (en) 2002-12-27 2002-12-27 Method for realizing maintenance interface system

Publications (2)

Publication Number Publication Date
CN1512403A CN1512403A (en) 2004-07-14
CN1251121C true CN1251121C (en) 2006-04-12

Family

ID=34237379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02159236 Expired - Fee Related CN1251121C (en) 2002-12-27 2002-12-27 Method for realizing maintenance interface system

Country Status (1)

Country Link
CN (1) CN1251121C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756180B (en) * 2004-09-29 2010-04-14 华为技术有限公司 Data configuration method based on object
CN101216763B (en) * 2008-01-17 2012-05-30 金蝶软件(中国)有限公司 Personalized interface accomplishing method and system
CN102375738B (en) * 2010-08-25 2016-03-30 中兴通讯股份有限公司 A kind of apparatus and method of mobile terminal data management
CN106295919A (en) * 2015-05-13 2017-01-04 国网辽宁省电力有限公司丹东供电公司 A kind of distribution transformer protection definite value automatic adjusting interface system
US10146842B2 (en) * 2015-11-19 2018-12-04 Google Llc Pre-instantiating native applications in background

Also Published As

Publication number Publication date
CN1512403A (en) 2004-07-14

Similar Documents

Publication Publication Date Title
EP0647909B1 (en) Information catalog system with object-dependent functionality
US5799313A (en) Framework for object-oriented access to non-object-oriented datastores
US5497491A (en) System and method for importing and exporting data between an object oriented computing environment and an external computing environment
US5291583A (en) Automatic storage of persistent ASN.1 objects in a relational schema
US7644093B2 (en) Partially embedded database and an embedded database manager for a control system
US6470353B1 (en) Object-oriented framework for managing access control in a multimedia database
US20030197722A1 (en) Information providing system having a network terminal and network management system which manages a network and provides information of the network to the network terminal
US6941309B2 (en) Object integrated management system
CA2348661A1 (en) Database system
CN101727322B (en) Method and device for optimizing bill of material management interface
WO1995003586A1 (en) Method and apparatus for generation of code for mapping relational data to objects
US5797007A (en) Persistent object storage system with default object encoder/decoder
US6421661B1 (en) Hierarchical query syntax for inquiring and selecting among database objects
US6985906B2 (en) Method and system for multidimensional database management
US5983235A (en) Method for managing queryable datastore persistent objects and queryable datastore collections in an object-oriented environment
CN1251121C (en) Method for realizing maintenance interface system
CN114115837A (en) MIS self-adaptive generator based on object information and use method
KR100429514B1 (en) Method and system for data base access of information memory useing management information base in network management protocol
US6591274B1 (en) Computer software framework and method for accessing data from one or more datastores for use by one or more computing applications
CA2571490A1 (en) Functional operations for accessing and/or building interlocking trees datastores to enable their use with applications software
US7574329B1 (en) Object model for decision and issue tracking
CN101526940B (en) Method for synchronizing data of physical database and main memory database of application system
WO1995008794A1 (en) A management agent system for the support of multiple network managers, and a method for operating such a system
CN101794217A (en) Method and system for implementing interaction between application and extended module of document library system
AU684096B2 (en) Methods and apparatus for creating and managing dynamic property sheets

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060412

Termination date: 20141227

EXPY Termination of patent right or utility model