A method for constructing a metaverse experimental platform based on universal virtual mirror

By constructing a metaverse experimental platform based on a universal virtual image, it solves the problems of low resource utilization, high cost and time and space constraints in traditional laboratories, achieves efficient use of resources and support for multiple types of experiments, and improves teaching efficiency and Learning experience ensures the security of experimental data.

CN118211436BActive Publication Date: 2024-09-06NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410635971.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-06
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

The traditional laboratory teaching model has problems such as resource dispersion, duplication of construction, time and space constraints, etc., which limits teaching efficiency and students' learning experience.

Method used

By building a metaverse experimental platform based on universal virtual mirrors, using virtual reality technology, artificial intelligence and 3D modeling, a highly immersive and interactive virtual laboratory can be created to break through time and space constraints and realize multiple types of professional laboratories. Virtualization operations reduce hardware device dependence and maintenance costs.

Benefits of technology

It maximizes the utilization of resources, reduces construction and maintenance costs, improves teaching efficiency and learning experience, provides flexible deployment and resource saving, breaks through time and space constraints, supports virtualization operations of multiple types of experiments, and ensures Security and privacy protection of experimental data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118211436B
    Figure CN118211436B
Patent Text Reader

Abstract

The present invention discloses a method for constructing a metaverse experimental platform based on a universal virtual image. The architecture of the system platform mainly includes a physical computing resource layer, a virtualization layer, a management layer of a virtual laboratory image, and an upper-layer experimental business process management layer. Based on the system platform, a professional virtual laboratory covering various types can be constructed. Through the platform, the arrangement, loading, startup and experimental process management of different types of virtual laboratory resource images can be realized. Based on unified computing resources, a metaverse experimental platform covering various professional virtualized laboratories is constructed. Compared with traditional professional laboratories, the laboratory platform proposed in the present invention breaks through the constraints of traditional laboratories on experimental time and experimental space, can virtualize laboratories of various professional types, has the characteristics of flexible deployment and resource conservation, and can greatly reduce the time and material investment costs of laboratory construction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of metaverse experimental platform construction, and in particular relates to a method for constructing a metaverse experimental platform based on a universal virtual mirror. Background Art

[0002] The traditional laboratory teaching model has problems such as scattered resources, duplicate construction, and the experimental process being constrained by time and space, which limits the efficiency of teaching and the learning experience of students. Traditional laboratories require a lot of space and equipment, and it is difficult to meet the teaching needs of different professional fields at the same time. In addition, traditional laboratory teaching is usually restricted by time and place, and students need to study in a specific laboratory environment, which greatly reduces the flexibility and autonomy of learning.

[0003] The development of Metaverse technology and virtual mirror technology provides a new solution to these problems. The core of Metaverse technology includes virtual reality technology, artificial intelligence, 3D modeling and rendering, etc. The integration of these technologies makes Metaverse a highly immersive, interactive, and virtual and real digital space. Virtual mirror technology mainly includes server virtualization, desktop virtualization, application virtualization, etc., which can effectively improve the utilization of computing resources, reduce hardware maintenance costs, and improve the flexibility and reliability of the system. In the field of education, virtual mirror technology can be used to build virtual laboratories, provide remote experimental environments, etc., to provide students with richer learning resources and practical opportunities.

[0004] Traditional laboratories require a lot of hardware equipment and facilities investment, which need to be maintained and updated every semester. Traditional laboratories need to be rebuilt every cycle, which will eliminate a lot of equipment, resulting in huge waste and resource consumption. At the same time, how to break the many limitations of traditional laboratories in time and space is also a hot issue in this field. Summary of the invention

[0005] Purpose of the invention: In order to solve the problems of traditional laboratories in terms of experimental time and experimental space constraints, low resource utilization, high cost, etc., the present invention constructs a metaverse experimental platform based on a universal virtual mirror, so that various professional laboratories can directly perform experimental operations through the call of the platform, breaking through the time and space limitations of traditional laboratories, while providing flexible deployment and resource conservation, thereby greatly reducing the time and material investment costs of laboratory construction, and improving teachers' teaching efficiency and students' learning experience.

