Embodiment
Below in conjunction with embodiment of the present invention accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, obvious described embodiment is a part of embodiment of the present invention, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope that the present invention protects.
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in further detail.
As shown in Figure 1, the embodiment of the present invention provides a kind of specific embodiment of processing method of network alarm, comprising:
S101: obtain the warning information from subscriber equipment.
S103: in the time that alarm windstorm produces, according to the mapping relations table of the identification information of the identification information of described subscriber equipment and described subscriber equipment and described subscriber equipment priority, inquire about corresponding priority.
S105: the warning information queue of subscriber equipment is adjusted according to described priority.
The method can be carried out by network alarm equipment.
By the embodiment of the present invention, avoid the warning information of the equipment reporting after directly abandoning, but processed according to its corresponding priority, make the processing of the warning information of the rear system of alarm windstorm generation to equipment more targeted.
Optionally, before alarm windstorm occurs, while getting the warning information from the user of certain identification information, can warning information be adjusted in alarm queue according to the time order and function order of its report and alarm.
Optionally, can keep at the identification information of the described subscriber equipment described in S103 step and the mapping relations table of described subscriber equipment priority, can be also interim foundation; If adopt the interim mode of setting up, before S103, can also comprise so: to user equipment allocation priority in various degree, set up the identification information of described subscriber equipment and this step of mapping relations table of described priority, but the concrete order of this step can be before S101, can be after S101 also.
Wherein, described user's identification information can be hardware fingerprint or the network address, can be also other identification informations that can be used for distinguishing different user devices.Mode to query mappings relation table does not limit.
During to user equipment allocation priority, can only distribute according to for example hardware fingerprint of the identification information of subscriber equipment or the network address, can also distribute in conjunction with multiple strategy, for example can carry out priority configuration in conjunction with the paying situation of different identification subscriber equipment, more priority of paying is higher, adopt this kind of strategy can make the commercialization of service maintenance mode, improved plant maintenance business's income; Can also be according to the significance level of different user devices, for example, the subscriber equipmenies such as government offices, important public institution and large enterprise can distribute higher priority.Adopt the mode of above-mentioned distribution priority, make system more targeted to the monitoring of warning information.
Optionally, the warning information queue of subscriber equipment is adjusted and can be selected as required to adopt multiple processing mode to realize according to described priority at S105, comprising:
Judge whether described alarm queue is booked; In the time that described alarm queue has been booked, the degree of the corresponding priority of each warning information in the warning information of more described subscriber equipment and queue, after the time is leaned on and priority replace to the warning information of described subscriber equipment lower than the warning information of the warning information of described subscriber equipment.Adopt the method for above-mentioned adjustment, after time is leaned on and priority replaced by the warning information of described subscriber equipment lower than the warning information of the warning information of described subscriber equipment, thereby the warning information of the higher described subscriber equipment of priority can obtain the processing of network management system.
Another processing method can comprise:
Judge whether described alarm queue is booked;
In the time that described alarm queue has been booked, according to priority, alarm queue is reset, the degree of the corresponding priority of each warning information in the warning information of more described subscriber equipment and queue, after the time is leaned on and priority replace to the warning information of described subscriber equipment lower than the warning information of the warning information of described subscriber equipment.
Adopt above-mentioned method of adjustment to need the priority of more all warning information, minimum to select priority after sequence, then do corresponding adjustment, make the warning information that priority is minimum adjusted.Below just exemplified several concrete adjustment modes, in reality, be not limited to above-mentioned several mode, only need to adjust the warning information queue of subscriber equipment according to described priority.
In prior art, the ways that in the time that alarm windstorm produces, warning information directly shielded that adopt more, comprise and directly abandoning or the mode of unloading, if take the mode that all alarms directly abandon during alarm windstorm, may abandon so some significant alarm, and then have influence on the use of system, if adopt alarm be saved in to database, the mode that is not just shown to client, server end still needs to process so, can not effectively alleviate the load of server end.Therefore, adopting above-mentioned method of adjustment can effectively retain important warning information again can saving resource.
Optionally, the method for the present embodiment can also comprise:
In the time that described alarm windstorm produces, close the synchronous measuring ability of alarm queue; The synchronous measuring ability of described alarm queue detects the continuity of receiving warning information to avoid leak alarm for timing.
Network management system is generally also provided with synchronizing function, and timing detects and receives the continuity of warning information, if alarm disappearance detected, start synchronous, will issue corresponding equipment by synchronous Alarm Sequence Number, requesting service resends, and the warning information sending is adjusted to alarm queue; Existing system is not unified to control, and causes losing alarm on one side, is carrying out synchronously again on one side, and the alarm of losing is synchronously come up again immediately, and resource is wasted greatly, and system load is more and more heavy; Therefore, alarm Flow Control and alarm synchronization are unified to control, in the time that described alarm windstorm produces, close alarm synchronization function, when storm elimination system is not busy by the time, restart synchronously, can avoid synchronously affecting the reception of visual plant warning information.
The method of the embodiment of the present invention can be applied in FTTX network.
By the embodiment of the present invention, avoid the warning information of the equipment reporting after directly abandoning, but processed according to its corresponding priority, make the processing of the warning information of the rear system of alarm windstorm generation to equipment more targeted.
Another embodiment of the method for the present invention shown in Fig. 2 comprises:
S201: according to described user's hardware fingerprint or the network address to user equipment allocation priority in various degree; Set up the identification information of described subscriber equipment and the mapping relations table of described priority;
S203: obtain the warning information from subscriber equipment;
S205: in the time that alarm windstorm produces, according to the mapping relations table of the identification information of the identification information of described subscriber equipment and described subscriber equipment and described subscriber equipment priority, inquire about corresponding priority;
S207: judge whether described alarm queue is booked;
In the time that described alarm queue has been booked, the degree of the corresponding priority of each warning information in the warning information of more described subscriber equipment and queue, after the time is leaned on and priority replace to the warning information of described subscriber equipment lower than the warning information of the warning information of described subscriber equipment;
S209: the warning information of described subscriber equipment is added to alarm queue according to described priority;
S211: close the synchronous measuring ability of alarm queue;
The synchronous measuring ability of described alarm queue detects the continuity of receiving warning information to avoid leak alarm for timing.The method of the embodiment of the present invention can be applied in FTTX network.
By the embodiment of the present invention, avoid the warning information of the equipment reporting after directly abandoning, but processed according to its corresponding priority, make the processing of the warning information of the rear system of alarm windstorm generation to equipment more targeted.
The method of the one embodiment of the present of invention shown in Fig. 3 comprises:
S301: according to described user's hardware fingerprint or the network address to user equipment allocation priority in various degree; Set up the identification information of described subscriber equipment and the mapping relations table of described priority;
S303: obtain the warning information from subscriber equipment;
S305: in the time that alarm windstorm produces, according to the mapping relations table of the identification information of the identification information of described subscriber equipment and described subscriber equipment and described subscriber equipment priority, inquire about corresponding priority;
S307: judge whether described alarm queue is booked;
In the time that described alarm queue has been booked, according to priority, alarm queue is reset, the degree of the corresponding priority of each warning information in the warning information of more described subscriber equipment and queue, after the time is leaned on and priority replace to the warning information of described subscriber equipment lower than the warning information of the warning information of described subscriber equipment;
S309: the warning information of described subscriber equipment is added to alarm queue according to described priority;
S311: close the synchronous measuring ability of alarm queue;
The synchronous measuring ability of described alarm queue detects the continuity of receiving warning information to avoid leak alarm for timing.The method of the embodiment of the present invention can be applied in FTTX network.
By the embodiment of the present invention, avoid the warning information of the equipment reporting after directly abandoning, but processed according to its corresponding priority, make the processing of the warning information of the rear system of alarm windstorm generation to equipment more targeted.
Introduce a concrete embodiment of the method below, scene comprises: important cell base station A, common cell base station B, alarm network management system, maintenance mans' single electron streaming system; Wherein, important cell base station A and common cell base station B are subscriber equipmenies, and alarm network management system is the network equipment, and maintenance mans' single electron streaming system can be an independent server, also can be used as software systems and are deployed on the network equipment.Fig. 4 is the schematic flow sheet of the embodiment of the present invention, and the method comprises:
S410: operator's configuration preference level, wherein, the priority of important cell base station A is greater than common cell base station B;
S411: common cell base station B sends warning information and is accepted to network management system;
S412: alarm network management system is adjusted to the warning information of common cell base station B in alarm queue;
S413: important cell base station A sends warning information to alarm network management system, the warning information of A is in time inferior to B, supposes not receive the warning information of other websites before alarm network management system is received the warning information of A after the warning information of B again;
S415: judge whether alarm windstorm produces, what be necessary explanation is, this determining step might not be before network management system is received the warning information of A after the warning information of B, and this determining step is to carry out according to the real-time monitoring of system, the mode that is not limited to enumerate in the present embodiment;
S417: if alarm windstorm does not produce, the warning information A being sent is adjusted in alarm queue, and wherein, the order of the warning information of B is before the warning information of A;
S417 ': if alarm windstorm produces, judge whether alarm queue is booked; Be necessary explanation, S417 and S417 ' are the Liang Ge branches of a judgement, do not have precedence;
S419: if alarm queue is not booked, the warning information B, A being sent all joins in alarm queue, and wherein, the order of the warning information of B is before the warning information of A;
S419 ': if alarm queue is booked, the priority of the priority of B and A is compared, thereby by the warning information of B lower alarm queue medium priority, replace to the warning information of A; Be necessary explanation, S419 and S419 ' are the Liang Ge branches of a judgement, do not have precedence;
S421: the warning information in alarm queue is processed successively, by the alarm information noticing maintenance mans single electron streaming system of A;
S423: assign maintenance personal to keep in repair A.
Pass through the embodiment of the present invention, avoid the warning information of the equipment reporting after directly abandoning, but process according to its corresponding priority, make the processing of the warning information of the rear system of alarm windstorm generation to equipment more targeted, improve the efficiency of management of network management system.The method of the embodiment of the present invention can be applied in FTTX network.
Fig. 5 is a device embodiment schematic diagram of the embodiment of the present invention, and this network equipment 500 comprises:
Warning information acquiring unit 501, for obtaining the warning information from subscriber equipment;
Priority query unit 503, in the time that alarm windstorm produces, according to the mapping relations table of the identification information of the identification information of described subscriber equipment and described subscriber equipment and described subscriber equipment priority, inquires about corresponding priority;
Regulator unit 505, for adjusting the warning information queue of subscriber equipment according to described priority.
Optionally, can comprise following any one or more combination from the warning information of subscriber equipment: frequency, alarm duration etc. that alarm code, warning position, alarm type, alarm time, alarm occur, and can be in conjunction with one or several the priority arranging in various degree wherein.
Optionally, this network equipment can be server, or other are provided with the equipment of alarm monitoring system.
Optionally, warning information acquiring unit can be data acquisition unit, can be also the inductor of concrete certain type; Can warning information data be gathered timing, also can gather warning information data in real time.The device of the embodiment of the present invention can be applied in FTTX network.
By the embodiment of the present invention, avoid the warning information of the equipment reporting after directly abandoning, but processed according to its corresponding priority, make the processing of the warning information of the rear system of alarm windstorm generation to equipment more targeted.
Fig. 6 is another device embodiment schematic diagram of the embodiment of the present invention, and the network equipment 600 comprises:
Warning information acquiring unit 601, for obtaining the warning information from subscriber equipment;
Priority query unit 603, in the time that alarm windstorm produces, according to the mapping relations table of the identification information of the identification information of described subscriber equipment and described subscriber equipment and described subscriber equipment priority, inquires about corresponding priority;
Regulator unit 606, for adjusting the warning information queue of subscriber equipment according to described priority.
On the basis of above-described embodiment, optional, this network equipment 600 can also comprise:
Priority allocation units 611, for to user equipment allocation priority in various degree; Set up the identification information of described subscriber equipment and the mapping relations table of described priority.
These priority allocation units 611 can comprise:
Priority the first allocation units 612, for distributing priority in various degree according to described user's identification information;
Mapping relations table is set up unit 613, for setting up the identification information of described subscriber equipment and the mapping relations table of described priority.
Optionally, described regulator unit 606 comprises:
The first queue adjustment unit 607, for judging whether described alarm queue is booked;
The second regulator unit 608, judge and be booked when described alarm queue for described the first queue adjustment unit, the degree of the corresponding priority of each warning information in the warning information reporting more afterwards and queue, the priority after the time is leaned on lower than after the warning information that reports replace to the warning information that priority is higher.
Optionally, the described network equipment 600 can also comprise:
Alarm synchronization control unit 605, in the time that described alarm windstorm produces, closes the synchronous measuring ability of alarm queue; The synchronous measuring ability of described alarm queue detects the continuity of receiving warning information to avoid leak alarm for timing.The device of the embodiment of the present invention can be applied in FTTX network.
By the embodiment of the present invention, avoid the warning information of the equipment reporting after directly abandoning, but processed according to its corresponding priority, make the processing of the warning information of the rear system of alarm windstorm generation to equipment more targeted.
Fig. 7 is the schematic diagram of a specific embodiment of system of the present invention, and this network alarm system applies, in FTTX network, comprising:
The network equipment 700, for obtaining the warning information from subscriber equipment; In the time that alarm windstorm produces, according to the mapping relations table of the identification information of the identification information of described subscriber equipment and described subscriber equipment and described subscriber equipment priority, inquire about corresponding priority; According to described priority, the warning information queue of subscriber equipment is adjusted;
Subscriber equipment 701, in the time breaking down, sends a warning message to the described network equipment.Subscriber equipment 701 is at least one.
The system of the embodiment of the present invention can be applied in FTTX network.
By the embodiment of the present invention, avoid the warning information of the equipment reporting after directly abandoning, but processed according to its corresponding priority, make the processing of the warning information of the rear system of alarm windstorm generation to equipment more targeted.
Each step of the embodiment of the present invention can be adjusted according to actual needs.The unit of the embodiment of the present invention can be integrated in one, and also can separate deployment.Said units can be merged into a unit, also can further split into multiple subelements.Each equipment of embodiment of the present invention system can be integrated in one, and also can separate deployment.The said equipment can be merged into a unit, also can further split into multiple subelements.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions (can be personal computers in order to make a computer equipment, server, or subscriber equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.