A method, system, device, medium and product for operation and maintenance of a heterogeneous network target range

By designing a dual-package management layer and a dual-proxy architecture layer, the automated operation and maintenance of heterogeneous network test ranges was achieved, solving the problem of high coupling between the test range platform and the targets, and realizing plug-and-play functionality for the targets and scalability of the system.

CN123185067APending Publication Date: 2026-11-27JIANGSU BOZHI SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611400667.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, the operation and maintenance of heterogeneous network test ranges requires manual configuration or deep binding to the test range platform, which cannot quickly adapt to changes in the scenario, resulting in high coupling and low adaptation efficiency.

Method used

The design adopts a dual-package management layer and a dual-proxy architecture layer. By obtaining target topology information, configuration packages and interface package databases are generated. Device agents and application agents are used to realize the automated configuration and data collection of target nodes, thereby reducing the coupling between the range platform and the target.

Benefits of technology

It achieves plug-and-play capability for targets, adapting to targets from multiple vendors, models, and protocols, reducing development workload and improving system scalability and operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185067A_ABST
    Figure CN123185067A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a heterogeneous network target range operation and maintenance method, system, device, medium and product. The method comprises: acquiring a target topology, and determining target packet data in a double packet management layer according to node information, node attributes and scene information of a target target node in the target topology; wherein the double packet management layer is provided with a configuration packet database and an interface packet database generated according to the node attributes, the node information and the scene information; determining a target agent in a double agent architecture layer according to the node attributes, and transmitting the target target node information and the target packet data to the target agent; wherein the double agent architecture layer is provided with a device agent and an application agent; transmitting the target packet data to the corresponding target target node in the heterogeneous target layer through the target agent to configure the target target node; and collecting data of the target target node according to the target packet data through the target agent to obtain operation and maintenance data, thereby realizing coupling between the target range platform and the target low code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network range management technology, and in particular to a method, system, equipment, medium and product for the operation and maintenance of heterogeneous network ranges. Background Technology

[0002] Cyber ​​ranges are core infrastructure supporting cybersecurity research, training exercises, equipment testing, and risk assessment. Essentially, a cyber range is a highly realistic, constructible, and measurable virtualized mapping of real cyberspace.

[0003] In the current network range environment, the operation and maintenance of heterogeneous network ranges mainly relies on manual configuration methods, such as setting target parameters via command line or application programming interface (API), which depends on human experience. Alternatively, parameter configuration can be done in batches using scripts, but when the target manufacturer or model changes, custom development is required. Using a range platform for target-driven adaptation requires deep binding between the target and the platform; each new target necessitates modification of the platform's underlying code, making it difficult to quickly adapt to the frequently changing needs of the range environment. Summary of the Invention

[0004] This invention provides a method, system, equipment, medium, and product for the operation and maintenance of heterogeneous network test ranges, so as to reduce the coupling between the test range platform and the target and achieve plug-and-play adaptability for the target.

[0005] According to one aspect of the present invention, a method for operating and maintaining a heterogeneous network range is provided, the method comprising: Obtain the target topology, and determine the target packet data in the dual-packet management layer based on the node information, node attributes, and scene information of the target nodes in the target topology; The dual-package management layer includes a configuration package database and an interface package database generated based on node attributes, node information, and scenario information. The target proxy is determined in the dual-proxy architecture layer based on the node attributes, and the target node information and the target packet data are transmitted to the target proxy; wherein, the dual-proxy architecture layer is configured with a device proxy and an application proxy; The target packet data is transmitted to the corresponding target node in the heterogeneous target layer through the target proxy for target node configuration. The target agent collects data from the target target node based on the target packet data to obtain operation and maintenance data.

[0006] According to another aspect of the present invention, an operation and maintenance system for a heterogeneous network test range is provided. The system includes: a test range platform layer, a dual-packet management layer, a dual-proxy architecture layer, and a heterogeneous target layer; the dual-packet management layer is provided with a configuration package database and an interface package database generated based on node attributes, node information, and scenario information; the dual-proxy architecture layer is provided with a device proxy and an application proxy; wherein: The target platform layer is used to acquire the target topology and determine the target packet data in the dual packet management layer based on the node information, node attributes, and scene information of the target target nodes in the target topology; and determine the target proxy in the dual proxy architecture layer based on the node attributes, and transmit the target target node information and the target packet data to the target proxy. The target proxy in the dual-proxy architecture layer is used to transmit the target packet data to the corresponding target node in the heterogeneous target layer; The target nodes in the heterogeneous target layer are used to configure the target nodes according to the target packet data; The target proxy in the dual-proxy architecture layer is also used to collect data from the target target node based on the target packet data; and to transmit the data collection results to the target range platform layer to obtain operation and maintenance data.

[0007] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and a memory communicatively connected to said at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the operation and maintenance method for the heterogeneous network test range according to any embodiment of the present invention.

