[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104113448A - Method for automatically finding and monitoring devices in local area network - Google Patents

Method for automatically finding and monitoring devices in local area network Download PDF

Info

Publication number
CN104113448A
CN104113448A CN201410333468.2A CN201410333468A CN104113448A CN 104113448 A CN104113448 A CN 104113448A CN 201410333468 A CN201410333468 A CN 201410333468A CN 104113448 A CN104113448 A CN 104113448A
Authority
CN
China
Prior art keywords
information
network
equipment
oid
snmp
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
CN201410333468.2A
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.)
Blue Shield Information Security Technology Co Ltd
Bluedon Information Security Technologies Co Ltd
Original Assignee
Blue Shield Information Security 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 Blue Shield Information Security Technology Co Ltd filed Critical Blue Shield Information Security Technology Co Ltd
Priority to CN201410333468.2A priority Critical patent/CN104113448A/en
Publication of CN104113448A publication Critical patent/CN104113448A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention discloses a method for automatically finding and monitoring devices in a local area network. The method includes the steps of determining the operating devices and medical access control (MAC) information of the operating devices in a network environment by sending an internet control messages protocol (ICMP) packet, acquiring route information through a simple network management protocol (SNMP) to determine a topological structure, and achieving device monitoring through the SNMP and known object identifier (OID) information of each manufacturer device. By means of the method, all the devices in the local area network and topological information of the devices are automatically found, information such as manufacturers and types of the network devices can be obtained, centralized management of network management staff is facilitated, and the network management staff can achieve automatic network device entering through the method and find illegal device access and abnormal device connection; by means of the method, centralized monitoring of central processing units, hard disks, memory use rates, flow information of internet access, installed service information and the like of the devices can be achieved, so that the network management staff can rapidly and conveniently find faults or abnormal information in the network.

Description

