Multi-scene practice environment construction method and device based on cloud platform

By constructing a multi-scenario practice environment based on a cloud platform, the problem of resource conflicts caused by fixed hardware resource occupation is solved, enabling non-interference implementation of parallel practice in multiple scenarios, and improving resource utilization and practice preparation efficiency.

CN122044745APending Publication Date: 2026-05-15BEIJING AEROSPACE CONTROL CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202512027858.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In existing technologies, the fixed hardware-based practice environment construction method results in the long-term occupation of hardware resources, which cannot meet the needs of parallel practice in multiple scenarios, has low resource utilization, and the manual configuration is inefficient and difficult to respond quickly to dynamic needs.

Method used

A multi-scenario practice environment construction method based on a cloud platform is adopted. By generating image business software, dividing logical network partitions, configuring dedicated communication links, creating virtual machine clusters and performing scheduling and monitoring, the practice environment is dynamically created and released, enabling parallel and interference-free implementation of multiple scenarios.

Benefits of technology

It improves the utilization rate of hardware resources, avoids resource idleness, enhances the efficiency of practice environment construction and parallel practice preparation, and meets the multi-scenario parallel practice requirements under the intensive aerospace mission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122044745A_ABST
    Figure CN122044745A_ABST
Patent Text Reader

Abstract

The invention provides a multi-scene practice environment construction method and device based on a cloud platform, and relates to the technical field of analog simulation and practice, and the method comprises the steps: respectively combing mirror image business software deployment requirements and virtual machine resource configuration corresponding to each practice scene, and obtaining a configuration list; distributing an independent virtual VLAN (Virtual Local Area Network) subnet address for the logic network partition corresponding to each practice scene; creating a corresponding virtual machine cluster, deploying mirror image service software and completing service registration, and performing network configuration according to an independent virtual VLAN subnet address corresponding to each exercise scene to form an operable exercise environment instance of each exercise scene; according to the method and the system, the rapid construction of the multi-scene practice environment can be realized, the binding of hardware resources is not needed, the resource utilization rate and the practice preparation efficiency can be effectively improved, and the multi-scene parallel practice demand under the intensive aerospace mission is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of simulation and practice technology, and in particular to a method and apparatus for constructing a multi-scenario practice environment based on a cloud platform. Background Technology

[0002] With the increasing frequency of space missions, the professional competence of personnel in ground control systems directly impacts the reliability and safety of mission execution. Therefore, before actual mission execution, it is essential to conduct thorough simulation exercises in a training environment equivalent to the real mission system to ensure personnel are proficient in operating procedures and can handle various unexpected situations. This requirement makes the construction of simulation training environments a crucial link in the space mission support system. As multiple missions are carried out in parallel, the need for simultaneous implementation of multiple training scenarios is becoming increasingly urgent, placing higher demands on the resource adaptability and parallel support capabilities of the training environment.

[0003] To meet the above practice needs, existing technologies typically use a fixed hardware resource deployment approach to construct the practice environment. This means that a separate set of physical devices with the same hardware specifications as the real task system is configured for each practice scenario. Business software is installed manually, and network parameters and data interfaces are configured to ensure that the practice environment is consistent with the actual task system in terms of operation process and response logic, thereby providing personnel with a realistic practice experience.

[0004] However, this method of constructing a practice environment based on fixed hardware has a core technical flaw: the practice environment is strongly bound to specific hardware resources, resulting in the long-term occupation of hardware resources. When multiple practice scenarios are carried out in parallel, not only is it necessary to invest a lot of hardware costs to add new equipment, but there will also be problems of idle hardware resources and conflicts with the needs of parallel practice. At the same time, the process of manually configuring the environment is time-consuming and laborious, and it is difficult to quickly respond to the dynamic needs of multi-scenario practice. Ultimately, this results in low resource utilization, low practice preparation efficiency, and an inability to adapt to the demands of multi-scenario parallel practice under the intensive nature of aerospace missions. Summary of the Invention

[0005] This invention provides a method and apparatus for constructing a multi-scenario practice environment based on a cloud platform. It can quickly construct a multi-scenario practice environment without binding hardware resources, effectively improving resource utilization and practice preparation efficiency, and meeting the demands of multi-scenario parallel practice under the intensive nature of aerospace missions.

[0006] To achieve the above objectives, the embodiments of the present invention adopt the following technical solutions: Firstly, a method for constructing a multi-scenario practice environment based on a cloud platform is provided. The method includes: generating image business software based on the business software and runtime configuration information of a task system; for multiple practice scenarios, sorting out the deployment requirements and virtual machine resource configurations of the image business software corresponding to each practice scenario to obtain a configuration list corresponding to each practice scenario; dividing the cloud platform into multiple logical network partitions, each logical network partition corresponding to a practice scenario or a common partition, the common partition being used to deploy resident business software shared by all practice scenarios; allocating an independent virtual VLAN subnet address to the logical network partition corresponding to each practice scenario, and configuring a dedicated communication link between the common partition and the logical network partition corresponding to each practice scenario; and configuring the configuration list according to the configuration of each practice scenario. The system creates a corresponding virtual machine cluster, deploys the image service software and completes service registration, and then configures the network according to the independent virtual VLAN subnet address corresponding to each practice scenario to form a runnable practice environment instance for each practice scenario. The system schedules and monitors the image service software in each runnable practice environment instance of the practice scenario. In response to the user's practice operation command for the target practice scenario, the system calls the runnable practice environment instance corresponding to the target practice scenario to complete the simulated practice for the target practice scenario, which is one of the multiple practice scenarios. In response to the user's end-of-practice command for the target practice scenario, the system stores the practice data corresponding to the target practice scenario and releases the computing, storage, and communication resources corresponding to the target practice scenario to the cloud platform resource pool.

[0007] The method provided by this invention generates image business software based on the business software and runtime configuration information of the task system, sorts out the deployment requirements and virtual machine resource configurations of the image business software corresponding to each practice scenario and forms a configuration list, divides logical network partitions and configures dedicated communication links, creates virtual machine clusters and performs network configuration, schedules and monitors the image business software to complete the simulation practice, and finally stores the practice data and releases resources to the cloud platform resource pool. This achieves parallel and interference-free implementation of multiple practice scenarios and solves the problem of parallel practice resource conflicts caused by fixed hardware resource occupation. At the same time, by dynamically creating practice environments and releasing resources to the resource pool, the utilization rate of hardware resources is improved, resource idleness is avoided, and no large amount of manpower is required for environment configuration and maintenance, thus improving the efficiency of practice environment construction and parallel practice preparation.

