Make the collocation method of the configuration script of label in the network management system based on ribbon gymnastics
Technical field
The present invention relates to data configuration field in the telecommunication configuration management, relate more specifically to do based on ribbon gymnastics in a kind of network management system the collocation method of the configuration script of label.
Background technology
Configuration management is a most important link in the telecommunication network management, and it is the basis that whole communication network runs well.
Existing configuring management method has plenty of with command mode or text mode input and output, and friendly interface is poor, than higher, needs the user to professional familiar with order to customer requirements.What have provides various basic configuration operations in the graphical interfaces mode, user-friendly.But when big data quantity disposes, tend to become too loaded down with trivial details and complicated, lack flexibility.In addition, the synchronous mode of some graphical interfaces mode employing table is carried out the foreground and background data configuration, and the shortcoming of this mode is that requirement backstage strict guarantee data configuration can not made mistakes, after not so misdata is synchronized to the foreground, data can't rollback, even can cause the foreground can't operate as normal.
Summary of the invention
Technical problem to be solved by this invention is the collocation method of making the configuration script of label in a kind of network management system based on ribbon gymnastics is provided, and has guaranteed the reliability of AM/BAM configuration data.
For addressing the above problem, the invention provides the collocation method of making the configuration script of label in a kind of network management system based on ribbon gymnastics, it is characterized in that, may further comprise the steps:
(1) client computer is obtained configuration script, and the function of graphical editor's configuration script is provided, and described configuration script has been described object and the corresponding configuration data that is disposed;
(2) editor's configuration script, after editor finishes, client computer is preserved configuration script, and the configuration script before and after will editing compares, according to comparative result is that corresponding operation label stamped in the record of described configuration script, and described operation label has write down the change type of the record of configuration scripts before and after the editor;
(3) configuration script that the ribbon gymnastics after client computer will compare is made label sends to server, and announcement server is resolved; Server is constructed resource pool by the configuration data of configuration script and database, and the operation label according to configuration script carries out resource allocation work, generates the manmachine command file, and the notice client computer is obtained the manmachine command file of generation;
(4) client computer is obtained the manmachine command file that server generates, and carries out the manmachine command file that server returns; Finish data configuration.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, described manmachine command file has been contained following information: the object that is disposed, configuration data and operation label.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, in step (4), client computer is carried out the manmachine command file that server returns with the affairs mode.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, in step (1), whether have configuration data in the judgment data storehouse; When not existing, the configuration script content is empty; When existing, client computer is obtained configuration script from server.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, in step (1), whether have configuration data in the judgment data storehouse; When having configuration data in the database, client computer comprises from the realization that server obtains configuration script: select existing configuration object, to the server requests data; After server receives the request msg order, call the anti-structure module of database, generate configuration script according to the content in the database; Server sends to client computer with the configuration script that generates.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, in step (1), the described configuration data of described configuration script comprises: must be by the configuration data of user input and can be by the configuration data of user's modification by system's initialize.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, in step (1), described configuration script adopts the structured format of extend markup language.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, described operation label comprises the increase label, when in step (1), when not having configuration data in the database, in step (2), for the increment label stamped in the record in the configuration script; When in step (1), when having configuration data in the database, and in step (2), do not have in the configuration script before having editor and during the record that has in the configuration script after editing, for the increment label stamped in this record.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, described operation label comprises the deletion label, when in step (1), when having configuration data in the database, and in step (2), have in the configuration script before having editor and during the record that do not have in the configuration script after editing, for the deletion label stamped in this record.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, described operation label comprises the modification label, when in step (1), when having configuration data in the database, and in step (2), the configuration script before having editor and edit after configuration script in the record that all has and attribute not simultaneously, for the modification label stamped in this record.
Make the collocation method of the configuration script of label in the network management system of the present invention based on ribbon gymnastics, wherein, in step (1), customized in advance template in client computer provides the function of graphical editor's configuration script by selecting template corresponding.
Adopt the method for the invention,, guaranteed the reliability of foreground and background data, simplified user's operation, improve allocative efficiency with affairs mode fill order file; And the user can use graphical interfaces customization basic configuration information neatly or quote the stencil design basic configuration according to actual conditions, generates detailed configuration data automatically and uses for network management.
Description of drawings
Fig. 1 is the described method operational flowchart of the embodiment of the invention.
Embodiment
The present invention is in order to solve the drawback that conventional solution exists, further set forth the collocation method of making the configuration script of label in a kind of network management system of the present invention based on ribbon gymnastics by following examples, below embodiment is described in detail, but not as a limitation of the invention.
The described method of the embodiment of the invention is an example with GSM (global system for mobile communications) network management system, the GSM network management system is followed the Telecommunication Management Network standard described in the ITU-T (International Telecommunication Union-Telecommunication Standardization Sector), adopt client/server configuration, undertaken alternately by F, G interface between the client-server.Client computer is edited configuration in the mode of graphical interfaces for the user.User's operation for convenience, INTERFACE DESIGN is followed simple, directly perceived, easy-to-use principle, and multiple guide, acquiescence mode and validity checking are provided, even the user that business is not quite understood is as long as operation also can configuration data set by step.Server is responsible for resolving configuration script, generates the manmachine command file, and handles work such as validity checking and a series of resource allocations.
As shown in Figure 1, the embodiment of the invention said method comprising the steps of:
Step 11 starts client interface, whether has configuration data in the judgment data storehouse; When not existing, configuration script is empty, goes to step 12; When existing, select existing configuration object, to the server requests data; After server receives the request msg order, call the anti-structure module of database, generate configuration script according to the content in the database; Server sends to client computer with the configuration script that generates, and client computer goes to step 12 according to the configuration script display interface;
Described configuration script has been described object and the corresponding configuration data that is disposed;
Step 12, client computer provide the function of graphical editor's configuration script, edit configuration script by the user;
Also can be in client computer customized in advance template, provide the function of graphical editor's configuration script by selecting template corresponding, can improve allocative efficiency like this.
Client computer mainly is responsible for providing graphical editor's configuration script function.In order to reduce user's operation as far as possible, guarantee the correctness of data, object that the user disposed and important configuration parameters have been described on the configuration script.In order to simplify user's operation, configuration data is resolved into several: (1) must be by the configuration data of user's input.(2) initial value, the configuration data close with business relations that the user can revise are composed by system.(3) not very close configuration data with business relations.(4) distribute automatically by system, do not need user configured data.Configuration script is only described preceding two kinds of data, for major part continue information and wireless parameter, does not embody in configuration script.In addition, client computer is also carried out validity checking to some important parameters, guarantees data reliability.
In elected during the physics frame of certain website, with the configuration of graphical display when forebay.With mouse action configuration effort such as can finish that additions and deletions change.Client computer provides modes such as guide, copy website, template, realizes configuration fast as required, reduces operation to greatest extent, guarantees that data are reliable.System provides the validity checking of each rank and scope in addition, guarantees data correctness.As not satisfying restrictive condition, then can point out user's modification.
Step 13, after the configuration script editor finishes, client computer is preserved configuration script, client calls is script module relatively, configuration script before and after the editor is compared, for corresponding operation label stamped in the record in the configuration script, generate the configuration script that ribbon gymnastics is made label, described operation label has write down the change type of the record of configuration script before and after the editor;
Described configuration script adopts the structured format that is similar to XML (extend markup language), the corresponding institute's configuration object of a record of configuration script with and corresponding configuration data.For better expression user's operation, the present invention is directed to the operating feature of user to configuration information, the notion of operation label has been proposed.But so-called operation label is stamped a sign to all operative configuration objects exactly, offers some clarification on the operation intention of user to this configuration object and subobject thereof, the operation label in Here it is the configuration script.
Operating feature according to configuration information is divided into label: increase label, deletion label and revise label.If initial configuration is then all stamped the increase label.If the increment configuration, the configuration script before and after then relatively editing one by one, during the record that has in the configuration script when not having in the configuration script that exists before editing after editing, then the increase label stamped in this record; During the record that has in the configuration script before having editor and do not have in the configuration script after editing, then the deletion label stamped in this record; Configuration script before having editor and edit after configuration script in the record that all has and attribute not simultaneously, then the modification label stamped in this record;
Step 14: the configuration script that the ribbon gymnastics after client computer will compare is made label sends to server, and announcement server is resolved; Server is by the deploy content of configuration script and database, and the structure resource pool according to the operation label of configuration script, carries out a series of resource allocation work, generates the manmachine command file; Server returns to client computer with the manmachine command file that generates;
Described manmachine command file has been contained following information: the object that is disposed, configuration data and operation label;
Client computer is carried out the manmachine command file that server returns with the affairs mode, finishes data configuration.
So-called affairs are a series of tight operations in the application program, and all operations must complete successfully, otherwise all changes of being done in each operation all can be undone.Just affairs have atomicity, and a series of operation in affairs is success all, and are perhaps all unsuccessful.The end of affairs has two kinds; When the institute in the affairs in steps all during successful execution, affairs are submitted to; If rolling back action will take place in one of them step failure, cancel affairs and begin to failure all operations before.
The described method of the embodiment of the invention simplifies the operation, and improves allocative efficiency; With affairs mode fill order file, guarantee the reliability of foreground and background data.Can use graphical interfaces customization basic configuration information neatly or quote the stencil design basic configuration according to actual conditions, automatically generate detailed configuration data and use, wherein used ribbon gymnastics to make the configuration script of label as the mutual carrier of client-server for network management.
The described method of the embodiment of the invention is equally applicable to other network management system of following TMN (telecommunication management network) standard, has very high versatility and real value.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.