CN102215132A - Embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on database - Google Patents

Embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on database Download PDF

Info

Publication number
CN102215132A
CN102215132A CN2011101623966A CN201110162396A CN102215132A CN 102215132 A CN102215132 A CN 102215132A CN 2011101623966 A CN2011101623966 A CN 2011101623966A CN 201110162396 A CN201110162396 A CN 201110162396A CN 102215132 A CN102215132 A CN 102215132A
Authority
CN
China
Prior art keywords
snmp
database
data
process module
management process
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
CN2011101623966A
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.)
Allwin Telecommunication Co Ltd
Original Assignee
Allwin Telecommunication 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 Allwin Telecommunication Co Ltd filed Critical Allwin Telecommunication Co Ltd
Priority to CN2011101623966A priority Critical patent/CN102215132A/en
Publication of CN102215132A publication Critical patent/CN102215132A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention discloses an embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on a database. The device comprises an SNMP administration process module used for monitoring field equipment, a database used for storing data of the field equipment and a Web server connected with an Internet network and used for transmitting the data, wherein the SNMP administration process management module is provided with an SNMP communication interface and connected with the database; the database is connected with the Web server; and the database and the Web server are both respectively provided with network access interfaces. The SNMP data collecting device disclosed by the invention has the advantages of simple structure and good use prospect; and by using the SNMP data collecting device, the data of the field equipment can be fast collected in real time. The embedded SNMP management end data collecting device, system and method disclosed by the invention are widely applied to the data collecting process.

Description