[0008] In one possible implementation of the first aspect, the deployment requirements for the image service software include the software identifier of each image service software, the identifier of the corresponding deployed virtual machine, the installation path, and the dependent system software; the virtual machine resource configuration includes hard disk storage capacity, number of CPU cores, number of memory, number of GPUs, and network bandwidth; the configuration list corresponding to the exercise scenario includes a list of image service software deployment requirements, details of virtual machine resource configuration, virtual machine creation order, and IP sequence number within the subnet.

[0009] The method provided by this invention clarifies the deployment requirements of image service software, including software identifier, corresponding virtual machine identifier, installation path, and dependent system software. Virtual machine resource configuration covers hard disk storage capacity, number of CPU cores, number of memory, number of GPUs, and network bandwidth. The configuration list corresponding to the practice scenario includes a list of image service software deployment requirements, details of virtual machine resource configuration, virtual machine creation order, and IP serial number within the subnet. This enables the cloud platform to accurately adapt to the dynamic resource allocation requirements of image software, ensuring that the resources required for the deployment and operation of each image service software are clear and can be accurately allocated. This provides a clear and accurate basis for subsequent virtual machine cluster creation, software deployment, and network configuration, ensuring the orderliness and accuracy of the practice environment construction.

[0010] In one possible implementation of the first aspect, the network configuration includes: dynamically modifying the IP address of the target virtual machine according to the independent virtual VLAN subnet address corresponding to each exercise scenario, while adapting and updating the IP configuration of other virtual machines on which the image service software depends, wherein the target virtual machine is one of the multiple virtual machines included in the virtual machine cluster.

[0011] The method provided by this invention can ensure that after the mirror service software starts, the IP address of each virtual machine is matched with the corresponding VLAN subnet address in a timely manner, and the IP configuration of other virtual machines that the software depends on is adapted and updated, thus ensuring normal communication between the mirror service software in the practice scenario and providing network-level support for the smooth conduct of simulation exercises.

[0012] In one possible implementation of the first aspect, before scheduling and monitoring the mirror service software of each practice scenario, the method further includes: performing network connectivity tests between virtual machines corresponding to each practice scenario using a platform communication testing tool, wherein the network connectivity tests include TCP connection reachability tests, UDP unicast connection reachability tests, and UDP multicast connection reachability tests.

[0013] The method provided by this invention can detect network connectivity issues between virtual machines in advance, ensuring that during subsequent scheduling and monitoring, the transmission of control commands and the collection of running status between the centralized management software of the system and the scheduling and control terminal software deployed on each virtual machine can proceed smoothly, avoiding interruption of the practice process or failure of monitoring due to network connectivity issues, and ensuring the stability of the simulation practice.

[0014] In one possible implementation of the first aspect, the method further includes: generating a globally unique environment identifier for each practice scenario, and binding the practice scheme information, scenario data, and interaction data of the mirror business software corresponding to the practice scenario with the environment identifier.

[0015] The method provided by this invention generates a globally unique environment identifier for each practice scenario, thereby realizing the logical division of practice data across multiple scenarios. This effectively avoids confusion of business data between multiple parallel practice scenarios, making the ownership of relevant data for each practice scenario clear. It provides a unique identifier for the accurate response to subsequent practice operation commands and the filtering and storage of practice data, ensuring the orderly conduct of parallel practice across multiple scenarios.

[0016] In one possible implementation of the first aspect, the practice operation instruction and the practice end instruction carry an environment identifier of the target practice scenario; the step of responding to the user's practice operation instruction for the target practice scenario and calling the runnable practice environment instance corresponding to the target practice scenario to complete the simulated practice of the target practice scenario includes: locating the runnable practice environment instance corresponding to the target practice scenario according to the environment identifier of the target practice scenario, and performing scheduling control operations only on the mirrored business software and associated data in the instance to complete the user's simulated practice of the target practice scenario; the step of responding to the user's practice end instruction for the target practice scenario and storing the practice data corresponding to the target practice scenario and releasing the computing, storage, and communication resources corresponding to the target practice scenario to the cloud platform resource pool includes: responding to the user's practice end instruction for the target practice scenario, filtering and storing the practice data of the target practice scenario according to the environment identifier of the target practice scenario, and releasing the computing, storage, and communication resources corresponding to the environment identifier of the target practice scenario to the cloud platform resource pool in a targeted manner.

[0017] In the method provided by this invention, both the practice operation command and the practice end command carry an environmental identifier of the target practice scenario. When responding to the practice operation command, the corresponding mirror business software and associated data are located according to the environmental identifier, and only scheduling control operations are performed. When responding to the practice end command, the practice data is filtered and stored according to the environmental identifier, and resources are released in a targeted manner. This ensures that the system can accurately identify the target practice scenario and only operate and process resources for the target scenario without affecting the operation of other parallel practice scenarios. This further enhances the effect of multi-scenario parallelism without interference. At the same time, it realizes the accurate storage of practice data and the targeted release of resources, improving the fineness of resource management.

[0018] In one possible implementation of the first aspect, the method further includes: generating an image template for each practice scenario based on the configuration list, network configuration results, and image service software deployment status of each practice scenario; responding to a user-input instruction to create a practice environment for a target practice scenario, calling a cloud platform interface to load the image template of the target practice scenario, and creating the virtual machine cluster required for the target practice scenario according to the order of the business cloud host creation list, so as to complete the environment creation of the target practice scenario.

[0019] The method provided by this invention generates an image template for each practice scenario. When responding to the practice environment creation command, the image template is loaded and a virtual machine cluster is created in the order of the business cloud host creation list. This eliminates the need to repeatedly perform tedious steps such as virtual machine creation, software deployment, and network configuration, thus enabling rapid construction of the practice environment. This significantly shortens the preparation time of the practice environment and meets the needs of rapid deployment of multi-scenario practice. At the same time, the reuse of image templates also improves the consistency and reliability of practice environment construction.

[0020] In one possible implementation of the first aspect, the scheduling monitoring includes: sending control commands to the scheduling control terminal software deployed on each virtual machine through the system's centralized management software, the control commands being used to perform startup, running status monitoring, and shutdown operations on the image service software; and issuing practice process control commands and time control instructions through practice process control software, the practice process control commands and time control instructions being used to control the practice process of the practice scenario.

[0021] The method provided by this invention achieves unified scheduling and operational status monitoring of mirror business software for each practice scenario through scheduling and monitoring, ensuring that the practice process proceeds according to the preset process, timely grasping the software operation status and handling abnormal situations, and guaranteeing the standardization and smooth completion of the simulation practice.

