Summary of the invention
Main purpose of the present invention provides a kind of alarm method and network equipment based on OMG CORBA northbound interface, flow process and interface that the upper strata integrated network management system inserts have been simplified, reduced the difficulty that specialized network management system and integrated network management system insert, improved and inserted integrated efficient.
The invention provides a kind of alarm method based on OMG CORBA northbound interface, it comprises:
Receive the structure incident that the specialized network management system reports, described structure incident comprises the general alarm type of general warning information and this general warning information correspondence;
Obtain described general alarm type according to described structure incident;
Obtain and resolve described general warning information according to described general alarm type.
Preferably, described structure incident comprises event header information and incident body, and described event header information comprises event type.
Preferably, describedly obtain described general alarm type, specifically comprise: from the event header information of the described structure incident that receives, extract event type, judge whether described event type is described general alarm type according to described structure incident; In this way, then the pairing incident body of described event type is carried out dissection process; As not, then do not handle.
Preferably, described the pairing incident body of described event type is carried out dissection process, specifically comprises:
Extract the data filter district message of described incident body, comprise described general warning information in the described data filter district message;
From described data filter district message, obtain general warning information.
Preferably, described general warning information comprises: the alarm type property value of whether eliminating state attribute value, general alarm of the time attribute value of the reason attribute value of the description property value of the level attribute value of the position attribution value of the element name property value of the unique identification property value of general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm and the additional information property value of general alarm.
The present invention also provides a kind of network management device, and it comprises:
Receiving element is used to receive the structure incident that the specialized network management system reports, and described structure incident comprises the general alarm type of general warning information and this general warning information correspondence;
The type acquiring unit is used for obtaining described general alarm type according to described structure incident;
Information acquisition unit is used for obtaining and resolve described general warning information according to described general alarm type.
Preferably, described structure incident comprises event header information and incident body, and described event header information comprises event type.
Preferably, described type acquiring unit is used for extracting event type from the event header information of the described structure incident that receives, and judges whether described event type is described general alarm type, in this way, then the pairing incident body of described event type is carried out dissection process; As not, then do not handle.
Preferably, described information acquisition unit is used to extract the data filter district message of described incident body, comprises described general warning information in the described data filter district message; From described data filter district message, obtain general warning information.
Preferably, described general warning information comprises: the alarm type property value of whether eliminating state attribute value, general alarm of the time attribute value of the reason attribute value of the description property value of the level attribute value of the position attribution value of the element name property value of the unique identification property value of general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm and the additional information property value of general alarm.
The present invention also provides a kind of network management system, and it comprises: specialized network management system and integrated network management system, wherein:
Described specialized network management system is used for reporting the structure incident by warning message to described integrated network management system, and described structure incident comprises the general alarm type of general warning information and this general warning information correspondence;
Described integrated network management system is used to receive the structure incident that the specialized network management system reports, and obtains described general alarm type according to described warning message then, and obtains and resolve described general warning information according to described general alarm type.
Preferably, described structure incident comprises event header information and incident body, and described event header information comprises event type;
Wherein: described integrated network management system, be used for extracting described event type from the event header information of the described structure incident that receives, judge whether described event type is described general alarm type, if then the pairing incident body of described event type is carried out dissection process; If not described general alarm type, then do not handle.
Preferably, described integrated network management system, if be used for described event type is to be described general alarm type, extract the data filter district message of described incident body, comprise described general warning information in the described data filter district message, from described data filter district message, obtain general warning information.
Implement technical scheme of the present invention, has following beneficial effect: the alarm method and the network equipment based on OMG CORBA northbound interface provided by the invention, should pass through to expand OMG Notification Service (version 1.0.1) fabric event type based on the alarm method and the network equipment of OMG CORBA northbound interface, increase new event type in the Header position, be used for defining general alarm event type; At filterable_data (data filter district) the location definition incident body corresponding with the event type that increases newly.This event type sign of general alarm type that the specialized network management system is unified the employing standard inserts integrated network management system, has solved each specialized network management system by the inconsistent problem of OMG CORBA northbound interface report and alarm message format.Owing to defined the general message model of the corresponding incident body of general alarm type, flow process and interface that the upper strata integrated network management system inserts have been simplified, reduced the difficulty that specialized network management system and integrated network management system insert, improved and inserted integrated efficient.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention provides a kind of alarm method based on OMG CORBA northbound interface, this method is applied to network management system, this network management system as shown in Figure 1, comprise: integrated network management system (Integration Net Management System), specialized network management system (ElementManagement System), the specialized network management system comprises Element management system-1 (EMS-1), Element management system-2 (EMS-2) ... Element management system-n (EMS-n), each Element management system comprises network element 1 (NE1), network element 2 (NE2) etc., also can comprise more network element, integrated network management system comprises: performance management system (Performance Management System), alarm and control system (Alarm Management System) and other OSSs (Other OSS System) etc., the Element management system of specialized network management system is by the interface adapter (Interface Adapter) of northbound interface (North Bound Interface) access integrated network management system, with the access warning management system.Integrated network management system is in the upper strata of each specialized network management system, and each specialized network management system realizes and the docking of integrated network management system by northbound interface.Make the integrated network management system program designer can be easy to realize the skeleton code of receiving alarm data message.Based on above-mentioned framework, as shown in Figure 2, should comprise step based on the alarm method of OMG CORBA northbound interface:
The structure incident that S201, reception specialized network management system report, said structure body incident comprise general warning information and should pass through general alarm (NT_COMMON_ALARM) type of alarm (NT_COMMON_ALARM) information correspondence.
In the present embodiment, said structure body incident comprises event header (Event Header) information and incident body (Event Body), and above-mentioned event header information comprises event type.Notification (notice) structure event definition the type of all incidents of Notification and the message model of each types of events.The specialized network management system is when definition need be to data that the upper strata integrated network management system reports, at first to determine the event type that reports, and then the data content that reports according to the encapsulation of the message structure of this event type, the upper strata integrated network management system that makes can carry out correct parsing to the message that receives according to the event type that receives.
S202, obtain above-mentioned general alarm type according to said structure body incident.
S203, obtain and resolve above-mentioned general warning information according to above-mentioned general alarm type.
In the present embodiment, this event type sign of general alarm type that above-mentioned specialized network management system is unified the employing standard inserts integrated network management system, has solved each specialized network management system by the inconsistent problem of OMGCORBA northbound interface report and alarm message format.Owing to defined the general message model of the corresponding incident body of general alarm type, flow process and interface that the upper strata integrated network management system inserts have been simplified, reduced the difficulty that specialized network management system and integrated network management system insert, improved and inserted integrated efficient.
Obtain above-mentioned general alarm type according to said structure body incident, specifically comprise: from the event header information of the above-mentioned structure incident that receives, extract above-mentioned general alarm type.
Event Header is the event header part of Notification structure incident, and type_name (name type) defines event type, in OMG CORBA Notification 1.0.1 version, has defined following 13 kinds of event types altogether:
NT_OBJECT_CREATION;
NT_OBJECT_DELETION;
NT_ATTRIBUTE_VALUE_CHANGE;
NT_STATE_CHANGE;
NT_ROUTE_CHANGE;
NT_PROTECTION_SWITCH;
NT_EPROTECTION_SWITCH;
NT_TCA;
NT_ALARM;
NT_FILE_TRANSFER_STATUS;
NT_PM_SC;
NT_BACKUP_STATUS;
NT_HEARTBEAT;
Event Body is the incident body portion of Notification structure incident, and to forming, according to the difference of type_name, field name also can be different by " field name/value " strong value.
The method that the embodiment of the invention provides expands OMG Notification Service (version 1.0.1) fabric event type, increases new event type " NT_COMMON_ALARM " in the Header position, is used for defining general alarm event type; At filterable_data (data filter district) the location definition incident body corresponding with event type " NT_COMMON_ALARM ", above-mentioned incident body is general warning information.
Each specialized network management system is used " NT_COMMON_ALARM " type identification, and the message structure according to the corresponding incident body regulation of " NT_COMMON_ALARM " event type is packaged into general alarm event structure with alarm data.This method is guaranteed all professional webmasters of following OMG Notification Service standard to upper strata integrated network management system reporting real-time warning the time, can generally with one dock with the upper strata webmaster with data-interface standard.In addition, for original event type " NT_ALARM ", owing to be defined as the warning information of transmission product always, have certain professional, when the upper strata comprehensive network management is used for handling the alarm of transmission product specialty specially, can use this event type to carry out individual processing.
The method that Fig. 3 receives general warning message according to this " NT_COMMON_ALARM " event type for the upper strata integrated network management system to realize alarming.
S301: integrated network management system receives the structure incident that the specialized network management system reports by OMG CORBA notification service agreement;
S302: the event header information of handling the structure incident that receives;
S303: the event type in the event header information of the structure incident that extraction receives;
S304: whether the decision event type is " NT_COMMON_ALARM " type;
S305: if " NT_COMMON_ALARM " type, then the incident body to this event type carries out the dissection process (see figure 4); If not " NT_COMMON_ALARM " type, then do not handle.
As shown in Figure 4, the process that integrated network management system is resolved the incident body that receives according to the message model of event type " NT_COMMON_ALARM " definition comprises step:
Filterable_data (data filter district) message of S401, the above-mentioned incident body of extraction comprises above-mentioned general warning information in the above-mentioned filterable_data message;
S402, from above-mentioned filterable_data message, obtain general warning information;
In OMG CORBA Notification Service (version 1.0.1), filterable_data is the array of a pair type, and filterable_data message array length and content are relevant with event type;
S403, from the filterable_data message, obtain alarm notification Id (unique identification) property value;
S404, from the filterable_data message, obtain alarm object Name (element name) property value;
S405, from the filterable_data message, obtain alarm location (position) property value;
S406, from the filterable_data message, obtain alarm perceived Severity (rank) property value;
S407, from the filterable_data message, obtain alarm description (description) property value;
S408, from the filterable_data message, obtain alarm probable Cause (reason) property value;
S409, from the filterable_data message, obtain alarm ne Time (time) property value;
S410, from the filterable_data message, obtain alarm is Clearable (whether eliminating state) property value;
S411, from the filterable_data message, obtain alarm Event Type (alarm type) property value;
S412, from the filterable_data message, obtain alarm additional Text (additional information) property value.
That is: above-mentioned general warning information comprises: the alarm type property value of whether eliminating state attribute value, general alarm of the time attribute value of the reason attribute value of the description property value of the level attribute value of the position attribution value of the element name property value of the unique identification property value of general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm and the additional information property value of general alarm.
In the alarm method and the network equipment that the foregoing description provides based on OMG CORBA northbound interface, this event type sign of general alarm type that the specialized network management system is unified the employing standard inserts integrated network management system, has solved each specialized network management system by the inconsistent problem of OMG CORBA northbound interface report and alarm message format.Owing to defined the general message model of the corresponding incident body of general alarm type, flow process and interface that the upper strata integrated network management system inserts have been simplified, reduced the difficulty that specialized network management system and integrated network management system insert, improved and inserted integrated efficient.
As shown in Figure 5, the embodiment of the invention also provides a kind of network management device, and this equipment comprises:
Receiving element 501 is used to receive the structure incident that the specialized network management system reports, and said structure body incident comprises the general alarm type of general warning information and this general warning information correspondence;
Type acquiring unit 502 is used for obtaining above-mentioned general alarm type according to said structure body incident;
Information acquisition unit 503 is used for obtaining and resolve above-mentioned general warning information according to above-mentioned general alarm type.
Further among the embodiment, said structure body incident comprises event header information and incident body, and above-mentioned event header information comprises event type.The above-mentioned type acquiring unit 502 is used for extracting above-mentioned general alarm type from the event header information of the above-mentioned structure incident that receives.
Further among the embodiment, above-mentioned information acquisition unit 503 is used to judge whether above-mentioned event type is above-mentioned general alarm type, in this way, then the pairing incident body of above-mentioned event type is carried out dissection process; As not, then do not handle.
Further among the embodiment, above-mentioned information acquisition unit 503 is used to extract the data filter district message of above-mentioned incident body, comprises above-mentioned general warning information in the above-mentioned data filter district message; From above-mentioned data filter district message, obtain general warning information.Wherein, concrete: above-mentioned general warning information comprises: the alarm type property value of whether eliminating state attribute value, general alarm of the time attribute value of the reason attribute value of the description property value of the level attribute value of the position attribution value of the element name property value of the unique identification property value of general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm and the additional information property value of general alarm.
The embodiment of the invention also provides a kind of network management system, and as shown in Figure 1, this system comprises: specialized network management system and integrated network management system, wherein:
Above-mentioned specialized network management system is used for reporting the structure incident by warning message to above-mentioned integrated network management system, and said structure body incident comprises the general alarm type of general warning information and this general warning information correspondence;
Above-mentioned integrated network management system is used to receive the structure incident that the specialized network management system reports, and obtains above-mentioned general alarm type according to said structure body incident then, and obtains and resolve above-mentioned general warning information according to above-mentioned general alarm type.
Wherein, said structure body incident comprises event header information and incident body, and above-mentioned event header information comprises event type; Above-mentioned integrated network management system, be used for extracting above-mentioned event type from the event header information of the above-mentioned structure incident that receives, judge whether above-mentioned event type is above-mentioned general alarm type, if then the pairing incident body of above-mentioned event type is carried out dissection process; If not above-mentioned general alarm type, then do not handle.
In the additional embodiments, above-mentioned integrated network management system is used to extract the data filter district message of above-mentioned incident body, comprises above-mentioned general warning information in the above-mentioned data filter district message, obtains general warning information from above-mentioned data filter district message.
Concrete: above-mentioned general warning information comprises: the alarm type property value of whether eliminating state attribute value, general alarm of the time attribute value of the reason attribute value of the description property value of the level attribute value of the position attribution value of the element name property value of the unique identification property value of general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm, general alarm and the additional information property value of general alarm.
More than above-mentioned only be preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.