A virtual proxy network management system based on SNMP protocol and a construction method thereof

By designing a virtual agent network management system based on the SNMP protocol, the problems of network management services relying on human-computer interaction and low automation were solved. It achieved efficient simulation of real business scenarios in the absence of equipment, meeting the needs of network management development and testing.

CN119299278BActive Publication Date: 2025-11-18THE 34TH RES INST OF CHINA ELECTRONICS TECH CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411369200.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-11-18
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

Existing SNMP network management services rely on human-computer interaction, have a low degree of automation, and cannot simulate real business scenarios without devices, resulting in low efficiency in network management development.

Method used

Design a virtual agent network management system based on the SNMP protocol, including a virtual agent service subsystem and a service adjustment service subsystem. Through configuration file module, database module, data object module, data processing module and service mapping module, it provides diverse simulated data to replace the MIB file in the device and realizes automated data processing and request mapping.

Benefits of technology

In the absence of equipment, it reduces human-computer interaction, increases automation, simulates real business scenarios, and meets the development and testing needs of SNMP network management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299278B_ABST
    Figure CN119299278B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of network management software, and particularly relates to a virtual proxy network management system based on an SNMP protocol and a construction method, comprising a virtual proxy service subsystem and a service adjustment service subsystem, the virtual proxy service subsystem comprises a configuration file module, a database module, a data object module, a data processing module and a service mapping module, the configuration file module indicates data characteristics of a current service, the database module is used for persisting all service data, replaces an MIB file in equipment and is used for proxy; the data object module receives data queried from the database module; the data processing module processes data in the database module and special service data processing; the service mapping module maps an SNMP request to a corresponding service, ensures that the request can obtain correct request data, the system can be used without equipment, less depends on human-computer interaction, simulates a real service scene and meets development and test requirements of the SNMP network management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network management software technology, and in particular to a virtual agent network management system based on the SNMP protocol and its construction method. Background Technology

[0002] Currently, almost all network communication devices have Simple Network Management Protocol (SNMP) network management functionality. An SNMP network management system consists of a Network Management Station (NMS) and a SNMP Agent running on the managed device. The SNMP Agent and the NMS communicate using the standard SNMP protocol. The SNMP network management system and its construction method can perform functions such as configuration management, performance management, and fault management for the managed device.

[0003] Generally, SNMP agents run on devices to manage device information and respond to network management requests. However, in actual development, there are often situations where there is a need for networking a large number of devices; network management developers cannot obtain usable devices in a short time; or the devices are too expensive for network management developers to learn how to use. How to conduct related business without devices has become an urgent technical problem to be solved. In "Design and Implementation of SNMP-based Network Management Agent Simulation Software," Wang Lide proposed an SNMP-based agent software for testing network management information in the absence of devices.

[0004] While the aforementioned research can test the SNMP information transmission and reception of network management systems without the need for equipment, the service relies heavily on human-computer interaction, has a low degree of automation, and cannot simulate real business scenarios. Summary of the Invention

[0005] The purpose of this invention is to provide a virtual agent network management system and its construction method based on the SNMP protocol, which aims to solve the problems of network management services relying on human-computer interaction, low automation, and inability to simulate real business scenarios.

[0006] To achieve the above objectives, in a first aspect, the present invention provides a virtual agent network management system based on the SNMP protocol, including a virtual agent service subsystem and a service adjustment service subsystem, wherein the virtual agent service subsystem and the service adjustment service subsystem are connected, and the virtual agent service subsystem includes a configuration file module, a database module, a data object module, a data processing module, and a service mapping module, wherein the configuration file module, the database module, the data object module, the data processing module, and the service mapping module are connected in sequence;

[0007] The business adjustment service subsystem is used to modify business parameters and provide diverse simulation data for SNMP network management.

[0008] The configuration file module is used to indicate the data characteristics of the current business;

[0009] The database module is used to persist all business data, replacing the MIB file in the device for use by the agent;

[0010] The data object module is used to receive data queried from the database module;

[0011] The data processing module is used to process the data in the database module and perform special business data processing.

[0012] The service mapping module is used to map SNMP requests to the corresponding services to ensure that the requests can obtain the correct request data.

[0013] The data features include table name, field name, field type, and OID information.

[0014] The business adjustment service subsystem includes a construction request service module, a business parameter configuration service module, and a response request module, which are connected sequentially.

