Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in restriction the present invention.
Method embodiment
Fig. 1 is embodiment one flow chart of network equipment monitoring and managing method of the present invention.As shown in Figure 1, present embodiment comprises:
Step S102: maintenance device sends monitor task to all service nodes to distributed network; Specific operation process is referring to step S201 explaining to step S203 among Fig. 2;
Step S104: each service node obtains the monitor message of the network equipment according to monitor task, and determines monitored results according to monitor message, and monitored results is sent to maintenance device; Specific operation process is explained referring to step S204's to S206 among Fig. 2.
Those skilled in the art should be understood that the network equipment herein comprises server, router, switch, work station, disk array, hardware firewall, encryption device, modulator-demodulator etc.; Monitor network equipment comprises its hardware of monitoring, information of software, and the data traffic of the network equipment of flowing through etc.
Present embodiment is determined monitored results by service node according to monitor message, and monitored results is uploaded to maintenance device, the data distortion of avoiding monitor message to cause by network delivery, improve the validity of monitoring, the occupied bandwidth of monitored results transmission simultaneously is little, reduce cost, improve real time of data transmission.
Fig. 2 is embodiment two flow charts of network equipment monitoring and managing method of the present invention.As shown in Figure 2, present embodiment comprises:
Step S201: maintenance device is determined monitor task according to default monitoring rule (also claiming monitored object); During concrete operations, can trigger definite monitor task automatically at interval in predetermined time, perhaps operator's manual triggers is determined monitor task;
Wherein, monitor task (also can be called monitored object) can comprise: the business datum flow of special time in the business datum flow of monitoring particular type, the appointed area (as, the data traffic on Hebei province New Year's Day), the equipment situation (as internal memory, disk and CPU etc.) of given host, and designated equipment (as uninterrupted power supply etc.) ruuning situation etc.; The monitoring rule comprises above-mentioned various monitor tasks and the concrete surveillance method of every kind of task, as sets the alarm threshold of certain type service data traffic, when monitoring the type business datum flow above this alarm threshold, then produces warning information;
Step S202: maintenance device decomposes monitor task according to the quantity of all service nodes in its residing distributed network; During concrete operations, the quantity of this service node, just the quantity of monitored service node can be determined according to operator's setting, also can preestablish;
During concrete operations, step S202 can comprise:
At first, according to the type of monitor task, maintenance device is sorted out monitor task; As, monitor task is divided into transmission operation and control operation, the transmission operation refers to monitor transmission equipment, and the control operation refers to monitor result and the intermediateness of whole transmission operation;
Secondly, according to the quantity of service node, the monitor task after reallocation is sorted out; If service node is two, then the two carries above-mentioned transmission operation and control operation respectively; If the quantity of service node, then can arrange some service node carrying multiclass monitor task less than the classification number; In like manner, if the quantity of service node then can be decomposed the big classification of some monitor task greater than the classification number again; Preferably, the decomposition of the whole bag of tricks reaches monitor task that service node carries and is more or less the same and gets final product;
Need to prove that it is on the basis of isomorphism by the network equipment that step S202 is based upon each, that is to say, if when the main frame in the network is monitored, require the software and hardware configuration unanimity of each main frame;
Step S203: the monitor task after maintenance device will decompose is sent to all service nodes; During concrete operations, the object of the service node of transmission can be determined according to operator's setting, also can preestablish;
Step S204: service node receives the monitoring rule that maintenance device sends, and as alarm threshold, perhaps extracts corresponding alarm threshold according to monitor task; That is to say that alarm threshold can be sent to service node by maintenance device, also can be preset in the service node, if alarm threshold is preset in the service node, then also need the corresponding relation between default alarm threshold and the monitor task; Certainly during concrete operations, the mode of monitoring other modes beyond can also threshold value, as after the data flow value that monitors is handled directly with the processed data stream value as monitored results;
Step S205: service node obtains the monitor message of the network equipment according to monitor task; Wherein, monitor message can be the data traffic of the network equipment, the utilization rate of CPU etc.;
Step S206: service node is determined monitored results according to monitor message and monitor mode, as, when monitoring data traffic above preset threshold value, produce warning information; And with monitored results, as warning information, be sent to maintenance device.
It will be appreciated by those skilled in the art that, step S201 is the preferred implementation of step S102 among Fig. 1 to step S203, during concrete operations, can preset monitor task, and directly default monitor task is sent to monitored service node and gets final product, that is to say that the specific implementation process is not limited to step S201 explaining to step S203; In like manner, step S203 is the preferred implementation of step S104 among Fig. 1 to step S206.
Present embodiment is determined monitored results by service node according to monitor message, and monitored results is uploaded to maintenance device, avoid data distortion that monitor message is caused by network delivery, improve the validity of monitoring, monitored results is than monitor message simultaneously, and data volume reduces greatly, thereby it is little to reach occupied bandwidth, reduce the cost, improve real time of data transmission.
Fig. 3 is the embodiment three of network equipment monitoring and managing method of the present invention and the schematic diagram of system embodiment one.As shown in Figure 3, present embodiment comprises:
Step 301: the monitoring management module in the maintenance device is handed down to the operation processing module with monitor task;
Step 302: the operation processing module is divided into N subtask with monitor task, and all subtasks are issued to the job scheduling module, and wherein, N is all service node quantity; During concrete operations, other is olation can also be set as required, as distributing monitor task according to certain pro rate or according to task type, specifically can explaining referring to step S202;
Step 303: the job scheduling module sends to all subtasks respectively the task receiver module of each service node;
Step 304: the task receiver module of each service node passes to task the task run module of corresponding service node;
Step 305: the task run module sends acquisition instructions to the index collection module after receiving this monitor task, obtains the monitor message of the network equipment with control index collection module;
Step 306: the index collection module is back to the task run module with monitor message and obtains monitored results so that the task run module is carried out analyzing and processing, process the explaining referring to step S204 that concrete analysis is handled;
Step 307: the task tracking module is sent to monitored results the job trace module of maintenance device;
Step 308: the job trace module is sent to the operation processing module with monitored results through the job scheduling module;
Step 309: the result of the service node passback that the operation processing module is monitored with each merges, and the result that will merge is sent to the monitoring management module.
Present embodiment is determined monitored results by service node according to monitor message, and monitored results is uploaded to maintenance device, avoid data distortion that monitor message is caused by network transmission, improve the validity of monitoring, monitored results is than monitor message simultaneously, and data volume reduces greatly, thereby it is little to reach occupied bandwidth, reduce the cost, improve real time of data transmission.
Device embodiment
Fig. 4 is the example structure figure of network equipment supervisory systems of the present invention.Each embodiment of above-mentioned Fig. 1-Fig. 3 method invention all can realize in the system of structure shown in Fig. 4 structure chart.As shown in Figure 4, this system comprises: maintenance device 41 is used for sending monitor task to all service nodes; A plurality of service nodes 42,43, wherein, each service node is used for obtaining according to monitor task the monitor message of the network equipment, and determines monitored results according to monitor message, and monitored results is sent to maintenance device.The structure basically identical of each service node, below mainly to the explanation that makes an explanation of the structure of maintenance device 41 and service node 42.
This service node 42 can comprise: task receiver module 420 is used for receiving the monitor task that maintenance device 41 sends, and monitor task is sent to task run module 422; Index collection module 426 is for the monitor message of collection network equipment; Task run module 422 is used for the monitor task that task receiver module 420 is transmitted is sent to index collection module 426, and determines monitored results according to monitor message; Monitoring configuration module 424 is used for storage preset alarm threshold value; Task tracking module 428 is used for the monitored results that task run module 422 is determined is sent to maintenance device 41, and when task run module 422 receives monitor task, sends feedback information to maintenance device 41.During concrete operations, monitoring configuration module 424 information that can also store other with respect to different monitor modes is if monitor mode is for directly during as monitored results, then storing default data traffic processing mode with the processed data stream value.
The specific operation process of task run module 422 can be referring to step S203 explaining to step S206, correspondingly, it can comprise: comparison sub-module 422a is used for monitor alarm threshold in the configuration module 424 or alarm threshold and the monitor message of maintenance device 41 transmissions and compares; Generate submodule 422b, be used for when monitor message surpasses alarm threshold, generating the warning information that is used for characterizing monitored results.
Maintenance device 41 can comprise: monitoring management module 412 is used for determining monitor task and display monitoring result; Specific operation process can explaining referring to step S201; Operation processing module 414 be used for to receive the monitor task that monitoring management module 412 sends, and according to the quantity of service node, decomposes monitor task; Specific operation process can explaining referring to step S202; Job scheduling module 416, the monitor task after being used for decomposing is sent to service node; Job trace module 418, be used for the monitored results that reception task tracking module 428 sends, and monitored results is sent to operation processing module 414 through job scheduling module 416, and whether monitoring business node 42 receives monitor task, and when monitor node 42 does not receive described monitor task, retransmit monitor task.
Wherein, operation processing module 414 can comprise: submodule 414a is decomposed in operation, is used for the quantity according to service node, decomposes monitor task; Operation merges submodule 414b, be used for merging the monitored results that all service nodes are passed back, and the monitored results after will merging is sent to monitoring management module 412, so that monitoring management module 412 display monitoring results.
It will be understood by those skilled in the art that this network equipment supervisory systems comprises that maintenance device 41 and service node 42 get final product, each submodule of the two is embodiment preferred; Maintenance device 41 is positioned at management control center or independent the setting.
Present embodiment is determined monitored results by service node 42 according to monitor message, and monitored results is uploaded to maintenance device 41, avoid data distortion that monitor message is caused by network transmission, improve the validity of monitoring, monitored results is than monitor message simultaneously, and data volume reduces greatly, thereby it is little to reach occupied bandwidth, reduce the cost, improve real time of data transmission.
It should be noted that at last: above only is the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment the present invention is had been described in detail, for a person skilled in the art, it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.