[0008] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being used to cause a processor to execute and implement the operation and maintenance method of the heterogeneous network range according to any embodiment of the present invention.

[0009] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the operation and maintenance method for heterogeneous network test ranges as described in any embodiment of the present invention.

[0010] The technical solution of this invention obtains the target topology and determines the target packet data in the dual-packet management layer based on the node information, node attributes, and scenario information of the target nodes in the target topology. The dual-packet management layer includes a configuration packet database and an interface packet database generated based on node attributes, node information, and scenario information. A target proxy is determined in the dual-proxy architecture layer based on node attributes, and the target node information and target packet data are transmitted to the target proxy. The dual-proxy architecture layer includes a device proxy and an application proxy. The target packet data is transmitted to the corresponding target node in the heterogeneous target layer through the target proxy for target node configuration. The target proxy collects data from the target node based on the target packet data to obtain operation and maintenance data. This solves the operation and maintenance problem of heterogeneous network test ranges. The dual-packet management layer and the dual-proxy architecture layer reduce the tight coupling between the test range platform and the target, achieving plug-and-play target adaptation and enabling adaptation to complex environments with multiple vendors, models, and protocols of targets.

[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.

[0013] Figure 1 This is a flowchart of an operation and maintenance method for a heterogeneous network test range according to Embodiment 1 of the present invention; Figure 2 This is a flowchart of a method for operating and maintaining network devices in a heterogeneous network range according to Embodiment 2 of the present invention; Figure 3 This is a connection diagram for device proxy interaction according to Embodiment 2 of the present invention; Figure 4 This is a flowchart of an operation and maintenance method for application services in a heterogeneous network test range according to Embodiment 3 of the present invention; Figure 5 This is a schematic diagram of a north-south interface connection during application proxy interaction according to Embodiment 3 of the present invention; Figure 6 This is a flowchart of an operation and maintenance method for a heterogeneous network test range according to Embodiment 3 of the present invention; Figure 7This is a schematic diagram of the operation and maintenance system of a heterogeneous network range according to Embodiment 4 of the present invention; Figure 8 This is a schematic diagram of the structure of an electronic device that implements the operation and maintenance method of a heterogeneous network test range according to an embodiment of the present invention. Detailed Implementation

[0014] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0015] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0016] Example 1 Figure 1 This is a flowchart illustrating an operation and maintenance method for a heterogeneous network target range according to Embodiment 1 of the present invention. This embodiment is applicable to situations where multiple types and models of targets need to be adapted in a heterogeneous network target range. The method can be executed by an operation and maintenance system for the heterogeneous network target range, which can be implemented in hardware and / or software. This system can be configured in electronic devices such as computers, servers, or controllers. Figure 1 As shown, the method includes: Step 110: Obtain the target topology, and determine the target packet data in the dual-packet management layer based on the node information, node attributes, and scene information of the target nodes in the target topology.

[0017] In this context, target topology refers to the node connections and network hierarchy layout in a network testbed that simulates the architecture of a real business system. It provides both attackers and defenders with a repeatable and measurable "target network environment" to verify attack paths and test the effectiveness of defense strategies. Target nodes are virtual or physical computing instances in the network testbed that carry specific business services, vulnerable environments, or critical data assets. They are the actual endpoints that are probed, attacked, or protected in attack and defense confrontations. Target nodes can include routers, firewalls, databases, intrusion detection systems (IDS), or other services. In this embodiment of the invention, testbed operation and maintenance are performed by collecting data from each target node. This embodiment of the invention does not involve the analysis and processing of testbed operation and maintenance data. Node information of target nodes can be information used to identify node identity and access methods. Node attributes can be the type of target, such as network device, application service, or virtual terminal. Scenario information can be the application scenario of the target in the target topology.

[0018] The dual-package management layer includes a configuration package database and an interface package database, generated based on node attributes, node information, and scenario information. Both databases are configured according to the target's attributes and information within common application scenarios. The configuration package database contains multiple configuration package data sets. These sets can contain configuration and collection items for the target specific to the application scenario, as well as attribute information for these items. For example, configuration package data can be self-describing structured data, including parameter definitions, default values, validation rules, and collection attribute mappings. This data can be automatically parsed and distributed by the target platform. The interface package database contains multiple interface package data sets. These can include southbound interfaces (those required for interaction with the target) and northbound interfaces (those interacting with the target platform). Interface package data can include the definition, authentication method, and data conversion logic for southbound interfaces. It can also include protocol adaptations for northbound interfaces, such as standardized mappings, parsing rules, and reporting formats. For example, after binding the interface packet data with the application service in the target, the application agent can automatically complete the registration, heartbeat maintenance and standardized data transmission to the target platform.

