Embodiment
Be described in detail below in conjunction with method, the device of accompanying drawing the embodiment of the invention.
An embodiment of the method for alarm synchronization of the present invention as shown in Figure 2, comprising:
S201, obtain the alarm synchronization mode and the warning message of telecommunications telecommunication apparatus, described warning message comprises the Alarm Sequence Number of alarm identifier parameter and this alarm.
Described telecommunications telecommunication apparatus can be the physics telecommunication apparatus, also can be the abstract logic telecommunication apparatus that comes out from the physics telecommunication apparatus.
The mode of obtaining the alarm synchronization mode of telecommunications telecommunication apparatus comprises: the telecommunication apparatus active report and alarm method of synchronization or alarm synchronization device are according to the alarm synchronization mode of this telecommunication apparatus of telecommunication apparatus type configuration.
The telecommunication apparatus initiatively report and alarm method of synchronization specifically also has two types: a kind of is that the alarm synchronization mode is write warning message, reports when alarm takes place; Another kind is that the alarm synchronization mode is reported separately as message independently.
The alarm synchronization device mainly is at telecommunications telecommunication apparatus older or upgrading inconvenience according to the alarm synchronization mode of this telecommunication apparatus of telecommunication apparatus type configuration, these telecommunication apparatus are unsuitable for adding the function of the new active report and alarm method of synchronization, the alarm synchronization device can be set up a wheel synchronization type configuration mapping table for these telecommunication apparatus in this side, when receiving the warning message that these telecommunication apparatus send, in wheel synchronization type configuration mapping table, find the corresponding telecommunication equipment alarming method of synchronization to handle.Wheel synchronization type configuration mapping table wants to reflect that telecommunication apparatus and alarm synchronization mode get corresponding relation that the not strict qualification of form provides wherein a kind of form below:
Telecommunication apparatus type i P address syncsort model
MSC all 1
RNC all 2
NodeB 10.70.140.158 6
BSC all 3
GGSN all 4
SGSN all 5
According to top form, if a MSC report and alarm, the alarm synchronization device can arrive wheel synchronization type and dispose that to find its corresponding syncsort model in the mapping table be 1, handles according to the alarm synchronization mode of syncsort model 1 correspondence afterwards.
Warning message reports the alarm synchronization device by telecommunication apparatus when telecommunication apparatus is alarmed at every turn, except the concrete origin of an incident of alarm, also comprise the Alarm Sequence Number of alarm identifier parameter and this alarm.The alarm identifier parameter be used for identifying this warning message at object, can adopt but be not limited to following parameter: telecommunication apparatus IP address, physics telecommunication apparatus numbering, logic telecommunication apparatus numbering, telecommunication device port number.Because the side of reporting of warning message and alarm different in kind, the kind of Alarm Sequence Number is also different, but each group Alarm Sequence Number is a serial number.
Warning message can adopt SNMP Trap message, and is as shown in table 1:
Enterpri se |
Agent Address |
Generic Trap?Type |
Specific?Trap Code |
Time?Stamp |
Variable Binding |
Table 1
Wherein, the Enterprise field represents to produce the telecommunication apparatus type of this warning message; Agent Address field shows the telecommunication apparatus IP address that produces this warning message; Variable Binding field is represented the particular content of this warning message.
Further, Variable Binding field is as shown in table 2, comprise Alarm Sequence Number, alarm time, the alarm classification, all locating information can also optionally comprise logical port number and/or physics telecommunication apparatus numbering and/or logic telecommunication apparatus numbering, if the alarm synchronization mode also reports by warning message, Variable Binding field also comprises the alarm synchronization mode so.
Alarm Sequence Number |
Alarm time |
The alarm classification |
Alarm synchronization mode (SynType) |
Logical port number (Port) |
Positional parameter 1 |
Positional parameter 2 |
… |
Table 2
Wherein, alarm time shows the generation time of alarm.The alarm classification shows the character of this alarm, as fault alarm, recovery alarm, event alarm etc.It is specific that the fault of describing positional parameter takes place, for example frame number, plate number, groove number etc.
The alarm synchronization mode of telecommunication apparatus defines according to the actual operating position of telecommunication apparatus in the network, and can expand as required, includes but not limited to following several mode:
Mode 1: single IP physics telecommunication apparatus, the unified Alarm Sequence Number of compiling of whole telecommunication apparatus is modeled as a managed object on the webmaster.
Mode 2: single IP physics telecommunication apparatus, the unified Alarm Sequence Number of compiling of whole telecommunication apparatus is modeled as two or more managed objects according to type of service on the webmaster.
Mode 3: single IP physics telecommunication apparatus, compile Alarm Sequence Number respectively by telecommunication apparatus internal logic telecommunication apparatus, be modeled as a managed object on the webmaster.
Mode 4: single IP physics telecommunication apparatus, compile Alarm Sequence Number respectively by telecommunication apparatus internal logic telecommunication apparatus, be modeled as two or more managed objects according to type of service on the webmaster.
Mode 5: many IP physics telecommunication apparatus, compile Alarm Sequence Number respectively by telecommunication apparatus internal logic telecommunication apparatus, be modeled as a managed object on the webmaster.
Mode 6: many IP physics telecommunication apparatus, the unified Alarm Sequence Number of compiling of whole telecommunication apparatus is modeled as two or more managed objects according to type of service on the webmaster.
S202, search historical record according to the alarm synchronization mode and the alarm identifier parameter of telecommunication apparatus, described historical record comprises before this alarm, at same alarm identifier parameter, with the Alarm Sequence Number of described method of synchronization alarm.
The alarm synchronization device can find Alarm Sequence Number corresponding in this side historical record according to the alarm synchronization mode and the alarm identifier parameter in the warning message of telecommunication apparatus, and the alarm synchronization device can write down the Alarm Sequence Number of the last warning message before this warning message.
If the Alarm Sequence Number of this alarm of S203 and the Alarm Sequence Number of historical record are discontinuous, issue the alarm synchronization order.
Under a kind of implementation, if the Alarm Sequence Number of this warning message is to add one in last time on the Alarm Sequence Number, think that so this warning message and warning message before are continuous, warning message does not take place to be lost.Otherwise, if the Alarm Sequence Number of this warning message is to add two or bigger numeral on the Alarm Sequence Number in last time, warning message in the middle of illustrating has been lost, and the alarm synchronization device issues the alarm synchronization order, and the warning message that telecommunication apparatus will be lost is uploaded again.
Under another kind of implementation, if the Alarm Sequence Number of this warning message is to subtract one in last time on the Alarm Sequence Number, think that so this warning message and warning message before are continuous, warning message does not take place to be lost.Otherwise, if the Alarm Sequence Number of this warning message is to subtract two or bigger numeral on the Alarm Sequence Number in last time, warning message in the middle of illustrating has been lost, and the alarm synchronization device issues the alarm synchronization order, and the warning message that telecommunication apparatus will be lost is uploaded again.
Should be understood that, the embodiment of the invention is not limited to above-mentioned implementation, as long as the Alarm Sequence Number of this warning message meets predefined value with serial number difference between the last time Alarm Sequence Number, think that so this warning message and warning message before are continuous; Otherwise, not so.
The mode that the alarm synchronization device issues the alarm synchronization order has two kinds:
1, the telecommunication apparatus side is used the snmp protocol buffer stack, when the alarm synchronization device issues synch command, with the alarm synchronization mode, be converted to the protocol number of SNMP, use the mechanism of SNMP itself to carry out synchronously, the unnecessary alarm that may come up synchronously like this can be filtered the identical warning message of alarm synchronization mode, only keeps one.
2, telecommunication apparatus needs the alarm synchronization mode that perception alarm synchronization device issues, and handles by the alarm synchronization mode.
In sum, along with the fast development of communication network, the alarm synchronization mode variation of telecommunications telecommunication apparatus, be not only original man-to-man alarm synchronization mode (managed object on the corresponding webmaster of a physics telecommunication apparatus of an IP address), the alarm report mode that various corresponding relations occurred, such as, physics telecommunication apparatus can integrated several functions, be abstracted into several logic telecommunication apparatus, each logic telecommunication apparatus is write Alarm Sequence Number separately, is that unit carries out alarm synchronization with the logic telecommunication apparatus; Also may finish same function by several physics telecommunication apparatus, Alarm Sequence Number is write in these several physics telecommunication apparatus unifications, carries out alarm synchronization jointly.The alarm synchronization device need judge respectively whether Alarm Sequence Number is continuous at these different alarm synchronization modes.Prior art is at man-to-man alarm synchronization mode, only need in warning message, to report telecommunication apparatus ID to get final product, present embodiment is in order to tackle various alarm synchronization mode, increased the step of the alarm synchronization mode of obtaining telecommunication apparatus, judged the mode of writing Alarm Sequence Number by the alarm synchronization mode of telecommunication apparatus.In addition, the warning message that has may be no longer only at same managed object, if still can not satisfy the demand according to the mode that in warning message, reports telecommunication apparatus ID, the parameter in order to identify at object that warning message reports among the present invention also no longer only is defined in telecommunication apparatus ID, but any alarm identifier parameter at object that can identify this warning message.As seen, present embodiment is according to the method for synchronization of each telecommunication apparatus, whether search the Alarm Sequence Number of this telecommunication apparatus under this kind alarm synchronization mode continuous, and then judge whether alarm needs synchronously between telecommunication apparatus and the alarm synchronization device, can realize the alarm synchronization of diversified telecommunication equipment in the network, strengthen the compatibility of alarm synchronization.
Also embodiment of the method for alarm synchronization of the present invention as shown in Figure 3, need to prove that the method executive agent of the embodiment of the invention can be a telecommunication apparatus, and wherein this method comprises:
S301, the report and alarm method of synchronization and warning message, described warning message comprise the Alarm Sequence Number of alarm identifier parameter and this alarm.
Telecommunication apparatus initiatively reports the alarm synchronization device with self alarm synchronization mode and warning message, the telecommunication apparatus initiatively report and alarm method of synchronization specifically comprises two types: a kind of is that telecommunication apparatus writes warning message with the alarm synchronization mode, reports when alarm takes place; To be telecommunication apparatus report the alarm synchronization mode separately as message independently another kind.
S302, according to receive, carry out alarm synchronization in response to the alarm synchronization order of alarm synchronization mode that reports and warning message.
Should be understood that the alarm synchronization order here is the alarm synchronization order that the alarm synchronization device issues.
After telecommunication apparatus received the alarm synchronization order, the warning message that will lose according to the content of alarm synchronization order resend to the alarm synchronization device, realized alarm synchronization.
As seen, present embodiment reports self alarm synchronization mode by telecommunication apparatus, can make the alarm synchronization device realize alarm synchronization disposal ability at the multiple alarm synchronization mode of different telecommunication apparatus, strengthens the compatibility of alarm synchronization.
Another embodiment of alarm synchronization method of the present invention as shown in Figure 4, comprising:
S401, obtain the alarm synchronization mode and the warning message of telecommunication apparatus, described warning message comprises the Alarm Sequence Number of alarm identifier parameter and this alarm.
Described telecommunication apparatus can be a physical equipment, also can be abstract logical device of coming out from physical equipment.
The mode of obtaining the alarm synchronization mode of telecommunication apparatus comprises: the telecommunication apparatus active report and alarm method of synchronization or alarm synchronization device are according to the alarm synchronization mode of this telecommunication apparatus of telecommunication apparatus type configuration.
The warning message that S402, parsing telecommunication apparatus report obtains the Alarm Sequence Number of alarm identifier parameter and this alarm.
The alarm identifier parameter can adopt but be not limited to following parameter: telecommunication apparatus IP address, physical equipment numbering, logical unit number, telecommunication device port number.
S403, whether search to described alarm identifier parameter according to the alarm synchronization mode of the telecommunication apparatus that obtains and to have distributed logical synchronization number.
Described each logical synchronization is number corresponding with one group of Alarm Sequence Number, and the unified alarm identifier parameter of compiling Alarm Sequence Number is distributed same logical synchronization number under the same alarm synchronization mode.
If S404 has distributed logical synchronization number, search the Alarm Sequence Number of this logical synchronization number following historical record.
If the Alarm Sequence Number of this alarm of S405 and the Alarm Sequence Number of historical record are discontinuous, issue the alarm synchronization order.
Described alarm synchronization order comprises the Alarm Sequence Number of disappearance, telecommunication apparatus is after receiving the alarm synchronization order, telecommunication apparatus carries out alarm synchronization according to the alarm synchronization order that the alarm synchronization device issues, and the warning message of Alarm Sequence Number correspondence of disappearance is sent to the alarm synchronization device.
If the Alarm Sequence Number of this alarm of S406 and the Alarm Sequence Number of historical record are continuous, replace the Alarm Sequence Number of historical record with the Alarm Sequence Number of this alarm.
If the still unallocated logical synchronization of S407 number is the alarm identifier parameter assignment logic sync numbers under the alarm synchronization mode of telecommunication apparatus, and the Alarm Sequence Number of this alarm is written into historical record.
Wherein, do not have inevitable sequencing between step 404-406 and the step 407, do not have inevitable sequencing between step 405 and the step 406.
In sum, present embodiment has proposed the notion of logical synchronization number, in order to distinguish the array Alarm Sequence Number under the same alarm synchronization type, it is the corresponding logical synchronization of each group Alarm Sequence Number number under the same alarm synchronization type, alarm synchronization mode and the alarm identifier parameter of warning message of alarm synchronization device by telecommunication apparatus finds logical synchronization number, number finds corresponding Alarm Sequence Number by logical synchronization again.Had after the logical synchronization number, Alarm Sequence Number and synchronous logic are number corresponding, the modification of alarm synchronization mode and alarm identifier parameter will can not exert an influence to Alarm Sequence Number, because the method for synchronization of telecommunication apparatus and telecommunication apparatus is dynamically adjusted often in the network, 6 telecommunication apparatus of same group of Alarm Sequence Number eve possibility are shared, 7 telecommunication apparatus of back possibility at a moment are shared, if Alarm Sequence Number is directly corresponding with the alarm identifier parameter of the alarm synchronization mode of telecommunication apparatus and warning message, the modification of corresponding relation each time all will be in the inner message that produces a large amount of notice modifications of alarm synchronization device, consume alarm synchronization device resource, after adding logical synchronization number, Alarm Sequence Number and synchronous logic are number corresponding, if the method for synchronization change of telecommunication apparatus and telecommunication apparatus, as long as adjust the corresponding relation of the alarm identifier parameter of the alarm synchronization mode of telecommunication apparatus and warning message and synchronous logic number, synchronous logic number is constant with the Alarm Sequence Number corresponding relation, can not produce the message that a large amount of notices is revised, save alarm synchronization device resource.
Another embodiment of the method for alarm synchronization of the present invention, application scenarios is shown in Fig. 5 a: the physical equipment A that to have an IP address be 10.70.140.158, owing to have multiple function, be abstracted into three logical device A1, A2, A3, Alarm Sequence Number is write in name unification with IP address 10.70.140.158, the alarm report of each logical device is by the unified management of alarm synchronization device, and corresponding alarm synchronization mode is with 2 expressions of syncsort model, and corresponding logical synchronization number is 1.Network management system is ready-made 3 managed object MO1, MO2, MO3.
The alarm synchronization method of present embodiment can comprise the steps: shown in Fig. 5 b
S501, logical device A1 report and alarm message.
Carry the Alarm Sequence Number (numbering 45) of alarm synchronization mode (syncsort model), alarm identifier parameter (IP address 10.70.140.158) and this alarm in the warning message
S502, alarm synchronization device obtain and resolve described warning message.
The alarm synchronization device parses syncsort model 2 from warning message, information such as IP address 10.70.140.158 and Alarm Sequence Number 45.
S503, alarm synchronization device are searched the alarm synchronization mode of syncsort model correspondence.
The alarm synchronization mode that the alarm synchronization device finds out syncsort model 2 correspondences is the corresponding one group of Alarm Sequence Number in an IP address.
Whether S504, alarm synchronization device are searched to the alarm identifier parameter and have been distributed logical synchronization number.
It number is 1 that the alarm synchronization device finds to IP address 10.70.140.158 has distributed logical synchronization.
S505, alarm synchronization device are searched the Alarm Sequence Number of logical synchronization number following historical record.
The historical record of alarm synchronization device query logic sync numbers 1 in the database, historical record show that last Alarm Sequence Number is 43.
S506, alarm synchronization device issue the alarm synchronization order.
Because the Alarm Sequence Number that record is surrounded in this alarm is 45, alarm synchronization device historical record shows that last Alarm Sequence Number is 43, and is discontinuous, lacked 44, so the alarm synchronization device issues the alarm synchronization order, the warning message that has required telecommunication apparatus to report to lack.
S507, telecommunication apparatus carry out alarm synchronization according to the alarm synchronization order that the alarm synchronization device issues.
Existing alarm is the unified numberings of all telecommunication apparatus synchronously, so only obtain the Alarm Sequence Number that telecommunication apparatus reports, but along with the diversity of telecommunication apparatus type and the diversity of alarm synchronization type, might not be the unified numberings of all telecommunication apparatus, just certain several telecommunication apparatus is numbered according to certain wheel synchronization type is unified as required, will make mistakes according to an existing alarm method of synchronization report and alarm serial number so again, the present invention has increased the step of obtaining the alarm synchronization mode again on the basis of existing alarm serial number, can learn it is which telecommunication apparatus is according to the unified Alarm Sequence Number of compiling of which kind of wheel synchronization type, and then in that whether accurately judge under every kind of wheel synchronization type Alarm Sequence Number under various environment continuous, further, judge whether alarm needs synchronously between telecommunication apparatus and the alarm synchronization device, can realize the alarm synchronization of diversified telecommunication equipment in the network, strengthen the compatibility of alarm synchronization.
Another embodiment of the method for alarm synchronization of the present invention, application scenarios is shown in Fig. 6 a: having the IP address is the physical equipment A of 10.70.140.157, having the IP address is the physical equipment B of 10.70.140.158, and having the IP address is the physical equipment C of 10.70.140.159.The alarm synchronization mode has two kinds, if the alarm of physical equipment self, three physical equipments are write Alarm Sequence Number respectively, the alarm synchronization mode is with 1 expression of syncsort model, the alarm identifier parameter is IP address separately, the logical synchronization of physical equipment A number is 1, and the logical synchronization of physical equipment B number is 2, and the logical synchronization of physical equipment C number is 3; If public alarm, Alarm Sequence Number is write in three physical equipment unifications, and the alarm synchronization mode is with syncsort model 2 expression, and logical synchronization number is 4.The alarm report of each physical equipment is by the unified management of alarm synchronization device, and network management system is ready-made 2 managed object MO1, MO2, the alarm of MO1 managing physical equipment self, and MO2 manages public alarm.
The alarm synchronization method of present embodiment comprises shown in Fig. 6 b:
S601, physical equipment A report and alarm message.
Carry the Alarm Sequence Number (numbering 45) of alarm synchronization mode (syncsort model 2), alarm identifier parameter (managed object MO2) and this alarm in the warning message
S602, alarm synchronization device obtain and resolve described warning message.
The alarm synchronization device parses syncsort model 2 from warning message, information such as managed object MO2 and Alarm Sequence Number 45.
S603, alarm synchronization device are searched the alarm synchronization mode of syncsort model correspondence.
The alarm synchronization mode that the alarm synchronization device finds out syncsort model 2 correspondences is that Alarm Sequence Number is write in three physical equipment unifications.
Whether S604, alarm synchronization device are searched to the alarm identifier parameter and have been distributed logical synchronization number.
It number is 4 that the alarm synchronization device finds to managed object MO2 has distributed logical synchronization.
S605, alarm synchronization device are searched the Alarm Sequence Number of logical synchronization number following historical record.
The historical record of alarm synchronization device query logic sync numbers 4 in the database, historical record show that last Alarm Sequence Number is 44.
S606, alarm synchronization device are replaced the Alarm Sequence Number of historical record with the Alarm Sequence Number of this alarm.
S607, telecommunication apparatus carry out alarm synchronization according to the alarm synchronization order that the alarm synchronization device issues.
Because the Alarm Sequence Number that record is surrounded in this alarm is 45, alarm synchronization device historical record shows that last Alarm Sequence Number is 44, continuously, do not lose warning message, so need not to issue the alarm synchronization order, only need to replace the Alarm Sequence Number of historical record, so that inquiry next time with the Alarm Sequence Number of this alarm.
Existing alarm is the unified numberings of all telecommunication apparatus synchronously, so only obtain the Alarm Sequence Number that telecommunication apparatus reports, but along with the diversity of telecommunication apparatus type and the diversity of alarm synchronization type, might not be the unified numberings of all telecommunication apparatus, just certain several telecommunication apparatus is numbered according to certain wheel synchronization type is unified as required, will make mistakes according to an existing alarm method of synchronization report and alarm serial number so again, the present invention has increased the step of obtaining the alarm synchronization mode again on the basis of existing alarm serial number, can learn it is which telecommunication apparatus is according to the unified Alarm Sequence Number of compiling of which kind of wheel synchronization type, and then in that whether accurately judge under every kind of wheel synchronization type Alarm Sequence Number under various environment continuous, further, judge whether alarm is synchronous between telecommunication apparatus and the alarm synchronization device, can realize the alarm synchronization of diversified telecommunication equipment in the network, strengthen the compatibility of alarm synchronization.
An embodiment of alarm synchronization device of the present invention as shown in Figure 7, comprising:
Receiving element 71: be used to obtain the alarm synchronization mode and the warning message of telecommunication apparatus, described warning message comprises the Alarm Sequence Number of alarm identifier parameter and this alarm.
Described telecommunication apparatus can be a physical equipment, also can be abstract logical device of coming out from physical equipment.
The mode of obtaining the alarm synchronization mode of telecommunication apparatus comprises: the telecommunication apparatus active report and alarm method of synchronization or alarm synchronization device are according to the alarm synchronization mode of this telecommunication apparatus of telecommunication apparatus type configuration.
Search unit 72: be used for searching historical record according to the alarm synchronization mode and the alarm identifier parameter of telecommunication apparatus, described historical record comprises before this alarm, the Alarm Sequence Number of alarming at same alarm identifier parameter, in described alarm synchronization mode.
Search unit 72 and can find Alarm Sequence Number corresponding in the historical record according to the alarm synchronization mode of telecommunication apparatus and the alarm identifier parameter in the warning message, corresponding Alarm Sequence Number comprises the Alarm Sequence Number of the last warning message before this warning message in the described historical record.
Judging unit 73:, issue the alarm synchronization order if it is discontinuous to be used for the Alarm Sequence Number of the Alarm Sequence Number of this alarm and historical record.
But about the as above description of the specific implementation reference method embodiment of functional unit.
Should be understood that the alarm synchronization device of present embodiment in actual applications, in the fault subsystem that can be deployed in the network management system server end, also can be the independent entity of disposing.
As seen, among this device embodiment, the method of synchronization according to each telecommunication apparatus, whether search the Alarm Sequence Number of this telecommunication apparatus under this kind alarm synchronization mode continuous, and then judge whether alarm needs synchronously between telecommunication apparatus and the alarm synchronization device, can realize the alarm synchronization of diversified telecommunication equipment in the network, strengthen the compatibility of alarm synchronization.
Another embodiment of alarm synchronization device of the present invention as shown in Figure 8, comprising:
Receiving element 81: be used to obtain the alarm synchronization mode and the warning message of telecommunication apparatus, described warning message comprises the Alarm Sequence Number of alarm identifier parameter and this alarm.
Search unit 82: be used for searching historical record according to the alarm synchronization mode and the alarm identifier parameter of telecommunication apparatus, described historical record comprises before this alarm, the Alarm Sequence Number of alarming at same alarm identifier parameter, in described alarm synchronization mode.
Judging unit 83:, be used to issue the alarm synchronization order if the Alarm Sequence Number of the Alarm Sequence Number of this alarm and historical record is discontinuous; If the Alarm Sequence Number of the Alarm Sequence Number of this alarm and historical record is continuous, replace the Alarm Sequence Number of historical record with the Alarm Sequence Number of this alarm.
Further, searching unit 82 comprises:
Resolve subelement 821: be used to resolve the warning message that telecommunication apparatus reports, obtain the Alarm Sequence Number of alarm identifier parameter and this alarm.
The alarm identifier parameter can adopt but be not limited to following parameter: telecommunication apparatus IP address, physical equipment numbering, logical unit number, telecommunication device port number.
The first inquiry subelement 822: be used for whether searching to described alarm identifier parameter and distributed logical synchronization number according to the alarm synchronization mode of the telecommunication apparatus that obtains.
Described each logical synchronization is number corresponding with one group of Alarm Sequence Number, and the unified alarm identifier parameter of compiling Alarm Sequence Number is distributed same logical synchronization number under the same alarm synchronization mode.
The second inquiry subelement 823:, be used to search the Alarm Sequence Number of this logical synchronization number following historical record if distributed logical synchronization number.
The 3rd inquiry subelement 824:, and the Alarm Sequence Number of this alarm is written into historical record if still unallocated logical synchronization number is used to the alarm identifier parameter assignment logic sync numbers under the alarm synchronization mode of telecommunication apparatus.
But about the as above description of the specific implementation reference method embodiment of functional unit.
Should be understood that the alarm synchronization device of present embodiment in actual applications, in the fault subsystem that can be deployed in the network management system server end, also can be the independent entity of disposing.
As seen, this device embodiment is according to the method for synchronization of each telecommunication apparatus, whether search the Alarm Sequence Number of this telecommunication apparatus under this kind alarm synchronization mode continuous, and then judge whether alarm needs synchronously between telecommunication apparatus and the alarm synchronization device, can realize the alarm synchronization of diversified telecommunication equipment in the network, strengthen the compatibility of alarm synchronization.In addition, the alarm synchronization of the different alarm synchronization modes of different vendor's plurality of devices reported problem under this device embodiment can tackle the network increase and merge the back consolidated network, had strengthened the flexibility of network extensibility and network management.
An embodiment of telecommunication apparatus of the present invention as shown in Figure 9, comprising:
Report unit 91: be used for the report and alarm method of synchronization and warning message, described warning message comprises the Alarm Sequence Number of alarm identifier parameter and this alarm.
Report unit 91 that self alarm synchronization mode and warning message are initiatively reported the alarm synchronization device, the telecommunication apparatus initiatively report and alarm method of synchronization specifically comprises two types: a kind of is that telecommunication apparatus writes warning message with the alarm synchronization mode, reports when alarm takes place; To be telecommunication apparatus report the alarm synchronization mode separately as message independently another kind.
Lock unit 92: alarm synchronization is carried out in the alarm synchronization order that is used for issuing according to the alarm synchronization device.
After lock unit 92 received the alarm synchronization order, the warning message that will lose according to the content of alarm synchronization order resend to the alarm synchronization device, realized alarm synchronization.
But about the as above description of the specific implementation reference method embodiment of functional unit.
As seen, present embodiment reports the alarm synchronization mode of self by telecommunication apparatus, which kind of alarm synchronization mode what can effectively identify this telecommunication apparatus employing is, after receiving the warning message that this telecommunication apparatus reports, alarm synchronization mode according to this telecommunication apparatus, whether search the Alarm Sequence Number of this telecommunication apparatus under this kind alarm synchronization mode continuous, and then judge whether alarm needs synchronously between telecommunication apparatus and the alarm synchronization device, can make the alarm synchronization disposal ability of alarm synchronization device realization at the multiple alarm synchronization mode of different telecommunication apparatus, strengthen the compatibility of alarm synchronization, and the flexibility of network extensibility and network management.
An embodiment of alarm synchronization of the present invention system as shown in figure 10, comprising:
Alarm synchronization device 101: the alarm synchronization mode and the warning message that are used to obtain telecommunication apparatus, described warning message comprises the Alarm Sequence Number of alarm identifier parameter and this alarm, if the Alarm Sequence Number of this alarm is discontinuous with the identical alarm synchronization mode and the Alarm Sequence Number under the identical alarm identifier parameter of historical record, issue the alarm synchronization order.
Telecommunication apparatus 102: be used for the report and alarm method of synchronization and warning message, carry out alarm synchronization according to the alarm synchronization order that the alarm synchronization device issues.
Further, the alarm synchronization device also is used for the Alarm Sequence Number consecutive hours at the Alarm Sequence Number of this alarm and historical record, replaces the Alarm Sequence Number of historical record with the Alarm Sequence Number of this alarm.
The mode that alarm synchronization device 101 issues the alarm synchronization order has two kinds:
1, telecommunication apparatus 102 uses the snmp protocol buffer stack, when alarm synchronization device 101 issues synch command, with the alarm synchronization mode, is converted to the protocol number of SNMP, uses the mechanism of SNMP itself to carry out synchronously.
2, telecommunication apparatus 102 needs the alarm synchronization mode that perception alarm synchronization device 101 issues, and handles by the alarm synchronization mode.
Should be understood that the alarm synchronization device 101 of the embodiment of the invention in actual applications, in the fault subsystem that can be deployed in the network management system server end, also can be the independent entity of disposing.
As seen, the alarm synchronization device is according to the method for synchronization of each telecommunication apparatus in the present embodiment, whether search the Alarm Sequence Number of this telecommunication apparatus under this kind alarm synchronization mode continuous, and then judge whether alarm needs synchronously between telecommunication apparatus and the alarm synchronization device, can realize the alarm synchronization of diversified telecommunication equipment in the network, strengthen the compatibility of alarm synchronization.The alarm synchronization device can also report problem by obtaining the alarm synchronization that the alarm synchronization mode tackles that network increases and merge the different alarm synchronization modes of different vendor's plurality of devices under the consolidated network of back among the native system embodiment, has strengthened the flexibility of network extensibility and network management.
More than the device and the concrete workflow of system embodiment be with reference to shown in Fig. 2 to Fig. 6 correspondence embodiment, do not do at this and give unnecessary details.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.