A kind of method of automatic device discovery and monitoring in local area network (LAN)
Technical field
The present invention relates to Network Monitoring Technology field, relate in particular to the method for the interior automatic device discovery of a kind of local area network (LAN) and monitoring.
Background technology
SNMP is the network management standard based on TCP/IP protocol suite, and its predecessor is simple gateway monitoring protocol (SGMP), is used for communication line to manage.Simple Network Management Protocol (SNMP), standard by a group network management forms, and comprises an application layer protocol (application layer protocol), database model (database schema) and one group of resource object.This agreement can network enabled management system, and whether the equipment being connected on network in order to monitoring has any upper situation about paying close attention to of management that causes.
Network Development scale is increasing in recent years, access device, transmission equipment and host number in network is to approach the rate increase of index, make network management personnel's workload and work difficulty increasing, concentrate efficient network management just to seem particularly important, the present invention realizes the centralized management without installation agent by general snmp protocol and ICMP agreement, has reduced greatly webmaster personnel's workload and work difficulty.
Summary of the invention
The object of the invention is the defect in order to overcome prior art, the method for the interior automatic device discovery of a kind of local area network (LAN) and monitoring is provided, thereby is convenient to automatic device discovery and monitoring.
A kind of method of automatic device discovery and monitoring in local area network (LAN), it is according to examine network IP range section, determine equipment and the MAC information thereof in operation in network environment by sending ICMP protocol package, then obtain routing iinformation by snmp agreement and determine topological structure, and by snmp agreement and known each vendor equipment OID information realization monitoring of tools, be specially:
According to examine network IP range section, send ICMP bag, the respond packet of returning according to equipment, whether judgment device exists or is communicated with, overtimely do not receive that respond packet illustrates that this IP does not exist or obstructed, resolve the ICMP respond packet of receiving, obtain device mac address.
To the equipment being communicated with, read public OID:1.3.6.1.2.1.4.1.0 by snmp and judge whether it has routing function, the equipment that has routing function may be router or senior switch, and routing device is obtained to whole network topology structure by snmp.
To the equipment being communicated with, by snmp and known each vendor equipment MIB storehouse, the various state informations that get equipment realize monitoring of tools.
The beneficial effect that technical solution of the present invention is brought:
1, network management personnel can realize all devices in automatic detecting network environment by this invention, and this topology of networks, thereby can help network management personnel to realize automatic equipment typing, the equipment of typing is carried out to centralized management, and be convenient to network management personnel and find that whether illegal network insertion is connected the information such as normal with network.
2, network management personnel utilizes the method can also realize the centralized monitor to equipment, the CPU of watch-dog, hard disk, memory usage, the flow information of network interface, the information on services of installation etc., have avoided webmaster personnel to check by hand each station server, or by the loaded down with trivial details mode of traditional installation agent, allow webmaster personnel fault or the abnormal information in discovering network more quickly and easily.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, 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 of protection of the invention.
The present invention is according to examine network IP range section, determine operational outfit and MAC information thereof by sending ICMP protocol package, then obtain routing iinformation by snmp agreement and determine topological structure, and by snmp agreement and known each vendor equipment OID information realization monitoring of tools.
Above-mentioned examine network IP range section, refer to some LAN environment, known each vendor equipment OID information refers to the MIB library information that each well-known manufacturer externally announces at present, therefrom extract the state node of required monitoring, be combined into Status Name, the equipment state OID listing file that OID is corresponding.
Being illustrated in figure 1 the flow chart of one embodiment of the present of invention, is first Central Management Server of layout, can be the server of any operating system.Obtain facility information by this station server, topology information, carries out centralized management; Then determine LAN IP range section to be detected, be subordinate to the principle of the unified network segment according to lan device, the network equipment of the present invention is discovery and monitoring automatically, and concrete steps are as follows:
1) obtain monitoring server self IP.
2) obtain server place LAN segment scope according to server ip.
3) each IP in traversal range section, and send ICPM bag, receives that respond packet illustrates that this IP exists and is communicated with, and does not overtimely receive that respond packet illustrates that this IP does not exist or obstructed.
4) resolve the ICMP respond packet of receiving, get the MAC Address of response main frame.
5) for the equipment being communicated with, send snmp request, obtain the information of public OID:1.3.6.1.2.1.4.1.0 and check whether equipment has routing function, if can ask successfully, and return results into IP-MIB::ipForwarding.0=INTEGER:forwarding (1), devices illustrated possesses routing function, otherwise, do not possess routing function.
6) for the equipment with routing function, send snmp request, obtain the information of public OID:1.3.6.1.2.1.4.22.1, obtain the routing table information on this routing device, comprise all devices IP address and MAC Address.
7) for the equipment with routing function, send snmp request, obtain the information of public OID:1.3.6.1.2.1.17.4.3.1, obtain the network interface link information of routing device, comprise the device mac address in subnet under certain network interface.
8), in conjunction with routing table information and network interface link information, as tie point, can obtain the network topology structure under this routing device according to MAC Address.
9) the MIB storehouse of collection current main-stream vendor equipment, and the information component devices OID listing file obtaining as required.
10) for the equipment being communicated with, send snmp request, obtain public OID:1.3.6.1.2.1.1, obtain device name, manufacturer, the information such as contact method.
11) according to 10) in the device name that gets, manufacturer's information, and 9) in equipment OID listing file, find the OID listing file that this equipment is corresponding.
12) by state in OID listing file, OID corresponding relation finds the OID of certain state information of the equipment of obtaining.
13) send SNMP request, obtain this OID information, through extracting and calculate the state value of this state, such as hard disk usage space, gross space, through calculating hard disk utilization rate.
In a kind of the local area network (LAN) above embodiment of the present invention being provided, automatic device discovery and method for supervising are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (6)

1. the method for automatic device discovery and monitoring in a local area network (LAN), it is characterized in that, the method is according to examine network IP range section, determine equipment and the MAC information thereof in operation in network environment by sending ICMP protocol package, then obtain routing iinformation by snmp agreement and determine topological structure, and by snmp agreement and known each vendor equipment OID information realization monitoring of tools, be specially:
According to examine network IP range section, send ICMP bag, the respond packet of returning according to equipment, whether judgment device exists or is communicated with, overtimely do not receive that respond packet illustrates that this IP does not exist or obstructed, resolve the ICMP respond packet of receiving, obtain device mac address;
To the equipment being communicated with, read public OID:1.3.6.1.2.1.4.1.0 by snmp and judge whether it has routing function, the equipment that has routing function may be router or senior switch, and routing device is obtained to whole network topology structure by snmp;
To the equipment being communicated with, by snmp and known each vendor equipment MIB storehouse, the various state informations that get equipment realize monitoring of tools.
2. method according to claim 1, is characterized in that, examine network IP range section, refers to some LAN environment; Known each vendor equipment OID information refers to the MIB library information that each well-known manufacturer externally announces at present, therefrom extracts the state node of required monitoring, is combined into Status Name, the equipment state OID listing file that OID is corresponding.
3. method according to claim 1, is characterized in that, for the equipment with routing function, send snmp request, obtain the information of public OID:1.3.6.1.2.1.4.22.1, obtain the routing table information on this routing device, comprise all devices IP address and MAC ground.
4. method according to claim 1, is characterized in that, for the equipment with routing function, send snmp request, obtain the information of public OID:1.3.6.1.2.1.17.4.3.1, obtain the network interface link information of routing device, comprise the device mac address in subnet under certain network interface.
5. according to the method described in claim 3 or 4, it is characterized in that, in conjunction with routing table information and network interface link information, as tie point, obtain the network topology structure under this routing device according to MAC Address.
6. method according to claim 1, is characterized in that, the various state informations of equipment, comprise CPU usage, memory usage, hard disk utilization rate, network interface flow, application service.
CN201410333468.2A 2014-07-14 2014-07-14 Method for automatically finding and monitoring devices in local area network Pending CN104113448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410333468.2A CN104113448A (en) 2014-07-14 2014-07-14 Method for automatically finding and monitoring devices in local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410333468.2A CN104113448A (en) 2014-07-14 2014-07-14 Method for automatically finding and monitoring devices in local area network