[0019] The configuration package data and interface package data bound to different targets may differ. Specifically, based on the target node's node information, node attributes, and scenario information, the configuration package data can be determined as the target package data in the dual-package management layer, or both configuration package data and interface package data can be determined as the target package data in the dual-package management layer. When adding targets of different types or models, only the configuration package database, or both the configuration package database and the interface package database, need to be added in the dual-package management layer, without adjusting other aspects, achieving plug-and-play use of target package data; in the operation and maintenance of heterogeneous network test ranges, plug-in expansion of targets can be realized, suitable for complex test range environments.

[0020] Step 120: Determine the target proxy in the dual-proxy architecture layer based on the node attributes, and transmit the target node information and target packet data to the target proxy.

[0021] The dual-proxy architecture layer includes device and application proxies. Depending on the target's node attributes, either a device or application proxy can be selected within this layer. The device and application proxies can be pre-packaged for parsing target packet data and collecting target data.

[0022] For example, device agents can standardize and encapsulate configuration commands, collection commands, and results for a large number of network devices from different manufacturers and models through functions such as protocol adaptation, concurrent execution, data parsing, and output standardization. Device agents can establish a layered object model of network device information, such as host-level configuration, group-level configuration, and global-level configuration. Host-level configuration focuses on the personalized settings of a single target, including operating system parameters, IP address, port services, vulnerability switches, and local account passwords, used to define the attack surface and defense baseline of the network device as an independent target. Group-level configuration operates on a set of nodes with the same role or belonging to the same business system, uniformly distributing network policies such as firewall rules through batch inheritance and differentiated overriding, uniformly deploying security tools, and setting mutual trust relationships and access permissions for target nodes within the group, thereby simplifying the operational complexity of large-scale environments. Global-level configuration is at the top layer of the system, facing the entire test range instance, covering platform-level common parameters such as overall target topology orchestration (e.g., routing protocols, global detection policies, log collection and storage policies, exercise time windows, and user permission systems), providing a basic operating framework and security baseline for all targets. The three-tier configuration employs a progressive strategy of global default inheritance, grouped overriding, and precise host customization. This ensures consistency and efficiency in large-scale deployments while also accommodating the flexibility and refined testing needs of single-point scenarios. A task execution model can be established within the device agent, controlling the configuration and execution of acquisition tasks through task initialization, task distribution, connection management, task execution, and result collection. The device agent also supports concurrency control, such as through thread pools, task queues, rate limiting, and differentiated strategy control to achieve concurrent task execution.

[0023] Device agents can adapt various heterogeneous management protocols, such as Secure Shell (SSH), Network Configuration Protocol (NETCONF), Simple Network Management Protocol (SNMP), and TeletypeNetwork (TELNET), into structured data with a unified structure through protocol adaptation. For example, device agents can achieve protocol adaptation by using TextFSM templates and regular expression parsing engines to achieve protocol independence of the target. The TextFSM template is a configuration file used to parse semi-structured text. Device agents can improve efficiency through parallel execution.

[0024] The application agent provides an independent interface package management page, which enables the configuration of north-south interfaces through canvas drag-and-drop process orchestration, and realizes the standardized encapsulation of the execution of acquisition commands and results. After the interface configuration and debugging are completed, the interface package is exported and stored in the target range platform interface package database for subsequent use.

[0025] The application proxy uses Java as its core to build a data flow engine, defining FlowFile (message carrier) as the smallest data flow unit. Business data is stored on local disk or object storage, and the FlowFile object only retains attributes, metadata, and offset pointers. Internally, a priority queue and resource backpressure mechanism are designed to automatically block upstream processes when downstream processing capacity is insufficient, preventing memory overflow. A plugin system is designed based on the Java SPI specification, abstracting unified extension interfaces such as Processor, ControllerService, and ReportingTask. A custom isolation class loader is used to implement dependency isolation for plugin packages (similar to NAR, a file format), ensuring that different plugin JAR packages do not conflict with each other. Hot reloading of newly added data reading, transformation, and output processors is supported. The engine uses a multi-threaded scheduling pool, with each processor configurable for concurrent tasks. A state manager maintains the component's running state, offset, and breakpoint resume capability, supporting failed data rollback, retries, and dead-flow queues. The service layer incorporates a Jetty container, implementing a complete REST API (Representation Layer State Transition Application Programming Interface) based on JAXRS (Jersey, a standard specification), exposing process addition, deletion, and modification. The front-end uses a web interface to complete the canvas drag-and-drop workflow arrangement and configure component parameters.

[0026] Application proxies enable isolation of multiple instance threads. They can convert between northbound and southbound interfaces. Through customized southbound interface implementations and standardized northbound interface structures, the application proxy allows for pluggable dynamic replacement of interface packets on the southbound interface, enabling seamless switching between different application services for the same application proxy instance and eliminating code coupling between the platform and application services. Standardized mapping is implemented on the northbound interface. The application proxy's multiple parallel instances and thread pool isolation can address resource contention. In cluster mode, the application proxy can also perform automatic load balancing, such as using queue buffers and backpressure mechanisms to prevent overload. The application proxy also provides various modes including timed triggering, event-driven, timed task (CRON) expressions, and on-demand triggering, supporting independent resource allocation ratios for different processors. The application proxy can use asynchronous processing to release thread resources, supports streaming segmented processing of large datasets, reduces IO overhead through batch operations, and dynamically adjusts parameters in real-time to optimize performance.