Based on database embedded SNMP management end data acquisition unit, system and method
Technical field
The present invention relates to a kind of data acquisition unit, system and method, particularly a kind of based on database embedded SNMP management end data acquisition unit, system and method.
Background technology
Terminological interpretation:
SNMP:(Simple Network Management Protocol) Simple Network Management Protocol, be a kind of based on request, present most widely used NMP, utilize SNMP can telemanagement all support the network equipment of this agreement.
Managed devices: the computer that can be managed in the network or the network equipment (as router, bridge, gateway, printer etc.) provide information such as hardware, software and operating state to the SNMP agency.
SNMP agency: providing the information of managed devices working condition to the snmp management device, is the interface between snmp management device and the managed devices.
Snmp management device: send request to the SNMP agency, to collect the information of relevant managed devices.For managed devices is carried out certain configuration or manipulation, the snmp management device can be provided with the value among the agency.
MIB:(Management Information Base) management information bank is a virtual data base, has defined the variable that all agent processes comprised, can be inquired about and be provided with by managing process.
SMI:(Structure of Management Information) structure of management information is about the cover of MIB public structure and expression symbol, has defined the simple rule of name and establishment information type.
OID:(Object Identifier) object identifier, all variablees among the MIB all identify with object identifier (OID), object identifier has constituted a level name structure, is made up of a lot of numeral, reads simple easily name but be abbreviated as people usually.
ASN.1:(Abstract Syntax Notation One) abstract syntax notation one, data of description type, structure, tissue and coding method.
The Snmp agreement, i.e. Simple Network Management Protocol is to be used for a kind of standard agreement of managing network node specially, is the standard of a manager and communications between agents.
Simple Network Management Protocol mainly contains following three parts and forms: managed object, agency (Agent) and management system (NMS).Managed object also is the equipment of being managed, and is a concrete network node such as router, switch etc.Managed object similarly is a management information server, and the agency therefrom fetches data and is saved in the information bank.Agency (Agent) is installed on the managed device, is specifically designed to collect and send the software module of management information to management system (NMS), and operations such as the get at response management station, set, and can initiatively send trap information to management station.Management station needs management system and handles management information on the agency, carries out as reporting to the police and the judgement of accident, thereby better locatees and handling failure.
Snmp has several versions: SNMP V1, SNMP V2, SNMP V3.
SNMP V1 has 5 kinds of messages:
Get-Request: managing process is from the agent process value of getting parms;
Get-Next-Request: managing process obtains next parameter value from agent process;
Set-Request: the value that the agent node parameter is set;
Get-Response: agent process response management process, return the value of corresponding above 3 kinds of operations and use for managing process;
Trap: agent process initiatively reports managing process, and notice has certain incident to take place.
SNMP V2 has increased following two kinds of message forms on V1 version basis:
Get-Bulk-Request: the value of obtaining a plurality of parameters behind this node and this node;
Inform-Request: management end receives the affirmation information that returns to agent process behind the trap.
SNMP V3 is the same with SNMP V2 message form, has increased safety verification, makes transmission safer.
Concerning the data collector, support that equipment as much as possible is the target of exploitation, but equipment provides by each different manufacturers all generally, makes the realization of SNMP data acquisition bring great difficulty.
Each producer is to interface (MIB) difference of distinct device definition, when device-specific information is gathered, at first will finishing of task is the definition of determining in the customizing messages mib file, finds out OID and definition mode, and ability acquisition project is developed the value of required monitoring parameter like this.Also have, the type of the value of each producer's definition is difference to some extent all, and this is for the remote-operated information of needs, the transmission of data and receive will be very chaotic.So the value that receives also needs to change into our needed form.
Summary of the invention
In order to solve above-mentioned technical problem, the purpose of this invention is to provide that a kind of compatibility is good, processing speed is fast based on database embedded SNMP management end data acquisition unit.
Another object of the present invention provide a kind of can monitor in real time field apparatus based on database embedded SNMP management end data acquisition system.
It is little that another object of the present invention provides a kind of system overhead, favorable expandability based on database embedded SNMP management end collecting method.
The technical solution adopted for the present invention to solve the technical problems is:
Based on database embedded SNMP management end data acquisition unit, comprising: the snmp management process module that is used to monitor field apparatus;
Be used to store the database of field equipment data;
Be used for being connected and transmitting the Web server of data with the Internet network;
Described snmp management process module is provided with the SNMP communication interface, and snmp management process module is connected with database, and database is connected with Web server, and described database and Web server all are respectively equipped with network access interface.
Be further used as preferred embodiment, described snmp management process module comprises management system (NMS), and described management system (NMS) is connected with the SNMP proxy module, and described SNMP proxy module is provided with the interface that is connected with the SNMP field apparatus.
Based on database embedded SNMP management end data acquisition system, comprise SNMP data acquisition unit, telemanagement center, the snmp management process module of described SNMP data acquisition unit is connected with at least one SNMP field apparatus, and the Web server of described SNMP data acquisition unit is connected with the telemanagement center by the Internet network respectively with database.
Based on database embedded SNMP management end collecting method, may further comprise the steps:
A, SNMP data management end send the SNMP request by snmp management process module to the SNMP field apparatus;
After B, SNMP field apparatus receive SNMP request, with the form return data of SNMP packet to snmp management process module;
C, snmp management process module are directly handled after receiving the SNMP packet, and the Data Format Transform after the processing stores in the database after becoming user-defined format and converting user-defined format to, for Web server or the visit of telemanagement center;
D, telemanagement center send data in the database that obtains or be provided with command access SNMP data acquisition unit by network to the SNMP data acquisition unit.
Be further used as preferred embodiment, snmp management process module is gathered the data of SNMP field apparatus by the mode of poll.
Be further used as preferred embodiment, described snmp management process module also reports the data of the mode collection site equipment of SNMP packet automatically by the interruption of SNMP field apparatus.
Be further used as preferred embodiment, described snmp management process module is carried out addressing and visit by unique OID number to the SNMP field apparatus.
The invention has the beneficial effects as follows: SNMP data acquisition unit of the present invention is simple in structure, can collect the data of field apparatus fast in real time, has good use prospect.
Another beneficial effect of the present invention is: every type snmp equipment of system of the present invention according to the rules form respectively is stored in the database, can manage many moneys and support the data acquisition of snmp equipment, for sending data unified interface is arranged to host computer, the data packet group packet mode is more convenient, has also strengthened the extensibility of system simultaneously.
The present invention also has a beneficial effect to be: the inventive method adopts the net-snmp kit, uses asynchronous system to send the snmp request; After receiving packet, need not to dump to file, and can directly handle simultaneously, Data Format Transform after the processing becomes self-defining database storage mode to store database into, saved the overhead of the unloading data under the traditional approach to file and access file, with respect to traditional approach, improved processing speed.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 is a system block diagram of the present invention.
Embodiment
With reference to Fig. 1,, comprising: the snmp management process module that is used to monitor field apparatus based on database embedded SNMP management end data acquisition unit;
Be used to store the database of field equipment data;
Be used for being connected and transmitting the Web server of data with the Internet network;
Described snmp management process module is provided with the SNMP communication interface, and snmp management process module is connected with database, and database is connected with Web server, and described database and Web server all are respectively equipped with network access interface.
Be further used as preferred embodiment, described snmp management process module comprises management system (NMS), and described management system (NMS) is connected with the SNMP proxy module, and described SNMP proxy module is provided with the interface that is connected with the SNMP field apparatus.
Based on database embedded SNMP management end data acquisition system, comprise SNMP data acquisition unit, telemanagement center, the snmp management process module of described SNMP data acquisition unit is connected with at least one SNMP field apparatus, and the Web server of described SNMP data acquisition unit is connected with the telemanagement center by the Internet network respectively with database.
Based on database embedded SNMP management end collecting method, may further comprise the steps:
A, SNMP data management system send the SNMP request by snmp management process module to the SNMP field apparatus;
After B, SNMP field apparatus receive SNMP request, with the form return data of SNMP packet to snmp management process module;
C, snmp management process module are directly handled after receiving the SNMP packet, and the Data Format Transform after the processing becomes user-defined format and stores in the database, for Web server or the visit of telemanagement center;
D, telemanagement center send data in the database that obtains or be provided with command access SNMP data acquisition unit by network to the SNMP data acquisition unit.
Be further used as preferred embodiment, snmp management process module is gathered the data of SNMP field apparatus by the mode of poll.
Be further used as preferred embodiment, described snmp management process module also reports the data of the mode collection site equipment of SNMP packet automatically by the interruption of SNMP field apparatus.
Be further used as preferred embodiment, described snmp management process module can also be carried out addressing and visit to the SNMP field apparatus by unique OID number.
Design cycle of the present invention is as follows:
1, the oid of the definite monitoring parameter that will gather, type etc.This will be decided as the case may be, and each equipment of each producer, their certain monitoring parameter all have and identifies for unique OID number.Determined OID, the OID of filtering useless.
2, set up embedded database, a newly-built new database table, what this table was preserved is OID and corresponding field title (this field name is corresponding with the field name of preserving monitoring parameter table, is the convenience in order to develop and to safeguard).Table comprises field name, oid, operation version, action type (get, set, table, trap, getAlarm).The equipment that every money is identical adopts identical field name, the corresponding field name of each OID, later on only need obtain device type and just can know the field name of OID correspondence, take out the value that to upgrade the correspondence of preservation value of consult volume table after this field name according to device id.
3, build monitoring parameter table (table of the preservation value of consult volume of mentioning in 2), preserve parameter information.Field name, field value, field value length, field equipment id.This table and top mapping table can be interrelated by equipment id.
4, some qualifications of database: limit the mode of alarming value storage, such as: handle by the receiving management process, handle the back and judge be alarming value, we are set at 01 etc. the renewal value of consult volume;
5, according to the IP address, the monitoring that obtains this collector from database is equipment id number of SNMP type equipment, because the equipment of collector monitoring is not necessarily supported SNMP, so when data base initialize, initiate equipment must be provided with device type.
6, from database, obtain many of the OID(of device id correspondence), and the action type (get, set, table, getAlarm) of corresponding OID, every kind of corresponding processing threads of operation.Wherein get and table are same thread, but Processing Interface is different.
7, asynchronous transmission operation requests
8, managing process directly decomposes return information, calls relevant treatment interface (according to the specific requirement of equipment, each distinct device all has corresponding processing function), decomposes the value that obtains and temporarily is kept in the self-defining structure of program.
9, obtain the field name of this equipment of parameter table (in 3) id and each OID correspondence,,, when searching the corresponding field title, must obtain correct equipment id so the information of returning is asynchronous because be the asynchronous transmission request.Because the ip address of meeting bound targets machine (snmp managed device) in the information of returning is so we can obtain device id (in 5) according to this IP.
10, the value and the field name of structure preservation according to correct device id, are upgraded value corresponding in the parameter table.
Collect two kinds of basic modes of data from managed devices:
Polling mode (polling-only): initiatively to the order of agent process transmission inquiry or setting, agent process sends the operation signal of inquiry or setting to managing process again to agency's MIB then, thereby obtains or revise corresponding information.Mode (interrupt-based) based on interruption: when anomalous event took place, agent process can be notified managing process on one's own initiative, and needn't wait for the arrival of polling cycle.
Usually polling mode is used in combination with interrupt mode to remedy defective separately, is referred to as self-trapping controlled polling mode (trap-directed polling).
Management station and agency carry out information interaction needs unified interface, and snmp protocol adopts the MIB management information bank to realize.Structure of management information SMI grammer is followed in the definition of mib file interface, with the definition information description in mib file.The value of proxy variable is kept in the mib file, and management end inquiry and setting operation all are the operations to agent side mib file variable.SNMP GET, SET operation all is to have network management system (managing process) to initiate, and act on behalf of passive reception and operate accordingly, and the agency can initiatively send some great message that incident took place to management end by trap.
More than be that preferable enforcement of the present invention is specified, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite of spirit of the present invention, modification that these are equal to or replacement all are included in the application's claim institute restricted portion.