[0022] Secondly, the present invention provides a multi-scenario practice environment construction device based on a cloud platform. The device includes: a configuration generation module, used to generate image business software based on the business software and runtime configuration information of a task system; for multiple practice scenarios, it sorts out the deployment requirements and virtual machine resource configurations of the image business software corresponding to each practice scenario to obtain a configuration list corresponding to each practice scenario; a partitioning module, used to divide multiple logical network partitions through the cloud platform, each logical network partition corresponding to a practice scenario or a common partition, the common partition being used to deploy resident business software shared by all practice scenarios; allocating an independent virtual VLAN subnet address to each logical network partition corresponding to a practice scenario, and configuring a dedicated communication link between the common partition and each logical network partition corresponding to a practice scenario; and an instance configuration module, used to configure each practice scenario according to its own configuration requirements. The system creates a corresponding virtual machine cluster based on the configuration list for each practice scenario, deploys the image service software and completes service registration, and then performs network configuration according to the independent virtual VLAN subnet address corresponding to each practice scenario to form a runnable practice environment instance for each practice scenario. The monitoring module is used to schedule and monitor the image service software in each runnable practice environment instance of each practice scenario. In response to a user's practice operation command for a target practice scenario, the module calls the runnable practice environment instance corresponding to the target practice scenario to complete the simulated practice of the target practice scenario, where the target practice scenario is one of the multiple practice scenarios. The monitoring module is also used to, in response to a user's practice end command for the target practice scenario, store the practice data corresponding to the target practice scenario, and release the computing, storage, and communication resources corresponding to the target practice scenario to the cloud platform resource pool.

[0023] Thirdly, an electronic device is provided, the electronic device including a memory and one or more processors; the memory is coupled to the processors; wherein the memory stores computer program code, the computer program code including computer instructions, which, when executed by the processor, cause the electronic device to perform the method as described in any implementation of the first aspect.

[0024] Fourthly, a computer-readable storage medium is provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform a method as described in any implementation of the first aspect.

[0025] Fifthly, a computer program product is provided that, when run on a computer, causes the computer to perform the method in any implementation of the first aspect.

[0026] Understandably, the beneficial effects achieved by the apparatus of the second aspect, the electronic device of the third aspect, the computer-readable storage medium of the fourth aspect, and the computer program product of the fifth aspect provided above can be referred to the beneficial effects of the first aspect and any possible design thereof, which will not be repeated here. Attached Figure Description

[0027] Figure 1 A flowchart illustrating a method for constructing a multi-scenario practice environment based on a cloud platform, as provided in an embodiment of the present invention; Figure 2 A network architecture diagram of a practice environment construction device provided in an embodiment of the present invention; Figure 3 A schematic diagram illustrating environmental labeling and management as provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of a practice environment construction device provided in an embodiment of the present invention. Detailed Implementation

[0028] The technical solutions of the embodiments of the present invention will be described below with reference to the accompanying drawings. In the description of the present invention, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. The "or" in the present invention is merely a description of the relationship between the related objects, indicating that three relationships can exist. For example, A or B can represent: A alone, A and B simultaneously, and B alone. A and B can be singular or plural. Furthermore, in the description of the present invention, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items.

[0029] Furthermore, to facilitate a clear description of the technical solutions of the embodiments of the present invention, the terms "first" and "second" are used in the embodiments of the present invention to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that the terms "first" and "second" are not necessarily different.

[0030] In this embodiment of the invention, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" or "for example" in this embodiment of the invention should not be construed as superior or more advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for ease of understanding.

[0031] With the increasing frequency of space missions, the professional competence of personnel in ground control systems directly impacts the reliability and safety of mission execution. Therefore, before actual mission execution, it is essential to conduct thorough simulation exercises in a training environment equivalent to the real mission system to ensure personnel are proficient in operating procedures and can handle various unexpected situations. This requirement makes the construction of simulation training environments a crucial link in the space mission support system. As multiple missions are carried out in parallel, the need for simultaneous implementation of multiple training scenarios is becoming increasingly urgent, placing higher demands on the resource adaptability and parallel support capabilities of the training environment.

[0032] To meet the above practice needs, existing technologies typically use a fixed hardware resource deployment approach to construct the practice environment. This means that a separate set of physical devices with the same hardware specifications as the real task system is configured for each practice scenario. Business software is installed manually, and network parameters and data interfaces are configured to ensure that the practice environment is consistent with the actual task system in terms of operation process and response logic, thereby providing personnel with a realistic practice experience.

[0033] However, this method of constructing a practice environment based on fixed hardware has a core technical flaw: the practice environment is strongly bound to specific hardware resources, resulting in the long-term occupation of hardware resources. When multiple practice scenarios are carried out in parallel, not only is it necessary to invest a lot of hardware costs to add new equipment, but there will also be problems of idle hardware resources and conflicts with the needs of parallel practice. At the same time, the process of manually configuring the environment is time-consuming and laborious, and it is difficult to quickly respond to the dynamic needs of multi-scenario practice. Ultimately, this results in low resource utilization, low practice preparation efficiency, and an inability to adapt to the demands of multi-scenario parallel practice under the intensive nature of aerospace missions.

[0034] In view of this, embodiments of the present invention provide a method and apparatus for constructing a multi-scenario practice environment based on a cloud platform. The method includes: generating image business software based on the business software and runtime configuration information of a task system; for multiple practice scenarios, sorting out the deployment requirements and virtual machine resource configurations of the image business software corresponding to each practice scenario to obtain a configuration list corresponding to each practice scenario; dividing the cloud platform into multiple logical network partitions, each logical network partition corresponding to a practice scenario or a common partition, the common partition being used to deploy resident business software shared by all practice scenarios; allocating an independent virtual VLAN subnet address to the logical network partition corresponding to each practice scenario, and configuring a dedicated communication link between the common partition and the logical network partition corresponding to each practice scenario; and according to each practice scenario... The corresponding configuration list creates a corresponding virtual machine cluster, deploys the image service software and completes service registration, and then performs network configuration according to the independent virtual VLAN subnet address corresponding to each practice scenario to form a runnable practice environment instance for each practice scenario. The image service software in the runnable practice environment instance of each practice scenario is scheduled and monitored. In response to the user's practice operation command for the target practice scenario, the runnable practice environment instance corresponding to the target practice scenario is invoked to complete the simulation practice of the target practice scenario, which is one of the multiple practice scenarios. In response to the user's practice end command for the target practice scenario, the practice data corresponding to the target practice scenario is stored, and the computing, storage and communication resources corresponding to the target practice scenario are released to the cloud platform resource pool.