[0027] By pre-encapsulating protocol-independent device proxies and visually orchestrated application proxies based on the aforementioned functions, the differences in application-private interfaces of various underlying protocols can be shielded, enabling targets to quickly access the target range by uploading configuration package data and interface package data without modifying the target range platform code, thus achieving true target plug-in extension.

[0028] In application, based on node attributes, either a device proxy or an application proxy can be used as the target proxy in a dual-proxy architecture layer. Target node information and target packet data are transmitted to the target proxy, enabling data collection from the target node through the target proxy.

[0029] Step 130: Transmit the target packet data to the corresponding target node in the heterogeneous target layer through the target proxy to configure the target node.

[0030] Target nodes can be configured based on the configuration package data in the target package data to achieve a target range scenario. Alternatively, target nodes can establish interface connections based on the configuration package data and interface package data in the target package data, and perform configuration settings when the interface takes effect, thereby achieving a target range scenario.

[0031] Step 140: Collect data from the target target node through the target agent based on the target package data to obtain operation and maintenance data.

[0032] The target agent can parse the collection configuration data in the target packet data and call interfaces or protocols to collect data from target nodes. The data collected by the target agent can be returned to the range platform through the northbound interface, enabling the range platform to obtain operational data. The range platform can then perform range analysis on heterogeneous networks based on the operational data.

[0033] Based on the above implementation method, optionally, after the target agent collects data from the target target node according to the target packet data to obtain the operation and maintenance data, the method further includes: adapting the operation and maintenance data to a protocol, generating structured data in the target format, and storing the structured data.

[0034] When the target agent transmits data to the range platform, protocol adaptation can be performed on the operational data, converting output data from different target types or models into structured data in a unified format. For example, protocol adaptation functionality can be encapsulated within the target agent. Alternatively, a standardized northbound interface can be set up in the range platform to perform format conversion of operational data, achieving protocol independence. For instance, through a unified data parsing and standardized encapsulation layer, all collected data is aggregated into the business database in structured JSON (object representation) or YAML (a markup language), providing a high-quality data foundation for subsequent range operations.

[0035] The technical solution of this embodiment obtains the target topology and determines the target packet data in the dual-packet management layer based on the node information, node attributes, and scenario information of the target nodes in the target topology. The dual-packet management layer includes a configuration packet database and an interface packet database generated based on node attributes, node information, and scenario information. A target proxy is determined in the dual-proxy architecture layer based on node attributes, and the target node information and target packet data are transmitted to the target proxy. The dual-proxy architecture layer includes a device proxy and an application proxy. The target packet data is transmitted to the corresponding target node in the heterogeneous target layer through the target proxy for target node configuration. The target proxy collects data from the target node based on the target packet data to obtain operation and maintenance data, solving the operation and maintenance problem of heterogeneous network test ranges. The dual-packet management layer and the dual-proxy architecture layer achieve low-code coupling between the test range platform and the target, eliminating the need to modify the underlying code when updating the target. This achieves plug-and-play target adaptation, enabling compatibility with complex environments where multiple vendors, models, and protocols of targets coexist.

[0036] Example 2 Figure 2 This is a flowchart illustrating a method for the operation and maintenance of network devices in a heterogeneous network test range according to Embodiment 2 of the present invention. This embodiment is a further refinement of the above technical solution, and the technical solution in this embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 2 As shown, the method includes: Step 210: When the node attribute is a network device, determine the first target configuration packet data as the target packet data in the dual-packet management layer based on the device's node information and scenario information.

[0037] Network devices may include switches, routers, firewalls, wireless access points, or controllers. When the target is a network device, communication is conducted via protocols during southbound interactions. Configuration packet data can be determined in the dual-level management layer to configure the target. Node information and scenario information are used to determine the first target configuration packet data in the configuration packet database within the dual-level management layer, ensuring that the selected configuration packet data is suitable for the target node.

[0038] Step 220: In the dual-agent architecture layer, determine the device agent as the target agent; and transmit the device's node information and the first target configuration package data to the device agent.

[0039] When the target is a network device, the device agent can be designated as the target agent in the dual-agent architecture layer. The test range platform can transmit the node information of the target node and the determined first target configuration packet data to the device agent. The node information is used by the device agent to identify the target node. The first target configuration packet data is used by the target node for configuration settings and also by the device agent for data collection and configuration.

[0040] Step 230: The device agent transmits the first target configuration packet data to the corresponding network device through the interface protocol to configure the target node.