[0006] Technical solution: A method for constructing a metaverse experimental platform based on a universal virtual image in the present invention, wherein the metaverse experimental platform includes, from the bottom layer to the top layer, a physical resource layer, a virtual resource management layer, a persistence layer, a container scheduling and management layer, and an experimental plan and business management layer. The construction method includes the following steps:

[0007] Step 1: Create the Metaverse Lab platform: including equipment preparation, image preparation, and network configuration;

[0008] The equipment preparation is to prepare physical computing resources to form a physical resource layer, including servers, storage devices and network facilities; configure virtualization software and virtual machine management tools to form a virtual resource management layer to perform virtualization management on the physical resource layer; manage user data and experimental data through a persistence layer;

[0009] The image preparation is to prepare container scheduling and management layers, establish an image library, and configure corresponding image management software and scheduling tools;

[0010] The network configuration is to configure the routers, switches, firewalls, virtual local area networks (VLANs) and virtual private networks (VPNs) required for the Metaverse experimental platform;

[0011] Step 2: Create the image of the virtual laboratory: including base image creation, experimental resource image creation and user space image creation; after the virtual laboratory image assembly is completed, start the image and generate the experimental container;

[0012] Step 3: The user logs in to the Metaverse Experiment Platform and starts the experiment through the experimental container at the experimental plan and business management level.

[0013] Furthermore, in step 1, the device preparation is specifically as follows: the server selection is based on an x86 architecture server, including an Intel Xeon series or an AMD EPYC series; the storage device includes a hard disk, a solid-state drive or a storage array; the virtualization software includes Microsoft Hyper-V or a Kernel-based Virtual Machine; the virtual machine management tool includes VMware vCenter Server or Proxmox VE; and the persistence layer selects a MySQL database.

[0014] Furthermore, in step 1, the image library includes Docker or OpenStack Glance.

[0015] Furthermore, the process of generating the virtual resource management layer is as follows:

[0016] Receive user experiment requests forwarded from the system and analyze the computing plan tasks required for the user experiment:<c, m, s, t> , where c is the required CPU resources, m is the required memory resources, s is the experiment duration, and t is the experiment start time;

[0017] Traverse the current system experiment schedule table and calculate whether each server in the current platform can receive the experiment request. The algorithm is as follows: Assume that the total CPU resources of the current server S are C, the total memory is M, and the list of received experiment requests is TASK; traverse the TASK list and take out all<s,t> Received experiment requests in time period TASK i , accumulate each TASK i The c, m value is T C ,T m ; If the current server CT C >c and MT m >m, the experimental plan task will be assigned to the current server S.

[0018] Furthermore, the workflow of the container scheduling and management layer is as follows:

[0019] According to the system control process, obtain the experimental image, load it and deliver it to the user for use;

[0020] After the user completes the experiment and closes the container, the update process of the user's experimental data is started, which includes: submitting the container to a temporary directory; extracting the top readable and writable layer in the container, and submitting the files and data in the readable and writable layer to the user's data space in the platform; searching and comparing the user data space with the submitted new user data to see if they are consistent in content. If not, update the user space data based on the temporal relationship of the data content.

[0021] Furthermore, in step 2, the base image is the system environment rootfs for the operation of the virtual laboratory, and the experimental resource image includes corresponding software resources and data resources required for the virtual experiment.

[0022] Furthermore, in step 2, the user space image creation includes the following steps:

[0023] Step 2.1.1. Determine the data and files required by the user, including the files required for identity verification and the data and files generated during the experiment;

[0024] Step 2.1.2: Create a directory in the virtual lab system to store user space data and ensure that the directory has the appropriate permissions so that users can read and write files in it.

[0025] Step 2.1.3. Copy the files used for authentication to the user space directory.

[0026] Step 2.1.4: When the user generates data and files during the experiment, save the data in the user space directory. When the user's experiment process ends or the experimental data needs to be saved, package the user space directory into a mirror file.

