CN110290004A - A kind of snmp management method, system and computer equipment - Google Patents

A kind of snmp management method, system and computer equipment Download PDF

Info

Publication number
CN110290004A
CN110290004A CN201910570186.7A CN201910570186A CN110290004A CN 110290004 A CN110290004 A CN 110290004A CN 201910570186 A CN201910570186 A CN 201910570186A CN 110290004 A CN110290004 A CN 110290004A
Authority
CN
China
Prior art keywords
snmp
parameter
data
target machine
management
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
CN201910570186.7A
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910570186.7A priority Critical patent/CN110290004A/en
Publication of CN110290004A publication Critical patent/CN110290004A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0253Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a kind of snmp management method, system and computer equipments, the described method includes: the SNMP parameter of input is received by preset Simple Network Management Protocol snmp management WEB page, the target machine that the SNMP parameter is communicated for determining needs;SNMP parameter interface receives the SNMP parameter;It is communicated by the SNMP parameter interface with the target machine, obtains the data of the target machine response;The data of target machine response are handled, convert the data to the format that WEB page can be shown, and be shown in the snmp management WEB page.The system of the embodiment of the present invention can remotely access, and carry out equipment management by remote access, directly serve in server state business relevant to alarm.

Description

A kind of snmp management method, system and computer equipment
Technical field
The present invention relates to computer networking technology, espespecially a kind of snmp management method, system and computer equipment.
Background technique
Simple Network Management Protocol (SNMP), is made of the standard of one group of network management, includes an application layer protocol (application layer protocol), database model (database schema) and one group of resource object.The agreement Network Management System can be supported, to monitor whether the equipment being connected on network there are any feelings for causing to manage upper concern Condition.The agreement is that Internet Engineering Task group (Internet Engineering Task Force, IETF) defines A part of internet protocol family.The target of SNMP is that the software and hardware of numerous producer's productions on managing internet Internet is flat Platform, therefore SNMP is influenced also very greatly by Internet standard network management framework.SNMP has gone out to arrive the association of third version View, function have greatly been reinforced and have been improved than before.
Browser is an application under the standard generalized markup language in a display webpage servomechanism or archives economy (HTML) file, and a kind of software for allowing user to interact with these files, common web browser includes micro- on PC The Chrome of Firefox, Google of soft Internet Explorer, Mozilla;Target machine: snmp protocol is realized Managed object;Target represents remote equipment or remote entity, and PDU represents the data that management end is communicated with Target;
The prior art it is more mature be product mibbrowser that ireasoning company provides, specific framework and realization Mode does not disclose.
Fig. 1 is the page schematic diagram of the prior art snmp management method.As shown in Figure 1, the technical solution has Having management information bank (Management Information Base, mib), document analysis is communicated with SNMP and snmp trap (SNMP trap) receive capabilities.Wherein, mib defines the data item that managed device must save, management system it is addressable by The data variables such as the control of tube apparatus and status information are all stored in mib.
The shortcomings that prior art, has mibbrowser that can not remotely access, and java environment is needed just to can be used;Drawbacks described above Cause the program that can not be widely used in all kinds of occasions for needing snmp management.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of snmp management method, system and computers Equipment can carry out equipment management by remote access.
In order to reach the object of the invention, on the one hand, the embodiment of the invention provides a kind of Simple Network Management Protocol SNMP Management method, comprising:
The SNMP parameter of input, the SNMP are received by preset Simple Network Management Protocol snmp management WEB page The target machine that parameter is communicated for determining needs;
SNMP parameter interface receives the SNMP parameter;
It is communicated by the SNMP parameter interface with the target machine, obtains the number of the target machine response According to;
The data of target machine response are handled, the lattice that WEB page can be shown are converted the data to Formula, and be shown in the snmp management WEB page.
Optionally, the SNMP parameter interface reception SNMP parameter includes:
The interface receives the SNMP parameter in a manner of http request.
Optionally, the SNMP parameter interface receives the SNMP parameter further include:
The interface receives the SNMP parameter in a manner of calling directly.
Optionally, the data to target machine response, which handle, includes:
The data that will acquire are processed into the form of JSON string.
On the other hand, the embodiment of the invention also provides a kind of Simple Network Management Protocol snmp management systems, comprising:
Input module, for receiving the SNMP of input by preset Simple Network Management Protocol snmp management WEB page Parameter, the target machine that the SNMP parameter is communicated for determining needs;
Receiving module receives the SNMP parameter for SNMP parameter interface;
It obtains module and obtains the target for being communicated by the SNMP parameter interface with the target machine The data of machine response;
Processing module, the data for responding to the target machine are handled, and convert the data to WEB page The format that can be shown, and be shown in the snmp management WEB page.
Optionally, the receiving module is used for:
The interface receives the SNMP parameter in a manner of http request.
Optionally, the receiving module is also used to:
The interface receives the SNMP parameter in a manner of calling directly.
Optionally, the processing module is used for:
The data that will acquire are processed into the form of JSON string.
Further, the system also includes:
Snmp management system incorporates other systems by program code as a module.
The embodiment of the invention also provides a kind of computer equipments, including memory, processor and storage are on a memory And the computer program that can be run on a processor, wherein the processor realizes letter as described above when executing described program The step of single Network Management Protocols SNMP management method.
The embodiment of the present invention is joined by the SNMP that preset Simple Network Management Protocol snmp management WEB page receives input Number, the target machine that the SNMP parameter is communicated for determining needs;SNMP parameter interface receives the SNMP parameter;Pass through institute It states SNMP parameter interface to be communicated with the target machine, obtains the data of the target machine response;To the target machine The data of device response are handled, and the format that WEB page can be shown is converted the data to, and are shown in the SNMP pipe It manages in WEB page.The system of the embodiment of the present invention can remotely access, and carry out equipment management by remote access, directly service In server state business relevant to alarm.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the page schematic diagram of prior art snmp management method;
Fig. 2 is the realization principle figure of Simple Network Management Protocol of embodiment of the present invention snmp management method;
Fig. 3 is the flow chart of snmp management of embodiment of the present invention method;
Fig. 4 is the structure chart of Simple Network Management Protocol of embodiment of the present invention snmp management system.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
Step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable Sequence executes shown or described step.
Fig. 2 is the realization principle figure of Simple Network Management Protocol of embodiment of the present invention snmp management method, as shown in Fig. 2, The details of snmp protocol is packaged by the embodiment of the present invention based on web browser, using java language, need to only be mentioned The result of needs can be obtained for required parameter;
The embodiment of the present invention provides a parameter interface, and interface receives accordingly by http request or in a manner of calling directly Then parameter is initialized according to parameter, then communicated with target machine, the shape gone here and there after the data needed with JSON Formula returned data, is presented on the page.
It specifically includes: in the SNMP entity (SnmpParmEntity), SNMP parameter initialization in the input of SNMP parameter The SNMP mode (SnmpMethod) in result after SNMP engine (SnmpEngine), return encapsulation.
Fig. 3 is the flow chart of Simple Network Management Protocol of embodiment of the present invention snmp management method, as shown in figure 3, this hair The method of bright embodiment specifically includes the following steps:
Step 301: the SNMP parameter of input is received by preset snmp management WEB page, the SNMP parameter is used for Determine the target machine for needing to communicate;
The snmp management WEB page is the browser interface being pre-designed, and administrative staff are logged in simultaneously by the WEB page Carry out snmp management.The SNMP parameter that administrative staff are inputted by the WEB page is, for example, the ID of the parameter, including target machine The identification number ID (Identity) of device can also include the ID that obtain data.Which target machine is namely managed if necessary Device is it is necessary to knowing the corresponding ID of this machine;Which data is obtained it is necessary to know the corresponding ID of these data.
Step 302:SNMP parameter interface receives the SNMP parameter;
The wherein SNMP parameter interface is that parameter needed for being provided by Simple Network Management Protocol is sent to corresponding mesh Make the interface of target machine returned data on mark machine.And then data are returned into preceding end page with the displayable format of browser On face, it is made into visual result and is shown.
Optionally, the SNMP parameter interface reception SNMP parameter includes:
The interface receives the SNMP parameter in a manner of http request.
Optionally, the SNMP parameter interface receives the SNMP parameter further include:
The interface receives the SNMP parameter in a manner of calling directly.
Step 303: being communicated by the SNMP parameter interface with the target machine, obtain the target machine and ring The data answered;
Specifically, before the interface is communicated with the target machine, also to be passed through at the beginning of parameter according to the parameter Beginningization module is initialized, such as setting password etc., then carries out communication acquisition by communication module and the target machine The data needed, such as these data include the index that the SNMP such as hardware index, the sensor temperature for needing to obtain are supported.
Step 304: the data of target machine response being handled, converting the data to WEB page can The format of display, and be shown in the snmp management WEB page.
Specifically, the data are carried out processing conversion, are gone here and there with JSON by response data processing module, i.e. web browser Form returned data, data are presented on the page.
Wherein, JSON is scripting language JavaScript object representation (JavaScript Object Notation), Data object is described using JavaScript syntax.JSON is the grammer of storage and exchange of texts information.
It should be noted that the present invention is not limited to JSON string, with no restrictions to the form of returned data.
Snmp management system of the embodiment of the present invention obtains server state and accuses to related by incorporating server management system Load, disk I/O, TCP connection of alert information, the utilization rate of title, memory and CPU including server and server etc. are in detail Thin information.
Further, the method also includes: snmp management system incorporates other by program code as a module System.
Such as: snmp management system of the embodiment of the present invention is used for and next generation network (Next Generation Network, NGN) in other systems carry out code fusion.
When using snmp management system access other systems of the embodiment of the present invention, merged by code so that complete Web Exploitation only needs a kind of a set of code logic of language to realize, writes to break existing snmp management system with other systems point Thus the working efficiency of system is greatly improved in the limitation of code, effectively promote code readability and maintenance convenience.
In the embodiment of the present invention, system can be remotely accessed, and incorporate existing server management system, directly serve in clothes Device state of being engaged in business relevant to alarm;Therefore, the embodiment of the present invention constructs one and can be merged with other systems Snmp management system.
Fig. 4 is the structure chart of Simple Network Management Protocol of embodiment of the present invention snmp management system, as shown in figure 4, this hair A kind of snmp management system that bright embodiment provides is a kind of snmp management system based on web browser.
The system is broadly divided into back-end system module and front end page operation module two large divisions;
System is made of parameter model module, parameter initialization module, SNMP communication module and response data processing module;
Transmission is clicked after inputting SNMP relevant parameter in front end page, system receives corresponding ginseng in a manner of http request Number, is then initialized according to parameter, then communicated with target machine, the form gone here and there after the data needed with JSON The page is returned data to, data are shown by the page;
Specifically, a kind of snmp management system provided in an embodiment of the present invention, comprising:
Input module 401, for receiving input by preset Simple Network Management Protocol snmp management WEB page SNMP parameter, the target machine that the SNMP parameter is communicated for determining needs;
Receiving module 402 receives the SNMP parameter for SNMP parameter interface;
It obtains module 403 and obtains the mesh for being communicated by the SNMP parameter interface with the target machine Mark the data of machine response;
Processing module 404, the data for responding to the target machine are handled, and convert the data to WEB The format that the page can be shown, and be shown in the snmp management WEB page.
Optionally, the receiving module 402 is used for:
The interface receives the SNMP parameter in a manner of http request.
Optionally, the receiving module 402 is also used to:
The interface receives the SNMP parameter in a manner of calling directly.
Optionally, the processing module 404 is used for:
The data that will acquire are processed into the form of JSON string.
Further, the system also includes:
Snmp management system incorporates other systems by program code as a module.
The embodiment of the invention also provides a kind of computer equipments, including memory, processor and storage are on a memory And the computer program that can be run on a processor, wherein the processor realizes letter as described above when executing described program The step of single Network Management Protocols SNMP management method.
In conclusion the embodiment of the present invention is defeated by the reception of preset Simple Network Management Protocol snmp management WEB page The SNMP parameter entered, the target machine that the SNMP parameter is communicated for determining needs;SNMP parameter interface receives the SNMP Parameter;It is communicated by the SNMP parameter interface with the target machine, obtains the data of the target machine response;It is right The data of the target machine response are handled, and convert the data to the format that WEB page can be shown, and be shown in In the snmp management WEB page.The system of the embodiment of the present invention can remotely access, and carry out equipment pipe by remote access Reason, directly serves in server state business relevant to alarm.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

