Virtual proxy network management system based on SNMP (Simple Network Management Protocol) and construction method

By designing a virtual proxy network management system based on SNMP protocol, using the virtual proxy service subsystem and business adjustment service subsystem, simulating real business scenarios, solving the problem of automated testing of SNMP network management system without equipment, and achieving high degree of automation network management development and testing.

CN119299278AActive Publication Date: 2025-01-10THE 34TH RESEARCH INSTITUTE OF CETC
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing SNMP network management system is difficult to perform automated testing without equipment and cannot simulate real business scenarios, resulting in the service relying on human-computer interaction and low degree of automation.

Method used

Design a virtual proxy network management system based on SNMP protocol, including a virtual proxy service subsystem and a service adjustment service subsystem, and provide diversified simulated data through configuration file modules, database modules, data object modules, data processing modules and service mapping modules. , simulate real business scenarios and run on a server or personal computer, replaces MIB files in the device, and reduces human-computer interaction.

Benefits of technology

It realizes that less reliance on human-computer interaction is achieved without equipment, can simulate real business scenarios, meet the development and testing needs of SNMP network management, and improve the degree of automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299278A_ABST
    Figure CN119299278A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of network management software, in particular to a virtual proxy network management system based on an SNMP protocol and a construction method.The virtual proxy network management system comprises a virtual proxy service subsystem and a business adjustment service subsystem, and 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 the data characteristics of the current service, and the database module is used for persisting all service data and replacing an MIB file in equipment for an agent to use; the data object module receives data queried from the database module; the data processing module is used for processing data in the database module and special business data; the service mapping module maps the SNMP request to the corresponding service to ensure that the request can obtain correct request data, and the system can less depend on man-machine interaction under the condition that no equipment exists, simulate a real service scene and meet the development and test requirements of SNMP network management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network management software, and in particular to a virtual agent network management system based on SNMP protocol and a construction method thereof. Background Art

[0002] At present, almost all network communication equipment has the Simple Network Management Protocol SNMP, that is, Simple Network Management Protocol network management function. The SNMP network management system consists of a network management workstation NMS, that is, Network Management Station and a network management agent SNMPAgent running on the managed equipment. The SNMPAgent and NMS communicate through the standard SNMP protocol. The SNMP network management system and its construction method can complete functions such as configuration management, performance management and fault management of the managed equipment.

[0003] Generally speaking, SNMP agents run in devices to manage device information and respond to network management requests. However, in actual development, it is inevitable to encounter the need to network a large number of devices; network management developers cannot obtain available devices in a short time; the equipment is expensive and cannot be learned and used by network management developers, etc. How to carry out related business without equipment has become a technical problem that needs to be solved urgently. Wang Lide proposed an SNMP-based agent software in "Design and Implementation of SNMP-Based Network Management Agent Simulation Software" to test network management information without equipment.

[0004] Although the above research can complete the test of SNMP information sending and receiving without equipment, the service relies on a lot of human-computer interaction, has a low degree of automation, and cannot simulate real business scenarios. Summary of the invention

[0005] The purpose of the present invention is to provide a virtual agent network management system based on SNMP protocol and a construction method, aiming to solve the problem that network management service relies on human-computer interaction, has a low degree of automation and cannot simulate real business scenarios.

[0006] To achieve the above-mentioned purpose, in a first aspect, the present invention provides a virtual agent network management system based on the SNMP protocol, comprising a virtual agent service subsystem and a business adjustment service subsystem, wherein the virtual agent service subsystem and the business adjustment service subsystem are connected, and the virtual agent service subsystem comprises 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 diversified simulation data for the 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 the data queried from the database module;

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

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

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

[0014] Wherein, the business adjustment service subsystem includes a construction request service module, a business parameter configuration service module and a response request module, and the construction request service module, the business parameter configuration service module and the response request module are connected in sequence;

[0015] The construction request service module is used to receive a request to modify a service parameter and obtain a modification request;

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

[0017] The request response module is used to inform the requesting party of the service configuration result.

[0018] In a second aspect, the present invention further provides a method for constructing a virtual agent network management system based on the SNMP protocol, which is applied to the virtual agent network management system based on the SNMP protocol as described in the first aspect above, and is characterized in that it includes 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 demand, the data processing module completes data processing based on the actual demand, and the service mapping module is constructed based on the configuration file;