[0027] Furthermore, in step 2, after the image assembly of the virtual laboratory is completed, the image is started to generate an experimental container, including the following steps:

[0028] Step 2.2.1: After the user passes the identity authentication and logs in to the system platform, he selects the experimental project and sends the start command;

[0029] Step 2.2.2: The platform pulls the base image and experimental resource image required for the virtual experiment image to a temporary directory according to the experimental project specified by the user;

[0030] Step 2.2.3: According to the experimental user's identity information, search the user's data space on the platform and pull the user data file of the specified experimental project to the temporary directory;

[0031] Step 2.2.4: After the required image files and data files are prepared, use the Unionfile systems file system to overlay and generate the specified experimental image containing the user data files;

[0032] Step 2.2.5: The system executes the resource allocation plan of the virtual resource management layer, obtains the allocated server and experiment time, sends the experiment image to the target server, starts the image at the scheduled time, and generates the experiment container.

[0033] Furthermore, step 3 specifically includes the following steps:

[0034] Step 3.1, Manage virtual machine instances and resource allocation: When allocating resources, dynamically adjust according to the current platform load and user needs, and monitor the CPU, memory, and disk resource utilization of the server in real time. The device will feed back information to the user and dynamically adjust the resource allocation of the virtual machine instance according to user requests and experimental requirements;

[0035] Step 3.2, Manage virtual laboratory images: The system regularly checks and updates various types of virtual laboratory images, including software versions and security patches, and timely updates the experimental content and teaching resources in the images according to the latest technologies and user needs;

[0036] Step 3.3, user experiment request and monitoring: When receiving user experiment request, the platform performs identity authentication and permission check to ensure that legitimate users access and use platform resources. After verification, the platform allocates virtual machine resources and loads the corresponding experiment image according to the user request. During the experiment, the platform monitors user operations and resource utilization, and records experimental data and results;

[0037] Step 3.4, Information Security Management: The system implements security management measures to ensure the security of student administrators and data. Users can set the account and permissions of student administrators and limit their scope of operation on the platform to avoid misoperation or malicious operation. Regularly review the student administrator account and revoke unnecessary permissions or accounts in a timely manner. The system encrypts and stores user data and experimental results, and sets access rights to limit user access and operation of sensitive data.

[0038] Step 3.5, end of experiment and release of resources: After the experiment is completed, the system automatically releases the virtual machine resources, cleans up the experimental data and environment, scores and provides feedback on the user's experimental results, and provides learning suggestions and improvement advice.

[0039] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages:

[0040] 1. Significant cost-effectiveness

[0041] Traditional laboratories require a lot of hardware equipment and facilities investment, and they need to be maintained and updated every semester. The virtual laboratory metaverse platform technology proposed in the present invention reduces the dependence on hardware equipment and greatly reduces the construction and maintenance costs. In addition, traditional laboratories need to be rebuilt every cycle, which will eliminate a large number of equipment, causing huge waste and resource consumption. The virtual laboratory metaverse platform proposed in the present invention maximizes the use of resources by effectively utilizing existing computing resources, reduces costs and reduces environmental pollution, and can adjust the experimental content through software updates and mirroring, realizing rapid updates and iterations of experimental content, and maintaining the novelty and practicality of the experiment.

[0042] 2. Realize virtualization support for multiple types of experiments

[0043] The present invention realizes virtualization support for multiple types of experiments by constructing a virtualized laboratory platform based on the concept of the metaverse. Laboratories in different professional fields, such as physics laboratories, computer laboratories, foreign language laboratories, etc., can all be virtualized on this platform, providing convenience for interdisciplinary comprehensive experimental learning.

[0044] 3. Convenience and flexibility

[0045] Compared with traditional professional laboratories, the virtual laboratory platform provided by the present invention has the characteristics of flexible deployment and resource conservation. Through virtualization technology, the cost investment of laboratory construction can be effectively compressed, the demand for hardware equipment can be reduced, and the investment in human resources can be saved. This not only reduces the operating costs of the school, but also improves the efficiency of resource utilization.