[0035] The method provided by this invention generates image business software based on the business software and runtime configuration information of the task system, sorts out the deployment requirements and virtual machine resource configurations of the image business software corresponding to each practice scenario and forms a configuration list, divides logical network partitions and configures dedicated communication links, creates virtual machine clusters and performs network configuration, schedules and monitors the image business software to complete the simulation practice, and finally stores the practice data and releases resources to the cloud platform resource pool. This achieves parallel and interference-free implementation of multiple practice scenarios and solves the problem of parallel practice resource conflicts caused by fixed hardware resource occupation. At the same time, by dynamically creating practice environments and releasing resources to the resource pool, the utilization rate of hardware resources is improved, resource idleness is avoided, and no large amount of manpower is required for environment configuration and maintenance, thus improving the efficiency of practice environment construction and parallel practice preparation.

[0036] It can also be understood that the beneficial effects of the present invention are as follows: The method provided by the present invention provides a unified description of the deployment requirements and runtime resource configuration of the mirror business software in the practice system, pulls the mirror business software from the maintenance library according to the deployment requirements and resource configuration, creates business virtual machine templates corresponding to each practice scenario as needed, dynamically and uniquely creates the environment identifier of the multi-scenario mirror system, completes resource allocation based on the cloud platform, and uniformly manages the parallel environment of multiple practice scenarios through the cloud platform management interface and scheduling control terminal software, so as to solve the problems of resource conflicts, slow resource construction and startup, and low resource utilization in parallel practice of multiple scenarios.

[0037] In some embodiments, the method for constructing a multi-scenario practice environment based on a cloud platform provided by the present invention can be executed by a multi-scenario practice environment construction device 100 based on a cloud platform (hereinafter referred to as the practice environment construction device 100).

[0038] As an example, the practice environment construction device 100 can be any electronic device 200 with data processing capabilities, such as a general-purpose computer, personal computer, laptop computer, switch, or tablet computer. The specific implementation of the practice environment construction device 100 is not limited here.

[0039] The following description, in conjunction with the accompanying drawings, illustrates a method for constructing a multi-scenario practice environment based on a cloud platform, as provided in an embodiment of the present invention.

[0040] It should be understood that the steps shown in the flowcharts in the accompanying drawings can be performed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than that shown here.

[0041] Figure 1 This is a flowchart illustrating a method for constructing a multi-scenario practice environment based on a cloud platform, provided by an embodiment of the present invention. Optionally, this method can be executed by a practice environment construction device. The method includes the following steps: S1. Generate image business software based on the business software and runtime configuration information of the task system. For multiple practice scenarios, sort out the deployment requirements and virtual machine resource configurations of the image business software for each practice scenario to obtain the configuration list for each practice scenario.

[0042] In some embodiments, the deployment requirements for the image service software include the software identifier of each image service software, the identifier of the corresponding deployed virtual machine, the installation path, and the dependent system software; the virtual machine resource configuration includes hard disk storage capacity, number of CPU cores, number of memory, number of GPUs, and network bandwidth; the configuration list corresponding to the exercise scenario includes a list of image service software deployment requirements, details of virtual machine resource configuration, virtual machine creation order, and IP sequence number within the subnet.

[0043] Specifically, to ensure the cloud platform's adaptability to dynamic resource allocation for image software, the required number of virtual machines is determined according to business aggregation relationships, maintaining a 1:1 virtual machine installation and deployment ratio. The required resources, including hard disk storage (GB), CPU (cores), memory (GB), GPU (units), and network bandwidth (GB / s), are determined based on the installation and operational resource requirements of the business software on each business host. Resource requirements are determined based on the workload of the running software. For example, virtual machines running data storage services require a larger amount of hard disk space; virtual machines running the display and control subsystem's backend services require more CPU and memory resources. Before deploying and running each image business software, the required storage and operational resources are applied for from the cloud platform. Based on the installation and operational resource requirements of each image software, the required resources are determined, including logically dividing each image business software and assigning it a unique ID, specifying the resources required for its operation (i.e., image business software deployment requirements and virtual machine resource configuration), as shown in Table 1. After merging the configuration requirement descriptions of all business hosts, the host creation order and its subnet IP sequence number are given, forming the configuration of the training group for all business hosts in this business scenario (i.e., the above configuration list), as shown in Table 2.

[0044] Table 1. Deployment Requirements and Virtual Machine Resource Configuration for Image Service Software Table 2 Configuration List It should be noted that the above configuration is only an example. The method provided in this embodiment of the invention may include more or fewer practice groups than the above configuration, and each practice group may also include more or fewer virtual machines. This embodiment of the invention does not impose any particular limitation on this.

[0045] It should be understood that each software ID corresponds to a mirrored business software, i.e., software ID1 corresponds to mirrored business software 1, and software ID2 corresponds to mirrored business software 2. Similarly, each practice group corresponds to a practice scenario, i.e., practice group 1 corresponds to practice scenario 1, and practice group 2 corresponds to practice scenario 2.

[0046] The method provided by this invention clarifies the deployment requirements of image service software, including software identifier, corresponding virtual machine identifier, installation path, and dependent system software. Virtual machine resource configuration covers hard disk storage capacity, number of CPU cores, number of memory, number of GPUs, and network bandwidth. The configuration list corresponding to the practice scenario includes a list of image service software deployment requirements, details of virtual machine resource configuration, virtual machine creation order, and IP serial number within the subnet. This enables the cloud platform to accurately adapt to the dynamic resource allocation requirements of image software, ensuring that the resources required for the deployment and operation of each image service software are clear and can be accurately allocated. This provides a clear and accurate basis for subsequent virtual machine cluster creation, software deployment, and network configuration, ensuring the orderliness and accuracy of the practice environment construction.

[0047] S2. Divide the cloud platform into multiple logical network partitions. Each logical network partition corresponds to a practice scenario or a common partition. The common partition is used to deploy resident business software shared by all practice scenarios.

[0048] Specifically, S2 can also be understood as: using the cloud platform's network management capabilities to pre-divide N+1 logical network partitions (N practice areas + 1 public area, each practice area corresponds to a practice group, that is, each practice area corresponds to a practice scenario) subnets and configure gateways to build a pre-practice environment.

[0049] It should be noted that the cloud platform can be understood as a centralized management platform that integrates functions such as resource scheduling, network management, and virtual machine cluster deployment (e.g., based on domestic platforms such as Huawei Cloud Stack, Alibaba Cloud Apsara Stack, UCloudStack, and ZStack Cloud, or a customized platform built on OpenStack and VMware vSphere). Its core function is to uniformly manage hardware resources (server clusters, Alibaba Cloud Apsara Enterprise Edition, storage devices, and network devices) and allocate them as needed. In this invention, the cloud platform is deployed in the practice environment construction device 100.

