CN102325055A - Simple network management protocol (SNMP) network management system and method for reducing repeated SNMP requests - Google Patents

Simple network management protocol (SNMP) network management system and method for reducing repeated SNMP requests Download PDF

Info

Publication number
CN102325055A
CN102325055A CN201110328772A CN201110328772A CN102325055A CN 102325055 A CN102325055 A CN 102325055A CN 201110328772 A CN201110328772 A CN 201110328772A CN 201110328772 A CN201110328772 A CN 201110328772A CN 102325055 A CN102325055 A CN 102325055A
Authority
CN
China
Prior art keywords
snmp
mib
snmp request
network management
mib data
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
CN201110328772A
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201110328772A priority Critical patent/CN102325055A/en
Publication of CN102325055A publication Critical patent/CN102325055A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to a network equipment management technology, and discloses a method for reducing repeated simple network management protocol (SNMP) requests. By the method, the problem of repeated SNMP request filtering inadequacy in the prior art is solved. Key points of the technical scheme can be summarized in that: before transmitting an SNMP request to managed equipment, an SNMP network management workstation queries whether management information base (MIB) data required by the request is locally cached or not, and directly calls the cached MIB data and does not transmit the SNMP request to the managed equipment if the MIB data is cached and caching time meets the requirement of a management task on timeliness; and the SNMP request is transmitted to the managed equipment only when the MIB data is not cached locally or the caching time does not meet the requirement of the management task on the timeliness. In addition, the invention also discloses an SNMP network management system. The method and the system are applied to network management over the managed equipment.

Description

