A network range configuration method, device, equipment and machine-readable storage medium

By adjusting the configuration and resource release strategies of experimental scenarios on the network shooting range management server, the deployment failure caused by insufficient resources is solved, resource utilization and work efficiency are improved, and resource management process is simplified.

CN115643178BActive Publication Date: 2024-12-06NEW H3C SECURITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211320744.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-26
Publication Date
2024-12-06
Estimated Expiration
2042-10-26

AI Technical Summary

Technical Problem

It is difficult for network shooting ranges to deploy experimental scenarios smoothly with limited resources, resulting in deployment failure, and waste of resources and inefficient work efficiency, requiring a complex resource release process to meet deployment needs.

Method used

By creating experimental scenarios to be deployed on the network shooting range management server, obtaining its topology information, calculating and configuring resource occupancy, evaluating and estimating resource occupancy, and adjusting configuration information based on the remaining resources, deploying the adjusted experimental scenarios, and releasing idleness Resources to meet resource requirements and store actual resource occupancy information to the virtual resource occupancy knowledge base.

Benefits of technology

It improves the resource utilization rate of network shooting ranges, reduces the probability of deployment failure, improves the efficiency of experimental scenario configuration and deployment, reduces resource waste, and simplifies the resource release process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115643178B_ABST
    Figure CN115643178B_ABST
Patent Text Reader

Abstract

The present disclosure provides a network range configuration method, device, equipment and machine-readable storage medium, the method comprising: obtaining the initial configuration of the experimental scenario, calculating the configuration resources of the experimental scenario; querying the associated actual resource information in the virtual resource occupancy knowledge base according to the topological information of the experimental scenario, and evaluating the estimated resources of the experimental scenario according to the actual resource information; adjusting the configuration of the experimental scenario so that its configuration resources are less than or equal to the remaining resources of the current network range; deploying the experimental scenario after the configuration adjustment, obtaining the actual resource information according to the actual resources of the deployed experimental scenario and storing it in the virtual resource occupancy knowledge base. Through the technical solution of the present disclosure, when the resources of the network range are tight, the estimated resources of the experimental scenario are obtained according to the intelligent evaluation of the virtual resource occupancy knowledge base, and the configuration of the experimental scenario is adjusted accordingly so that it can be deployed smoothly, reducing the probability of failure of the experimental scenario configuration deployment due to resource problems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a network range configuration method, device, equipment and machine-readable storage medium. Background Art

[0002] The network range is a technology or platform that uses virtual-real technology to simulate the network architecture and business processes in the real network space in the network space, thereby providing an environment for people to conduct network security-related learning, teaching, competition, drills, testing and other behaviors, thereby improving the network security confrontation level of personnel, institutions and countries, and providing necessary conditions and support for the realization of the national network security strategy. All scenes in the network range are constructed virtually. After the topological structure of the scene is constructed, it needs to be deployed, that is, the corresponding virtual resources, such as virtual machines and networks, are pulled up according to the scene topology to complete the predetermined experimental projects in this virtual environment. However, due to limited resources and numerous experiments, it is often encountered that the remaining resources cannot meet the predetermined scene deployment, which will lead to the failure of scene deployment. After the scene deployment fails, it is also necessary to find out from the cause of the failure that it is caused by insufficient resources. In order to expect the experiment to be deployed smoothly, it is necessary to find an experimental scene that can release resources and release them so that the remaining resources can meet the needs of scene deployment. This process is inefficient and complicated. The present invention hopes to reduce deployment failures caused by insufficient resources and accelerate the release of appropriate resources to meet the needs of scene deployment by improving this efficiency.

[0003] After the network range is created, it is necessary to deploy the scene by pulling up virtual resources such as virtual machines according to the topology structure. In this process, deployment often fails due to insufficient range resources. When the deployment process is in progress, it is suddenly found that the deployment fails, while some deployments are successful at this time, resulting in overall deployment failure. This will cause low work efficiency and waste of resources. At this time, the successfully deployed virtual resources must be released and rolled back to the state before deployment. The scene can be deployed normally when sufficient resources are configured. Summary of the invention

