CN104506358A - SNMP (simple network management protocol) based network management system and network management method - Google Patents

SNMP (simple network management protocol) based network management system and network management method Download PDF

Info

Publication number
CN104506358A
CN104506358A CN201410822314.XA CN201410822314A CN104506358A CN 104506358 A CN104506358 A CN 104506358A CN 201410822314 A CN201410822314 A CN 201410822314A CN 104506358 A CN104506358 A CN 104506358A
Authority
CN
China
Prior art keywords
server
network management
address
equipment
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410822314.XA
Other languages
Chinese (zh)
Inventor
朱磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410822314.XA priority Critical patent/CN104506358A/en
Publication of CN104506358A publication Critical patent/CN104506358A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an SNMP (simple network management protocol) based network management system and network management method. A server of the SNMP based network management system comprises a heartbeat detection unit, a storage unit and a judgment unit, wherein the heartbeat detection unit is used for detecting whether messages matched with IP (internet protocol) addresses of the server and sent by devices are received or not; the storage unit is used for storing the IP address of each device and covering receiving time of the stored received messages matched with the IP addresses of the server and sent by all the devices; the judgment unit is used for judging whether a time interval between the current time and the receiving time of each message matched with the IP address of the server and sent by each device is less than or equal to a preset time interval or not, and acquiring judgment results. Under the condition that the devices do not respond to the heartbeat messages sent by the server in time, communication status between the server and the devices is acquired through the judgment unit according to the last receiving time of the messages sent by the devices and the preset time interval, and accordingly accuracy in heartbeat break judgement is improved.

Description