[0046] 4. Break through the limitations of time and space

[0047] Traditional laboratories have many limitations in time and space, and students need to perform experiments at specific times and places. The virtual laboratory platform provided by the present invention breaks through these limitations. Students can access the virtual laboratory through the Internet at any time and any place according to their own schedule and location selection to conduct experimental learning, which greatly improves the flexibility and convenience of learning.

[0048] 5. Operational data recording and evaluation

[0049] By accurately recording students' experimental operation behaviors and evaluating experimental results, the present invention realizes monitoring and evaluation of students' experimental process. Teachers can score and give feedback based on students' experimental performance to help students improve their experimental ability and learning level. This personalized evaluation method helps to improve teaching effectiveness and students' learning experience.

[0050] 6. Experimental data security and privacy protection

[0051] The present invention ensures the security and privacy of experimental data through strict security measures. It adopts highly encrypted data transmission and storage technology to ensure that students' experimental data will not be accessed and tampered with without authorization. At the same time, strict permission management is performed on students' personal information to protect students' privacy rights. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of the framework of the platform of the present invention;

[0053] Figure 2 It is an operation flow chart of the platform of the present invention. DETAILED DESCRIPTION

[0054] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0055] The metaverse experimental platform based on universal mirror of the present invention is generally divided into five layers, from the lowest layer to the highest layer, namely:

[0056] Physical resource layer: physical servers and storage devices used to provide computing resources, mainly composed of various network devices, computing devices, and storage devices;

[0057] Virtual resource management layer: used for underlying physical resource allocation, monitoring and management, opening upper-layer interfaces to support the pre-allocation, control and execution of computing resources required for various experimental plans;

[0058] Persistence layer: used for user personal data management, various virtual laboratory image management, and provides interfaces to support various data service calls between the upper container management layer and the experimental business layer;

[0059] Container scheduling and management layer: used for the assembly, deployment and scheduling management of various general virtual experiment image PODs. By calling the virtual resource management layer interface, the computing resources allocated to the POD are loaded and controlled.

[0060] Experimental plan and business management layer: It is used to realize experimental data management, user management, experimental process management, and provide users with various virtual laboratory service business functions and interface layers;

[0061] A method for constructing a metaverse experimental platform based on a universal mirror includes the following steps:

[0062] 1. Build the Metaverse Laboratory Platform

[0063] 1.1 Equipment preparation: Before building the Metaverse Laboratory platform, you first need to prepare appropriate physical computing resources, including servers, storage devices, and network facilities. Among them, the choice of server includes host processor, memory capacity, storage type, and network connection, etc. You can choose a server based on x86 architecture, such as Intel Xeon series or AMD EPYC series, etc. The choice of storage devices includes hard disks, solid-state drives, storage arrays, etc., and you can choose a suitable storage solution based on performance, capacity, and reliability. These devices will constitute the physical computing resource layer of the platform and provide support for the virtual resource management layer. In terms of the virtual resource management layer, virtualization software and related management tools need to be configured to achieve virtualization management of physical resources. Common virtualization software includes Microsoft Hyper-V, KVM (Kernel-based Virtual Machine), etc. When equipped with a virtual machine management tool, you can choose a management platform that meets the requirements of the present invention, such as VMware vCenterServer, Proxmox VE, etc. The persistence layer is used to manage user data and experimental data, and a database system such as MySQL can be used.

[0064] 1.2 Image preparation: After the physical resource layer and virtual resource management layer are completed, it is necessary to prepare the container scheduling and management layer, establish an image library, and configure the corresponding image management software and scheduling tools. Common image management software includes Docker, OpenStack Glance, etc. Users can choose according to their needs. These preparations lay the foundation for building this platform and ensure the stable operation and resource management of the platform.