[0015] The construction request service module is used to receive requests to modify business parameters and obtain modification requests;

[0016] The business parameter configuration service module modifies the business parameters based on the modification request, implements the parameter processing logic in this embodiment of the invention, and persists it to the database;

[0017] The response request module is used to inform the requester of the business configuration results.

[0018] Secondly, the present invention also provides a method for constructing a virtual agent network management system based on the SNMP protocol, applicable to the virtual agent network management system based on the SNMP protocol as described in the first aspect above, characterized by comprising the following steps:

[0019] The database module builds the database based on actual needs, and the configuration file module builds the configuration file based on actual needs.

[0020] The data object module is constructed based on the database and the actual needs. The data processing module completes data processing based on the actual needs and constructs a service mapping module based on the configuration file.

[0021] The request service is built by the request service module, the service is configured by the business parameters module to process the request based on the business parameters, and finally, the request response module responds to the request.

[0022] The data processing includes, but is not limited to, querying, modifying, and restricting data modification; it also includes join queries and modifications.

[0023] This invention discloses a virtual agent network management system based on the SNMP protocol. The service adjustment service subsystem modifies service parameters, providing diverse simulated data for SNMP network management. The virtual agent service module, running on a server or personal computer, provides agent services for SNMP network management. Specifically, the configuration file module indicates the data characteristics of the current service; the database module persists all service data, replacing the MIB file in the device for agent use; the data object module receives data queried from the database module; the data processing module processes the data in the database module and performs special service data processing; and the service mapping module maps SNMP requests to corresponding services, ensuring that requests receive correct request data. This system can operate without devices, with minimal reliance on human-computer interaction, and simulates real-world business scenarios, meeting the development and testing needs of SNMP network management. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a connection diagram of a virtual agent network management system based on the SNMP protocol provided by the present invention.

[0026] Figure 2 This is a flowchart of a virtual agent network management system construction method based on the SNMP protocol provided by the present invention.

[0027] Figure 3 This is a schematic diagram of the SNMP-based virtual agent system in this article.

[0028] Figure 4 This is a schematic diagram illustrating the service design framework in this article.

[0029] Figure 5 This is a schematic diagram of the database design in this article.

[0030] Figure 6This is a diagram illustrating the agent service's response to an SNMP request in this article.

[0031] Figure 7 This is a diagram illustrating the adjustments made to the agency service business in this article.

[0032] In the diagram: 1-Virtual Proxy Service Subsystem, 2-Business Adjustment Service Subsystem, 11-Configuration File Module, 12-Database Module, 13-Data Object Module, 14-Data Processing Module, 15-Service Mapping Module, 21-Build Request Service Module, 22-Business Parameter Configuration Service Module, 23-Response Request Module. Detailed Implementation

[0033] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0034] Please see Figure 1 In a first aspect, the present invention provides a virtual agent network management system based on the SNMP protocol, including a virtual agent service subsystem 1 and a service adjustment service subsystem 2, wherein the virtual agent service subsystem 1 and the service adjustment service subsystem 2 are connected. The virtual agent service subsystem 1 includes a configuration file module 11, a database module 12, a data object module 13, a data processing module 14, and a service mapping module 15, wherein the configuration file module 11, the database module 12, the data object module 13, the data processing module 14, and the service mapping module 15 are connected in sequence.

[0035] The business adjustment service subsystem 2 is used to modify business parameters and provide diverse simulation data for SNMP network management.

[0036] The configuration file module 11 is used to indicate the data characteristics of the current business;

[0037] The database module 12 is used to persist all business data, replacing the MIB file in the device for use by the agent;

[0038] The data object module 13 is used to receive data queried from the database module 12;

[0039] The data processing module 14 is used to process the data in the database module 12 and perform special business data processing;

[0040] The service mapping module 15 is used to map SNMP requests to the corresponding services to ensure that the requests can obtain the correct request data.

[0041] In this embodiment of the invention, the business adjustment service subsystem 2 is used to modify business parameters and provide diverse simulation data for SNMP network management; the virtual agent service module, running on a server or personal computer, provides agent services for SNMP network management. Specifically, the configuration file module 11 is used to indicate the data characteristics of the current business, the database module 12 is used to persist all business data, replacing the MIB file in the device for agent use, the data object module 13 receives data queried from the database module 12, the data processing module 14 is used to process the data in the database module 12 and special business data processing, and the service mapping module 15 is used to map SNMP requests to the corresponding services to ensure that the requests can obtain the correct request data. This system can simulate real business scenarios with less reliance on human-computer interaction without the need for devices, meeting the development and testing needs of SNMP network management.