Claims (7)

1. based on database embedded SNMP management end data acquisition unit, it is characterized in that: comprising: the snmp management process module that is used to monitor field apparatus;
Be used to store the database of field equipment data;
Be used for being connected and transmitting the Web server of data with the Internet network;
Described snmp management process module is provided with the SNMP communication interface, and snmp management process module is connected with database, and database is connected with Web server, and described database and Web server all are respectively equipped with network access interface.
2. according to claim 1 based on database embedded SNMP management end data acquisition unit, it is characterized in that: described snmp management process module comprises management system (NMS), described management system (NMS) is connected with the SNMP proxy module, and described SNMP proxy module is provided with the interface that is connected with the SNMP field apparatus.
3. based on database embedded SNMP management end data acquisition system, it is characterized in that: the SNMP data acquisition unit, the telemanagement center that comprise claim 1 or 2, the snmp management process module of described SNMP data acquisition unit is connected with at least one SNMP field apparatus, and the Web server of described SNMP data acquisition unit is connected with the telemanagement center by the Internet network respectively with database.
4. based on database embedded SNMP management end collecting method, it is characterized in that: may further comprise the steps:
A, SNMP data management end send the SNMP request by snmp management process module to the SNMP field apparatus;
After B, SNMP field apparatus receive SNMP request, with the form return data of SNMP packet to snmp management process module;
C, snmp management process module are directly handled after receiving the SNMP packet, and the Data Format Transform after the processing becomes user-defined format and stores in the database, for Web server or the visit of telemanagement center;
D, telemanagement center send data in the database that obtains or be provided with command access SNMP data acquisition unit by the Internet network to the SNMP data acquisition unit.
5. according to claim 4 based on database embedded SNMP management end collecting method, it is characterized in that: snmp management process module is gathered the data of SNMP field apparatus by the mode of poll.
6. according to claim 4 or 5 described based on database embedded SNMP management end collecting method, it is characterized in that: described snmp management process module also interrupts reporting automatically the data of the mode collection site equipment of SNMP packet by the SNMP field apparatus.
7. according to claim 4 or 5 described based on database embedded SNMP management end collecting method, it is characterized in that: described snmp management process module is carried out addressing and visit by unique OID number to the SNMP field apparatus.
CN2011101623966A 2011-06-16 2011-06-16 Embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on database Pending CN102215132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101623966A CN102215132A (en) 2011-06-16 2011-06-16 Embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101623966A CN102215132A (en) 2011-06-16 2011-06-16 Embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on database