[0004] In view of this, the present disclosure provides a network target range configuration method, device, electronic device, and machine-readable storage medium to improve the problem of failure of experimental scenario configuration and deployment caused by the above-mentioned resource problems.

[0005] The specific technical solutions are as follows:

[0006] The present disclosure provides a network target range configuration method, which is applied to a management server of the network target range. The method includes: creating an experimental scenario to be deployed, obtaining initial configuration information of the experimental scenario to be deployed according to the topological information of the experimental scenario to be deployed, and calculating the configuration resource occupancy of the experimental scenario to be deployed according to the initial configuration information of the experimental scenario to be deployed; querying the associated actual resource occupancy information in a virtual resource occupancy knowledge base according to the topological information of the experimental scenario to be deployed, and evaluating the estimated resource occupancy of the experimental scenario to be deployed according to the actual resource occupancy information; obtaining the remaining resource amount of the current network target range, if the remaining resource amount is less than the configuration resource occupancy and greater than or equal to the estimated resource occupancy, adjusting the configuration information of the experimental scenario to be deployed so that its configuration resource occupancy is less than or equal to the remaining resource amount of the current network target range; deploying the experimental scenario to be deployed after the configuration information is adjusted, obtaining the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0007] As a technical solution, the method of obtaining the remaining resources of the current network target range includes, if the remaining resources are greater than or equal to the configured resource occupancy, executing the subsequent steps: deploying the experimental scenario to be deployed after adjusting the configuration information, obtaining the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0008] As a technical solution, the method of obtaining the remaining resources of the current network target range includes, if the remaining resources are less than the estimated resource occupancy, releasing the deployed experimental scenarios one by one according to the idleness from high to low, until the remaining resources of the current network target range are greater than or equal to the estimated resource occupancy, and executing the subsequent steps: adjusting the configuration information of the experimental scenario to be deployed so that its configured resource occupancy is less than or equal to the remaining resources of the current network target range; deploying the experimental scenario to be deployed after the configuration information is adjusted, obtaining the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0009] As a technical solution, the actual resource occupancy information is obtained based on the actual resource occupancy of the experimental scenario after deployment and stored in a virtual resource occupancy knowledge base, including: comparing several actual resource occupancy information related to the same experimental scenario, retaining and only retaining the actual resource occupancy information with the largest resource occupancy.

[0010] The present disclosure also provides a network target range configuration device, which is applied to the management server of the network target range, and the device includes: a creation module, which is used to create an experimental scenario to be deployed, obtain the initial configuration information of the experimental scenario to be deployed according to the topology information of the experimental scenario to be deployed, and calculate the configuration resource occupancy of the experimental scenario to be deployed according to the initial configuration information of the experimental scenario to be deployed; a query module, which is used to query the associated actual resource occupancy information in the virtual resource occupancy knowledge base according to the topology information of the experimental scenario to be deployed, and evaluate the estimated resource occupancy of the experimental scenario to be deployed according to the actual resource occupancy information; a calculation module, which is used to obtain the remaining resources of the current network target range, if the remaining resources are less than the configuration resource occupancy and greater than or equal to the estimated resource occupancy, then adjust the configuration information of the experimental scenario to be deployed so that its configuration resource occupancy is less than or equal to the remaining resources of the current network target range; a deployment module, which is used to deploy the experimental scenario to be deployed after the configuration information is adjusted, and obtain the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and store it in the virtual resource occupancy knowledge base.

[0011] As a technical solution, the method of obtaining the remaining resources of the current network target range includes, if the remaining resources are greater than or equal to the configured resource occupancy, executing the subsequent steps: deploying the experimental scenario to be deployed after adjusting the configuration information, obtaining the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0012] As a technical solution, the method of obtaining the remaining resources of the current network target range includes, if the remaining resources are less than the estimated resource occupancy, releasing the deployed experimental scenarios one by one according to the idleness from high to low, until the remaining resources of the current network target range are greater than or equal to the estimated resource occupancy, and executing the subsequent steps: adjusting the configuration information of the experimental scenario to be deployed so that its configured resource occupancy is less than or equal to the remaining resources of the current network target range; deploying the experimental scenario to be deployed after the configuration information is adjusted, obtaining the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0013] As a technical solution, the actual resource occupancy information is obtained based on the actual resource occupancy of the experimental scenario after deployment and stored in a virtual resource occupancy knowledge base, including: comparing several actual resource occupancy information related to the same experimental scenario, retaining and only retaining the actual resource occupancy information with the largest resource occupancy.