[0065] 1.3 Network configuration: After the above preparations are completed, network configuration is required to ensure that students and teachers can access the platform stably. First, you need to configure network devices such as routers, switches, and firewalls to ensure their normal operation and interconnection. You can also choose to configure VLAN (virtual local area network) to improve the security and flexibility of the network and isolate different users in different virtual networks. In addition, you need to configure VPN (virtual private network) to provide remote access and secure connections so that students and teachers can access the laboratory platform from any location.

[0066] 2. Create a virtual lab image

[0067] 2.1 The virtual experiment image consists of three layers: base image, which is the rootfs of the system environment for the virtual laboratory; experimental resource image, which contains the relevant software resources and data resources required for the virtual experiment; user space image, which refers to the personal data and related file images of the experimental users;

[0068] 2.2 Creation of user space image:

[0069] 2.2.1 Determine the data and files required by the user, including files required for identity verification and data and files that may be generated during the experiment.

[0070] 2.2.2 Create a directory in the virtual laboratory system to store user space data and ensure that the directory has sufficient permissions so that users can read and write files in it.

[0071] 2.2.3 Copy the files used for authentication (such as username and password files, SSH keys) to the user space directory.

[0072] 2.2.4 When the user generates data and files during the experiment, the data is saved in the user space directory. When the user's experiment process ends or the experimental data needs to be saved, the user space directory can be packaged into a mirror file.

[0073] 2.3 Assembly and startup of virtual experiment image:

[0074] 2.3.1 After the user passes the identity authentication and logs in to the system platform, he selects the experimental project and sends the start command

[0075] 2.3.2 The platform pulls the base image and experimental resource image required for the virtual experiment image to a temporary directory according to the experimental project specified by the user.

[0076] 2.3.3 Based on the experimental user's identity information, search the user's data space on the platform and pull the user data file of the specified experimental project to the temporary directory

[0077] 2.3.4 After the required image files and data files are prepared, use the Union file systems file system to overlay and generate the specified experimental image containing the user data files;

[0078] 2.3.5 The system executes the resource allocation plan of the virtual resource management layer, obtains the allocated server and experiment time, sends the experiment image to the target server, starts the image at the scheduled time, generates the experiment container, and the user logs in to the container to start the experiment

[0079] 3. Metaverse Virtual Laboratory work process management (such as Figure 2 shown)

[0080] 3.1 Manage virtual machine instances and resource allocation: When allocating resources, dynamic adjustments need to be made based on the current platform load and user needs. To achieve this goal, the device needs to monitor the server load and resource usage of virtual machine instances, and monitor the server's CPU, memory, disk and other resource utilization in real time. The device feeds this information back to the user and dynamically adjusts the resource allocation of virtual machine instances based on user requests and experimental requirements. When adjusting resource allocation, the overall load of the platform and the priority of each experiment should be considered to ensure that resources for key experiments are prioritized. When resources are insufficient or the load is too high, load balancing is automatically performed to ensure the stability and performance of the platform.

[0081] 3.2 Manage virtual laboratory images: The management of images needs to be updated and maintained regularly to ensure the safety and stability of the experimental environment. The system needs to regularly check and update various types of virtual laboratory images, including software versions and security patches, and timely update the experimental content and teaching resources in the image according to the latest technology and user needs to keep the experimental content up to date. When updating the image, the system needs to notify the user in advance and provide a detailed migration plan and operation guide to ensure that the user's experimental progress is not affected.

[0082] 3.3 User experiment request and monitoring: When receiving user experiment requests, the platform needs to perform identity authentication and permission checks to ensure that only legitimate users can access and use platform resources. After verification, the platform will allocate virtual machine resources and load the corresponding experiment image according to the user request. During the experiment, the platform will monitor user operations and resource utilization, and record experimental data and results.

[0083] 3.4 Information Security Management: The system will implement security management measures to ensure the security of student administrators and data. Users can set the account and permissions of student administrators and limit their scope of operation on the platform to avoid misoperation or malicious operation. Regularly review the student administrator account and revoke unnecessary permissions or accounts in a timely manner. The system will encrypt and store user data and experimental results to protect user privacy and data security, and set access rights to limit user access and operation of sensitive data to prevent data leakage or damage. Administrators need to regularly audit and evaluate the platform's security measures to promptly discover and correct security risks and vulnerabilities.