The method of a kind of SNMP network management system and minimizing SNMP repetitive requests
Technical field
The present invention relates to the network device management technology, particularly a kind of SNMP network management system and the method that in this SNMP network management system, realizes reducing the SNMP repetitive requests.
Background technology
Along with development of computer network, network becomes and becomes increasingly complex, and it is more and more important that network management system also seems in whole network.SNMP (Simple Network Management Protocol) network management system is based on the NMS of snmp protocol, and it comprises SNMP network management workstation and managed devices; Communicate through SNMP message (snmp protocol has defined Get-Request, Get-Next-Request, Get-Response, Set-Request and five kinds of SNMP messages of Trap) between SNMP network management workstation and the managed devices; The SNMP network management workstation reads or is provided with MIB (management information bank) information of managed devices, realizes the function of network management.
When a plurality of webmaster service needed in the network management system are gathered identical mib information, will there be the situation of a large amount of repeated acquisition, can impact network management efficiency and take the problem of Internet resources; Usual way is the request message that the merger synchronization is initiated, and filters out the request of repetition, the MIB data in the response message that the shared managed devices of a plurality of webmaster service logics returns.If but a plurality of webmaster business is not that such scheme filters inadequate problem with regard to the request that has repetition at synchronization initiation request message.
Summary of the invention
Technical problem to be solved by this invention is: propose the method for a kind of SNMP network management system and minimizing SNMP repetitive requests, solve in the conventional art inadequate problem is filtered in the SNMP request that repeats.
The present invention solves the problems of the technologies described above the scheme that is adopted: a kind of SNMP network management system comprises SNMP network management workstation and at least one managed devices;
Said SNMP network management workstation is used for generating corresponding SNMP request according to the different service needs, and the time limit requirement to needed MIB data in the SNMP request is set; Send the SNMP request to managed devices before, judge that whether local buffer memory meets these MIB data that the time limit requires, if buffer memory then directly calls these MIB data; If buffer memory does not then send the SNMP request to managed devices, after receiving the response message that managed devices returns, the MIB data in the response message are carried out buffer memory, simultaneously the record buffer memory time;
Said managed devices is used to receive the SNMP request that the SNMP network management workstation sends, and resolves and the execution related command, sends response message then to the SNMP network management workstation.
Further, said SNMP network management workstation comprises:
At least one business module: be used for generating corresponding SNMP request, and submit this SNMP request to the SNMP request processing module according to service needed;
SNMP request processing module: be used to receive the SNMP request that business module sends, and the MIB data that need in this SNMP request are provided with the time limit requirement; Send this SNMP request to managed devices before, whether exist in the inquiry MIB metadata cache pond to meet the MIB data that the time limit requires, if exist, then directly call these MIB data, if do not exist, then send this SNMP request to managed devices;
MIB metadata cache pond: the MIB data that are used for the response message that the buffer memory managed devices returns;
Timing module: be used for the cache-time of MIB data in MIB metadata cache pond carried out timing.
Further, the time limit to needed MIB data in the SNMP request requires to be meant the cache-time threshold value that can satisfy professional promptness demand for needed MIB data setting in this SNMP request.
Another object of the present invention is to propose a kind of method of the SNMP of minimizing repetitive requests, and it may further comprise the steps:
A. business module generates corresponding SNMP request according to service needed, and submits this SNMP request to the SNMP request processing module;
The b.SNMP request processing module is provided with the time limit requirement to needed MIB data in this SNMP request;
Whether have in the c.SNMP request processing module inquiry MIB metadata cache pond to meet the MIB data that the time limit requires, if having, execution in step d then, if do not have, execution in step e then;
D. business module directly calls and meets these MIB data that the time limit requires, and finishes;
The e.SNMP request processing module is sent this SNMP request to managed devices;
F. managed devices receives and resolves this SNMP request, returns response message to the SNMP request processing module;
To MIB metadata cache pond, timing module carries out timing to the cache-time of these MIB data to the g.SNMP request processing module simultaneously with the MIB metadata cache in the response message.
Further, among the step b, the SNMP request processing module to the concrete grammar that needed MIB data in this SNMP request are provided with the time limit requirement is:
The SNMP request processing module is provided with a cache-time threshold value that can satisfy professional promptness demand to needed MIB data in this SNMP request.
Further, step c specifically comprises:
Whether the c1.SNMP request processing module is at first inquired about has needed MIB data in this SNMP request in the MIB metadata cache pond, if having, and execution in step c2 then, if do not have, execution in step e then;
C2. whether judge the cache-time of these MIB data in MIB metadata cache pond less than the cache-time threshold value that can satisfy professional promptness demand, if less than, execution in step d then, otherwise, execution in step e.
The invention has the beneficial effects as follows: the SNMP network management workstation is before sending the SNMP request to managed devices; The inquiry this locality whether buffer memory this request in needed MIB data; If there have been this MIB data; And cache-time satisfies professional promptness demand, then directly calls the MIB data of buffer memory, does not send this SNMP request to managed devices; When only these MIB data or cache-time do not satisfy professional promptness demand in local cache, just send this SNMP request to managed devices; Therefore can filter the SNMP request of repetition to greatest extent, avoid the data repeated acquisition, reduce the consumption of Internet resources.
Description of drawings
Fig. 1 is the structured flowchart of the SNMP network management system embodiment among the present invention;
Fig. 2 is the method flow diagram of the minimizing SNMP repetitive requests among the present invention.
Embodiment
Referring to Fig. 1, the SNMP network management system among the present invention has two big parts:
SNMP network management workstation: be used for generating corresponding SNMP request, and the time limit requirement to needed MIB data in the SNMP request is set according to service needed; Send the SNMP request to managed devices before, judge that whether local buffer memory meets these MIB data that the time limit requires, if buffer memory then directly calls these MIB data; If buffer memory does not then send the SNMP request to managed devices, after receiving the response message that managed devices returns, the MIB data in the response message are carried out buffer memory, simultaneously the record buffer memory time;
Managed devices: receive the SNMP request that network management workstation sends, resolve and the execution related command, send response message then to network management workstation.
Wherein, the SNMP network management workstation comprises again:
Business module: be used for generating corresponding SNMP request, and send this SNMP request to the SNMP request processing module according to service needed;
SNMP request processing module: be used to receive the SNMP request that business module sends, and the MIB data that need in this SNMP request are provided with the time limit requirement; Send this SNMP request to managed devices before, whether exist in the inquiry MIB metadata cache pond to meet the MIB data that the time limit requires, if exist, then directly call these MIB data, if do not exist, then send this SNMP request to managed devices;
MIB metadata cache pond: the MIB data that are used for the response message that the buffer memory managed devices returns;
Timing module: be used for the cache-time of MIB data in MIB metadata cache pond carried out timing.
Referring to Fig. 2, the method for the minimizing SNMP repetitive requests among the present invention may further comprise the steps:
A. business module generates corresponding SNMP request according to service needed, and submits this SNMP request to the SNMP request processing module; In this SNMP request, just comprised demand to the corresponding MIB data of managed devices;
The b.SNMP request processing module is provided with the time limit requirement to needed MIB data in this SNMP request;
Be that the SNMP request processing module all is provided with a cache-time threshold value that can satisfy professional promptness demand to needed MIB data in this SNMP request;
Whether have in the c.SNMP request processing module inquiry MIB metadata cache pond to meet the MIB data that the time limit requires, if having, execution in step d then, if do not have, execution in step e then;
The SNMP request processing module inquires about at first whether needed MIB data in this SNMP request are arranged in the MIB metadata cache pond; If have, whether then judge the cache-time of these MIB data in MIB metadata cache pond again less than the cache-time threshold value that can satisfy professional promptness demand, if less than; Execution in step d then; Though if this MIB data or this MIB data are arranged not, its cache-time does not satisfy the promptness demand, then execution in step e;
D. business module directly calls and meets these MIB data that the time limit requires;
The e.SNMP request processing module is sent this SNMP request to managed devices;
F. managed devices receives and resolves this SNMP request, returns response message to the SNMP request processing module;
To MIB metadata cache pond, timing module carries out timing to the cache-time of these MIB data to the g.SNMP request processing module simultaneously with the MIB metadata cache in the response message.
Be example with performance management service in the network management system below, the handling process that reduces the SNMP repetitive requests is following:
The network performance management service needed is monitored certain performance index A and index B in real time, and two indexs all need be calculated the value of MIB node 1 and MIB node 2.Wherein, this business requires to be respectively to the promptness of MIB data, and MIB node 1 is 2 seconds, and MIB node 2 is 5 seconds.
210) business module is regularly initiated two SNMP requests; The data of MIB node 1,2 are read in request respectively, are used for parameter A, after the SNMP request processing module is received request; According to concrete business; MIB node 1,2 is added data promptness strategy (can satisfy the cache-time threshold value of business demand) respectively, and MIB node 1 is 2 seconds, and MIB node 2 is 5 seconds.
220) the SNMP request processing module inquires about to MIB metadata cache pond whether buffer memory has qualified node data; The result finds not have in the MIB metadata cache pond data of MIB node 1,2; The SNMP request processing module is then initiated two SNMP requests to managed devices, and the data of MIB node 1 and MIB node 2 are read in request respectively.
230) network management workstation is after receiving the SNMP response that managed devices returns, and A calculates to index; And the metadata cache of MIB node in will responding 1 and MIB node 2 is in data M IB metadata cache pond, and notes the time that gets into buffer memory.
240) business module is initiated two SNMP requests once more, and the data of MIB node 1 and MIB node 2 are read in request respectively, are used for parameter B.The SNMP request processing module is after the request of receiving; Whether inquiry exists effective MIB data to MIB metadata cache pond; The data that the result finds MIB node 1 in MIB metadata cache pond buffer memory above 2 seconds; The data that are MIB node 1 can not satisfy the promptness requirement, but the cache-time of the data of MIB node 2 in MIB metadata cache pond do not surpass 5 seconds, satisfies the promptness requirement;
250) network management workstation directly calls the data of MIB node 2 in MIB metadata cache pond, need not the data to managed devices request MIB node 2.
260) the SNMP request processing module is initiated a SNMP request to MIB node 1 to managed devices, and after the data of receiving the MIB node 1 that managed devices returns, B calculates to index.

