Network range service change and demand intelligent evaluation system and method
Through the panoramic perspective network shooting range service change and demand intelligent evaluation system, the large model and graph visualization engine are used to automatically analyze the scope of changes between microservices, solving the problem of identifying the content and scope of changes in the existing technology, and achieving efficient and Accurate needs assessment and workload estimation.
Patent Information
- Application Number
- CN202411262754.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2025-01-07
AI Technical Summary
It is difficult for the prior art to efficiently and accurately identify and quantify the changes between microservices and their impact ranges in network shooting range systems. Traditional methods rely on text descriptions and lack intuitiveness and global perspectives.
Adopt panoramic perspective network shooting range service change and demand intelligent evaluation system, including system microservice data configuration module, demand analysis module, panoramic visualization construction module, impact range automatic evaluation module and demand workload estimation module, and constructed using large model and graph visualization engine Interactive panoramic visualization view, automatically analyzing dependencies and estimating workload.
It improves the efficiency and accuracy of demand analysis, enhances the accuracy of workload estimation, provides an intuitive system structure and dependency display, and supports scientific project management and resource allocation.
Smart Images

Figure CN119271806A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a network range service change and demand intelligent evaluation system and method, belonging to the technical field of network security. Background Art
[0002] As a core platform for simulating actual combat environments to deepen security testing and drills, the overall system architecture of the Cyber Range, whether front-end or back-end, deeply integrates the microservice design concept and achieves a high degree of service decoupling. This architectural model significantly enhances the flexibility and scalability of the system, providing a solid foundation for rapid response to security challenges. However, in the process of continuous iteration and optimization of the Cyber Range system, we will face the problem of how to efficiently and accurately identify and quantify the modification content, impact scope and workload between microservices. Traditionally, we rely on design documents to mark which services, interfaces and middleware will change, but this method is often limited to text descriptions, lacks intuitiveness and global vision, and is difficult to intuitively display the amount of changes and their impact scope between services in the system. Because there is an urgent need for a visual intelligent evaluation solution for service changes and requirements in the Cyber Range. Summary of the invention
[0003] Purpose of the invention: In view of the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a panoramic perspective network target range service change and demand intelligent assessment system and method, which can intelligently assess the impact scope and workload when new demands on the network target range arise.
[0004] Technical solution: To achieve the above-mentioned invention object, the present invention adopts the following technical solution:
[0005] A network range service change and demand intelligent assessment system, comprising:
[0006] System microservice data configuration module, used to centrally manage the information of all network range systems, microservices and interfaces;
[0007] The requirement parsing module is used to input the network range requirement document and the specified JSON file format into the large model, extract the systems, microservices and modified interfaces that need to be modified or configured, and obtain the JSON file;
[0008] The panoramic visualization building module is used to convert JSON files into the data structure required by the force-directed graph, and use the graph visualization engine to build an interactive panoramic visualization view;
[0009] The impact scope automatic assessment module is used to obtain the identifier of the corresponding interface in the code from the system microservice data configuration module according to the system name, microservice name and interface name in the JSON file, and scan the code files of the specified system and microservice according to the identifier indication, and parse the dependencies between packages and classes, and between interfaces; and convert the parsing results into the data structure required for force-directed graph generation, and dynamically construct the graph data structure required to display the dependency graph;
[0010] The demand workload estimation module is used to estimate the workload on a visual interface by combining the impact scope assessment results and past project experience.
[0011] Preferably, the system microservice data configuration module provides a unified configuration interface, allowing developers to centrally manage configuration information of all system microservices and interfaces, including system name, icon, microservice name, configuration parameters and functions, and interface name and description.
[0012] Preferably, the requirement parsing module supports manual supplementation or correction of JSON files.
[0013] Preferably, the JSON file format includes a version number version and requirements requirements, wherein the requirements include a system name systemName and microservices microservices, wherein the microservices include a microservice name microserviceName, interface modules under the microservice, and functional requirements.
[0014] Preferably, the panoramic visualization construction module uses the AntV G6 graph visualization engine to construct an interactive panoramic visualization view; and supports clicking on the system names and service names on the graph generated based on the force-directed graph to supplement and correct them.
[0015] Preferably, in the impact scope automatic assessment module, JDepend is used to scan the code files of the specified system and microservices to parse the dependencies between packages and classes, and between interfaces.
[0016] Preferably, in the impact range automatic assessment module, the analysis result is converted into a data structure required for force-directed graph generation according to the following steps:
[0017] Read and parse the XML file that records interface dependencies;
[0018] Traverse all packages and classes to find matching class names, and list the interfaces that the specified interface depends on according to the DependsOn tag in the XML file;
[0019] Initialize the graph data structure and add all interfaces as nodes;
[0020] Add edges in the graph data structure based on the resolved interface dependencies.
[0021] Preferably, in the demand workload estimation module, the workload of microservices and interfaces is configured by clicking icons, including the time and labor costs of code writing, test verification, and document writing.
[0022] A network range service change and demand intelligent assessment method comprises the following steps:
[0023] System microservice data configuration: Centrally manage the information of all network range systems, microservices and interfaces;
[0024] Requirements analysis: Input the network range requirements document and the specified JSON file format into the big model, extract the systems, microservices and modified interfaces that need to be modified or configured, and obtain the JSON file;
[0025] Build a panoramic visualization view: Convert the JSON file into the data structure required by the force-directed graph, and use the graph visualization engine to build an interactive panoramic visualization view;
[0026] Automatically evaluate the impact scope: According to the system name, microservice name and interface name in the JSON file, obtain the identifier of the corresponding interface in the code from the system microservice data configuration module, and scan the code files of the specified system and microservice according to the identifier, and parse the dependencies between packages and classes, and between interfaces; and convert the parsing results into a force-directed graph to generate the required data structure, and dynamically build the graph data structure required to display the dependency graph;
[0027] Estimate required workload: Combine the impact scope assessment results and past project experience to estimate the workload on a visual interface.
[0028] A computer program product includes a computer program / instruction, which, when executed by a processor, implements the steps of the network range service change and demand intelligent assessment method.
[0029] Beneficial effects: The present invention enhances the intelligence and accuracy of demand analysis by centralizing microservice data configuration, large model demand analysis, automated impact analysis and demand workload estimation, and panoramically visualizing the information between the system and microservices. Compared with the prior art, it has the following advantages: 1. The present invention introduces large model technology to assist demand analysis, greatly improving the efficiency and accuracy of demand analysis and reducing omissions in manual review. 2. The present invention adopts panoramic visualization display, combined with a graph visualization engine, to intuitively display key information such as system structure and dependencies. 3. The present invention integrates an automated impact analysis process, and uses tools such as JDepend to deeply scan the code, which can automatically analyze the impact of service changes and demand changes, improve the accuracy of workload estimation, and provide decision makers with comprehensive and accurate information. 4. The present invention adopts panoramic visualization display to intuitively display the workload required for network target range service changes and demand-related system and service modifications, providing a scientific basis for project management and resource allocation. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 4 is a system structure diagram of an embodiment of the present invention.
[0031] Figure 2 This is a prototype diagram of the effect of an embodiment of the present invention.
[0032] Figure 3 The figure is a flow chart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments.
[0034] like Figure 1As shown, an embodiment of the present invention discloses a network target range service change and demand intelligent assessment system, which mainly includes a system microservice data configuration module, a demand analysis module, a panoramic visualization construction module, an impact range automatic assessment module and a demand workload estimation module. The system microservice data configuration module is used to centrally manage the information of all network target range systems, microservices and interfaces; the requirement parsing module is used to input the network target range requirement document and the specified JSON file format into the large model, extract the systems, microservices and modified interfaces that need to be changed or configured, and obtain the JSON file; the panoramic visualization construction module is used to convert the JSON file into the data structure required by the force-directed graph, and use the graph visualization engine to build an interactive panoramic visualization view; the impact range automatic assessment module is used to obtain the identifier of the corresponding interface in the code from the system microservice data configuration module according to the system name, microservice name and interface name in the JSON file, and scan the code files of the specified system and microservice according to the identifier indication, and parse the dependencies between packages and classes, and between interfaces; and convert the parsing results into the data structure required to generate the force-directed graph, and dynamically construct the graph data structure required to display the dependency graph; the requirement workload estimation module is used to estimate the workload on the visual interface based on the impact range assessment results and past project experience.
[0035] Based on the network range service change and demand intelligent assessment system of the embodiment of the present invention, when the network range faces new demands, it can use advanced large-model intelligent analysis capabilities to accurately extract key information points in the demand, lay the foundation for subsequent in-depth demand analysis, and intelligently assess the impact of changes and estimate the workload required for demand development through online visual configuration of microservice architecture adjustments and interface changes, relying on intelligent code parsing and interface call chain analysis. The system can also generate a detailed service impact range report to fully and efficiently support the flexible changes of network range services and accurate demand assessment.
[0036] In some embodiments, the system microservice data configuration module centrally manages and maintains detailed information of all microservices, systems and interfaces in the entire system, and provides a unified configuration interface, allowing developers to centrally manage and update the configuration information of all system microservices and interfaces, including system name, icon, service name, configuration parameters and functions, and interface name and description, etc. The configured data is saved in the server-side database, and through the system microservice interface data configuration, the required system service interface configuration information can be pulled during the subsequent visual configuration display.
[0037] In some embodiments, the requirements parsing module references the AI big model, imports the requirements document of the network range, and specifies the required output JSON file format. The big model comprehensively scans the key information such as the functional description and system name in the requirements document to accurately extract the systems, related microservices, and modified interfaces that need to be modified or configured. This automated process reduces omissions during manual review of requirements changes and ensures data consistency and portability. If there are omissions or errors in the big model during the identification process, the JSON file can be manually supplemented or corrected to ensure the integrity and accuracy of the final data.
[0038] The JSON file format includes a version number version and requirements requirements. The requirements include a system name systemName and microservices microservices. The microservices include a microservice name microserviceName, interface modules under the microservice, and functional requirements.
[0039] Example of JSON file:
[0040]
[0041]
[0042] In some embodiments, the panoramic visualization construction module uses the AntVG6 graph visualization engine to construct an interactive panoramic visualization view based on the results of the analysis of the demand analysis module. The panoramic visualization construction module intuitively displays the overall architecture of the network range, including the dependencies between microservices.
[0043] Specifically, we first convert the JSON file obtained through the demand parsing module into the data structure required by the force-directed graph of AntV G6. In this way, our panoramic visualization construction system is initially drawn. We can make supplementary corrections by clicking on the system (systemName) and service (microserviceName) on the chart generated by the force-directed graph based on AntV G6. Each small module (modules) is an interface. In this way, we have completed all the configuration data from the system to the microservices and the system and interface, that is, we can fully display the systems, microservices and interfaces that need to be changed in this demand.
[0044] Convert the above JSON file into the data structure required by AntV G6's force-directed graph through data conversion. The converter code example is as follows:
[0045]
[0046]
[0047]
[0048] In some embodiments, the impact scope automatic assessment module relies on the visual architecture view and microservice module configuration information, static code model analysis tools, and automatically assesses the scope of services and interfaces that may be affected after the implementation of new requirements. According to the system name, microservice name, and interface name in the JSON file, the data of the system microservice data configuration module is matched, and the identifier of the corresponding interface in the code is obtained to obtain a mapping relationship. Then, according to the identifier indication, the server-side code files of the specified system and microservice are scanned to accurately parse the dependencies between packages and classes, and between interfaces. The JDepend tool can be used for specific code file analysis, and the code interface dependencies can be intuitively viewed through the report generated by JDepend.
[0049] In the impact scope automatic assessment module, we need to parse the report content into the data structure required for AntV G6 force-directed graph generation, so that we can complete the AntV G6 force-directed graph generation requirements and dynamically build the graph data structure required to display the dependency graph. This process integrates code scanning, data analysis, and graphic display to ensure full-chain automation from requirement configuration to impact scope construction. At the same time, we can also manually configure interface impact.
[0050] Specifically, we use the xmldom class to process XML data, read XML and convert the data structure into the data structure required by AntV G6's force-directed graph generation, and perform secondary supplementation on the panoramic visualization construction module to build the view. The sample code is as follows:
[0051]
[0052]
[0053]
[0054] For example, the dependent data returned by parsing is as follows
[0055]
[0056] Then we use the convertToG6GraphData method to convert the above data structure into the data required by AntV G6. The method code example is as follows:
[0057]
[0058]
[0059] In some embodiments, the demand workload estimation module combines the impact scope assessment results and past project experience to estimate the workload on a visual interface. By clicking on an icon, you can configure the workload of microservices and interfaces, including the time and labor costs of code writing, test verification, document writing, etc., providing a scientific basis for project management and resource allocation. The configuration diagram effect is as follows: Figure 2 shown.
[0060] like Figure 3 As shown, a network range service change and demand intelligent assessment method disclosed in an embodiment of the present invention includes the following steps:
[0061] System microservice data configuration: Centrally manage the information of all network range systems, microservices and interfaces;
[0062] Requirements analysis: Input the network range requirements document and the specified JSON file format into the big model, extract the systems, microservices and modified interfaces that need to be modified or configured, and obtain the JSON file;
[0063] Build a panoramic visualization view: Convert the JSON file into the data structure required by the force-directed graph, and use the graph visualization engine to build an interactive panoramic visualization view;
[0064] Automatically evaluate the impact scope: According to the system name, microservice name and interface name in the JSON file, obtain the identifier of the corresponding interface in the code from the system microservice data configuration module, and scan the code files of the specified system and microservice according to the identifier, and parse the dependencies between packages and classes, and between interfaces; and convert the parsing results into a force-directed graph to generate the required data structure, and dynamically build the graph data structure required to display the dependency graph;
[0065] Estimate required workload: Combine the impact scope assessment results and past project experience to estimate the workload on a visual interface.
[0066] The specific implementation of each step can be found in the implementation of each module in the network target range service change and demand intelligent assessment system, which will not be repeated here.
[0067] An embodiment of the present invention also discloses a computer program product, including a computer program / instruction, and when the computer program / instruction is executed by a processor, the steps of the network target range service change and demand intelligent assessment method are performed.
Claims
1. A network range service change and demand intelligent assessment system, characterized in that: include: System microservice data configuration module, used to centrally manage the information of all network range systems, microservices and interfaces; The requirement parsing module is used to input the network range requirement document and the specified JSON file format into the large model, extract the systems, microservices and modified interfaces that need to be modified or configured, and obtain the JSON file; The panoramic visualization building module is used to convert JSON files into the data structure required by the force-directed graph, and use the graph visualization engine to build an interactive panoramic visualization view; The impact scope automatic assessment module is used to obtain the identifier of the corresponding interface in the code from the system microservice data configuration module according to the system name, microservice name and interface name in the JSON file, and scan the code files of the specified system and microservice according to the identifier indication, and parse the dependency between packages and classes, and between interfaces; The parsing results are converted into the data structure required for force-directed graph generation, and the graph data structure required to display the dependency graph is dynamically constructed; The demand workload estimation module is used to estimate the workload on a visual interface by combining the impact scope assessment results and past project experience.
2. The network range service change and demand intelligent assessment system according to claim 1 is characterized in that: The system microservice data configuration module provides a unified configuration interface, allowing developers to centrally manage the configuration information of all system microservices and interfaces, including the system name, icon, microservice name, configuration parameters and functions, and the name and description of the interface.
3. The network range service change and demand intelligent assessment system according to claim 1 is characterized in that: The requirement parsing module supports manual supplementation or correction of JSON files.
4. The network range service change and demand intelligent assessment system according to claim 1, characterized in that: The JSON file format includes a version number version and requirements requirements. The requirements include a system name systemName and microservices microservices. The microservices include a microservice name microserviceName, interface modules under the microservice, and functional requirements.
5. The network range service change and demand intelligent assessment system according to claim 1 is characterized in that: The panoramic visualization construction module uses the AntV G6 graph visualization engine to construct an interactive panoramic visualization view; Supports clicking on the system name and service name on the graph generated based on the force-directed graph to make additional corrections.
6. The network range service change and demand intelligent assessment system according to claim 1 is characterized in that: In the impact scope automatic assessment module, JDepend is used to scan the code files of the specified system and microservices to parse the dependencies between packages and classes, and between interfaces.
7. The network range service change and demand intelligent assessment system according to claim 1 is characterized in that: In the impact range automatic assessment module, the analysis results are converted into the data structure required for force-directed graph generation according to the following steps: Read and parse the XML file that records interface dependencies; Traverse all packages and classes to find matching class names, and list the interfaces that the specified interface depends on according to the DependsOn tag in the XML file; Initialize the graph data structure and add all interfaces as nodes; Add edges in the graph data structure based on the resolved interface dependencies.
8. The network range service change and demand intelligent assessment system according to claim 1, characterized in that: In the demand workload estimation module, the workload of microservices and interfaces is configured by clicking icons, including the time and labor costs of code writing, test verification, and document writing.
9. A network range service change and demand intelligent assessment method, characterized in that: The steps include: System microservice data configuration: Centrally manage the information of all network range systems, microservices and interfaces; Requirements analysis: Input the network range requirements document and the specified JSON file format into the big model, extract the systems, microservices and modified interfaces that need to be modified or configured, and obtain the JSON file; Build a panoramic visualization view: Convert the JSON file into the data structure required by the force-directed graph, and use the graph visualization engine to build an interactive panoramic visualization view; Automatic assessment of impact scope: According to the system name, microservice name and interface name in the JSON file, obtain the identifier of the corresponding interface in the code from the system microservice data configuration module, and scan the code files of the specified system and microservice according to the identifier, and parse the dependencies between packages and classes, and between interfaces; The parsing results are converted into the data structure required for force-directed graph generation, and the graph data structure required to display the dependency graph is dynamically constructed; Estimate required workload: Combine the impact scope assessment results and past project experience to estimate the workload on a visual interface.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by the processor, the steps of the network target range service change and demand intelligent assessment method according to claim 9 are implemented.
Citation Information
Cited By
Network target range visual scene generation method and system based on model scenario
CN121486206A