1. a kind of Simple Network Management Protocol snmp management method characterized by comprising
The SNMP parameter of input is received by preset snmp management WEB page, the SNMP parameter needs to communicate for determination Target machine;
SNMP parameter interface receives the SNMP parameter;
It is communicated by the SNMP parameter interface with the target machine, obtains the data of the target machine response;
The data of target machine response are handled, the format that WEB page can be shown is converted the data to, and It is shown in the snmp management WEB page.
2. snmp management method according to claim 1, which is characterized in that the SNMP parameter interface receives the SNMP Parameter includes:
The interface receives the SNMP parameter in a manner of http request.
3. snmp management method according to claim 1, which is characterized in that the SNMP parameter interface receives the SNMP Parameter further include:
The interface receives the SNMP parameter in a manner of calling directly.
4. snmp management method according to claim 1, which is characterized in that the target machine response of described pair of acquisition The needs data carry out processing include:
The data that will acquire are processed into the form of JSON string.
5. a kind of Simple Network Management Protocol snmp management system characterized by comprising
Input module, for receiving the SNMP parameter of input by preset Simple Network Management Protocol snmp management WEB page, The target machine that the SNMP parameter is communicated for determining needs;
Receiving module receives the SNMP parameter for SNMP parameter interface;
It obtains module and obtains the target machine for being communicated by the SNMP parameter interface with the target machine The data of response;
Processing module, the data for responding to the target machine are handled, and converting the data to WEB page can The format of display, and be shown in the snmp management WEB page.
6. snmp management system according to claim 5, which is characterized in that the receiving module is used for:
The interface receives the SNMP parameter in a manner of http request.
7. snmp management system according to claim 5, which is characterized in that the receiving module is also used to:
The interface receives the SNMP parameter in a manner of calling directly.
8. snmp management system according to claim 5, which is characterized in that the processing module is used for:
The data that will acquire are processed into the form of JSON string.
9. according to the described in any item snmp management systems of claim 5-8, which is characterized in that further include:
Snmp management system incorporates other systems by program code as a module.
10. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor is realized according to any one of claims 1 to 4 when executing described program The step of Simple Network Management Protocol snmp management method.
CN201910570186.7A 2019-06-27 2019-06-27 A kind of snmp management method, system and computer equipment Pending CN110290004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910570186.7A CN110290004A (en) 2019-06-27 2019-06-27 A kind of snmp management method, system and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910570186.7A CN110290004A (en) 2019-06-27 2019-06-27 A kind of snmp management method, system and computer equipment