[0041] When the target is a network device, the device agent accesses the network device southbound via the interface protocol to distribute the first target configuration packet data. The target node can then configure itself according to the configuration items in the first target configuration packet data to achieve the target range.

[0042] Step 240: Collect data from the corresponding network devices by parsing the collection attributes in the first target configuration packet data through the device agent to obtain operation and maintenance data.

[0043] During the target node operation, the device agent can parse the collection attributes in the first target configuration package data and collect data from the target node based on the parsed collection attributes to obtain operation and maintenance data.

[0044] Figure 3 This is a connection diagram illustrating device proxy interaction according to Embodiment 2 of the present invention. Figure 3 As shown, when the target is a network device, the range platform can issue and register devices, query device information, clean up device information, execute configuration commands, query command execution results, execute collection commands, query collection results, and terminate collection to the device agent according to the operation and maintenance process. The range platform can determine the first target configuration package data based on the network device's node information and scenario information, and send the first target configuration package data to the device agent when executing configuration commands. The device agent can transmit the first target configuration package data to the network device through an interface protocol. The network device can configure itself according to the first target configuration package data to make the configuration effective. The device agent can collect data from the network device according to the collection items in the first target configuration package data and the collection commands from the range platform. The device agent can encapsulate the network device's protocol adaptation.

[0045] The technical solution of this invention determines configuration packet data for network devices in the dual-packet management layer and device agents for network devices in the dual-proxy architecture layer. By combining device agents with configuration packet data, automated operation and maintenance of network devices is achieved, thus decoupling network devices from the test range platform. When adding network devices, only configuration packet data in the dual-packet management layer needs to be added, without modifying the platform source code, reducing the workload of adaptation development and improving system scalability.

[0046] Example 3 Figure 4 This is a flowchart illustrating an operation and maintenance method for application services in a heterogeneous network test range according to Embodiment 3 of the present invention. This embodiment is a further refinement of the above technical solution, and the technical solution in this embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 4 As shown, the method includes: Step 410: When the node attribute is application service, determine the target interface package data and the second target configuration package data as target package data in the dual-package management layer based on the node information and scenario information of the application service.

[0047] Application services can be services provided by third-party organizations. When the target is an application service, interaction with the application service needs to be conducted via an interface, i.e., by calling the application programming interface (API) to schedule the application service. When the target is an application service, the interface package data is determined and configured in the dual-package management layer, and the configuration package data is determined and configured for target range scheduling in the dual-package management layer. Node information and scenario information are used in the dual-package management layer to determine the target interface package data and the second target configuration package data for the target node.

[0048] Step 420: In the dual-proxy architecture layer, determine the application proxy as the target proxy; and transmit the target interface packet data to the application proxy through the out-of-band channel. When the interface takes effect, transmit the node information of the application service and the second target configuration packet data to the application proxy.

[0049] When the target node is an application service, the application proxy can be determined in the dual-proxy architecture layer. The test range platform can send target interface packet data to the application proxy via an out-of-band channel. The out-of-band channel refers to a dedicated management network independent of the business data network, used for accessing and controlling the application proxy. Sending and activating the application proxy's interface packet data through this out-of-band channel ensures that the management channel remains available even if the business network is not fully configured or experiences a failure, improving system reliability. The application proxy can activate the application service's access interface based on the target interface packet data, register with the test range platform, and begin sending heartbeats. Once the interface is activated, the test range platform can send the second target configuration packet data and the application service's node information to the application proxy.

[0050] Step 430: The application agent transmits the second target configuration package data to the corresponding application service through the effective interface to configure the target node.

[0051] The application service can be configured based on the configuration items in the second target configuration package data.

[0052] Step 440: Parse the collection attributes in the second target configuration package data through the application proxy, and call the effective interface to collect data from the corresponding application service to obtain operation and maintenance data.

[0053] Figure 5 This is a schematic diagram of a north-south interface connection during application proxy interaction according to Embodiment 3 of the present invention. Figure 5 As shown, when the target is an application service, the test range platform can communicate with the application agent through northbound interfaces according to the application service's operation and maintenance process. For example, northbound interfaces may include service registration interfaces, service heartbeat interfaces, configuration task distribution interfaces, data collection task distribution interfaces, task result reporting interfaces, and data collection reporting interfaces. Northbound interfaces can be standardized interfaces, enabling standardized mapping. The application agent can automatically complete registration with the test range platform, heartbeat maintenance, and standardized data upload. The application agent can communicate with the application service through customized southbound interfaces to achieve data collection. The definition, authentication method, and data conversion logic of the customized southbound interface can be determined in the target interface packet data. The target interface packet data may also include standardized mappings of northbound interfaces. Standardized northbound interfaces can be set up in the test range platform, and communication between the test range platform and the application agent can be achieved through the northbound interface mappings in the target interface packet data.