[0084] 3.5 End of experiment and release of resources: After the experiment is completed, the system will automatically release the virtual machine resources, clean up the experimental data and environment, score and feedback the user's experimental results, and provide learning suggestions and improvement suggestions. If the user has objections to the experimental results or needs further explanation, provide relevant support and answers.

[0085] The present invention proposes a new universal virtual image architecture, which solves the problem of maintaining the same user authentication data and experimental data in the metaverse space composed of multiple virtual laboratories in the system. The proposed universal virtual image assembly, startup and shutdown process can realize the unification and dynamic update of user personal data and experimental data. The dynamic assembly and startup of the universal image makes it unnecessary to save a separate image for each experiment of each user in the system, which is conducive to making full use of the system storage space resources; the system resource allocation algorithm of the present invention can further realize the flexible allocation of system computing resources and maximize the utilization of system resources. The proposed platform provides remote access function through the Internet, and students can conduct experiments through the network anytime and anywhere, breaking through the limitations of time and space, and also realizing efficient utilization and sharing of resources, greatly reducing the cost of laboratory construction and maintenance. The platform places the experimental environment in a virtual space, and students perform experimental operations in a safe virtual environment, reducing the safety risks in the experimental process and improving the safety and reliability of the experiment. Using these technologies, we can build a virtualized experimental platform to support multiple types of experiments, while providing a more flexible and convenient experimental operation experience. This new experimental platform can not only save resources and reduce costs, but also break through the limitations of time and space, allowing students to perform experiments anytime and anywhere, thereby improving the flexibility and autonomy of experimental teaching.

Claims

1. A method for constructing a metaverse experimental platform based on a universal virtual image, characterized in that: The Metaverse Experimental Platform includes, from the bottom layer to the top layer, a physical resource layer, a virtual resource management layer, a persistence layer, a container scheduling and management layer, and an experimental plan and business management layer. The construction method includes the following steps: Step 1: Create the Metaverse Lab platform: including equipment preparation, image preparation, and network configuration; The equipment preparation is to prepare physical computing resources to form a physical resource layer, including servers, storage devices and network facilities; configure virtualization software and virtual machine management tools to form a virtual resource management layer to perform virtualization management on the physical resource layer; manage user data and experimental data through a persistence layer; The image preparation is to prepare container scheduling and management layers, establish an image library, and configure corresponding image management software and scheduling tools; The network configuration is to configure the routers, switches, firewalls, virtual local area networks (VLANs) and virtual private networks (VPNs) required for the Metaverse experimental platform; Step 2: Create the image of the virtual laboratory: including base image creation, experimental resource image creation and user space image creation; after the virtual laboratory image assembly is completed, start the image and generate the experimental container; Step 3: The user logs in to the Metaverse Experiment Platform and starts the experiment through the experiment container in the experiment plan and business management layer; In step 1, the equipment preparation is specifically as follows: the server selection is based on the x86 architecture server, including the Intel Xeon series or the AMD EPYC series; the storage device includes a hard disk, a solid-state drive or a storage array; the virtualization software includes Microsoft Hyper-V or a Kernel-based Virtual Machine; the virtual machine management tool includes VMware vCenter Server or Proxmox VE; the persistence layer selects the MySQL database; The process of generating the virtual resource management layer is as follows: Receive user experiment requests forwarded from the system and analyze the computing plan tasks required for the user experiment:<c,m,s,t> , where c is the required CPU resources, m is the required memory resources, s is the experiment duration, and t is the experiment start time; Traverse the current system experiment schedule table and calculate whether each server in the current platform can receive the experiment request. The algorithm is as follows: Assume that the total CPU resources of the current server S are C, the total memory is M, and the list of received experiment requests is TASK; traverse the TASK list and take out all<s,t> Received experiment requests in time period TASK i , accumulate each TASK i The c, m value is T C ,T m ; If the current server CT C >c and MT m >m, the experimental plan task is assigned to the current server S; The workflow of container scheduling and management is as follows: According to the system control process, obtain the experimental image, load it and deliver it to the user for use; After the user completes the experiment and closes the container, the update process of the user's experimental data is started, which includes: submitting the container to a temporary directory; extracting the top readable and writable layer in the container, and submitting the files and data in the readable and writable layer to the user's data space in the platform; searching and comparing the user data space with the submitted new user data to see if the content is consistent. If not, the user space data is updated according to the temporal relationship of the data content; In step 2, the user space image creation includes the following steps: Step 2.1.