Publications (1)

Publication Number Publication Date
CN110290004A true CN110290004A (en) 2019-09-27

Family

ID=68019297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910570186.7A Pending CN110290004A (en) 2019-06-27 2019-06-27 A kind of snmp management method, system and computer equipment

Country Status (1)

Country Link
CN (1) CN110290004A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043361A (en) * 2006-06-16 2007-09-26 华为技术有限公司 Method and system for SNMP protocol based network management
CN101043379A (en) * 2007-03-22 2007-09-26 华为技术有限公司 Network management apparatus and network management method
CN101312404A (en) * 2007-05-24 2008-11-26 杭州华三通信技术有限公司 SNMP message processing method and apparatus
US20160216919A1 (en) * 2015-01-22 2016-07-28 Kyocera Document Solutions Inc. Centralized Service of a Model Support for Printing Devices
CN109120443A (en) * 2018-08-17 2019-01-01 郑州云海信息技术有限公司 A kind of management method and device of network attached storage NAS device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043361A (en) * 2006-06-16 2007-09-26 华为技术有限公司 Method and system for SNMP protocol based network management
CN101043379A (en) * 2007-03-22 2007-09-26 华为技术有限公司 Network management apparatus and network management method
CN101312404A (en) * 2007-05-24 2008-11-26 杭州华三通信技术有限公司 SNMP message processing method and apparatus
US20160216919A1 (en) * 2015-01-22 2016-07-28 Kyocera Document Solutions Inc. Centralized Service of a Model Support for Printing Devices
CN109120443A (en) * 2018-08-17 2019-01-01 郑州云海信息技术有限公司 A kind of management method and device of network attached storage NAS device

