Summary of the invention
The problem that the present invention will solve provides setting of a kind of SDH network management protection switching and methods of exhibiting, with solve existing telecommunications SDH webmastering software be provided with protection switch complicated, switch status with switch order represent directly perceived inadequately, the problem that is not easy to understand.
For addressing the above problem, the invention provides setting of a kind of SDH network management protection switching and methods of exhibiting, comprising:
When receiving the establishment protection group request that the user initiates by the multiplex section configuration interface; NM client provides establishment guide to supply the user that protection group relevant parameter is set; And after knowing that the user accomplishes parameter and is provided with; Issue establishment protection group command to server; Wherein carry above-mentioned each parameter, comprise this protection group ID in this parameter;
The parameter of carrying in the said establishment protection of the said server for saving group command, and, wherein carry said protection group ID to all clients transmission establishment protection group broadcast announcements of having subscribed to this service;
Client issues querying command based on the protection group ID that parses from said establishment protection group broadcast announcement to said server;
After said server receives, the relevant parameter of correspondence protection group is sent to said client according to the protection group ID that carries in the said querying command;
After said client is received, all relevant parameters are presented in the same interface; And then, issue the switch status and the maintenance state of querying command all protection relations from said server lookup should the protection group, and in this interface, show according to said protection group ID.
Further, said method also can have following characteristic:
The relevant parameter of said protection group comprises: protection group essential information, protection attribute, protection parameter, protection relation and APS are provided with information etc.; Wherein, protection group ID belongs to protection group essential information, and switch status and maintenance state belong to the protection relation.
Further, said method also can have following characteristic:
Said client is presented at the relevant parameter of protection group in the same interface and is meant:
Said client is presented at said protection group essential information in the master meter, protection attribute, protection parameter, protection relation and APS is provided with information is presented at each sublist that is arranged in same interface with above-mentioned master meter respectively.
Further, said method also can comprise:
Preserve in the said client and switch the order rule file, defined various equipment types, protection group type, protected location type, current order and the executable corresponding relation of switching order switched in this document;
When knowing that the user concerns that in protection when choosing certain port as the switching operation object in the sublist, said client is operated as follows:
Protection group type, protected location type, maintenance state and device type according to port retrieve all available switching order and be shown to the user to the said order rule file of switching;
From above-mentioned available switching selected one the order after, said client issued to said server and switches order setting operation message, wherein carries the user: protection group ID, protection group type, operation port and user choose switches order;
Said server executes that client issues switch order after, send to client and to switch order broadcast announcement is set, wherein carry device name, protection group ID, equipment actual switch port and corresponding maintenance state;
Client from receive said switch to be provided with parse device name and protection group ID the order broadcast announcement; If the device name that judge is separated out is identical with this client name; Then according to protection group ID to said server lookup should the protection group switch status, and concern sublist according to the switch status Refresh Data protection that said server returns.
Because the method for the invention has been taked a kind of general configuring technical; Reasonably will protect the basic configuration data (protection concerns that title, port, protected location type, APS use byte etc.) of relation to combine with port switching state, port switching order; Be presented in the form; Thereby switch setting for protection data environment is provided, very directly perceived, not only help the user and conveniently, clearly switch setting operation; Simultaneously well with switch query manipulation and merge, protection group switch messages can be clear, show intuitively.Make the staff can make things convenient for, clearly understand the operating state of current business port, especially under the situation of network configuration more complicated, help the staff can be on same interface orientation problem rapidly, improved operating efficiency to a certain extent.
Embodiment
As shown in Figure 1, SDH network management protection switching according to the invention setting and methods of exhibiting comprise:
The first step: when receiving the establishment protection group request that the user initiates through the multiplex section configuration interface; NM client provides to be created guide and supplies the user that protection group relevant parameter is set, and this parameter comprises: protection group essential information (comprising protection group ID etc.), protection attribute, protection parameter, protection relation and APS are provided with (these data configuration items are essential informations that existing webmaster need dispose) such as information; After knowing that the user accomplishes parameter and is provided with, this user end to server issues creates the protection group command, wherein carries above-mentioned each parameter;
Second step: server is after receiving the establishment protection group command that client issues; Preserve the parameter of carrying in this order; Send establishment protection group broadcast announcement to all clients of having subscribed to this service then, wherein carry the protection group ID that comprises in the mentioned order;
The 3rd step: client is resolved the establishment protection group broadcast announcement that receives, and issues querying command according to the protection group ID that parses to server;
The 4th step: after server receives querying command, the relevant parameter of correspondence protection group is sent to this client according to the protection group ID that wherein carries;
The 5th step: after client is received, all relevant parameters are presented on the same interface.Wherein, Can essential information be organized in protection is presented in the master meter; Protection attribute, protection parameter, protection relation and APS are provided with information are presented at each sublist that is arranged in same interface with above-mentioned master meter respectively, and protection concern in the sublist and comprises: protect to concern title, protected location type, port information, switch status and maintenance state (also can be described as and switch order); Wherein, maintenance state is meant the switch order of active user to the port execution, and switch status refers to that the corresponding port is to switching the response results of order;
The 6th step: client is again according to protection group ID, issues the switch status and the maintenance state of querying command all protection relations from server lookup should the protection group, comes out at above-mentioned displaying interface then.If protection relation shows through sublist, then the switch status of each protection relation correspondingly is presented to protect with maintenance state and concerns in the sublist.
After this; When the user chooses in the master meter protection group; Classified informations such as protection attribute, protection parameter, protection relation and the APS that just can view current protection group in each sublist below is provided with promptly only just can represent all protection group complete informations of this equipment intuitively with an interface.
When knowing that the user concerns that in protection when choosing certain port as the switching operation object in the sublist, client need be operated as follows:
1, obtain the related data of this operand, comprising: protection group type, protected location type and this port switch order (being maintenance state)
2, utilize above-mentioned three numbers to reach device type (type of the node device of the current operation of user) according to this and carry out matched and searched, available switch order to retrieve all, and be shown to the user to switching the order rule file;
This is switched the order rule file and is pre-stored in the client, and it adopts its data structure of XML technical specification definition.The node that defines in this document has: device type, protection group type, protected location type, currently switch order and executable and switch order, wherein, the user is executable to switch the value that the order span depends on other four nodes.This document has defined all possible scene through device type, protection group type, protected location type, current different values of switching order, according to different scene, has defined the value that order is switched in legal carrying out.This document is supported all devices and protection group type, can carry out software upgrading to the webmaster business very easily through this document, and this also is the webmaster that is different from other;
3, the user from above-mentioned available switching selects one the order after; User end to server issues switches order setting operation message; Wherein carry: protection group ID (with notification server is that which protection group is switched, because possibly have a plurality of protection groups in an equipment), protection group type (it is different that the different protection set type is carried out the turning protocol algorithm), operation port and user choose switches order;
4, server executes that client issues switch order after; Send to client and to switch order broadcast announcement is set; Wherein carry device name, protection group ID, actual order (because the server employing broadcast announcement incident of switching of switching port and correspondence of equipment; The information content that reports can not be too big; Otherwise cause network congestion easily), the port of switching that reports here is exactly the operation port object that the user switches in the protection relation;
5, client is provided with the order broadcast announcement to switching of receiving and resolves; From message, obtain device name and protection group ID; If the device name that parses is identical with this client name; Then this client is according to the unique conditional structure query message (protection group ID that equipment according to client issue return the switch status of this protection group under all of the port of protection relation) of protection group ID as inquiry protection group switch status, from server lookup should the protection group switch status (protection that just should the protection group concerns the switch status of all of the port).The port switching status data that last client is returned according to server refreshes protection and concerns the interface.
In sum, switch to protection issue of priority is set, mentality of designing of the present invention has more different than traditional network management.The traditional network management client provides a fixing command set of switching to the user; No matter the protection group of which kind of type; The user can switch order to any one of any one port arrangement of its protection relation; Correct user's operation through carrying out this miscue of switching after the order then, and can't handle the problem of Switching priority.And the present invention has fallen not meet the order of switching of real work business through switching order rule file Direct Filtration, and makes the user next step business setting of switching that can carry out of more clear understanding to operate, and has strengthened the ease for use of webmaster.
The protection of Fig. 3 concerns in the sublist; Last two columns of protection relation merge according to (switch status, maintenance state) and protection relation fully; Can see directly in this table that protection concerns the switch status and the maintenance state of port; When the user switches button in operation, can be clear and definite see next step and available switch order.The user choose one switch command execution after, need not switch any interface, client just can be with directly refreshing current switch status, need not do any extra action and just can see that switching the back protection switches professional practical operation situation.From the ease for use angle of webmaster, the present invention is directed to network management protection switching business function ease for use and be greatly improved.
To combine accompanying drawing and instance that technical scheme of the present invention is explained in more detail below.
Fig. 2 lookes at figure entirely for the protection group represents; The first half is protection group index summary table and base attribute (protection group ID, user tag, protection group type etc.); The latter half is exactly the classified information of the current protection group of choosing, and comprising: protection attribute list, protection parameter list, protection relation table, APS are provided with table etc.Last two row at the protection relation table are respectively maintenance state (switching order) row and switch status row.If the user chooses certain delegation; With regard to expression the port of this current selected line is switched setting operation; The user can choose one and available switch order from the drop-down button of switching of bottom, this is available, and to switch order be that data that client is chosen according to the active user are inquired about from switch rule file and got access to.
Fig. 3 is for being protection relation condition (switch status and maintenance state) and switch order exploded view is set.At first the user has created a protection group, has navigated to protection relator panel:
The first step: in the master meter of this figure the first half, choose a protection group ID, all sublists of the latter half (protecting sublists such as attribute, parameter, protection relation, APS are provided with) will demonstrate each block sort information of this protection group.When choosing certain data line that protection concerns sublist as operand the user; Client obtains out the port chosen, protection group type, protected location type, when the order of switching of front port; Then according to current device type; These Data Matching are inquired about to switching in the order rule file, and legal be shown to user's (as: Forced Switch, Manual Switch etc.) after switching order getting access to;
Second step: the user selects therefrom that it will carry out switch order after, the client structure is switched order setting operation message and is handed down to server, carry in this message protection group ID, protection group type, operation port and choose switch order;
The 3rd step: after server is received, issue to switch order is set.Owing to relate to the multi-client sync response, therefore do not adopt the server acknowledge mode, but adopt broadcast mode, be notified to all clients of having subscribed to current service;
The 4th step: when client switching of having received that server sends after order is provided with broadcast announcement; Resolve and should notify message, obtain protection group ID, client terminal start-up is to the guard mode task (server is directly replied this querying command) of this ID of server lookup; (this response message comprises information to be had the resolution server response message: all port and corresponding status information thereof and protection group ID at place of switching); Travel through each and switch port,, be configured to keyword (protection group ID and the stack of port value character string) based on its protection group ID and this port information; Mate a status data; Form mapping table then and fill the internal memory container, after being finished, notice protection relation table interface is refreshed;
The 5th step: after protection relator panel has been received and refreshed the interface instruction; Travel through each line item in the form in this panel; Port value and the current protection group ID that chooses according to each row; Generate keyword (protection group ID and the stack of port value character string), from internal memory container mappings table, inquire about corresponding state information according to this keyword then, refresh the interface at last.
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 work as 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.