Claims (6)

1. a SNMP network management system comprises SNMP network management workstation and at least one managed devices; It is characterized in that,
Said SNMP network management workstation is used for generating corresponding SNMP request according to the different service needs, and the time limit requirement to needed MIB data in the SNMP request is set; Send the SNMP request to managed devices before, judge that whether local buffer memory meets these MIB data that the time limit requires, if buffer memory then directly calls these MIB data; If buffer memory does not then send the SNMP request to managed devices, after receiving the response message that managed devices returns, the MIB data in the response message are carried out buffer memory, simultaneously the record buffer memory time;
Said managed devices is used to receive the SNMP request that the SNMP network management workstation sends, and resolves and the execution related command, sends response message then to the SNMP network management workstation.
2. a kind of SNMP network management system as claimed in claim 1 is characterized in that, said SNMP network management workstation comprises:
At least one business module: be used for generating corresponding SNMP request, and submit this SNMP request to the SNMP request processing module according to service needed;
SNMP request processing module: be used to receive the SNMP request that business module sends, and the MIB data that need in this SNMP request are provided with the time limit requirement; Send this SNMP request to managed devices before, whether exist in the inquiry MIB metadata cache pond to meet the MIB data that the time limit requires, if exist, then directly call these MIB data, if do not exist, then send this SNMP request to managed devices;
MIB metadata cache pond: the MIB data that are used for the response message that the buffer memory managed devices returns;
Timing module: be used for the cache-time of MIB data in MIB metadata cache pond carried out timing.
3. a kind of SNMP network management system as claimed in claim 1; It is characterized in that the time limit of needed MIB data required to be meant the cache-time threshold value that can satisfy professional promptness demand for needed MIB data setting in this SNMP request during SNMP was asked.
4. reduce the method for SNMP repetitive requests, it is characterized in that, may further comprise the steps:
A. business module generates corresponding SNMP request according to service needed, and submits this SNMP request to the SNMP request processing module;
The b.SNMP request processing module is provided with the time limit requirement to needed MIB data in this SNMP request;
Whether have in the c.SNMP request processing module inquiry MIB metadata cache pond to meet the MIB data that the time limit requires, if having, execution in step d then, if do not have, execution in step e then;
D. business module directly calls and meets these MIB data that the time limit requires, and finishes;
The e.SNMP request processing module is sent this SNMP request to managed devices;
F. managed devices receives and resolves this SNMP request, returns response message to the SNMP request processing module;
To MIB metadata cache pond, timing module carries out timing to the cache-time of these MIB data to the g.SNMP request processing module simultaneously with the MIB metadata cache in the response message.
5. the method for minimizing SNMP repetitive requests as claimed in claim 4 is characterized in that, among the step b, the SNMP request processing module to the concrete grammar that needed MIB data in this SNMP request are provided with the time limit requirement is:
The SNMP request processing module is provided with a cache-time threshold value that can satisfy professional promptness demand to needed MIB data in this SNMP request.
6. the method for minimizing SNMP repetitive requests as claimed in claim 5 is characterized in that step c specifically comprises:
Whether the c1.SNMP request processing module is at first inquired about has needed MIB data in this SNMP request in the MIB metadata cache pond, if having, and execution in step c2 then, if do not have, execution in step e then;
C2. whether judge the cache-time of these MIB data in MIB metadata cache pond less than the cache-time threshold value that can satisfy professional promptness demand, if less than, execution in step d then, otherwise, execution in step e.
CN201110328772A 2011-10-26 2011-10-26 Simple network management protocol (SNMP) network management system and method for reducing repeated SNMP requests Pending CN102325055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110328772A CN102325055A (en) 2011-10-26 2011-10-26 Simple network management protocol (SNMP) network management system and method for reducing repeated SNMP requests

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110328772A CN102325055A (en) 2011-10-26 2011-10-26 Simple network management protocol (SNMP) network management system and method for reducing repeated SNMP requests