[0050] S3. Assign an independent virtual VLAN subnet address to each logical network partition corresponding to the practice scenario, and configure a dedicated communication link between the public partition and each logical network partition corresponding to the practice scenario.

[0051] Specifically, according to the VLAN subnetting format in Table 3, VLAN subnet addresses (such as aa.bb.cc1.000) are dynamically assigned to the practice group to achieve network isolation between the group and the practice environment at the network layer.

[0052] Table 3 Dynamic Configuration of Practice Groups and VLANs When creating a cloud host, its IP address (aa.bb.cc1.dd1) is assigned using a combination of the subnet address (e.g., the IP address of VLAN1 is aa.bb.cc1.000 / 24) and the internal subnet address (e.g., the internal address VLAN1.dd1). The pre-practice environment is matched to ensure that there is only one practice session within the same subnet (and only one corresponding practice scenario within the same subnet). VLANs are partitioned based on interfaces, and network communication is configured between the public network area host and multiple practice subnet virtual machines. The resident practice software is deployed in the public network area host area, and each of the N sub-practice network areas deploys its own practice software. The practice software in each sub-practice network area is deployed within the same subVLAN. The network architecture is as follows: Figure 2 As shown.

[0053] S4. Create a corresponding virtual machine cluster based on the configuration list for each exercise scenario, deploy the image business software, and complete service registration.

[0054] Specifically, after dynamically launching virtual cloud hosts and starting the practice software according to the needs of the practice environment, the initial state of each practice software is the initial state after the image software is instantiated. The system will actively discover the launched practice software and complete service registration.

[0055] In some embodiments, the method provided by the present invention further includes: Based on the configuration list, network configuration results, and image service software deployment status of each practice scenario, an image template for each practice scenario is generated. In response to the user's input instruction to create a practice environment for the target practice scenario, the cloud platform interface is called to load the image template of the target practice scenario, and the virtual machine cluster required for the target practice scenario is created in the order of the business cloud host creation list to complete the environment creation of the target practice scenario.

[0056] The method provided by this invention generates an image template for each practice scenario. When responding to the practice environment creation command, the image template is loaded and a virtual machine cluster is created in the order of the business cloud host creation list. This eliminates the need to repeatedly perform tedious steps such as virtual machine creation, software deployment, and network configuration, thus enabling rapid construction of the practice environment. This significantly shortens the preparation time of the practice environment and meets the needs of rapid deployment of multi-scenario practice. At the same time, the reuse of image templates also improves the consistency and reliability of practice environment construction.

[0057] Specifically, the business cloud host cluster is created according to the configuration of the business practice group. Virtual machines are created sequentially using the cloud platform's virtual machine management tool, according to the configuration of each business practice group. Resources are allocated to the virtual machines according to the software deployment configuration and resource requirements. Public service application software operates in a normal mode, while single-scenario-level runtime environment software is flexibly deployed and run on the cloud platform according to practice needs.

[0058] Then, based on the requirements of the running software platform, install the corresponding operating system, create the corresponding users and directories, copy the software from the software server to the target directory according to the software list, ensure that the system's dependent software is installed completely, and after configuration, store it as the business cloud host image initial template V0 (equivalent to the above image template).

[0059] Then, following the order of the business cloud host creation list specified by the training cluster, the cloud platform interface is called to create training scenario image templates. After the image cloud hosts are started, the IP / VLAN / multicast / configuration files are modified, and then the business applications are started according to the business operation list. After the virtual software starts running and passes the status check, the initial template of the virtual machine image is updated to V1. When the template image is updated subsequently, the version number is incremented sequentially (equivalent to real-time version updates of the image template corresponding to each training scenario mentioned above).

[0060] S5. Configure the network according to the independent virtual VLAN subnet address corresponding to each practice scenario to form a runnable practice environment instance for each practice scenario.

[0061] Specifically, the cloud host IP is dynamically modified based on the virtual VLAN allocation results, and the IP configuration of other dependent cloud hosts is adapted accordingly.

[0062] In one possible implementation, the network configuration includes: The IP address of the target virtual machine is dynamically modified according to the independent virtual VLAN subnet address corresponding to each exercise scenario, and the IP configuration of other virtual machines on which the image service software depends is adapted and updated. The target virtual machine is one of the multiple virtual machines included in the virtual machine cluster.

[0063] The method provided by this invention can ensure that after the mirror service software starts, the IP address of each virtual machine is matched with the corresponding VLAN subnet address in a timely manner, and the IP configuration of other virtual machines that the software depends on is adapted and updated, thus ensuring normal communication between the mirror service software in the practice scenario and providing network-level support for the smooth conduct of simulation exercises.

[0064] In another possible implementation, the network configuration also includes a service discovery mechanism, including: supporting mirror service software to find other related software in the same practice scenario through its own IP, and supporting practice clients to find server software in the same practice scenario based on the environment identifier of the corresponding practice scenario, wherein the target virtual machine is one of the multiple virtual machines included in the virtual machine cluster.

[0065] Specifically, to meet the service discovery needs of practice software, the method provided in this embodiment of the invention supports the following forms of service discovery mechanisms: practice software can search for other software under the same task using its own IP address, and practice clients can search for server software under the same task based on a unique practice task identifier.

[0066] S6. Schedule and monitor the mirrored business software in each runnable practice environment instance of the practice scenario. In response to the user's practice operation command for the target practice scenario, call the runnable practice environment instance corresponding to the target practice scenario to complete the simulated practice of the target practice scenario.

[0067] The target practice scenario is one of the plurality of practice scenarios.

[0068] In some embodiments, the scheduling monitoring includes: The system sends control commands to the scheduling and control terminal software deployed on each virtual machine through the centralized management software. These control commands are used to perform startup, running status monitoring, and shutdown operations on the image service software. The system also issues practice process control commands and time control instructions through the practice process control software. These practice process control commands and time control instructions are used to control the practice process of the practice scenario.

[0069] Specifically, the aforementioned scheduling and monitoring can also be understood as follows: By deploying scheduling and control terminal software on each virtual machine, the system schedules, unifies, and monitors the running status of business software. Through centralized system management, control commands are sent to the scheduling and control terminal software, and running status is collected. This enables the startup, running status monitoring, and shutdown of business application software on each virtual computing resource within the computing cluster of each practice scenario's running environment. Practice process control software is used to monitor the practice process and control business workflows, issue practice process control commands and time controls, and interpret and forward practice process control commands to the simulation console.

[0070] The method provided by this invention achieves unified scheduling and operational status monitoring of mirror business software for each practice scenario through scheduling and monitoring, ensuring that the practice process proceeds according to the preset process, timely grasping the software operation status and handling abnormal situations, and guaranteeing the standardization and smooth completion of the simulation practice.

