Multi-person collaborative virtual training method and system in same scene, terminal and storable medium
By introducing a multi-site user mode into the virtual simulation training system, multiple users are allowed to collaborate in the same scenario, solving the problem of low single-player training and achieving efficient results of multi-player collaborative training.
Patent Information
- Application Number
- CN202510057996.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-06-17
AI Technical Summary
The existing virtual simulation training system is mainly designed with single-player mode, which cannot meet the needs of multi-player collaboration scenarios, resulting in low training results.
By building a multi-site user mode in the LAN, multiple users are allowed to train together in the same scenario. Users can create rooms, set up training scenarios and equipment model components, assign jobs, and synchronize training data through full domain multicast.
Multiple-person collaborative training has been achieved, teamwork ability, coordination ability and decision-making ability have been cultivated, and the efficiency and effectiveness of training have been improved.
Smart Images

Figure CN120164358A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of virtual simulation technology, and in particular, to a virtual training method, system, terminal and storage medium for multi-person collaboration in the same scenario. Background Art
[0002] In recent years, with the rapid progress of technology, virtual simulation technology has gradually occupied a place in the training field, bringing an unprecedented high-fidelity training experience to trainers, greatly improving the training effect, and becoming an indispensable part of modern training.
[0003] The virtual simulation training system simulates a real environment and scenario, placing the trainer in a highly realistic virtual world. Whether it is the battlefield environment, weapon equipment, or mission requirements, they can all be accurately reproduced, making the trainer feel as if they are in a real combat scenario. However, despite the many advantages of the virtual simulation training system, during its development process, it also faces some challenges in business requirements. Among them, the single-player mode problem is particularly prominent.
[0004] Currently, most virtual simulation training systems are designed based on the single-player mode. In this mode, the trainer needs to play multiple roles alone and complete various complex tasks. Although this method can meet certain training needs to a certain extent, in a real combat environment, teamwork and collaborative combat are an indispensable part. However, the single-player mode of training cannot meet the scenario of multi-person collaboration and cannot cultivate the team awareness and collaboration ability of trainers. Summary of the Invention
[0005] The purpose of the present invention is to provide a virtual training method, system, terminal and storage medium for multi-person collaboration in the same scenario, which is used to solve the technical problems of single-player mode, single training form, and low training effectiveness in the business requirements for efficient training in equipment training support.
[0006] To achieve the above purpose, the present invention provides the following technical solutions: In the first aspect, a virtual training method for multi-person collaboration in the same scenario, the method is based on a pre-established local area network, the local area network contains a group of computers, and each computer corresponds to a station end. The method includes: S1: A user on any one of the station ends creates a room, sets a theme name for the created room, selects a training scenario, and selects the training subjects of the equipment model components to be trained in this scenario and sets the work types of these training subjects, and broadcasts the information of the created room to other station ends in the local area network through global multicast; the user on any one of the station ends is the room owner; S2: Other users at other positions search for the theme name of the room and join the room. After joining the room, they click the ready button to inform the host that they are ready; S3: The host sets the job type for the users at other positions who enter the room; S4: The host clicks to start the training. Each user at other positions in the room enters the corresponding scenario. After entering the scenario, they load the equipment model components corresponding to the scenario in the entered scenario; S5: After the equipment model components are loaded, each user at other positions starts to train the corresponding job type under the training subjects set by the host for the equipment model components; S6: During the training process, each user at other positions multicasts the training data generated by their execution of the training tasks in real time, and broadcasts the training data to other users at other positions in the local area network; S7: After receiving the training data, other users at other positions parse the training data and map the parsed training data to their respective equipment model components. Through the mapping binding of the training data and the equipment model components, the synchronization of the training data when each user at other positions trains the equipment model components is realized.
[0007] Furthermore, any user at a position can create a room and delete the room they created.
[0008] Furthermore, creating a room also includes: Setting the training time of the training subjects of the equipment model components to be trained.
[0009] Furthermore, in step S4, after the host clicks to start the training, users at other positions who have not entered the room cannot enter the room.
[0010] Furthermore, the method also includes: Setting the training time required for each training step; Evaluating whether the user at a position completes each training step within the specified training time; And evaluating whether the user at a position executes the training steps in a standard manner.
[0011] In a second aspect, a virtual training system for multi-person collaboration in the same scenario, the system includes: A room creation module. A user on any one position creates a room, sets a theme name for the created room, selects a training scenario, selects the training subjects of the equipment model components to be trained in this scenario and sets the job types of these training subjects, and broadcasts the information of the created room to other positions in the local area network through multicast; this user on any one position is the host; Room entry module. Other on-site users search for the theme name of the room and join the room. After joining the room, they click the ready button to inform the host that they are ready; Job assignment module. The host sets the job for the on-site users who enter the room; Scene entry module. The host clicks to start the training. Each on-site user in the room enters the corresponding scene. After entering the scene, the equipment model components corresponding to the scene are loaded in the entered scene; Scene loading module. After the equipment model components are loaded, each on-site user starts to train the corresponding job under the training subjects set by the host for the equipment model components respectively; Data transmission module. During the training process, each on-site user multicasts the training data generated by executing the training task in real time, and broadcasts the training data to other on-site users in the local area network; Data synchronization module. After receiving the training data, other on-site users parse the training data and map the parsed training data to their respective equipment model components. Through the mapping and binding of the training data and the equipment model components, the synchronization of the training data when each on-site user trains the equipment model components is realized.
[0012] Thirdly, a terminal includes: A processor; A memory for storing the execution instructions of the processor; Wherein, the processor is configured to execute the methods described in the above aspects. Fourthly, a computer-readable storage medium storing a computer program, and when the program is executed by a processor, the methods described in the above aspects are realized.
[0013] Advantages of the present invention: The present invention introduces a multi-on-site user mode to realize collaborative training among multi-on-site users. Each on-site user can jointly participate in the training task in a virtual environment. Each on-site user is assigned different jobs, completes their respective tasks, and performs real-time collaborative operations with other on-site users, which helps to cultivate the teamwork ability, coordination ability and decision-making ability of each on-site user, and enables each on-site user to better adapt to team collaborative work.
[0014] These and other objects, features and advantages of the present invention are fully embodied through the following detailed description. Description of the Drawings
[0015] Figure 1 Shows a schematic flowchart of the virtual training method of the present invention. Detailed Embodiments
[0016] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments in the following description are only examples, and those skilled in the art can think of other obvious variations. The basic principles defined in the following description of the present invention can be applied to other implementation schemes, variant schemes, improvement schemes, equivalent schemes, and other technical schemes without departing from the spirit and scope of the present invention.
[0017] Those skilled in the art should understand that in the disclosure of the specification, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices. Therefore, the above terms should not be construed as limiting the present invention.
[0018] Reference Figure 1 , a virtual training method for multi-person collaboration in the same scenario according to a preferred embodiment of the present invention will be elaborated in detail below. The method is based on a pre-established local area network, which includes a group of computers, and each computer corresponds to a station end. The method further includes steps S1 to S7.
[0019] S1: A user on any one of the station ends creates a room, sets a theme name for the created room, selects a training scenario, and selects the training subjects of the equipment model components to be trained in this scenario and sets the work types of these training subjects, and broadcasts the information of the created room to other station ends in the local area network through global multicast; the user on any one of the station ends is the room owner.
[0020] S2: Other station end users search for the theme name of the room and join the room. After joining the room, they click the ready button to inform the room owner that they are ready.
[0021] S3: The room owner sets the work types for the station end users who enter. Assigning work types means assigning training tasks. Each work type can correspond to one or several station end users. One or several station end users assigned to the same work type can cooperate to complete the training process of a training subject. For example, if two station end users are simultaneously assigned to a work type, this work type executes training process A during the entire collaborative training process of a training subject. Training process A sequentially includes steps a1, a2, a3, and a4. If a station end user performs operation a1, then another station end user cannot perform operation a1, but can perform steps a2, a3, and a4 under this training process A. That is, each training step in the complete training process under one work type can only be completed by one station end user.
[0022] S4: The house owner clicks to start the training. The users at each station in the room enter the corresponding scenario. After entering the scenario, the equipment model components corresponding to the scenario are loaded in the entered scenario.
[0023] S5: After the equipment model components are loaded, the users at each station start to train the corresponding work types under the training subjects set by the house owner for the equipment model components respectively.
[0024] S6: During the training process, the users at each station multicast the training data generated by their execution of the training tasks in real time, and broadcast the training data to other users at each station in the local area network.
[0025] S7: After receiving the training data, the other users at each station parse the training data and map the parsed training data to their respective equipment model components. Through the mapping and binding of the training data and the equipment model components, the synchronization of the training data when each station trains the equipment model components is realized.
[0026] In this embodiment, each equipment model component is provided with a unique ID, and the corresponding controller can be found through the ID. The controller is responsible for managing the motion form and state value of the equipment model component. The users at each station can interact with the controller by clicking and dragging the mouse to adjust the data, thereby affecting the motion and state of the equipment model component. The controller uses the state machine principle to determine the motion form and the final state value of the equipment model component.
[0027] The specific working process includes: Assign a unique ID to each equipment model component.
[0028] Associate the ID of each equipment model component with the controller respectively. The controller stores the configuration information about the motion form (translation, rotation, scaling) and state value of the equipment model component.
[0029] The users at each station select the equipment model component by clicking and dragging the mouse, and adjust the data of the equipment model component. The state value of the controller is updated according to the mouse click and drag and the ID of the equipment model component.
[0030] The controller uses the state machine to manage the motion of the equipment model component. The state machine defines the possible states of the equipment model component and the conversion rules between the states. According to the interaction of the users at the station and the current state value, the state machine determines the next state and the corresponding motion form of the equipment model component.
[0031] The state machine determines the next state and corresponding motion form of the equipment model component. The controller updates the state value of the equipment model component and executes the corresponding motion. The equipment model component is rendered based on the updated state value, thus presenting a new position, angle, or size in the collaborative training scenario.
[0032] When a user at a certain station position operates a certain button, while obtaining the controller ID and state value, the collaborative training data with the controller ID and state value is broadcast to other station position users through global multicast. Other station position users receive the collaborative training data, parse it, and map it to their respective equipment model components to complete data synchronization between different station positions.
[0033] Exemplarily, any station position user can create a room and delete the room they created. When the room owner creates a room, they set the theme name of the room, set the training mode for collaborative training in the room, select the training subject for training the equipment model component, and set the work type corresponding to the equipment model component under this training subject. The setting of the theme name of the room ensures that each station position user can accurately enter the room.
[0034] It can be understood that the training mode is a multi - person collaboration mode, ensuring that each station position user can conduct collaborative training in the same scene in the room. The training subject stipulates the training tasks of each station position user for the equipment model component respectively, ensuring the clarity of collaborative training. The work type stipulates which part of the work for completing the collaborative training, that is, allocating training tasks.
[0035] Each work type can correspond to one or several station position users. One or several station position users assigned to the same work type can complete the training process of a training subject collaboratively. For example, if two station position users are simultaneously assigned to a work type, this work type executes training process A during the entire collaborative training process of a training subject. Training process A sequentially includes steps a1, a2, a3, a4. If a station position user executes operation a1, then another station position user cannot execute step a1, but can execute steps a2, a3, a4 under this training process A. That is, each training step in the complete training process under one work type can only be completed by one station position user.
[0036] When creating a room, the training time of the training subject for the equipment model component to be trained is also set. The setting of the training time ensures the orderliness of collaborative training, ensuring that each station position user participating in collaborative training enters the virtual scene for collaborative training within the specified time. After each station position user joins the room, they are managed by the room owner, including: training process control and adjustment of station position users in the room. After the room owner clicks to start training, station position users who have not entered the room cannot enter the room.
[0037] End-users at each station are connected to the same scenario of collaborative training data sharing through a distributed network. Each station-end transmits data based on this distributed network to complete communication. Data synchronization is maintained through the distributed network to ensure that end-users at each station can collaborate in training and always maintain interaction. The collaborative training data generated by end-users at each station in the room is multicast globally through the link of the distributed network.
[0038] In this embodiment, an efficient TCP real-time communication technology is adopted to ensure the real-time performance and reliability of collaborative training data transmission.
[0039] Exemplarily, the method further includes: the host sets the training steps of the training subject and sets the training time required for each training step. It is evaluated whether the station-end executes each training step within the specified training time, and it is evaluated whether the end-users at the station-end execute the training steps standardly.
[0040] Evaluating whether the station-end executes each training step within the specified training time and evaluating whether the end-users at the station-end execute the training steps standardly specifically includes: constructing a system from two dimensions of time and space. The time dimension includes the total training time and the training time for each step, and the space dimension includes the station position and the model position. The final evaluation result is presented in the form of a visual icon.
[0041] The total training time refers to the total time from the start to the end of the training, that is, the time from entering the scenario to exiting the scenario.
[0042] The training time for each step means that when an end-user at a certain station operates a certain button (start to respond) and obtains the controller ID and status value, the collaborative training data with the controller ID and status value is multicast globally, broadcast to other end-users at the station, and other end-users at the station receive the collaborative training data, parse and map it to their respective equipment model components (response ends), completing data synchronization between different stations.
[0043] The station position accuracy refers to the position accuracy of end-users at each station in the virtual environment.
[0044] The model position accuracy refers to the position accuracy of the equipment component model in the virtual environment.
[0045] A data collection module is provided to monitor the total training time, the training time for each step, the station position, and the model position during the training process in real time. Specifically, for the time dimension, the total training time and the training time for each step are recorded respectively through timestamps. For the space dimension, a coordinate system in the virtual environment is used to track and record the position information of the station position and the model position.
[0046] According to the importance of different training subjects in the same scenario, weights are assigned to each indicator to ensure that the evaluation results can truly reflect the training effect. And the final evaluation score is calculated based on the collected data and the set weights. Combining the data in the time and space dimensions, comprehensively evaluate the efficiency, accuracy, and collaboration of the training. Finally, implement a visualization module to convert the evaluation results into intuitive charts. Exemplarily, the charts are bar charts or line charts. Provide an interactive interface for the end-users at each station. The end-users at each station can view the overall training effect or drill down to specific detailed data.
[0047] The present invention also provides a virtual training system for multi-person collaboration in the same scenario, and the system includes: A room creation module, where a user on any one station creates a room, sets a theme name for the created room, selects a training scenario, and selects the training subjects of the equipment model components to be trained in this scenario and sets the work types of these training subjects, and broadcasts the information of the created room to other stations on the local area network through global multicast; the user on any one station is the host.
[0048] A room entry module, where other station users search for the theme name of the room and join the room, and after joining the room, click the ready button to inform the host that they are ready.
[0049] A work type assignment module, where the host sets the work types for the station users who enter.
[0050] A scenario entry module, where the host clicks to start training, and the station users in the room enter the corresponding scenario, and after entering the scenario, load the equipment model components corresponding to this scenario in the entered scenario.
[0051] A scenario loading module, after the equipment model components are loaded, the station users respectively start training on the equipment model components for the corresponding work types under the training subjects set by the host for them.
[0052] A data transmission module, during the training process, each station user multicasts in real time the training data generated by its execution of the training task to other station users in the local area network.
[0053] A data synchronization module, after other station users receive the training data, parse the training data, and map the parsed training data to their respective equipment model components. Through the mapping binding of the training data and the equipment model components, the synchronization of the training data when each station trains the equipment model components is realized.
[0054] A terminal includes: a processor; a memory for storing the execution instructions of the processor; wherein, the processor is configured to execute the methods described in the above aspects. A computer-readable storage medium storing a computer program, which when executed by a processor implements the method described in the above aspects.
[0055] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The advantages of the present invention have been fully and effectively realized. The functions and structural principles of the present invention have been shown and described in the embodiments, and the embodiments of the present invention can have any deformation or modification without departing from the described principles.
Claims
1. A virtual training method for multi-person collaboration in the same scene, characterized in that: The method is based on a pre-built local area network, which includes a group of computers, each computer corresponding to a station terminal, and the method includes: S1: A user on any station creates a room, sets a theme name for the created room, selects a training scene, selects the training subject of the equipment model component to be trained in the scene, and sets the type of work for the training subject, and broadcasts the information of the created room to other stations in the LAN through global multicast; the user on any station is the room owner; S2: Other station users search for the room's theme name and join the room. After joining the room, they click the Ready button to inform the room owner that they are ready. S3: The host sets the type of work for the user entering the station; S4: The room owner clicks to start training, and users at each station in the room enter the corresponding scene. After entering the scene, the equipment model components of the corresponding scene are loaded into the scene they enter; S5: After the equipment model component is loaded, the users at each station start to train the equipment model component for the corresponding type of work under the training subject set by the room owner; S6: During the training process, each station end user performs global multicast of the training data generated by its training task in real time, and broadcasts the training data to other station end users in the local area network; S7: After receiving the training data, other station-end users parse the training data and map the parsed training data to their respective equipment model components. By mapping and binding the training data and the equipment model components, the synchronization of the training data when each station end trains the equipment model components is achieved.
2. The virtual training method according to claim 1, characterized in that: Any user at any station can create and delete rooms.
3. The virtual training method according to claim 2, characterized in that: Creating a room also includes: Set the training time for the training subject of the equipment model component to be trained.
4. The virtual training method according to claim 3, characterized in that: In step S4, after the room owner clicks to start training, users at the station end who have not entered the room cannot enter the room.
5. The virtual training method according to claim 4, characterized in that: The method further comprises: Set the training time required to complete each training step; Evaluate whether the station has completed each training step within the specified training time; And evaluate whether the users at the station perform the training steps in a standard manner.
6. A virtual training system for multiple people to collaborate in the same scene, characterized in that: The system comprises: Room creation module: A user on any station creates a room, sets a theme name for the created room, selects a training scene, and selects the training subject of the equipment model component to be trained in the scene and the type of work for the training subject, and broadcasts the information of the created room to other stations in the LAN through global multicast; the user on any station is the room owner; In the room entry module, users from other stations search for the room's theme name and join the room. After joining the room, they click the Ready button to inform the room owner that they are ready. The job type allocation module allows the room owner to set the job type for the user entering the station; In the scene entry module, the room owner clicks to start training, and users at different positions in the room enter the corresponding scene. After entering the scene, the equipment model components of the corresponding scene are loaded into the scene they enter; In the scene loading module, after the equipment model component is loaded, the users at each station start to train the equipment model component for the corresponding type of work under the training subject set by the host; Data transmission module: During the training process, each station end user performs global multicast of the training data generated by its training task in real time, and broadcasts the training data to other station end users in the local area network; Data synchronization module: After receiving the training data, other station-end users parse the training data and map the parsed training data to their respective equipment model components. By mapping and binding the training data with the equipment model components, the synchronization of training data when each station end trains the equipment model components is achieved.
7. A terminal, characterized in that: include: processor; A memory for storing execution instructions of the processor; The processor is configured to execute the method according to any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.