Publications (1)

Publication Number Publication Date
CN104113448A true CN104113448A (en) 2014-10-22

Family

ID=51710084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410333468.2A Pending CN104113448A (en) 2014-07-14 2014-07-14 Method for automatically finding and monitoring devices in local area network

Country Status (1)

Country Link
CN (1) CN104113448A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580227A (en) * 2015-01-16 2015-04-29 成都华迈通信技术有限公司 Automatic defense organizing and removing method for detecting mobile phone MAC address based on home network
CN104780078A (en) * 2015-04-03 2015-07-15 山东华软金盾软件有限公司 Method and system for initiatively detecting IP (Internet protocol) of switch
CN105871659A (en) * 2016-05-31 2016-08-17 乐视控股(北京)有限公司 Monitoring method and device of newly added server
CN107104852A (en) * 2017-03-28 2017-08-29 深圳市神云科技有限公司 Monitor the method and device of cloud platform virtual network environment
CN107222586A (en) * 2017-05-03 2017-09-29 深圳市同泰怡信息技术有限公司 A kind of BMC IP method in automatic identification LAN
CN107707429A (en) * 2017-10-17 2018-02-16 广东睿江云计算股份有限公司 The method and system that a kind of discovery IP routes are interrupted
CN108023763A (en) * 2017-10-23 2018-05-11 北京迈特力德信息技术有限公司 The creation method and device of a kind of network topological diagram
CN109474529A (en) * 2018-10-31 2019-03-15 广东电网有限责任公司信息中心 A kind of method of terminal network associated data feedback
CN110266519A (en) * 2019-05-23 2019-09-20 国网山东省电力公司临沂供电公司 A kind of method, system, storage medium and equipment perceiving substation network topology
CN110620682A (en) * 2019-08-26 2019-12-27 奇安信科技集团股份有限公司 Resource information acquisition method and device, storage medium and terminal
CN111147527A (en) * 2020-03-09 2020-05-12 深信服科技股份有限公司 Internet of things system and equipment authentication method, device, equipment and medium thereof
CN112702189A (en) * 2020-12-11 2021-04-23 广东电力通信科技有限公司 Method suitable for automatic matching of switch model with monitoring template

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100077091A1 (en) * 2008-09-22 2010-03-25 Sarkar Sujoy Method And System For Managing A Hierarchical Information Base With An Application Layer Protocol
CN102271350A (en) * 2011-03-30 2011-12-07 东方通信股份有限公司 Automatic discovery method of network topology in wireless cluster network management
CN102281156A (en) * 2011-08-03 2011-12-14 中国人民解放军91655部队 Emergency control method and system thereof for hierarchical network management system
WO2012149794A1 (en) * 2011-09-30 2012-11-08 华为技术有限公司 Automatic network topology discovery method, apparatus, and system
CN102833113A (en) * 2012-09-03 2012-12-19 南方电网科学研究院有限责任公司 Substation Ethernet communication network monitoring method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100077091A1 (en) * 2008-09-22 2010-03-25 Sarkar Sujoy Method And System For Managing A Hierarchical Information Base With An Application Layer Protocol
CN102271350A (en) * 2011-03-30 2011-12-07 东方通信股份有限公司 Automatic discovery method of network topology in wireless cluster network management
CN102281156A (en) * 2011-08-03 2011-12-14 中国人民解放军91655部队 Emergency control method and system thereof for hierarchical network management system
WO2012149794A1 (en) * 2011-09-30 2012-11-08 华为技术有限公司 Automatic network topology discovery method, apparatus, and system
CN102833113A (en) * 2012-09-03 2012-12-19 南方电网科学研究院有限责任公司 Substation Ethernet communication network monitoring method and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580227B (en) * 2015-01-16 2017-10-27 成都华迈通信技术有限公司 The automatic arming and disarming method of mobile phone MAC Address is detected based on home network
CN104580227A (en) * 2015-01-16 2015-04-29 成都华迈通信技术有限公司 Automatic defense organizing and removing method for detecting mobile phone MAC address based on home network
CN104780078A (en) * 2015-04-03 2015-07-15 山东华软金盾软件有限公司 Method and system for initiatively detecting IP (Internet protocol) of switch
CN105871659A (en) * 2016-05-31 2016-08-17 乐视控股(北京)有限公司 Monitoring method and device of newly added server
CN107104852A (en) * 2017-03-28 2017-08-29 深圳市神云科技有限公司 Monitor the method and device of cloud platform virtual network environment
CN107222586B (en) * 2017-05-03 2020-10-20 深圳市同泰怡信息技术有限公司 Method for automatically identifying BMC IP in local area network
CN107222586A (en) * 2017-05-03 2017-09-29 深圳市同泰怡信息技术有限公司 A kind of BMC IP method in automatic identification LAN
CN107707429A (en) * 2017-10-17 2018-02-16 广东睿江云计算股份有限公司 The method and system that a kind of discovery IP routes are interrupted
CN108023763A (en) * 2017-10-23 2018-05-11 北京迈特力德信息技术有限公司 The creation method and device of a kind of network topological diagram
CN109474529A (en) * 2018-10-31 2019-03-15 广东电网有限责任公司信息中心 A kind of method of terminal network associated data feedback
CN109474529B (en) * 2018-10-31 2021-05-04 广东电网有限责任公司信息中心 Method for feeding back terminal network associated data
CN110266519A (en) * 2019-05-23 2019-09-20 国网山东省电力公司临沂供电公司 A kind of method, system, storage medium and equipment perceiving substation network topology
CN110620682A (en) * 2019-08-26 2019-12-27 奇安信科技集团股份有限公司 Resource information acquisition method and device, storage medium and terminal
CN110620682B (en) * 2019-08-26 2023-01-06 奇安信科技集团股份有限公司 Resource information acquisition method and device, storage medium and terminal
CN111147527A (en) * 2020-03-09 2020-05-12 深信服科技股份有限公司 Internet of things system and equipment authentication method, device, equipment and medium thereof
CN112702189A (en) * 2020-12-11 2021-04-23 广东电力通信科技有限公司 Method suitable for automatic matching of switch model with monitoring template