Based on network management system and the network management of SNMP
Technical field
The present invention relates to technical field of network management, particularly relate to a kind of network management system based on Simple Network Management Protocol (SNMP) and network management.
Background technology
Network management system has a standalone module, for the state whether UNICOM of responsible detection managed devices, also heartbeat detection unit is referred to as, this unit is the basis of follow-up management configuration, network management system can for the obstructed device customizing alarm of heartbeat and prompting, refusal user is configured to promote Consumer's Experience, effective optimizing user maintenance work.
Because being managed by snmp protocol between most of server and managed devices, and traditional heartbeat detection mechanism is normally by being similar to the communication that User Datagram Protoco (UDP) (User DatagramProtocol, UDP) message carries out between equipment and server.Particularly, send heartbeat message by server periodic (customizable) to managed devices, if there is back Bao Ze to be judged to be, heartbeat can reach; As do not have message then adopt retry, whether the restriction of number of retries decides heartbeat and can reach in addition.
But, the shortcoming that traditional heartbeat detection mechanism exists has: can cause erroneous judgement under system is in busy situation, because the speed of service of the speed of service of managed devices and server is two magnitudes substantially, when equipment is busy with finishing sector business, can the heartbeat detection message of response server in time, cause response message time-out, thus heartbeat is judged by accident.
Summary of the invention
For the problems referred to above that traditional heartbeat detection mechanism exists, now provide a kind of and be intended to realize improving the network management system based on SNMP and network management that judge heartbeat break-make accuracy.
Concrete technical scheme is as follows:
Based on a network management system of SNMP, comprising:
A plurality of equipment, each described equipment coupling has unique IP address;
One server, simultaneously with a plurality of described equipment connection, described server sends to each described equipment the heartbeat message that coupling has the IP address of described equipment with predetermined period, and described server has the message of the IP address of described server in order to the coupling receiving each described equipment transmission;
Described server comprises:
Heartbeat detection unit, has the message of the IP address of described server in order to detect the coupling whether receiving the transmission of described equipment;
Memory cell, connects described heartbeat detection unit, in order to store the IP address of each described equipment, and covers the time of reception that the coupling storing each described equipment transmission received has the message of the IP address of described server;
Judging unit, connect described memory cell and described heartbeat detection unit, in order to judge that the coupling that each described equipment sends has the time of reception of the message of the IP address of described server and the time interval of current time whether to be less than or equal to prefixed time interval, obtain judged result.
Preferably, when the time interval of current time is less than or equal to described prefixed time interval, described judged result is that the communications status between described server and described equipment is normal.
Preferably, current time interval greater than described prefixed time interval time, described judged result is that communications status between described server and described equipment is abnormal.
Preferably, also comprise:
Transmitting element, connects described heartbeat detection unit, has the heartbeat message of the IP address of described equipment in order to send coupling.
Preferably, also comprise:
Receiving element, connects described heartbeat detection unit, and the coupling sent in order to receive each described equipment has the message of the IP address of described server.
Based on a network management of SNMP, be applied to the described network management system based on SNMP, the method for described server to the network management of each described equipment comprises the steps:
A1. described server sends to described equipment the heartbeat message that coupling has the IP address of described equipment;
A2. the coupling judging whether to receive the transmission of described equipment has the message of the IP address of described server, if so, performs steps A 3, if not, performs steps A 4;
A3. the communications status between described server and described equipment is normal, terminates;
A4. judge that the coupling that described equipment sends has the time of reception of the message of the IP address of described server and the time interval of current time whether to be less than or equal to described prefixed time interval, if so, perform steps A 3, if not, perform steps A 5;
A5. the communications status between described server and described equipment is abnormal, terminates.
Preferably, before the described steps A 3 of execution, described server covers the time of reception that the coupling storing the described equipment transmission received has the message of the IP address of described server.
The beneficial effect of technique scheme:
When the heartbeat message that the technical program can not have timely response server to send at equipment, message moment and prefixed time interval is sent according to the equipment received for the last time by judging unit, obtain the communications status between server and equipment, thus improve the accuracy judging heartbeat break-make.
Accompanying drawing explanation
Fig. 1 is the module map of a kind of embodiment of the network management system based on SNMP of the present invention;
Fig. 2 is the method flow diagram of a kind of embodiment of the network management based on SNMP of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all belongs to the scope of protection of the invention.
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
As shown in Figure 1, a kind of network management system based on SNMP, comprising: a plurality of equipment 1 and a server 2; Each equipment 1 coupling has unique IP address; Server 2 is connected with a plurality of equipment 1 simultaneously, and server 2 sends to each equipment 1 heartbeat message that coupling has the IP address of equipment 1 with predetermined period, and server 2 has the message of the IP address of server 2 in order to the coupling receiving the transmission of each equipment 1;
Server 2 comprises: heartbeat detection unit 23, memory cell 25 and judging unit 22; Heartbeat detection unit 23 has the message of the IP address of server 2 in order to detect the coupling whether receiving equipment 1 transmission, obtain testing result; Memory cell 25 connects heartbeat detection unit 23, in order to store the IP address of each equipment 1, and covers the time of reception that the coupling storing each equipment 1 transmission received has the message of the IP address of server 2; Judging unit 22 connects memory cell 25 and heartbeat detection unit 23, in order to judge that the coupling that each equipment 1 sends has the time of reception of the message of the IP address of server 2 and the time interval of current time whether to be less than or equal to prefixed time interval, obtain judged result.
Memory cell 25 in the present embodiment adopts the formation of array (tuple) to store, in order to memory device 1 mark (IP address) and receive the moment that equipment 1 sends message for the last time.When the heartbeat message timely response server 2 can not had to send at equipment 1, message moment and prefixed time interval is sent according to the equipment 1 received for the last time by judging unit 22, obtain the communications status between server 2 and equipment 1, thus improve the accuracy judging heartbeat break-make, and existing communication flow can not be affected.
In a preferred embodiment, when the time interval of current time is less than or equal to prefixed time interval, judged result is that the communications status between server 2 and equipment 1 is normal.
In the present embodiment, when heartbeat detecting unit 23 detects the message that equipment 1 sends, need cover and store the time of reception that this receives message, the communications status between server 2 and equipment 1 is normal, waits for the heartbeat detection of next cycle; When heartbeat detecting unit 23 does not detect the message that equipment 1 sends, and when in memory cell 25, the interval in moment and current time that the equipment that receives for the last time 1 of storage sends message is less than or equal to prefixed time interval, the communications status that can be defaulted as between server 2 and equipment 1 is normal, communications status between update server 2 and equipment 1, waits for the heartbeat detection of next cycle.
In a preferred embodiment, current time interval greater than prefixed time interval time, judged result is that communications status between server 2 and equipment 1 is abnormal.
In the present embodiment, when heartbeat detecting unit 23 does not detect the message that equipment 1 sends, and when in memory cell 25, the interval in moment and current time that the equipment that receives for the last time 1 of storage sends message is greater than prefixed time interval, the communications status that can be defaulted as between server 2 and equipment 1 is abnormal, this abnormality need be fed back, alarm or prompting are carried out for the equipment 1 that can not carry out communicating.
In a preferred embodiment, also can comprise: transmitting element 24, transmitting element 24 connects heartbeat detection unit 23, has the heartbeat message of the IP address of equipment 1 in order to send coupling.By transmitting element 24, the heartbeat message of server 2 is sent to equipment 1.
In a preferred embodiment, also can comprise: receiving element 21; Receiving element 21 connects heartbeat detection unit 23, and the coupling sent in order to receive each equipment 1 has the message of the IP address of server 2.
As shown in Figure 2, a kind of network management based on SNMP, is applied to the network management system based on SNMP, and the method for server 2 to the network management of each equipment 1 comprises the steps:
A1. server 2 sends to equipment 1 heartbeat message that coupling has the IP address of equipment 1;
A2. judge whether that coupling that the equipment that receives 1 sends has the message of the IP address of server 2, if so, perform steps A 3, if not, perform steps A 4;
A3. the communications status between server 2 and equipment 1 is normal, terminates;
A4. the coupling that judgment device 1 sends has the time of reception of the message of the IP address of server 2 and the time interval of current time whether to be less than or equal to prefixed time interval, if so, performs steps A 3, if not, performs steps A 5;
A5. the communications status between server 2 and equipment 1 is abnormal, terminates.
When the heartbeat message timely response server 2 can not had to send at equipment 1 in the present embodiment, equipment 1 according to receiving for the last time sends message moment and prefixed time interval, obtain the communications status between server 2 and equipment 1, thus improve the accuracy judging heartbeat break-make, and the flow of existing business can not be affected.
In a preferred embodiment, before execution steps A 3, server 2 covers the time of reception that the coupling storing equipment 1 transmission received has the message of the IP address of server 2.
The formation of array (tuple) can be adopted in the present embodiment to store, with the mark of memory device 1 (IP address) with receive the moment that equipment 1 sends message for the last time.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection range is limited; to those skilled in the art; should recognize and all should be included in the scheme that equivalent replacement done by all utilizations specification of the present invention and diagramatic content and apparent change obtain in protection scope of the present invention.