[0042] Furthermore, the business adjustment service subsystem 2 includes a construction request service module 21, a business parameter configuration service module 22, and a response request module 23, which are connected in sequence.

[0043] The construction request service module 21 is used to receive requests to modify business parameters and obtain modification requests;

[0044] The business parameter configuration service module 22 modifies the business parameters based on the modification request, implements the parameter processing logic in this embodiment of the invention, and persists it to the database;

[0045] The response request module 23 is used to inform the requester of the business configuration result.

[0046] In this embodiment of the invention, the construction request service module 21 receives a request to modify business parameters and obtains a modification request; the business parameter configuration service module 22 modifies the business parameters based on the modification request, implements the parameter processing logic in this embodiment of the invention, and persists it to the database; the response request module 23 informs the requester of the business configuration result.

[0047] Please see Figures 2 to 7 Secondly, the present invention also provides a method for constructing a virtual agent network management system based on the SNMP protocol, applied to the virtual agent network management system based on the SNMP protocol as described in the first aspect above, characterized by comprising the following steps:

[0048] S01 Database module 12 builds a database based on actual needs, and configuration file module 11 builds a configuration file based on actual needs;

[0049] In this embodiment of the invention, unlike real business operations, a proxy service runs on the device and manages the data within the device. The proxy service is a virtual service that runs on a personal computer or server and stores device information through the database module 12 to simulate real device data. This simulated data stored in the database is used for network management development and testing. The configuration file module 11 is used to store the data characteristics of the current business, characterized by information such as the table name, field name, field type, and OID of the business data, which are used by the proxy service to verify whether an SNMP request belongs to the current business and to encapsulate the data information.

[0050] S02 constructs the data object module 13 based on the database and the actual needs, the data processing module 14 completes data processing based on the actual needs, and constructs the service mapping module 15 based on the configuration file;

[0051] In this embodiment of the invention, the data object module 13 is used to receive data objects from the database. The data processing module 14's data processing process includes, but is not limited to, querying, modifying, and restricting data modification. The data processing also includes join queries and modifications. It performs corresponding data processing according to business requirements. The configuration file refers to the configuration file in step S1, and service mapping refers to mapping the received SNMP request to the corresponding data processing based on the carried OID information.

[0052] S03 constructs a request service through the request service construction module 21, then constructs a parameter processing service based on the business through the business parameter configuration service module 22, and finally responds to the request through the response request module 23.

[0053] In this embodiment of the invention, taking the construction of an HTTP request by a web browser as an example, a web service is constructed to receive requests to modify parameters. CRUD operations are performed on the data in the database according to actual needs. The HTTP request and response data are in JSON format.

[0054] To better understand this technical solution, the following embodiments are provided for further explanation:

[0055] Example 1

[0056] This embodiment provides a technical solution: a design of an SNMP-based agent service, including the following steps:

[0057] S1: Build the database;

[0058] S2: Build the configuration file;

[0059] S3: Construct data objects;

[0060] S4: Complete the data processing process;

[0061] S5: Build the service mapping module 15.

[0062] In step S1, a database table `deviceAttribute` is constructed based on known information, specifying the type and size of each field. See details below. Figure 4 Database design.

[0063] In step S2, the example uses JSON format to construct the configuration file. The configuration file design should provide table names and table OID information. The table name is used to retrieve the OID information of the current group, and the table OID is used to determine whether the current service request is legitimate. The `deviceAttribute` table should contain five attributes: `name`, `serialNo`, `type`, `manufacture`, and `comment`, consistent with the fields in the database design, and specify the OID information, field name, field type, and whether the field is read-only for each field. The field OID information is used to determine whether the requested field OID is legitimate; the field name and field type are used for data decomposition and encapsulation; and whether the field is read-only is used to determine whether the current service's request for the field is legitimate.

[0064] In step S3, the data object is used to receive data objects from the database. The type and name of the data are known through the configuration file. A DeviceAttribute object is constructed, which contains five variables: name, serialNo, type, manufacturer, and comment. The variable types are specified. The name and type of the data object should be consistent with the name and type in the database.