Publications (1)

Publication Number Publication Date
CN102215132A true CN102215132A (en) 2011-10-12

Family

ID=44746271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101623966A Pending CN102215132A (en) 2011-06-16 2011-06-16 Embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on database

Country Status (1)

Country Link
CN (1) CN102215132A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780579A (en) * 2012-06-18 2012-11-14 华为技术有限公司 Method and device for inquiring bulk data based on simple network management protocol (SNMP)
CN103516543A (en) * 2012-06-26 2014-01-15 丛林网络公司 Filtering within device management protocol queries
CN104486147A (en) * 2014-12-04 2015-04-01 北京同有飞骥科技股份有限公司 Method and device for updating monitoring data of equipment monitoring system
CN105634800A (en) * 2015-12-25 2016-06-01 北京时代民芯科技有限公司 Data storage maintenance method based on SNMP and SQLite
CN105785837A (en) * 2014-12-23 2016-07-20 秦皇岛中科百捷电子信息科技有限公司 Embedded system-based energy monitoring and control device and method
CN106101207A (en) * 2016-06-03 2016-11-09 东软集团股份有限公司 Harvester control method and device
CN106301915A (en) * 2016-08-17 2017-01-04 福建星海通信科技有限公司 A kind of projector universal monitor method based on SNMP
CN107707429A (en) * 2017-10-17 2018-02-16 广东睿江云计算股份有限公司 The method and system that a kind of discovery IP routes are interrupted
CN109822572A (en) * 2019-02-22 2019-05-31 广州高新兴机器人有限公司 A kind of computer room inspection monitoring method and system based on robot
CN112822047A (en) * 2021-01-04 2021-05-18 北京同有飞骥科技股份有限公司 Method and system for improving SNMP data acquisition efficiency
CN114546305A (en) * 2022-02-23 2022-05-27 广东电网有限责任公司中山供电局 Network printer equipment monitoring method and system
CN115208740A (en) * 2022-07-29 2022-10-18 济南浪潮数据技术有限公司 Alarm management method and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345652A (en) * 2008-08-15 2009-01-14 北京立通无限科技有限公司 Data acquisition method and data acquisition equipment
CN101644920A (en) * 2009-06-30 2010-02-10 卡斯柯信号有限公司 Control method of embedded station information collector system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345652A (en) * 2008-08-15 2009-01-14 北京立通无限科技有限公司 Data acquisition method and data acquisition equipment
CN101644920A (en) * 2009-06-30 2010-02-10 卡斯柯信号有限公司 Control method of embedded station information collector system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780579A (en) * 2012-06-18 2012-11-14 华为技术有限公司 Method and device for inquiring bulk data based on simple network management protocol (SNMP)
CN103516543A (en) * 2012-06-26 2014-01-15 丛林网络公司 Filtering within device management protocol queries
US10382252B2 (en) 2012-06-26 2019-08-13 Juniper Networks, Inc. Filtering within device management protocol queries
CN104486147A (en) * 2014-12-04 2015-04-01 北京同有飞骥科技股份有限公司 Method and device for updating monitoring data of equipment monitoring system
CN105785837A (en) * 2014-12-23 2016-07-20 秦皇岛中科百捷电子信息科技有限公司 Embedded system-based energy monitoring and control device and method
CN105634800B (en) * 2015-12-25 2018-09-11 北京时代民芯科技有限公司 A kind of data storage system maintenance method based on SNMP and SQLite
CN105634800A (en) * 2015-12-25 2016-06-01 北京时代民芯科技有限公司 Data storage maintenance method based on SNMP and SQLite
CN106101207A (en) * 2016-06-03 2016-11-09 东软集团股份有限公司 Harvester control method and device
CN106101207B (en) * 2016-06-03 2019-07-12 东软集团股份有限公司 Collector control method and device
CN106301915A (en) * 2016-08-17 2017-01-04 福建星海通信科技有限公司 A kind of projector universal monitor method based on SNMP
CN107707429A (en) * 2017-10-17 2018-02-16 广东睿江云计算股份有限公司 The method and system that a kind of discovery IP routes are interrupted
CN109822572A (en) * 2019-02-22 2019-05-31 广州高新兴机器人有限公司 A kind of computer room inspection monitoring method and system based on robot
CN112822047A (en) * 2021-01-04 2021-05-18 北京同有飞骥科技股份有限公司 Method and system for improving SNMP data acquisition efficiency
CN114546305A (en) * 2022-02-23 2022-05-27 广东电网有限责任公司中山供电局 Network printer equipment monitoring method and system
CN114546305B (en) * 2022-02-23 2024-02-13 广东电网有限责任公司中山供电局 Network printer equipment monitoring method and system
CN115208740A (en) * 2022-07-29 2022-10-18 济南浪潮数据技术有限公司 Alarm management method and related equipment

