Summary of the invention
The problem to be solved in the present invention 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 for the user protection group relevant parameter to be set, and after knowing that the user finishes 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;
Described server is preserved the parameter of carrying in the described establishment protection group command, and sends establishment protection group broadcast announcement to all clients of having subscribed to this service, wherein carries described protection group ID;
Client issues querying command according to the protection group ID that parses from described establishment protection group broadcast announcement to described server;
After described server receives, the relevant parameter of correspondence protection group is sent to described client according to the protection group ID that carries in the described querying command;
After described 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 described server lookup should the protection group, and in this interface, show according to described protection group ID.
Further, said method also can have following feature:
The relevant parameter of described protection group comprises: protection group essential information, protection attribute, protection parameter, protection relation and APS configuration 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 feature:
Described client is presented at the relevant parameter of protection group in the same interface and is meant:
Described client is presented at described protection group essential information in the master meter, and protection attribute, protection parameter, protection relation and APS configuration information are 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 described 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, described client is carried out following operation:
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 described order rule file of switching;
From above-mentioned available switching selected one the order after, described client issued to described server and switches order setting operation message, wherein carries the user: protection group ID, protection group type, operation port and user choose switches order;
Described server executes that client issues switch order after, send to client and to switch order broadcast announcement is set, that wherein carries device name, protection group ID, equipment reality switches port and corresponding maintenance state;
Client from receive described switch to be provided with parse device name and protection group ID the order broadcast announcement; if judge that the device name that parses is identical with this client name; then according to protection group ID to described server lookup should the protection group switch status, and concern sublist according to the switch status Refresh Data protection that described 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 of the present invention setting and methods of exhibiting comprise:
The first step: when receiving the establishment protection group request that the user initiates by the multiplex section configuration interface, NM client provides to be created guide and for the user protection group relevant parameter is set, and this parameter comprises: (these data configuration items are essential informations that existing webmaster need dispose) such as protection group essential information (comprising protection group ID etc.), protection attribute, protection parameter, protection relation and APS configuration informations; After knowing that the user finishes 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, protection can be organized essential information is presented in the master meter, will the protection attribute, protection parameter, protection relation and APS configuration information be 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 the protection relation shows that by sublist then switch status that each protection is concerned and maintenance state correspondingly are presented to protect and concern 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 carried out following operation:
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 the XML technical specification to define its data structure.The node that defines in this document has: device type, protection group type, protected location type, currently switch order and executablely 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 by device type, protection group type, protected location type, current different values of switching order, according to different scenes, 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 at the webmaster business very easily by 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 which protection group is switched, because may have a plurality of protection groups in an equipment), protection group type (different protection group types is carried out turning protocol algorithm differences), 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 order (because the server employing broadcast announcement incident of switching of switching port and correspondence of device name, protection group ID, equipment reality, the amount of information 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 at 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 any one switches order to any one port arrangement of its protection relation; correct user's operation by 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 by 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 fully according to (switch status, maintenance state) and protection relation; 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 that next step available switches order.The user choose one switch command execution after, need not switch any interface, client just can will directly refresh current switch status, does not need to 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.
Below in conjunction with accompanying drawing and example technical scheme of the present invention is described in detail.
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: choose a protection group ID in the master meter of this figure the first half, all sublists of the latter half (protecting sublists such as attribute, parameter, protection relation, APS are provided with) will present 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 this notice 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 state information thereof and protection group ID at place of switching), travel through each and switch port, according to its protection group ID and this port information, be configured to keyword (protection group ID and the stack of port value character string), 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.