[0021] The request service is constructed by constructing a request service module, and then the service is processed based on the business construction parameters through the business parameter configuration service module. Finally, the response request module responds to the request.

[0022] The data processing includes but is not limited to querying, modifying and limiting data modification, and also includes querying and modifying joint tables.

[0023] The present invention discloses a virtual agent network management system based on the SNMP protocol, wherein the service adjustment service subsystem is used to modify service parameters and provide diversified simulation data for the SNMP network management; the virtual agent service module runs in a server or a personal computer and provides agent services for the SNMP network management. Specifically, the configuration file module is used to indicate the data characteristics of the current service, the database module is used to persist all service data and replace the MIB file in the device for use by the agent, the data object module receives the data queried from the database module, the data processing module is used to process the data in the database module and special service data processing, and the service mapping module is used to map the SNMP request to the corresponding service to ensure that the request can obtain the correct request data. The system can be less dependent on human-computer interaction without equipment, and simulates real service scenarios to meet the development and testing requirements of the SNMP network management. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 The invention provides a connection diagram of a virtual agent network management system based on the SNMP protocol.

[0026] Figure 2 The invention provides a flow chart of a method for constructing a virtual agent network management system based on the SNMP protocol.

[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 of 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 schematic diagram of the agent service responding to SNMP requests in this article.

[0031] Figure 7 This is a schematic diagram of the agency service business adjustment in this article.

[0032] In the figure: 1-virtual agent 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 DESCRIPTION

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

[0034] See also Figure 1 In a first aspect, the present invention provides a virtual agent network management system based on the SNMP protocol, comprising a virtual agent service subsystem 1 and a business adjustment service subsystem 2, wherein the virtual agent service subsystem 1 is connected to the business adjustment service subsystem 2, and the virtual agent service subsystem 1 comprises 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 diversified simulation data for the 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 the 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 special business data processing;

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

[0041] In an embodiment of the present invention, the business adjustment service subsystem 2 is used to modify business parameters and provide diversified simulation data for the SNMP network manager; the virtual agent service module runs in a server or a personal computer to provide agent services for the SNMP network manager. 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, replace the MIB file in the device, for use by the agent, the data object module 13 receives the 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, the service mapping module 15 is used to map the SNMP request to the corresponding service to ensure that the request can obtain the correct request data. The system can rely less on human-computer interaction in the absence of equipment, and simulate real business scenarios to meet the development and testing needs of the SNMP network manager.

[0042] Further, 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, and the construction request service module 21, the business parameter configuration service module 22 and the response request module 23 are connected in sequence;

[0043] The construction request service module 21 is used to receive a request to modify a service parameter and obtain a modification request;

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

[0045] The request response module 23 is used to inform the requesting party of the service configuration result.

[0046] In an embodiment of the present invention, the construction request service module 21 receives a request for modifying 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 an embodiment of the present invention, and persists it in a database; the response request module 23 informs the requesting party of the business configuration result.

[0047] See also Figures 2 to 7 In a second aspect, the present invention further provides a method for constructing a virtual agent network management system based on the SNMP protocol, which is applied to the virtual agent network management system based on the SNMP protocol as described in the first aspect above, and is characterized in that it includes 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 the embodiment of the present invention, unlike the real business, the proxy service is run in the device and manages the data in the device. The proxy service is a virtual service that runs in a personal computer or server, and saves device information through the database module 12 to simulate real device data. These simulated data saved in the database are used for network management development and testing. The configuration file module 11 is used to save the data characteristics of the current business, characterized in that the table name, field name, field type and OID of the business data are used by the proxy service to verify whether the SNMP request belongs to the current business and encapsulate the data information.

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

[0051] In the embodiment of the present invention, the data object module 13 is used to receive the data object of the database, and the data processing process of the data processing module 14 includes but is not limited to querying, modifying and limiting data modification, and the data processing also includes joint table query and modification. And the corresponding data processing is performed according to the business requirements. The configuration file refers to the configuration file in step S1, and the service mapping refers to mapping the request to the corresponding data processing according to the OID information carried after the SNMP request is received.

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

[0053] In the embodiment of the present invention, a web browser constructs an HTTP request as an example to construct a web service for receiving a request to modify parameters. Add, delete, modify, and query data in the database according to actual needs. The HTTP request response data adopts the JSON format.

[0054] In order to better understand the present technical solution, the following embodiments are provided for further explanation:

[0055] Embodiment 1

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

[0057] S1: build database;

[0058] S2: build configuration file;

[0059] S3: construct data object;

[0060] S4: Complete the data processing process;

[0061] S5: Construct service mapping module 15.

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

[0063] In step S2, the case uses the JSON format to construct a configuration file. The configuration file design should provide table name and table OID information. The table name is used to obtain the OID information of the current group, and the table OID is used to determine whether the current request service is a legal request. The deviceAttribute table should contain five attribute information: name, serialNo, type, manufacturer, and comment, which should be consistent with the fields in the database design, and indicate 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 legal. The field name and field type are used for data disassembly and encapsulation. Whether the field is read-only is used to determine whether the current service request for the field is legal.

[0064] In step S3, the data object is used to receive the data object of the database. The type and name of the data are known through the configuration file, and a DeviceAttribute object is constructed, which includes five variables: name, serialNo, type, manufacturer and comment, and the variable type is 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 process includes but is not limited to adding, deleting, modifying, checking and linking table processing of data in the database, and also includes data initialization processing and data processing triggered during use.

[0066] In step S5, service mapping refers to mapping the received SNMP request to the corresponding data processing according to the carried OID information, and the data processing is to build the data processing service in step S4. When the SNMP request is received, the request data is first parsed to obtain the OID information carried in the request; then the currently requested service is determined according to the OID and the service mapping table, and then the corresponding data processing service is entered; finally, the obtained data is encapsulated and responded to the SNMP request.

[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 manager sends an SNMP request, and then the virtual service captures the SNMP request and verifies whether the request is reasonable according to the configuration file. If the verification fails, it responds with an error SNMP message. After the verification is successful, the corresponding service is found according to the service mapping function in step S5, and then the data is processed according to the data processing service in step S4, and finally the data is encapsulated and the SNMP message is responded.

[0068] In order to meet the needs of different services, the present invention provides a function of flexibly modifying service parameters. Figure 6 Schematic diagram of proxy service business adjustment. The network management sends HTTP requests through business parameter configuration. The service receives the corresponding request and distributes it to different services according to the request parameters. Finally, the business data is adjusted, the data is encapsulated and the HTTP request is responded.

[0069] S6: build request service;

[0070] S7: Processing services according to business construction parameters;

[0071] S8: Response 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 a request for modifying parameters.

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

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

[0075] The above disclosure is only a preferred embodiment of a virtual agent network management system and construction method based on the SNMP protocol of the present invention. Of course, this cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A virtual agent network management system based on SNMP protocol, characterized in that: It includes a virtual proxy service subsystem and a business adjustment service subsystem, the virtual proxy service subsystem and the business adjustment service subsystem 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, the configuration file module, the database module, the data object module, the data processing module and the service mapping module are connected in sequence; The business adjustment service subsystem is used to modify business parameters and provide diversified simulation data for the 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 the data queried from the database module; The data processing module is used to process the data in the database module and special business data processing; The service mapping module is used to map the SNMP request to the corresponding service to ensure that the request can obtain the correct request data.

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

3. The virtual agent network management system based on SNMP protocol as claimed 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, and the construction request service module, the business parameter configuration service module and the response request module are connected in sequence; The construction request service module is used to receive a request to modify a service parameter and obtain a modification request; The business parameter configuration service module modifies the business parameters based on the modification request, implements the parameter processing logic in the embodiment of the present invention, and persists it in the database; The request response module is used to inform the requesting party of the service configuration result.

4. A method for constructing a virtual agent network management system based on the SNMP protocol, applied to a virtual agent network management system based on the SNMP protocol as claimed in any one of claims 1 to 3, characterized in that: The following steps are involved: 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 demand, the data processing module completes data processing based on the actual demand, and the service mapping module is constructed based on the configuration file; The request service is constructed by constructing a request service module, and then the service is processed based on the business construction parameters through the business parameter configuration service module. Finally, the response request module responds to the request.

5. The method for constructing a virtual agent network management based on the SNMP protocol as claimed in claim 4, characterized in that: The data processing includes but is not limited to querying, modifying and limiting data modification of data, and the data processing also includes querying and modifying joint tables.

Citation Information

Patent Citations

  • Dynamic snmp network device

    JP2003318898A

  • Virtual device network system

    KR1020160115037A

  • System and method for providing SNMP data for virtual networking devices

    US20080147833A1

  • Method and system for providing proxy service in an industrial system

    US20190297160A1

  • Open interface management of virtual agent nodes

    US20200293349A1