Similar Documents

Publication Publication Date Title
CN102215132A (en) Embedded SNMP (Simple Network Management Protocol) management end data collecting device, system and method based on database
CN101567814B (en) Automatic network management method based on SNMP and stochastic Petri net
CN103716173B (en) A kind of method for storing monitoring system and monitoring alarm issue
WO2003003238A1 (en) A remote network monitoring method
CN103516543B (en) Filtering in device management protocol inquiry
CN103036732B (en) A kind of method of network monitoring process, system and equipment
CN102263651A (en) Method for detecting connection state of local end equipment in SNMP (simple network management protocol) network management system (NMS)
WO2018010176A1 (en) Method and device for acquiring fault information
CN101409654B (en) Method for processing SNMP information in network management system
WO2013086962A1 (en) Computer network management tools
CN100499502C (en) Trap analyzing and preprocessing system and method thereof
CN100456689C (en) Network management safety authentication method
US8564409B2 (en) Method and apparatus for operating server for RFID reader and method for operating RFID reader
EP1079566A2 (en) System management in a communications network comprising SNMP and CMIP agents
CN101404587B (en) Proxy equipment management method based on simple network management protocol and equipment thereof
CN103957127B (en) Isomery producer transport network interface adaptation method
CN110061886B (en) Prepress network management system based on SNMP
KR20030021862A (en) Method for Between EMS Server and Agent Fault Processing
JP2008077293A (en) Network monitor
CN103248505A (en) View-based network monitoring method and device
KR100612254B1 (en) Apparatus and method of manage performance data in network management system using snmp
KR20040050140A (en) Network management system for managing of state and problem in router system and method thereof
KR100489941B1 (en) The method for alarm status synchronization between NMS agent and network element
KR100534619B1 (en) Apparatus and method of network management
EP3050283B1 (en) Providing network management information in a communications network

Legal Events

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

Application publication date: 20111012