Publications (1)

Publication Number Publication Date
CN102325055A true CN102325055A (en) 2012-01-18

Family

ID=45452729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110328772A Pending CN102325055A (en) 2011-10-26 2011-10-26 Simple network management protocol (SNMP) network management system and method for reducing repeated SNMP requests

Country Status (1)

Country Link
CN (1) CN102325055A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506640A (en) * 2016-11-07 2017-03-15 杭州迪普科技股份有限公司 A kind of processing method and processing device of SNMP requests

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020067742A1 (en) * 2000-12-05 2002-06-06 Alexander Or Management of WAP gateway through SNMP
CN1403916A (en) * 2002-09-24 2003-03-19 浙江浙大网新科技股份有限公司 SNMP monitoring method of browser content
CN101409654A (en) * 2008-12-04 2009-04-15 武汉烽火网络有限责任公司 Method for processing SNMP information in network management system
CN101753330A (en) * 2008-12-03 2010-06-23 迈普通信技术股份有限公司 Method for managing equipment based on VRF interface
CN101764848A (en) * 2010-01-12 2010-06-30 浪潮(北京)电子信息产业有限公司 Method and device for transmitting network files
CN102118256A (en) * 2009-12-31 2011-07-06 杭州华三通信技术有限公司 Method for acquiring simple network management protocol (SNMP) data and equipment-side device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020067742A1 (en) * 2000-12-05 2002-06-06 Alexander Or Management of WAP gateway through SNMP
CN1403916A (en) * 2002-09-24 2003-03-19 浙江浙大网新科技股份有限公司 SNMP monitoring method of browser content
CN101753330A (en) * 2008-12-03 2010-06-23 迈普通信技术股份有限公司 Method for managing equipment based on VRF interface
CN101409654A (en) * 2008-12-04 2009-04-15 武汉烽火网络有限责任公司 Method for processing SNMP information in network management system
CN102118256A (en) * 2009-12-31 2011-07-06 杭州华三通信技术有限公司 Method for acquiring simple network management protocol (SNMP) data and equipment-side device
CN101764848A (en) * 2010-01-12 2010-06-30 浪潮(北京)电子信息产业有限公司 Method and device for transmitting network files

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506640A (en) * 2016-11-07 2017-03-15 杭州迪普科技股份有限公司 A kind of processing method and processing device of SNMP requests
CN106506640B (en) * 2016-11-07 2019-11-12 杭州迪普科技股份有限公司 A kind of processing method and processing device of SNMP request

