Optical communication transmits the report method and the system of a large amount of alarms on the plane
Technical field
The present invention relates to the data transmission technology on the transmission plane, optical communication field, relate in particular in the report method and the system that transmit a large amount of alarms on the plane.
Background technology
In the optical communication field, the information communication amount grows with each passing day, and is increasing to the demand of the optical communication product of two-forty, simultaneously also there has been higher requirement optical communication equipment reliability aspect.
Alarm management is a critical function of each Service Processing Unit in the network element device, warning information by each Service Processing Unit, whether communications status and the running status that can in time understand between network element internal, the network element be normal, so that the network maintenance staff in time safeguards the Service Processing Unit and the network element device that go wrong, improve the reliability of transmission equipment.
In the past, each Service Processing Unit detected from dissimilar test points, when coming the various dissimilar fault of source plate and port in the network element device, all will form warning message one by one and reported the network element control unit one by one.And, within a certain period of time, may have many at same test point, come the warning message of the same type fault of source plate and port to repeat, thereby cause the heavy burden of transmission communication link.
Continuous increase along with light transmission capacity, increasing of number of services, the treatable time slot capacity of equipment institute also increases greatly, and the alarm of required transmission is also more and more, and the communication link of alarm data transmission and the stability of transmission network also will meet a severe test.
Summary of the invention
Technical problem to be solved by this invention provides report method and the systems that a kind of optical communication transmits a large amount of alarms on the plane, reducing the length of the required warning information bag that reports, thereby alleviates the burden of transmission communication link.
In order to overcome the above problems, a kind of optical communication that the present invention proposes transmits the report method of a large amount of alarms on the plane, may further comprise the steps:
(a) obtain the warning information that all need report, according to the positional information of all kinds of alarms in the concrete frame structure of optical-fiber network, a message is formed in all kinds of alarms that positional information is identical, writes down its alarm status information with different bits;
One or many warning messages that (b) will be compressed into report the network element control unit.
Further, step (a) comprises initialization step before: define the message structure body of report and alarm, comprise the alarm status field of positional information and same position information.
Further, step (a) is distributed a message buffer earlier, and carries out following steps:
(a1) from described all warning information that need report, take out a warning information successively;
(a2) travel through described message buffer, check the on all four warning message of described positional information that wherein whether exists with this warning information; If exist, this warning information is filled in corresponding bit in the alarm status field of same position information according to its alarm type, and execution in step (a3); If do not exist, then convert this warning information to a message format by its structure content and add in the described message buffer, and this warning information is filled in corresponding bit in the alarm status field of same position information according to its alarm type;
(a3) judge the described warning information that obtains whether not being organized in addition in all warning information that need report message, then return execution in step (a1) if having; If there is not the execution in step (b) that then continues.
Further, the described positional information of step (a) comprises the test point type, comes source plate sequence number, port numbers and timeslot number.
In order to overcome the above problems, a kind of optical communication that the present invention proposes transmits the reporting system of a large amount of alarms on the plane, comprises network element and network element control unit, it is characterized in that network element comprises each Service Processing Unit and warning information processing unit;
Wherein, each Service Processing Unit is connected with the warning information processing unit, and the network element internal, the communications status between the network element and the running status that are used for detecting form all kinds of warning information and be transferred to the warning information processing unit;
The network element control unit is connected with each network element respectively, is used for receiving the warning message from after the network element warning information processing unit processes, and each network element is controlled;
The warning information processing unit contains memory cell, warning information collecting unit and message compression processing unit;
Wherein, the warning information collecting unit is connected with memory cell with network element respectively, is used to gather the warning information that all need report, and it is stored in the memory cell;
The message compression processing unit is connected with the network element control unit with memory cell respectively, be used in memory cell, taking out all warning information that need report, according to the positional information of all kinds of alarms in the concrete frame structure of optical-fiber network, a message is formed in the dissimilar alarms that positional information is identical, write down its alarm status information with different bits, and one or many message reportings that will be compressed into are given the network element control unit.
Further, the message compression processing unit comprises the alarm status field of positional information and same position information at the message structure body of initial phase definition report and alarm.
Further, memory cell comprises first buffering area and second buffering area; Wherein first buffering area is connected with the warning information collecting unit, is used to store all warning information that need report of warning information collecting unit collection; The message compression processing unit is connected with second buffering area with first buffering area respectively, be used for taking out a warning information successively from all warning information that need report of first buffer stores, travel through whether have in second buffering area with the on all four warning message of the positional information of this warning information, if have, then this warning information is filled in corresponding bit in the alarm status field of same position information according to its alarm type; If do not exist, then convert this warning information to a message format by its structure content and add in second buffering area, and this warning information is filled in corresponding bit in the alarm status field of same position information according to its alarm type; When the message compression processing unit all converts all warning information that need report the warning message of the alarm status field in second buffering area to, just with one or many warning messages be transferred to the network element control unit.
Further, positional information comprises the test point type, comes source plate sequence number, port numbers and timeslot number.
The optical communication that the present invention proposes transmits the report method and the system of a large amount of alarms on the plane, with a large amount of warning information according to the positional information of various types of alarms in the concrete frame structure of optical-fiber network, organize according to the mode of bit and to report, significantly reduced the required message length that reports, alleviate the congestion phenomenon of communication link effectively, improved the stability of transmission network.
Description of drawings
Fig. 1 is the software processes flow chart of a large amount of alarm information reporting method embodiment of the present invention;
Fig. 2 is the structured flowchart of a large amount of alarm report provided by the invention system.
Embodiment
A large amount of alarm reporting method provided by the invention is according to the positional information of various types of alarms in the concrete frame structure (being standard frame in the SDH communications protocol) of optical-fiber network, be the test point type, come source plate, port numbers and timeslot number, form a message for the dissimilar alarms under the same position information, write down its alarm status information with different bits, and then report.Particularly, method of the present invention may further comprise the steps:
(a) the message structure body of initialization definitions report and alarm comprises the alarm status byte of positional information and same position information;
(b) obtain the warning information that all need report;
(c) message is formed in described positional information is identical all kinds of alarms, writes down its alarm status information with different bits;
(d) one or many warning messages after will putting in order report the network element control unit.
Describe the present invention in detail below in conjunction with embodiment and accompanying drawing diagram and alarm the compression report method in a large number
Concrete enforcement.
For example lot of V C12 level alarm (as 12000) has appearred in a certain device processes unit, for the test point of VC12, the alarm type of device processes cell processing has six kinds at present: VC12-SLM, VC12-TIM, VC12-RDI, VC12-UNEQ, VC12-SD, VC12-EXC.
Initial phase, definition is used for the message structure body of report and alarm, except the positional information of the necessary various types of alarms of report and alarm in the concrete frame structure of optical-fiber network (be the test point type, come source plate, port and gap information), also need define the alarm status byte of a same position information, (BIT) represents alarm types different under the VC12 test point with bits different in this byte.For example, wherein BIT0~BIT5 represents the above-mentioned six kinds of alarm types of VC12 respectively successively.BIT6 and BIT7 do not define for the test point of VC12.
Because to need real-time watch device running status, alarm report generally is periodically to carry out, describe the concrete execution in step of alarm report one-period below in detail, as the step 101 among Fig. 1 to shown in the step 108:
Step 101: the buffer memory bag BUFF1 that obtains all warning information that need report in the current period;
Step 102: definition BUFF2, as the message buffer that reports;
Step 103: from BUFF1, take out a warning information successively;
Step 104: traversal BUFF2, check wherein whether to exist and the on all four warning message of the positional information of this warning information (test point, come source plate, port numbers and timeslot number); If there is execution in step 105; If do not exist, then execution in step 106;
Step 105: this warning information is filled up to the corresponding bits position of the alarm status byte (also can be other length) of same position information among the BUFF2 according to its alarm type, and changes execution in step 107;
Step 106: convert this warning information to a message format by its structure content and add among the BUFF2, and this warning information is filled up to the corresponding bits position of the alarm status byte of same position information among the BUFF2 according to its alarm type;
Step 107: check whether BUFF1 is not organized into the warning information of message in addition; If go back to execution in step 103, if no execution in step 108;
Step 108: with one or many warning messages report the network element control unit.
Adopt a large amount of alarm information reporting method of the present invention, suppose that the different alarm type of N kind is arranged under a kind of test point (such as the VC12 test point has 6 kinds of alarm types), all alarm types all need to report under the situation of the limit, the method that adopts compression to report can be with reporting message to be reduced to the 1/N (1/6) of original message length effectively, so can contain the length of repetition report and alarm information effectively so.
Represent a large amount of alarming information report provided by the invention system as Fig. 2, comprised network element 200 and network element control unit 300.
Wherein, comprise Service Processing Unit 201~204 and warning information processing unit 210 of the present invention 200 li of network elements.Service Processing Unit 201~204 respectively with each equipment of network element internal and network element between or between the equipment each port (not shown) be connected, be used to monitor communications status and running status between network element internal, the network element, and export all kinds of warning information and give warning information processing unit 210.
Network element control unit 300 is connected with each network element (only illustrating among the figure) respectively, is used for receiving the warning message from after 210 processing of each network element warning information processing unit, and each network element is controlled.
The warning information processing unit contains memory cell 211, warning information collecting unit 212, timing unit 213 and message compression processing unit 214.Wherein, warning information collecting unit 212 is connected with timing unit 213 and memory cell 211 respectively, be used in timing unit 213 (both available hardware realizations, also available software realization) periodically gathers all kinds of warning information under the control, and it is stored in the buffering area 1 (BUFF1) of 211 li of memory cell from Service Processing Unit 201~204 outputs.Message compression processing unit 214 is connected with network element control unit 300 with memory cell 211 respectively, message structure body at initial phase definition report and alarm, comprise the alarm status byte of necessary positional information of report and alarm (test point type, come source plate and port numbers and timeslot number) and same position information, represent alarm types different under the different test points with BIT different in this byte; Message compression processing unit 214 is used for taking out one by one successively all kinds of warning information of timing acquiring in BUFF1 in the alarming processing stage, and the traversal memory cell 211 buffering area 2 (BUFF2) lining whether have with the on all four warning message of the positional information of this warning information, if have, then this warning information is filled in corresponding bit in the alarm status byte of same position information according to its alarm type; If do not exist, then convert this warning information to a message format by its structure content and add among the BUFF2, and this warning information is filled in corresponding bit in the alarm status byte of same position information according to its alarm type; Finally, until message compression processing unit 214 with BUFF1 in all warning information when all compressing and converting becomes the warning message of the alarm status byte in the BUFF2, just one in the BUFF2 or many warning messages are transferred to network element control unit 300, finish the warning information compression of a time cycle and handle.
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 skilled in the art work as can make various corresponding improvements and modifications according to the present invention, but these corresponding improvements and modifications all should belong to the protection range of the appended claim of the present invention.