1. Determine the data and files required by the user, including the files required for identity verification and the data and files generated during the experiment; Step 2.1.2: Create a directory in the virtual lab system to store user space data and ensure that the directory has the appropriate permissions so that users can read and write files in it. Step 2.1.

3. Copy the files used for authentication to the user space directory. Step 2.1.4: When the user generates data and files during the experiment, save the data to the user space directory. When the user's experiment process ends or the experimental data needs to be saved, package the user space directory into a mirror file; In step 2, after the image assembly of the virtual laboratory is completed, the image is started to generate the experimental container, including the following steps: Step 2.2.1, after the user passes the identity authentication and logs in to the system platform, he selects the experimental project and sends the start command; Step 2.2.2: The platform pulls the base image and experimental resource image required for the virtual experiment image to a temporary directory according to the experimental project specified by the user; Step 2.2.3: According to the experimental user's identity information, search the user's data space on the platform and pull the user data file of the specified experimental project to the temporary directory; Step 2.2.4: After the required image files and data files are prepared, use the Union file systems file system to overlay and generate the specified experimental image containing the user data files; Step 2.2.5, the system executes the resource allocation plan of the virtual resource management layer, obtains the allocated server and experiment time, sends the experiment image to the target server, starts the image at the scheduled time, and generates the experiment container; Step 3 specifically includes the following steps: Step 3.1, Manage virtual machine instances and resource allocation: When allocating resources, dynamically adjust according to the current platform load and user needs, and monitor the CPU, memory, and disk resource utilization of the server in real time. The device will feed back information to the user and dynamically adjust the resource allocation of the virtual machine instance according to user requests and experimental requirements; Step 3.2, Manage virtual laboratory images: The system regularly checks and updates various types of virtual laboratory images, including software versions and security patches, and timely updates the experimental content and teaching resources in the images according to the latest technologies and user needs; Step 3.3, user experiment request and monitoring: When receiving user experiment request, the platform performs identity authentication and permission check to ensure that legitimate users access and use platform resources. After verification, the platform allocates virtual machine resources and loads the corresponding experiment image according to the user request. During the experiment, the platform monitors user operations and resource utilization, and records experimental data and results; Step 3.4, Information Security Management: The system implements security management measures to ensure the security of student administrators and data. Users can set the account and permissions of student administrators and limit their scope of operation on the platform to avoid misoperation or malicious operation. Regularly review student administrator accounts and revoke unnecessary permissions or accounts in a timely manner. The system encrypts and stores user data and experimental results, and sets access rights to limit user access and operation of sensitive data; Step 3.5, end of experiment and release of resources: After the experiment is completed, the system automatically releases the virtual machine resources, cleans up the experimental data and environment, scores and provides feedback on the user's experimental results, and provides learning suggestions and improvement advice.

2. According to the method for constructing a metaverse experimental platform based on a universal virtual image according to claim 1, it is characterized in that: In step 1, the image library includes Docker or OpenStack Glance.

3. According to the method for constructing a metaverse experimental platform based on a universal virtual image according to claim 1, it is characterized in that: In step 2, the base image is the system environment rootfs for the operation of the virtual laboratory, and the experimental resource image contains the corresponding software resources and data resources required for the virtual experiment.