[0054] The technical solution of this invention determines interface package data and configuration package data for application services in the dual-package management layer and determines application proxies for application services in the dual-proxy architecture layer. By combining application proxies, interface package data, and configuration package data, automated operation and maintenance of application services is achieved, thus decoupling application services from the test range platform. When adding application services, only configuration package data and interface package data in the dual-package management layer need to be added, without modifying the platform source code, reducing the workload of adaptation development and improving system scalability.

[0055] Figure 6 This is a flowchart of an operation and maintenance method for a heterogeneous network test range according to Embodiment 3 of the present invention. Figure 6As shown, the operation and maintenance process of a heterogeneous network test range can include a preparation process, a topology orchestration process, and a virtual scenario instantiation process. In the preparation process, training tasks can be analyzed to identify the application services and network devices that need to be managed. For network devices, commonly used configuration and acquisition commands can be built, grouped and packaged into configuration packages according to usage scenarios, and uploaded to the configuration package database. For application services, application service interfaces can be analyzed, and interface processes, including configuration interfaces and acquisition interfaces, can be built using drag-and-drop in interface package management; the interface processes can be exported to generate interface package data, and the interface packages can be uploaded to the interface package database; commonly used configuration and acquisition parameters for application services can be built, grouped and packaged into configuration packages according to usage scenarios, and uploaded to the configuration package database. The preparation process can be performed before the test range operation and maintenance.

[0056] During topology orchestration, a scenario topology can be constructed, and node attributes can be edited. For network device nodes, configuration packages are selected and bound from the configuration package database. For application services, interface packages are selected and bound from the interface package database, configuration packages are selected and bound from the configuration package database, and the scenario topology is saved. The topology orchestration process can be implemented in the topology orchestration engine within the test range platform.

[0057] During the virtual scene instantiation process, the test range platform instantiates the target topology, traverses the topology, and identifies the node attributes of each node. For network devices, the test range platform downloads configuration packages from the configuration package database, parses the configuration packages, and sends the node information and configuration to the device agent. The device agent then sends the configuration to the network device via the interface protocol. The device agent parses the collection attributes in the configuration package and begins data collection. The test range platform obtains the configuration results and collected data from the device agent. For application services, the test range platform downloads interface packages from the interface package database. The test range platform sends the interface packages to the application agent via out-of-band channels. The test range platform activates the interface packages via out-of-band channels. The test range platform downloads configuration packages from the configuration package database. The test range platform parses the configuration packages and sends the node information and configuration to the application agent. The application agent sends the configuration to the application service via the interface. The application agent parses the collection attributes in the configuration packages and calls the interface to begin data collection. The application agent uploads the collected data via the standardized northbound interface. Finally, the test range platform can display the configuration results and parse and store the collected data. In the event of a configuration failure, the test range platform can retry and issue an anomaly alarm to achieve closed-loop management.

[0058] By separating the device agent and application agent design and building independent heterogeneous adaptation layers, the differences in underlying targets are shielded from the architectural root. A dual-package management mechanism of configuration packages and interface packages achieves complete decoupling between the test range platform and the targets; when adding a new target, only the corresponding configuration package and interface package need to be created and uploaded to the database, achieving true plug-in-style expansion. Network topology is used as the core driving force for scenario deployment, realizing an innovative "topology as code" model.

[0059] Example 4 Figure 7 This is a schematic diagram of the operation and maintenance system for a heterogeneous network test range according to Embodiment 4 of the present invention. Figure 7 As shown, the system includes: a target range platform layer, a dual-package management layer, a dual-proxy architecture layer, and a heterogeneous target layer; the dual-package management layer contains a configuration package database and an interface package database generated based on node attributes, node information, and scenario information; the dual-proxy architecture layer contains device proxies and application proxies; wherein: The target platform layer is used to acquire the target topology and determine the target packet data in the dual packet management layer based on the node information, node attributes, and scene information of the target nodes in the target topology; and determine the target proxy in the dual proxy architecture layer based on the node attributes, and transmit the target node information and target packet data to the target proxy. The target proxy in the dual-proxy architecture layer is used to transmit target packet data to the corresponding target node in the heterogeneous target layer; The target nodes in the heterogeneous target layer are used to configure target nodes based on target packet data; The target agent in the dual-agent architecture layer is also used to collect data from the target target nodes based on the target package data; and transmit the data collection results to the target range platform layer to obtain operation and maintenance data.

[0060] Optional, the range platform layer, specifically used for: When the node attribute is a network device, the first target configuration packet data is determined as the target packet data in the dual-packet management layer based on the device's node information and scenario information; When the node attribute is an application service, the target interface package data and the second target configuration package data are determined as the target package data in the dual-package management layer based on the node information and scenario information of the application service.