Claims (7)

1., based on a network management system of SNMP, comprising:
A plurality of equipment, each described equipment coupling has unique IP address;
One server, simultaneously with a plurality of described equipment connection, described server sends to each described equipment the heartbeat message that coupling has the IP address of described equipment with predetermined period, and described server has the message of the IP address of described server in order to the coupling receiving each described equipment transmission;
It is characterized in that, described server comprises:
Heartbeat detection unit, has the message of the IP address of described server in order to detect the coupling whether receiving the transmission of described equipment;
Memory cell, connects described heartbeat detection unit, in order to store the IP address of each described equipment, and covers the time of reception that the coupling storing each described equipment transmission received has the message of the IP address of described server;
Judging unit, connect described memory cell and described heartbeat detection unit, in order to judge that the coupling that each described equipment sends has the time of reception of the message of the IP address of described server and the time interval of current time whether to be less than or equal to prefixed time interval, obtain judged result.
2. as claimed in claim 1 based on the network management system of SNMP, it is characterized in that, when the time interval of current time is less than or equal to described prefixed time interval, described judged result is that the communications status between described server and described equipment is normal.
3., as claimed in claim 1 based on the network management system of SNMP, it is characterized in that, current time interval greater than described prefixed time interval time, described judged result is that communications status between described server and described equipment is abnormal.
4., as claimed in claim 1 based on the network management system of SNMP, it is characterized in that, also comprise:
Transmitting element, connects described heartbeat detection unit, has the heartbeat message of the IP address of described equipment in order to send coupling.
5., as claimed in claim 1 based on the network management system of SNMP, it is characterized in that, also comprise:
Receiving element, connects described heartbeat detection unit, and the coupling sent in order to receive each described equipment has the message of the IP address of described server.
6. based on a network management of SNMP, be applied to as claimed in claim 1 based on the network management system of SNMP, it is characterized in that, the method for described server to the network management of each described equipment comprises the steps:
A1. described server sends to described equipment the heartbeat message that coupling has the IP address of described equipment;
A2. the coupling judging whether to receive the transmission of described equipment has the message of the IP address of described server, if so, performs steps A 3, if not, performs steps A 4;
A3. the communications status between described server and described equipment is normal, terminates;
A4. judge that the coupling that described equipment sends has the time of reception of the message of the IP address of described server and the time interval of current time whether to be less than or equal to described prefixed time interval, if so, perform steps A 3, if not, perform steps A 5;
A5. the communications status between described server and described equipment is abnormal, terminates.
7. as claimed in claim 6 based on the network management of SNMP, it is characterized in that, before the described steps A 3 of execution, described server covers the time of reception that the coupling storing the described equipment transmission received has the message of the IP address of described server.
CN201410822314.XA 2014-12-19 2014-12-19 SNMP (simple network management protocol) based network management system and network management method Pending CN104506358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410822314.XA CN104506358A (en) 2014-12-19 2014-12-19 SNMP (simple network management protocol) based network management system and network management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410822314.XA CN104506358A (en) 2014-12-19 2014-12-19 SNMP (simple network management protocol) based network management system and network management method

Publications (1)

Publication Number Publication Date
CN104506358A true CN104506358A (en) 2015-04-08