Similar Documents

Publication Publication Date Title
CN104113448A (en) Method for automatically finding and monitoring devices in local area network
US9137101B2 (en) Multi-layer network diagnostic tracing
CN102082690B (en) Passive finding equipment and method of network topology
US9191290B2 (en) Methods and devices for monitoring a data path
CN108259215B (en) Equipment management method and device
CN102195857A (en) Network topology structure and node information gathering method
CN112291075B (en) Network fault positioning method and device, computer equipment and storage medium
JP5679343B2 (en) Cloud system, gateway device, communication control method, and communication control program
CN103138978B (en) Network management and system
JP2012054622A (en) Network system, management server and oam test management method
CN114503524A (en) Closed loop automation for intent-based networking
US9985862B2 (en) MEP configuration method and network device
CN103532746A (en) Method and system for generating business topology of industrial system
US20040215781A1 (en) Techniques for determining device connectivity in a network using protocol-specific connectivity information
US20100161769A1 (en) Method and System for Virtual LAN Media Access Control Trouble Diagnostics
US10097400B1 (en) Apparatus, system, and method for distributing management data to network management stations
US9893979B2 (en) Network topology discovery by resolving loops
US20110116384A1 (en) Network connectivity management
US9667439B2 (en) Determining connections between disconnected partial trees
CN102170371B (en) Method for collecting important information of network equipment on the basis of centralized management
US7894459B2 (en) Determining availability of a network service
JP5304200B2 (en) Network management system, network management method, manager and agent
KR101206159B1 (en) Management system and method for smart grid network having private ip
CN103248505A (en) View-based network monitoring method and device
WO2016165491A1 (en) Bridging service and bridging network element inspection method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141022