[0071] In other embodiments, before scheduling and monitoring the mirror service software for each practice scenario, the method provided by this embodiment of the invention further includes: The network connectivity test is performed between virtual machines corresponding to each exercise scenario using the platform communication testing tool. The network connectivity test includes TCP connection reachability test, UDP unicast connection reachability test and UDP multicast connection reachability test.

[0072] Specifically, after configuration, network connectivity tests between virtual machines are performed using the platform's communication testing tools, testing TCP connection reachability, UDP unicast connection reachability, and UDP multicast reachability.

[0073] It should be noted that TCP connection reachability, UDP unicast connection reachability, and UDP multicast reachability are core indicators of network connectivity testing, used to verify whether the data transmission capabilities between virtual machines in the practice scenario meet the simulation practice requirements. TCP connection reachability refers to the establishment of a reliable connection between virtual machines through the Transmission Control Protocol (TCP), which enables ordered and lossless data transmission, suitable for critical business data interaction that requires confirmation of receipt and feedback in practice (such as the issuance of practice instructions, status synchronization, etc.). UDP unicast connection reachability refers to point-to-point data transmission from a single sender to a single receiver through the User Datagram Protocol (UDP). Although it does not guarantee data reliability, it has low transmission latency, suitable for fragmented data interaction with high real-time requirements in practice (such as real-time reporting of software running status). UDP multicast reachability refers to one-to-many data transmission from a single sender to multiple specified receivers through UDP, which can efficiently synchronize common data of multiple virtual machines in the same practice scenario (such as practice process time nodes, global parameter configurations, etc.), ensuring that multiple virtual machines collaboratively complete the practice task.

[0074] As can be seen from the above, the method provided by the present invention can detect network connectivity problems between virtual machines in advance, ensuring that the transmission of control commands and collection of running status between the centralized management software of the system and the scheduling control terminal software deployed on each virtual machine can be carried out smoothly during the subsequent scheduling and monitoring process, avoiding interruption of the practice process or failure of monitoring due to network failure, and ensuring the stability of the simulation practice.

[0075] In one possible implementation, the method further includes: generating a globally unique environment identifier for each practice scenario, and binding the practice scheme information, scenario data, and interaction data of the mirror business software corresponding to the practice scenario with the environment identifier.

[0076] Specifically, to achieve flexible configuration of training content in multi-scenario practice environments and avoid data confusion across multiple scenarios, training scenarios and their interaction data are identified and managed, thereby logically dividing the data across multiple practice environments, such as... Figure 3 As shown, this invention generates a globally unique environment identifier for practice scheme information and environment information. The practice business software binds all practice schemes and practice environment data to this environment identifier, maintaining a one-to-one mapping relationship between data packets under different communication protocols and practice tasks, and logically dividing practice data for multiple scenarios.

[0077] Furthermore, the practice operation instruction carries the environment identifier of the target practice scenario; the step of responding to the user's practice operation instruction for the target practice scenario and calling the runnable practice environment instance corresponding to the target practice scenario to complete the simulated practice of the target practice scenario includes: locating the runnable practice environment instance corresponding to the target practice scenario according to the environment identifier of the target practice scenario, and performing scheduling control operations only on the mirror business software and associated data in the instance to complete the user's simulated practice of the target practice scenario; S7. In response to the user's instruction to end practice in the target practice scenario, store the practice data corresponding to the target practice scenario and release the computing, storage and communication resources corresponding to the target practice scenario to the cloud platform resource pool.

[0078] Specifically, the system stores practice data, task data, and practice status data. Through centralized system management, control commands are sent to the scheduling and control terminal software to shut down the running software in each scenario environment, releasing occupied computing resources, temporary storage, and communication resources. After release, a completion message is sent, and centralized system management uses cloud platform tools to shut down the scenario virtual machines and restore the original environment.

[0079] In combination with the above possible implementations, the practice end instruction carries the environment identifier of the target practice scenario; the step of responding to the user's practice end instruction for the target practice scenario, storing the practice data corresponding to the target practice scenario, and releasing the computing, storage, and communication resources corresponding to the target practice scenario to the cloud platform resource pool includes: responding to the user's practice end instruction for the target practice scenario, filtering and storing the practice data of the target practice scenario according to the environment identifier of the target practice scenario, and releasing the computing, storage, and communication resources corresponding to the environment identifier of the target practice scenario to the cloud platform resource pool in a targeted manner.

[0080] In the method provided by this invention, both the practice operation command and the practice end command carry an environmental identifier of the target practice scenario. When responding to the practice operation command, the corresponding mirror business software and associated data are located according to the environmental identifier, and only scheduling control operations are performed. When responding to the practice end command, the practice data is filtered and stored according to the environmental identifier, and resources are released in a targeted manner. This ensures that the system can accurately identify the target practice scenario and only operate and process resources for the target scenario without affecting the operation of other parallel practice scenarios. This further enhances the effect of multi-scenario parallelism without interference. At the same time, it realizes the accurate storage of practice data and the targeted release of resources, improving the fineness of resource management.

[0081] As described in S1-S7 above, the method provided by this invention generates image business software based on the business software and runtime configuration information of the task system, sorts out the deployment requirements and virtual machine resource configurations of the image business software corresponding to each practice scenario and forms a configuration list, divides logical network partitions and configures dedicated communication links, creates virtual machine clusters and performs network configuration, schedules and monitors the image business software to complete the simulation practice, and finally stores the practice data and releases resources to the cloud platform resource pool. This achieves parallel and interference-free implementation of multiple practice scenarios and solves the problem of parallel practice resource conflicts caused by fixed hardware resource occupation. At the same time, by dynamically creating practice environments and releasing resources to the resource pool, the utilization rate of hardware resources is improved, resource idleness is avoided, and no large amount of manpower is required for environment configuration and maintenance, thus improving the efficiency of practice environment construction and parallel practice preparation.

[0082] In some embodiments, the method provided by the present invention further includes: Based on the configuration list, network configuration results, and image service software deployment status of each practice scenario, an image template for each practice scenario is generated. In response to the user's input instruction to create a practice environment for the target practice scenario, the cloud platform interface is called to load the image template of the target practice scenario, and the virtual machine cluster required for the target practice scenario is created in the order of the business cloud host creation list to complete the environment creation of the target practice scenario.

[0083] The method provided by this invention generates an image template for each practice scenario. When responding to the practice environment creation command, the image template is loaded and a virtual machine cluster is created in the order of the business cloud host creation list. This eliminates the need to repeatedly perform tedious steps such as virtual machine creation, software deployment, and network configuration, thus enabling rapid construction of the practice environment. This significantly shortens the preparation time of the practice environment and meets the needs of rapid deployment of multi-scenario practice. At the same time, the reuse of image templates also improves the consistency and reliability of practice environment construction.