[0061] Optionally, the range platform layer is also specifically used for: When the node attribute is a network device, the device agent is determined as the target agent in the dual-proxy architecture layer; and the node information of the device and the first target configuration packet data are transmitted to the device agent. When the node attribute is an application service, the application proxy is determined as the target proxy in the dual proxy architecture layer; the target interface packet data is transmitted to the application proxy through the out-of-band channel; when the interface takes effect, the node information of the application service and the second target configuration packet data are transmitted to the application proxy.

[0062] Optional, dual-proxy architecture layer, specifically used for: When the node attribute is a network device, the device agent in the dual-proxy architecture layer transmits the first target configuration packet data to the corresponding network device through the interface protocol in order to configure the target node; When the node attribute is an application service, the application proxy in the dual-proxy architecture layer transmits the second target configuration package data to the corresponding application service through the effective interface in order to configure the target node.

[0063] Optionally, the dual-proxy architecture layer is also specifically used for: When the node attribute is a network device, the device proxy in the dual-proxy architecture layer parses the collection attribute in the first target configuration packet data to collect data from the corresponding network device and obtain operation and maintenance data. When the node attribute is an application service, the application proxy in the dual-proxy architecture layer parses the collection attributes in the second target configuration package data and calls the effective interface to collect data from the corresponding application service to obtain operation and maintenance data.

[0064] Optionally, the range platform layer is also used for: after the target agent collects data from the target target node based on the target packet data to obtain operation and maintenance data, performing protocol adaptation on the operation and maintenance data, generating structured data in the target format, and storing the structured data.

[0065] like Figure 7 As shown, the test range platform layer can be configured with a topology orchestration engine, a topology instantiation engine, a configuration monitoring engine, and a northbound standardized interface. The topology orchestration engine is used for creating scenario topologies, managing node attributes, and binding configuration packages and interface packages during the topology orchestration process. The topology instantiation engine is used to traverse and parse the topology and concurrently distribute tasks. The topology instantiation engine can have a failure retry mechanism. The configuration monitoring engine is used to monitor the configuration's effectiveness, receive collected data, and store it in the business database. The northbound standardized interface is a unified application programming interface (API) gateway that manages heartbeats and data aggregation.

[0066] The dual-package management layer can be configured with a configuration package database and an interface package database. The configuration package database can group and package configuration items and collection items according to specific scenarios. The interface package database can contain northbound and southbound interfaces. For southbound application service interfaces, parameter definitions, default values, and validation rules can be provided; for northbound interfaces, conversion logic or standardized mappings, collection commands, parsing rules, and reporting formats can be included. The dual-package management layer enables plug-and-play access and supports both network devices and application services.

[0067] The dual-proxy architecture layer includes a device proxy and an application proxy. The device proxy can handle protocol adaptation, high-concurrency task scheduling, and TextFSM or regular expression parsing. The application proxy supports pluggable API packets, enabling standardized northbound and customized southbound traffic, as well as multi-instance thread isolation.

[0068] The heterogeneous target layer can include network devices and application services. Network devices can include routers, switches, firewalls, load balancers, IDS or intrusion prevention systems (IPS), etc. Application services can include web services, databases, middleware, business systems, cloud services, security applications, etc.

[0069] By introducing a dual-proxy architecture layer of device and application proxies, coupled with an independent management mechanism for configuration and interface packages, the test range platform no longer needs to concern itself with the specific protocol details and interface implementations of the underlying targets. It only needs to interact through standardized northbound interfaces, thus achieving complete decoupling between the test range platform and the targets. When adding new network devices or application services, there is no need to modify the test range platform source code; adaptation can be completed simply by creating and uploading configuration and interface packages. This reduces the workload of adaptation development, improves system scalability, and enables adaptation and plug-and-play access for heterogeneous targets. Through topology-driven automatic instantiation and concurrent configuration distribution, the deployment cycle for complex network test range scenarios is reduced, meeting the business needs of rapid construction, dynamic switching, and high-frequency training tasks, thereby improving test range operational efficiency. The binding of configuration and interface packages can be completed during the topology orchestration phase; during the instantiation phase, the test range platform traverses the topology nodes and executes configuration distribution and interface deployment, enabling rapid construction of training task scenarios. Through protocol adaptation of device proxies and visual orchestration of application proxies, unified heterogeneous management of the network device layer and application service layer is achieved. Through a unified data parsing and standardized encapsulation layer, all collected data is aggregated into the business database in structured JSON or YAML format, providing a high-quality data foundation for subsequent range operations. A standardized data channel has been established across the entire chain, from the underlying targets to the upper-level business systems. For example, unstructured CLI output (command-line interface output) and SNMP data (Simple Network Management Protocol data) can be converted into structured formats via device agents, and heterogeneous application interface return data can be uniformly encapsulated via application agents, ultimately forming standardized data with a standardized format to support range operations.