Similar Documents

Publication Publication Date Title
EP2943859B1 (en) System, method, and computer-readable medium for managing edge devices
CN111290763B (en) Event stream processing cluster manager
CN106355319A (en) Safety risk assessment system and method
CN108353090A (en) Edge intelligence platform and internet of things sensors streaming system
CN107250932A (en) Semantic situation in programmable logic controller (PLC)
Jeong et al. A scalable cloud-based cyberinfrastructure platform for bridge monitoring
US11163586B1 (en) Automated configuration of application program instance
US20140330899A1 (en) Data Infrastructure For Providing Interconnectivity Between Platforms, Devices, and Operating Systems
JP2008134906A (en) Business process definition generation method, device and program
Bielefeld Online performance anomaly detection for large-scale software systems
CN111797297B (en) Page data processing method and device, computer equipment and storage medium
CN110290004A (en) A kind of snmp management method, system and computer equipment
Traukina et al. Industrial Internet Application Development: Simplify IIoT development using the elasticity of Public Cloud and Native Cloud Services
Li et al. Design and implementation of integration architecture of ISO 11073 DIM with FHIR resources using CoAP
CN106407475A (en) Content screening method, device and server
CN111736539B (en) Monitoring data display method, device, system, server and storage medium
Shah Khusro et al. Unleashing sensor data on linked open data-the story so far
CN112564984A (en) Distributed safe operation and maintenance method of Internet of things based on big data
CN102289504B (en) Network-based monitoring information general inquiry software system and design method
Wahid et al. Digital twins: modelling languages comparison
Park et al. Design and implementation of scenario-based collaborative framework: XCREAM
Robu et al. Social Networking of Instrumentation--a Case Study in Telematics
Teixeira Using SensorThings API to enable a multi-platform IoT environment
Turc et al. Development Of Service Oriented Web-Based Scada Application
KR100495834B1 (en) The converting system for abstracting snmp operation into xml operation and the method therefor, and computer program product using the same

Legal Events

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

Application publication date: 20190927