[0084] To facilitate understanding of this solution, the method provided by the embodiments of the present invention will be further explained below with reference to a specific example.

[0085] In one example, two practice scenarios, "satellite attitude adjustment" and "data transmission scheduling," need to be carried out in parallel. The specific implementation process is as follows: First, extract the business software and runtime configuration information of the real mission system, and generate two sets of mirrored business software in a one-to-one mirror manner. Then, sort out the deployment requirements and resource configurations for each scenario: the satellite attitude adjustment scenario requires two virtual machines, each configured with corresponding hard disk, CPU, memory and other resources, to deploy the attitude control main software and data processing software; the data transmission scheduling scenario requires one virtual machine, configured with large storage capacity and multiple GPU resources, to deploy the transmission scheduling software. Two configuration lists containing software deployment lists, resource details and other information are compiled.

[0086] Next, the cloud platform is divided into three logical network partitions: two for practice scenarios and one as a public partition for deploying resident business software. Independent virtual VLAN subnet addresses aa.bb.cc1.0 / 24 and aa.bb.cc2.0 / 24 are assigned to the two practice scenarios respectively, and dedicated communication links are configured between the public partition and the practice partition to achieve network isolation and communication support.

[0087] Subsequently, the cloud platform creates the corresponding virtual machine clusters based on the configuration list, allocates hardware resources, installs the operating system, deploys the image business software and completes service registration, and then dynamically modifies the virtual machine IPs according to the corresponding VLAN subnet addresses, adapting and updating the IP configurations of other virtual machines that the software depends on, thus forming two runnable practice environment instances.

[0088] Before scheduling and monitoring, the reachability tests of TCP, UDP unicast and multicast connections between virtual machines in each scenario are completed using the platform's communication testing tools. At the same time, a globally unique environment identifier is generated for each scenario, which is bound to the corresponding practice scheme information, scenario data and software interaction data.

[0089] When a user initiates a practice operation command, the command carries a target scenario environment identifier. Based on this identifier, the cloud platform locates the corresponding runnable practice environment instance and performs scheduling and control operations only on the software and associated data within that instance. The two scenarios run in parallel without interference. After the practice is completed, the practice data is filtered and stored based on the environment identifier, and the corresponding computing, storage, and communication resources are released to the cloud platform resource pool.

[0090] In addition, the cloud platform generates image templates based on configuration lists for each scenario, network configuration results, and software deployment status. These templates can then be loaded to quickly create identical practice environments, significantly improving preparation efficiency. Throughout the process, the system uses centralized management software and scheduling control terminal software to monitor the startup and operation of the image software and control the practice process, ensuring that the practice is completed in a standardized and orderly manner.

[0091] The foregoing mainly describes the solutions of the embodiments of the present invention from a methodological perspective. It is understood that, in order to achieve the above-mentioned functions, the practice environment construction device 100 includes at least one of the hardware structures and software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of the present invention can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of the present invention.

[0092] In this embodiment of the invention, the practice environment construction device 100 can be divided into functional units according to the above method example. For example, the practice environment construction device 100 can be divided into functional units corresponding to each function, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this embodiment of the invention is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0093] For example, Figure 4This diagram illustrates the hardware structure of a practice environment construction device according to an embodiment of the present invention. The practice environment construction device 100 includes: a configuration generation module 110, used to generate image business software based on the business software and runtime configuration information of a task system; for multiple practice scenarios, it sorts out the deployment requirements and virtual machine resource configurations of the image business software corresponding to each practice scenario to obtain a configuration list corresponding to each practice scenario; a partitioning module 120, used to divide multiple logical network partitions through a cloud platform, each logical network partition corresponding to a practice scenario or a public partition, the public partition being used to deploy resident business software shared by all practice scenarios; allocating an independent virtual VLAN subnet address to each logical network partition corresponding to a practice scenario, and configuring a dedicated communication link between the public partition and each logical network partition corresponding to a practice scenario; and an instance configuration module 130, used to configure the configuration list corresponding to each practice scenario. A corresponding virtual machine cluster is created, the image service software is deployed and service registration is completed, and then network configuration is performed according to the independent virtual VLAN subnet address corresponding to each practice scenario to form a runnable practice environment instance for each practice scenario; the monitoring module 140 is used to schedule and monitor the image service software in the runnable practice environment instance of each practice scenario, and in response to the user's practice operation command for the target practice scenario, it calls the runnable practice environment instance corresponding to the target practice scenario to complete the simulation practice of the target practice scenario, where the target practice scenario is one of the multiple practice scenarios; the monitoring module 140 is also used to, in response to the user's practice end command for the target practice scenario, store the practice data corresponding to the target practice scenario, and release the computing, storage and communication resources corresponding to the target practice scenario to the cloud platform resource pool.

[0094] It should be understood that specific descriptions of the above-mentioned optional methods can be found in the foregoing method embodiments, and will not be repeated here. Furthermore, explanations of any of the above-provided practice environment construction devices 100 and descriptions of their beneficial effects can be found in the corresponding method embodiments, and will not be repeated here.

[0095] This invention also provides a computer-readable storage medium storing at least one computer instruction, which is loaded and executed by a processor to implement the methods of the various embodiments described above. Explanations of the relevant content and descriptions of the beneficial effects of any of the computer-readable storage media provided above can be found in the corresponding embodiments described above, and will not be repeated here.

[0096] This invention also provides a chip. This chip integrates a control circuit for implementing the functions of the aforementioned practice environment construction device 100 and one or more ports. Optionally, the functions supported by this chip are as described above and will not be repeated here.

[0097] Those skilled in the art will understand that the program for implementing all or part of the steps of the above embodiments, which can be executed by a program instructing related hardware, can be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a random access memory, etc. The processing unit or processor mentioned above can be a central processing unit, a general-purpose processor, an application-specific integrated circuit (ASIC), a microprocessor (DSP), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.

[0098] This invention also provides a computer program product containing instructions that, when executed on a computer, cause the computer to perform any of the methods described in the above embodiments. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this invention is generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions may be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., SSD), etc.

[0099] It should be noted that the devices for storing computer instructions or computer programs provided in the embodiments of the present invention, such as, but not limited to, the aforementioned memory, computer-readable storage medium, and communication chip, are all non-transitory. Those skilled in the art should recognize that the functions described in the embodiments of the present invention in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable storage medium or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of computer programs from one place to another. Storage media can be any available medium accessible to general-purpose or special-purpose computers.