[0014] The present disclosure also provides an electronic device, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the aforementioned network target range configuration method.

[0015] The present disclosure also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the aforementioned network target range configuration method.

[0016] The above technical solution provided by the present disclosure brings at least the following beneficial effects:

[0017] When the resources in the network target range are tight, the estimated resource occupancy of the experimental scenario to be deployed is obtained through intelligent evaluation based on the virtual resource occupancy knowledge base, and the configuration of the experimental scenario to be deployed is adjusted accordingly to enable it to be deployed smoothly, reducing the probability of failure of experimental scenario configuration and deployment due to resource problems. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 is a flow chart of a method for configuring a network range in one embodiment of the present disclosure;

[0020] Figure 2 is a structural diagram of a network range configuration device in one embodiment of the present disclosure;

[0021] Figure 3 It is a hardware structure diagram of an electronic device in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments, rather than limiting the present disclosure. The singular forms of "a", "said" and "the" used in the present disclosure and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.

[0023] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at the time of" or "when" or "in response to determining".

[0024] The present disclosure provides a network range configuration method, device, electronic device, and machine-readable storage medium to improve the problem of failure of experimental scenario configuration and deployment caused by the above-mentioned resource problems.

[0025] Specifically, the technical solution is as described below.

[0026] In one embodiment, the present disclosure provides a network target range configuration method, which is applied to a management server of the network target range, and the method includes: creating an experimental scenario to be deployed, obtaining initial configuration information of the experimental scenario to be deployed according to the topology information of the experimental scenario to be deployed, and calculating the configuration resource occupancy of the experimental scenario to be deployed according to the initial configuration information of the experimental scenario to be deployed; querying the associated actual resource occupancy information in a virtual resource occupancy knowledge base according to the topology information of the experimental scenario to be deployed, and evaluating the estimated resource occupancy of the experimental scenario to be deployed according to the actual resource occupancy information; obtaining the remaining resources of the current network target range, if the remaining resources are less than the configuration resource occupancy and greater than or equal to the estimated resource occupancy, adjusting the configuration information of the experimental scenario to be deployed so that its configuration resource occupancy is less than or equal to the remaining resources of the current network target range; deploying the experimental scenario to be deployed after adjusting the configuration information, obtaining the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0027] Specifically, Figure 1 , including the following steps:

[0028] Step S11, creating an experimental scenario to be deployed, obtaining initial configuration information of the experimental scenario to be deployed according to the topology information of the experimental scenario to be deployed, and calculating the configuration resource occupancy of the experimental scenario to be deployed according to the initial configuration information of the experimental scenario to be deployed;

[0029] Step S12, querying the associated actual resource occupancy information in the virtual resource occupancy knowledge base according to the topology information of the experimental scenario to be deployed, and evaluating the estimated resource occupancy of the experimental scenario to be deployed according to the actual resource occupancy information;

[0030] Step S13, obtaining the remaining resources of the current network target range. If the remaining resources are less than the configured resource occupancy and greater than or equal to the estimated resource occupancy, adjusting the configuration information of the experimental scenario to be deployed so that its configured resource occupancy is less than or equal to the remaining resources of the current network target range;

[0031] Step S14, deploying the to-be-deployed experimental scenario after adjusting the configuration information, obtaining actual resource occupancy information according to the actual resource occupancy of the deployed experimental scenario and storing it in a virtual resource occupancy knowledge base.

[0032] When the resources in the network target range are tight, the estimated resource occupancy of the experimental scenario to be deployed is obtained through intelligent evaluation based on the virtual resource occupancy knowledge base, and the configuration of the experimental scenario to be deployed is adjusted accordingly to enable it to be deployed smoothly, reducing the probability of failure of experimental scenario configuration and deployment due to resource problems.