[0065] In step S4, the data processing includes, but is not limited to, adding, deleting, modifying, querying, and joining data in the database. It also includes data initialization and data processing triggered during use.

[0066] In step S5, service mapping refers to mapping the received SNMP request to the corresponding data processing service based on the OID information it carries. Data processing involves constructing the data processing service in step S4. Upon receiving an SNMP request, the request data is first parsed to obtain the OID information carried in the request; then, the service requested is determined based on the OID and the service mapping table, and the corresponding data processing service is entered; finally, the obtained data is encapsulated and the SNMP request is responded to.

[0067] After the service is built, the SNMP agent service process is as follows: Figure 5As shown. After starting the virtual agent service, the network management system sends an SNMP request. The virtual service then captures the SNMP request and verifies its validity according to the configuration file. If the verification fails, it responds with an error SNMP message. If the verification is successful, it finds the corresponding service using the service mapping function in step S5, processes the data using the data processing service in step S4, and finally encapsulates the data and responds with an SNMP message.

[0068] To address the needs of different business operations, this invention provides a function for flexibly modifying business parameters. The process for modifying business parameters is described below. Figure 6 Schematic diagram of proxy service business adjustment. The network management system sends HTTP requests based on business parameter configurations. The service receives the corresponding requests, distributes them to different services according to the request parameters, and finally adjusts the business data, encapsulates the data, and responds to the HTTP request.

[0069] S6: Build the request service;

[0070] S7: Build parameter processing services based on business requirements;

[0071] S8: Response to the request.

[0072] In step S6, taking the construction of an HTTP request by a web browser as an example, a web service is constructed to receive requests to modify parameters.

[0073] In step S7, add, delete, modify, and query operations are performed on the data in the database according to the requirements.

[0074] In step S8, a response is generated to the HTTP request, and the response data is encapsulated in JSON format. The response data includes the status code, response information, and response data.

[0075] The above description is merely a preferred embodiment of the virtual agent network management system and construction method based on the SNMP protocol of the present invention. Of course, it should not be construed as limiting the scope of the present invention. Those skilled in the art can understand that implementing all or part of the above embodiments and making equivalent changes in accordance with the claims of the present invention still fall within the scope of the invention.

Claims

1. A virtual agent network management system based on the SNMP protocol, characterized in that, It includes a virtual proxy service subsystem and a business adjustment service subsystem, which are connected. The virtual proxy service subsystem includes a configuration file module, a database module, a data object module, a data processing module, and a service mapping module, which are connected in sequence. The business adjustment service subsystem is used to modify business parameters and provide diverse simulation data for SNMP network management. The configuration file module is used to indicate the data characteristics of the current business; The database module is used to persist all business data, replacing the MIB file in the device for use by the agent; The data object module is used to receive data queried from the database module; The data processing module is used to process the data in the database module and perform special business data processing. The service mapping module is used to map SNMP requests to the corresponding services to ensure that the requests can obtain the correct request data.

2. The virtual agent network management system based on the SNMP protocol as described in claim 1, characterized in that, The data characteristics include table name, field name, field type, and OID information.

3. The virtual agent network management system based on the SNMP protocol as described in claim 1, characterized in that, The business adjustment service subsystem includes a construction request service module, a business parameter configuration service module, and a response request module, which are connected sequentially. The construction request service module is used to receive requests to modify business parameters and obtain modification requests; The business parameter configuration service module modifies the business parameters based on the modification request, implements the parameter processing logic in this embodiment of the invention, and persists it to the database; The response request module is used to inform the requester of the business configuration results.

4. A method for constructing a virtual agent network management system based on the SNMP protocol, applied to the virtual agent network management system based on the SNMP protocol as described in any one of claims 1-3, characterized in that, Includes the following steps: The database module builds the database based on actual needs, and the configuration file module builds the configuration file based on actual needs. The data object module is constructed based on the database and the actual needs. The data processing module completes data processing based on the actual needs and constructs a service mapping module based on the configuration file. The request service is built by the request service module, the service is configured by the business parameters module to process the request based on the business parameters, and finally, the request response module responds to the request.

5. The method for constructing a virtual agent network management system based on the SNMP protocol as described in claim 4, characterized in that, The data processing includes, but is not limited to, querying, modifying, and restricting data modification; it also includes join queries and modifications.

Citation Information

Patent Citations

  • Dynamic snmp network device

    JP2003318898A

  • Open interface management of virtual agent nodes

    US20200293349A1