[0100] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A method for constructing a multi-scenario practice environment based on a cloud platform, characterized in that, The method includes: Based on the business software and runtime configuration information of the task system, image business software is generated. For multiple practice scenarios, the deployment requirements and virtual machine resource configurations of the image business software for each practice scenario are sorted out to obtain the configuration list for each practice scenario. The cloud platform is divided into multiple logical network partitions, each of which corresponds to a practice scenario or a public partition. The public partition is used to deploy resident business software shared by all practice scenarios. An independent virtual VLAN subnet address is allocated to each logical network partition corresponding to a practice scenario, and a dedicated communication link is configured between the public partition and each logical network partition corresponding to the practice scenario. Create a corresponding virtual machine cluster based on the configuration list for each practice scenario, deploy the image business software and complete service registration, and then configure the network according to the independent virtual VLAN subnet address for each practice scenario to form a runnable practice environment instance for each practice scenario. The mirrored business software in the runnable practice environment instance of each practice scenario is scheduled and monitored. In response to the user's practice operation command for the target practice scenario, the runnable practice environment instance corresponding to the target practice scenario is invoked to complete the simulated practice of the target practice scenario. The target practice scenario is one of the multiple practice scenarios. In response to the user's instruction to end practice in the target practice scenario, the practice data corresponding to the target practice scenario is stored, and the computing, storage, and communication resources corresponding to the target practice scenario are released to the cloud platform resource pool.

2. The method for constructing a multi-scenario practice environment based on a cloud platform according to claim 1, characterized in that, The deployment requirements for the mirrored service software include the software identifier of each mirrored service software, the identifier of the corresponding deployed virtual machine, the installation path, and the dependent system software; the virtual machine resource configuration includes hard disk storage capacity, number of CPU cores, number of memory, number of GPUs, and network bandwidth; the configuration list corresponding to the exercise scenario includes a list of deployment requirements for the mirrored service software, details of virtual machine resource configuration, virtual machine creation order, and IP sequence number within the subnet.

3. The method for constructing a multi-scenario practice environment based on a cloud platform according to claim 1, characterized in that, The network configuration includes: The IP address of the target virtual machine is dynamically modified according to the independent virtual VLAN subnet address corresponding to each exercise scenario, and the IP configuration of other virtual machines on which the image service software depends is adapted and updated. The target virtual machine is one of the multiple virtual machines included in the virtual machine cluster.

4. The method for constructing a multi-scenario practice environment based on a cloud platform according to claim 1, characterized in that, Before scheduling and monitoring the mirrored business software for each practice scenario, the method further includes: The network connectivity test is performed between virtual machines corresponding to each exercise scenario using the platform communication testing tool. The network connectivity test includes TCP connection reachability test, UDP unicast connection reachability test and UDP multicast connection reachability test.

5. The method for constructing a multi-scenario practice environment based on a cloud platform according to claim 1, characterized in that, The method further includes: generating a globally unique environment identifier for each practice scenario, and binding the practice scheme information, scenario data, and interaction data of the mirror business software corresponding to the practice scenario with the environment identifier.

6. The method for constructing a multi-scenario practice environment based on a cloud platform according to claim 5, characterized in that, The practice operation instructions and the practice end instructions carry environmental identifiers of the target practice scenario; The step of responding to a user's practice operation command for a target practice scenario and invoking a runnable practice environment instance corresponding to the target practice scenario to complete the simulated practice of the target practice scenario includes: Based on the environment identifier of the target practice scenario, locate the runnable practice environment instance corresponding to the target practice scenario, and perform scheduling and control operations only on the mirror business software and associated data in the instance to complete the user's simulated practice of the target practice scenario; The step of responding to the user's instruction to end practice in the target practice scenario, storing the practice data corresponding to the target practice scenario, and releasing the computing, storage, and communication resources corresponding to the target practice scenario to the cloud platform resource pool includes: In response to the user's instruction to end practice in the target practice scenario, the system filters and stores the practice data of the target practice scenario based on the environment identifier of the target practice scenario, and releases the computing, storage, and communication resources corresponding to the environment identifier of the target practice scenario to the cloud platform resource pool.

7. The method for constructing a multi-scenario practice environment based on a cloud platform according to claim 1, characterized in that, The method further includes: Based on the configuration list, network configuration results, and deployment status of the mirrored service software for each practice scenario, an image template for each practice scenario is generated. In response to the user's input instruction to create a practice environment for the target practice scenario, the cloud platform interface is invoked to load the image template of the target practice scenario, and the virtual machine cluster required for the target practice scenario is created in the order of the business cloud host creation list to complete the environment creation of the target practice scenario.

8. The method for constructing a multi-scenario practice environment based on a cloud platform according to claim 1, characterized in that, The scheduling and monitoring include: The system sends control commands to the scheduling and control terminal software deployed on each virtual machine through the centralized management software. These control commands are used to perform startup, running status monitoring, and shutdown operations on the image service software. The system also issues practice process control commands and time control instructions through the practice process control software. These practice process control commands and time control instructions are used to control the practice process of the practice scenario.

9. A device for constructing a multi-scenario practice environment based on a cloud platform, characterized in that, The device includes: The configuration generation module is used to generate image business software based on the business software and runtime configuration information of the task system. For multiple practice scenarios, the deployment requirements of image business software and virtual machine resource configurations for each practice scenario are sorted out to obtain the configuration list for each practice scenario. The partitioning module is used to divide the cloud platform into multiple logical network partitions. Each logical network partition corresponds to a practice scenario or a public partition. The public partition is used to deploy the resident business software shared by all practice scenarios. An independent virtual VLAN subnet address is allocated to each logical network partition corresponding to the practice scenario, and a dedicated communication link is configured between the public partition and each logical network partition corresponding to the practice scenario. The instance configuration module is used to create a corresponding virtual machine cluster based on the configuration list for each exercise scenario, deploy the image business software and complete the service registration, and then perform network configuration based on the independent virtual VLAN subnet address for each exercise scenario to form a runnable exercise environment instance for each exercise scenario. The monitoring module is used to schedule and monitor the mirror business software in the runnable practice environment instance of each practice scenario. In response to the user's practice operation command for the target practice scenario, it calls the runnable practice environment instance corresponding to the target practice scenario to complete the simulated practice of the target practice scenario. The target practice scenario is one of the multiple practice scenarios. The monitoring module is also used to respond to the user's instruction to end the practice in the target practice scenario, store the practice data corresponding to the target practice scenario, and release the computing, storage and communication resources corresponding to the target practice scenario to the cloud platform resource pool.

10. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method for constructing a multi-scenario practice environment based on a cloud platform as described in any one of claims 1-8.