[0033] In one embodiment, the obtaining of the remaining resources of the current network target range includes, if the remaining resources are greater than or equal to the configured resource occupancy, executing subsequent steps: deploying the experimental scenario to be deployed after adjusting the configuration information, obtaining the actual resource occupancy information based on the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0034] In one embodiment, the obtaining of the remaining resources of the current network target range includes, if the remaining resources are less than the estimated resource occupancy, releasing the deployed experimental scenarios one by one according to the idleness from high to low, until the remaining resources of the current network target range are greater than or equal to the estimated resource occupancy, and executing subsequent steps: adjusting the configuration information of the experimental scenario to be deployed so that its configured resource occupancy is less than or equal to the remaining resources of the current network target range; deploying the experimental scenario to be deployed after the configuration information is adjusted, obtaining the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0035] In one embodiment, the actual resource occupancy information is obtained based on the actual resource occupancy of the experimental scenario after deployment and stored in the virtual resource occupancy knowledge base, including: comparing several actual resource occupancy information associated with the same experimental scenario, retaining and only retaining the actual resource occupancy information with the largest resource occupancy.

[0036] In one implementation, the experimental scene is constructed by visual dragging according to the actual experimental scene needs of the user. For example, in the experimental scene, a local area network consisting of three virtual machines needs to be simulated to conduct a research experiment on worm propagation. First, three virtual machines need to be dragged into the scene, and each virtual machine needs to be configured with corresponding resources, such as a 2-core CPU, 32GB memory, and a 100GB hard disk. Secondly, a layer 2 local area network needs to be configured, and an IP address needs to be assigned to each machine so that the three virtual machines can communicate with each other, and the target resource configuration and so on.

[0037] According to the topology information of the experimental scenario to be deployed above, the resources therein are classified and counted, such as the number of virtual machines, the configuration of each virtual machine, and a resource list is constructed to obtain the configuration resource occupancy, which in the above embodiment is 6 cores of CPU, 96GB of memory, and 300GB of hard disk. The actual resource occupancy information of the virtual resource occupancy knowledge base is queried. If the actual resource occupancy information of the experimental scenario of this topology is queried as 4 cores of CPU, 52GB of memory, and 140GB of hard disk, the data is used as the estimated resource occupancy.

[0038] Get the remaining resources of the current network target range, taking three cases as examples: Case 1, the remaining resources are CPU 5 cores, 60GB memory, 200GB hard disk; Case 2, the remaining resources are CPU 16 cores, 100GB memory, 1TB hard disk; Case 3, the remaining resources are CPU 3 cores, 40GB memory, 150GB hard disk.

[0039] In situation one, suggestions are given to users to adjust the resource topology configuration, preset resource adjustments are made to the corresponding virtual machines, and users are guided to adjust the resources. According to the settings, the configuration information adjustment of the experimental scenario to be deployed can also be automatically completed, so that the configuration resource occupancy of the test site to be deployed after the configuration information is adjusted is 4 CPU cores, 52GB memory, and 140GB hard disk, and then the experimental scenario to be deployed is deployed.

[0040] In case 2, the experimental scenario to be deployed is directly deployed.

[0041] In situation three, for scenes in an idle state, starting from the idlest or longest idle scene, according to the statistics of their virtual resource occupation, scenes with resources greater than the required resources or multiple scenes with accumulated resources greater than the required resources are screened out to provide users with a quick release entry or automatically release related scenes.

[0042] After the scene deployment is completed, the actual resource occupancy is obtained through the network range resource monitoring interface, and the actual resource occupancy information is obtained based on the actual resource occupancy, and is added or supplemented into the virtual resource occupancy knowledge base to enrich the virtual resource occupancy knowledge base. When there are multiple pieces of actual resource occupancy information associated with the same experimental scene in the virtual resource occupancy knowledge base, the actual resource occupancy information with the largest resource occupancy is retained.