Similar Documents

Publication Publication Date Title
CN111078426A (en) High concurrency solution under back-end micro-service architecture
CN101447895A (en) Collocation method for synchronizing network management and network element and device thereof
CN1133298C (en) Capture producing method for controlling simple network management agreement
CN106021608A (en) Distributed crawler system and implementing method thereof
CN102820993A (en) Network resource monitoring system and network resource monitoring method
CN107517277B (en) Method and device for realizing sanlock
CN100508500C (en) Interplate communicating method and interface plate
CN102142971A (en) Monitoring system and monitoring method for realizing subscription-collection mechanism
CN105208004A (en) Data input method based on OBD equipment
CN114301988A (en) Distributed calling method and device, storage medium and electronic equipment
CN103581119B (en) System and method for displaying production process data at high speed
CN102325055A (en) Simple network management protocol (SNMP) network management system and method for reducing repeated SNMP requests
WO2017036238A1 (en) Service node adjusting method, apparatus and device
CN111611463A (en) Scapy-Redis-based distributed web crawler optimization method
CN102081653B (en) Equipment service management method and device based on drive
CN102118256B (en) Method for acquiring simple network management protocol (SNMP) data and equipment-side device
CN104735097A (en) Information collecting method and system
CN105763380A (en) Network management data obtaining method and device
CN103905429A (en) Method for achieving automatic discovery through network device on basis of DHCP extension label
CN102684924A (en) Network management workstation and debugging method of network management software
CN105991450A (en) MAC address table updating method and device
CN101557436B (en) Resource monitoring method and device thereof
CN112202914A (en) Message pushing method and device
CN107193989B (en) NAS cluster cache processing method and system
KR101311515B1 (en) Apparatus and Method for Enhancing Reusability of Software Componentand and its Method for Processing Using the Same

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: 20120118