[0070] Example 5 Figure 8 This is a schematic diagram of the structure of an electronic device that implements the operation and maintenance method for a heterogeneous network test range according to embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0071] like Figure 8As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) or random access memory (RAM), communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded into the RAM 13 from the storage unit 18. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. Input / output (I / O) interfaces are also connected to the bus 14.

[0072] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0073] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, central processing unit (CPU), graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the operation and maintenance methods of heterogeneous network ranges.

[0074] In some embodiments, the operation and maintenance method for a heterogeneous network range can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the operation and maintenance method for a heterogeneous network range described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the operation and maintenance method for a heterogeneous network range by any other suitable means (e.g., by means of firmware).

[0075] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0076] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0077] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0078] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0079] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0080] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0081] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0082] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for operating and maintaining a heterogeneous network test range, characterized in that, include: Obtain the target topology, and determine the target packet data in the dual-packet management layer based on the node information, node attributes, and scene information of the target nodes in the target topology; The dual-package management layer includes a configuration package database and an interface package database generated based on node attributes, node information, and scenario information. The target proxy is determined in the dual-proxy architecture layer based on the node attributes, and the target node information and the target packet data are transmitted to the target proxy; wherein, the dual-proxy architecture layer is configured with a device proxy and an application proxy; The target packet data is transmitted to the corresponding target node in the heterogeneous target layer through the target proxy for target node configuration. The target agent collects data from the target target node based on the target packet data to obtain operation and maintenance data.

2. The method according to claim 1, characterized in that, Based on the node information, node attributes, and scene information of the target nodes in the target topology, the target packet data is determined in the dual-packet management layer, including: When the node attribute is a network device, the first target configuration packet data is determined as the target packet data in the dual-packet management layer based on the device's node information and the scenario information. When the node attribute is an application service, the target interface package data and the second target configuration package data are determined as the target package data in the dual-package management layer based on the node information of the application service and the scenario information.

3. The method according to claim 2, characterized in that, Based on the node attributes, the target proxy is determined in the dual-proxy architecture layer, and the target node information and the target packet data are transmitted to the target proxy, including: When the node attribute is a network device, a device proxy is determined as the target proxy in the dual proxy architecture layer; and the node information of the device and the first target configuration packet data are transmitted to the device proxy. When the node attribute is an application service, the application proxy is determined as the target proxy in the dual proxy architecture layer; and the target interface packet data is transmitted to the application proxy through an out-of-band channel. When the interface takes effect, the node information of the application service and the second target configuration packet data are transmitted to the application proxy.

4. The method according to claim 3, characterized in that, The target packet data is transmitted to the corresponding target node in the heterogeneous target layer via the target proxy for target node configuration, including: When the node attribute is a network device, the device agent transmits the first target configuration packet data to the corresponding network device through the interface protocol to configure the target node; When the node attribute is an application service, the application agent transmits the second target configuration package data to the corresponding application service through the effective interface to configure the target node.

5. The method according to claim 4, characterized in that, The target agent collects data from the target target node based on the target packet data to obtain operation and maintenance data, including: When the node attribute is a network device, the data collection attribute in the first target configuration packet data is parsed by the device proxy to collect data from the corresponding network device and obtain operation and maintenance data. When the node attribute is an application service, the collection attribute in the second target configuration package data is parsed through the application proxy, and the effective interface is called to collect data from the corresponding application service to obtain operation and maintenance data.

6. The method according to claim 1, characterized in that, After obtaining operation and maintenance data by collecting data from the target target node through the target agent based on the target packet data, the process further includes: The operation and maintenance data is adapted to the protocol to generate structured data in the target format, and the structured data is stored.

7. An operation and maintenance system for a heterogeneous network test range, characterized in that, The system includes: a target range platform layer, a dual-package management layer, a dual-proxy architecture layer, and a heterogeneous target layer; the dual-package management layer is equipped with a configuration package database and an interface package database generated based on node attributes, node information, and scenario information; the dual-proxy architecture layer is equipped with device proxies and application proxies; wherein: The target platform layer is used to acquire the target topology and determine the target packet data in the dual packet management layer based on the node information, node attributes, and scene information of the target target nodes in the target topology; and determine the target proxy in the dual proxy architecture layer based on the node attributes, and transmit the target target node information and the target packet data to the target proxy. The target proxy in the dual-proxy architecture layer is used to transmit the target packet data to the corresponding target node in the heterogeneous target layer; The target nodes in the heterogeneous target layer are used to configure the target nodes according to the target packet data; The target proxy in the dual-proxy architecture layer is also used to collect data from the target target node based on the target packet data; and to transmit the data collection results to the target range platform layer to obtain operation and maintenance data.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory communicatively connected to said at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the operation and maintenance method of the heterogeneous network range according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that are used to cause a processor to execute the operation and maintenance method of the heterogeneous network range according to any one of claims 1-6.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the operation and maintenance method for a heterogeneous network range according to any one of claims 1-6.