[0043] In one embodiment, the present disclosure also provides a network range configuration device, such as Figure 2 , applied to the management server of the network target range, the device includes: a creation module 21, used to create a test scenario to be deployed, obtain the initial configuration information of the test scenario to be deployed according to the topology information of the test scenario to be deployed, and calculate the configuration resource occupancy of the test scenario to be deployed according to the initial configuration information of the test scenario to be deployed; a query module 22, used to query the associated actual resource occupancy information in the virtual resource occupancy knowledge base according to the topology information of the test scenario to be deployed, and evaluate the estimated resource occupancy of the test scenario to be deployed according to the actual resource occupancy information; a calculation module 23, used to obtain the remaining resources of the current network target range, if the remaining resources are less than the configuration resource occupancy and greater than or equal to the estimated resource occupancy, then adjust the configuration information of the test scenario to be deployed so that its configuration resource occupancy is less than or equal to the remaining resources of the current network target range; a deployment module 24, used to deploy the test scenario to be deployed after the configuration information is adjusted, obtain the actual resource occupancy information according to the actual resource occupancy of the test scenario after deployment and store it in the virtual resource occupancy knowledge base.

[0044] In one embodiment, the obtaining of the remaining resources of the current network target range includes, if the remaining resources are greater than or equal to the configured resource occupancy, executing subsequent steps: deploying the experimental scenario to be deployed after adjusting the configuration information, obtaining the actual resource occupancy information based on the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0045] In one embodiment, the obtaining of the remaining resources of the current network target range includes, if the remaining resources are less than the estimated resource occupancy, releasing the deployed experimental scenarios one by one according to the idleness from high to low, until the remaining resources of the current network target range are greater than or equal to the estimated resource occupancy, and executing subsequent steps: adjusting the configuration information of the experimental scenario to be deployed so that its configured resource occupancy is less than or equal to the remaining resources of the current network target range; deploying the experimental scenario to be deployed after the configuration information is adjusted, obtaining the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and storing it in the virtual resource occupancy knowledge base.

[0046] In one embodiment, the actual resource occupancy information is obtained according to the actual resource occupancy of the experimental scenario after deployment and stored in the virtual resource occupancy knowledge base, including: comparing several actual resource occupancy information associated with the same experimental scenario, and retaining only the actual resource occupancy information with the largest resource occupancy. The device implementation method is the same or similar to the corresponding method implementation method, and will not be repeated here.

[0047] In one embodiment, the present disclosure provides an electronic device, including a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the aforementioned network range configuration method. From a hardware perspective, the hardware architecture diagram can be found in Figure 3 shown.

[0048] In one embodiment, the present disclosure provides a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the aforementioned network target range configuration method.

[0049] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.

[0050] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0051] For the convenience of description, the above device is described in terms of functions and is divided into various units and described separately. Of course, when implementing the present disclosure, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0052] It will be appreciated by those skilled in the art that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may be provided in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the embodiments of the present disclosure may be provided in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0053] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0054] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0055] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0056] It will be appreciated by those skilled in the art that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the present disclosure may be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may be in the form of a computer program product implemented on one or more computer-usable storage media (which may include but are not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0057] The above description is only an embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.

Claims

1. A network range configuration method, It is characterized in that Applied to a management server of a network range, the method comprises: Creating an experimental scenario to be deployed, obtaining initial configuration information of the experimental scenario to be deployed according to the topology information of the experimental scenario to be deployed, and calculating the configuration resource occupancy of the experimental scenario to be deployed according to the initial configuration information of the experimental scenario to be deployed; According to the topology information of the experimental scenario to be deployed, the associated actual resource occupancy information is queried in the virtual resource occupancy knowledge base, and the estimated resource occupancy of the experimental scenario to be deployed is evaluated according to the actual resource occupancy information; Obtain the remaining resources of the current network target range. If the remaining resources are less than the configured resource usage and greater than or equal to the estimated resource usage, adjust the configuration information of the experimental scenario to be deployed so that its configured resource usage is less than or equal to the remaining resources of the current network target range. The experimental scenario to be deployed after the configuration information is adjusted is deployed, and actual resource occupancy information is obtained according to the actual resource occupancy of the experimental scenario after deployment and stored in a virtual resource occupancy knowledge base.