Family

ID=52948073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410822314.XA Pending CN104506358A (en) 2014-12-19 2014-12-19 SNMP (simple network management protocol) based network management system and network management method

Country Status (1)

Country Link
CN (1) CN104506358A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936662A (en) * 2015-12-31 2017-07-07 杭州华为数字技术有限公司 A kind of method for realizing heartbeat mechanism, apparatus and system
CN109617244A (en) * 2019-01-15 2019-04-12 石家庄学院 Switching station's monitoring method and device
CN110336715A (en) * 2019-07-12 2019-10-15 广州虎牙科技有限公司 Condition detection method, host node and cluster management system
CN110868317A (en) * 2019-09-30 2020-03-06 视联动力信息技术股份有限公司 Equipment monitoring method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5790018A (en) * 1993-10-19 1998-08-04 Nohmi Bosai Ltd. Fire alarm system
CN102263651A (en) * 2010-05-28 2011-11-30 烽火通信科技股份有限公司 Method for detecting connection state of local end equipment in SNMP (simple network management protocol) network management system (NMS)
CN103401714A (en) * 2013-08-01 2013-11-20 广东威创视讯科技股份有限公司 Method for detecting network connection state and client side
CN103825765A (en) * 2014-02-28 2014-05-28 杭州华三通信技术有限公司 Method and device for device state polling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5790018A (en) * 1993-10-19 1998-08-04 Nohmi Bosai Ltd. Fire alarm system
CN102263651A (en) * 2010-05-28 2011-11-30 烽火通信科技股份有限公司 Method for detecting connection state of local end equipment in SNMP (simple network management protocol) network management system (NMS)
CN103401714A (en) * 2013-08-01 2013-11-20 广东威创视讯科技股份有限公司 Method for detecting network connection state and client side
CN103825765A (en) * 2014-02-28 2014-05-28 杭州华三通信技术有限公司 Method and device for device state polling

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936662A (en) * 2015-12-31 2017-07-07 杭州华为数字技术有限公司 A kind of method for realizing heartbeat mechanism, apparatus and system
CN106936662B (en) * 2015-12-31 2020-01-31 杭州华为数字技术有限公司 method, device and system for realizing heartbeat mechanism
US11128718B2 (en) 2015-12-31 2021-09-21 Huawei Technologies Co., Ltd. Method, apparatus, and system for implementing heartbeat mechanism
CN109617244A (en) * 2019-01-15 2019-04-12 石家庄学院 Switching station's monitoring method and device
CN110336715A (en) * 2019-07-12 2019-10-15 广州虎牙科技有限公司 Condition detection method, host node and cluster management system
CN110336715B (en) * 2019-07-12 2021-09-21 广州虎牙科技有限公司 State detection method, host node and cluster management system
CN110868317A (en) * 2019-09-30 2020-03-06 视联动力信息技术股份有限公司 Equipment monitoring method and device, electronic equipment and storage medium
CN110868317B (en) * 2019-09-30 2023-04-07 视联动力信息技术股份有限公司 Equipment monitoring method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104506358A (en) SNMP (simple network management protocol) based network management system and network management method
CN103560898B (en) A kind of port status method to set up, the system of selection of port priority and device
EP2874349B1 (en) Communication path processing method and apparatus
CN103441897A (en) Method and device for locating failure node in virtual network
CN104065508A (en) Application service health examination method, device and system
CN104980293B (en) A kind of OAM message is quickly sent and the method and device of detection processing
CN107360239A (en) A kind of client connection status detection method and system
CN106302176B (en) It is a kind of for controlling the method and apparatus of multicast transmission
JP2017510169A5 (en)
CN105450469A (en) Method for detecting faults of rapid communication bus in industrial equipment
CN105530115A (en) Method and device for realizing operation management and maintenance function
CN102801555A (en) Network interruption recovering method and device
CN108093441A (en) The switching method and device of a kind of access controller
CN104579729B (en) The notification method and device of CGN single board default
CN109560900A (en) Data transmission method for uplink and device
CN105578449A (en) Method and device for changing virtual SIM card
CN102882708A (en) Operation and maintenance auditing method, device and system
EP2787699A1 (en) Data transmission method, device, and system
CN104935614B (en) Data transmission method and device
CN105721190B (en) Fault detection method, device and the server of data transfer path
CN102546304A (en) BFD detection method, equipment and system
CN114793344A (en) Power failure warning method and related equipment
US10321395B2 (en) Data packet processing method and related device
CN102625332A (en) Method for detecting network routing
CN103685043A (en) Router, network connection recovery system and network connection recovery method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150408

RJ01 Rejection of invention patent application after publication