2. The method according to claim 1, It is characterized in that The obtaining of the remaining resource amount of the current network target range includes, if the remaining resource amount is greater than or equal to the configured resource occupancy amount, executing the subsequent steps: The experimental scenario to be deployed after the configuration information is adjusted is deployed, and actual resource occupancy information is obtained according to the actual resource occupancy of the experimental scenario after deployment and stored in a virtual resource occupancy knowledge base.

3. The method according to claim 1, It is characterized in that The obtaining of the remaining resources of the current network range includes: If the remaining resources are less than the estimated resource usage, the deployed experimental scenarios are released one by one according to the idleness from high to low until the remaining resources of the current network target range are greater than or equal to the estimated resource usage, and the subsequent steps are performed: Adjust the configuration information of the experimental scenario to be deployed so that its configuration resource usage is less than or equal to the remaining resources of the current network target range; The experimental scenario to be deployed after the configuration information is adjusted is deployed, and actual resource occupancy information is obtained according to the actual resource occupancy of the experimental scenario after deployment and stored in a virtual resource occupancy knowledge base.

4. The method according to any one of claims 1 to 3, It is characterized in that The actual resource occupancy information is obtained according to the actual resource occupancy of the experimental scenario after deployment and stored in the virtual resource occupancy knowledge base, including: Compare several pieces of actual resource usage information associated with the same experimental scenario, and retain only the actual resource usage information with the largest resource usage.

5. A network range configuration device, It is characterized in that A management server applied to a network range, the device comprising: A creation module is used to create an experimental scenario to be deployed, obtain initial configuration information of the experimental scenario to be deployed according to the topology information of the experimental scenario to be deployed, and calculate the configuration resource occupancy of the experimental scenario to be deployed according to the initial configuration information of the experimental scenario to be deployed; A query module, used to query the associated actual resource occupancy information in the virtual resource occupancy knowledge base according to the topology information of the experimental scenario to be deployed, and evaluate the estimated resource occupancy of the experimental scenario to be deployed according to the actual resource occupancy information; The calculation module is used to obtain the remaining resources of the current network target range. If the remaining resources are less than the configured resource occupancy and greater than or equal to the estimated resource occupancy, the configuration information of the experimental scenario to be deployed is adjusted so that the configured resource occupancy is less than or equal to the remaining resources of the current network target range; The deployment module is used to deploy the experimental scenario to be deployed after the configuration information is adjusted, and obtain the actual resource occupancy information according to the actual resource occupancy of the experimental scenario after deployment and store it in the virtual resource occupancy knowledge base.

6. The device according to claim 5, It is characterized in that The obtaining of the remaining resource amount of the current network target range includes, if the remaining resource amount is greater than or equal to the configured resource occupancy amount, executing the subsequent steps: The experimental scenario to be deployed after the configuration information is adjusted is deployed, and actual resource occupancy information is obtained according to the actual resource occupancy of the experimental scenario after deployment and stored in a virtual resource occupancy knowledge base.

7. The device according to claim 5, It is characterized in that The obtaining of the remaining resources of the current network range includes: If the remaining resources are less than the estimated resource usage, the deployed experimental scenarios are released one by one according to the idleness from high to low until the remaining resources of the current network target range are greater than or equal to the estimated resource usage, and the subsequent steps are performed: Adjust the configuration information of the experimental scenario to be deployed so that its configuration resource usage is less than or equal to the remaining resources of the current network target range; The experimental scenario to be deployed after the configuration information is adjusted is deployed, and actual resource occupancy information is obtained according to the actual resource occupancy of the experimental scenario after deployment and stored in a virtual resource occupancy knowledge base.

8. The device according to any one of claims 5 to 7, It is characterized in that The actual resource occupancy information is obtained according to the actual resource occupancy of the experimental scenario after deployment and stored in the virtual resource occupancy knowledge base, including: Compare several pieces of actual resource usage information associated with the same experimental scenario, and retain only the actual resource usage information with the largest resource usage.

9. An electronic device, It is characterized in that include: A processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the method described in any one of claims 1 to 4.

10. A machine-readable storage medium, It is characterized in that The machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement any one of the methods of claims 1-4.