A system and method for generating animation characters based on virtual reality

Through virtual reality technology, digital twin models and deep learning are used to generate animation data in virtual training scenes, which solves the problem of inaccurate animation data generation in virtual reality, achieves efficient and accurate animation data generation, and improves the effect of training assistance. .

CN118429494BActive Publication Date: 2024-10-01SHENZHEN MI TAN ANIMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410890782.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-01
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

It is difficult for existing technology to efficiently generate accurate animation data for virtual training assistance. Especially in virtual reality technology, animation image presentation is not accurate and efficient enough.

Method used

An animated character generation system based on virtual reality is used to generate a digital twin model using three-dimensional data, historical environment data and current activity data through cloud servers and virtual reality servers. It combines deep learning and blockchain technology to extract scene parameters and animation feature information. , generate matching animation data.

Benefits of technology

It realizes the intelligent, efficient and accurate generation of animation data in virtual training scenes, improving the immersion and authenticity of training assistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118429494B_ABST
    Figure CN118429494B_ABST
Patent Text Reader

Abstract

The present invention proposes a system and method for generating an animated character based on virtual reality, the method comprising: obtaining three-dimensional data, historical environmental data and historical activity data of a first area, generating a digital twin model; obtaining virtual training scene data in the first area and extracting scene parameters; obtaining current three-dimensional data, current environmental data and current activity data, and combining the digital twin model to obtain current state data and predicted state data of the first area; generating state change data in the first area according to the scene parameters, current state data and predicted state data; using animation features to determine the model matching scene parameters to generate animation feature information; modifying the first animation feature information to obtain second animation feature information matching the state change of the area during training, and obtaining corresponding animation data to generate virtual reality animations of multiple target characters. Through the scheme of the present invention, animations used in virtual training scenes can be generated intelligently, efficiently and accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual reality technology, and in particular to a virtual reality-based animation character generation system and method. Background Art

[0002] In the field of animation technology, in order to obtain different animation images through rendering, it is necessary to obtain the animation data corresponding to these animation images. Especially when using animation technology and virtual reality technology for various training assistance, more accurate and vivid animations are needed for presentation.

[0003] How to automatically generate accurate animations for training assistance in a more efficient way is an important problem that needs to be solved urgently. Summary of the invention

[0004] The present invention is based on the above-mentioned problems and proposes a virtual reality-based animation character generation system and method. Through the scheme of the present invention, animations for virtual training scenes can be generated intelligently, efficiently and accurately.

[0005] In view of this, one aspect of the present invention proposes a virtual reality-based animation character generation system, comprising: a cloud server, a virtual reality server and a virtual reality terminal; wherein,

[0006] The cloud server is used to obtain three-dimensional data, historical environmental data and historical activity data of a first area, and generate a first digital twin model of the first area according to the three-dimensional data, the historical environmental data and the historical activity data;

[0007] The virtual reality server is used for:

[0008] Acquire virtual training scene data corresponding to the first area from the cloud server;

[0009] Extracting corresponding scene parameters from the virtual training scene data, wherein the scene parameters include gravity parameters, ground parameters, weather parameters, and other environmental parameters that affect virtual training, as well as training parameters such as training object data, training equipment data, and training plan data;

[0010] The cloud server is also used for:

[0011] Acquire current three-dimensional data, current environment data, and current activity data of the first area;

[0012] Obtaining first current state data and first predicted state data of the first area in combination with the first digital twin model according to the current three-dimensional data, the current environment data, and the current activity data;

[0013] generating first region state change data corresponding to the first region in the training process according to the scene parameter, the first current state data and the first predicted state data;

[0014] The virtual reality server is also used for:

[0015] Inputting the scene parameters into a pre-trained animation feature determination model, and determining first animation feature information matching the scene parameters through the animation feature determination model;

[0016] Modifying the first animation feature information using the first region state change data to obtain second animation feature information matching the corresponding region state change in the first region during training, and generating corresponding animation data according to the second animation feature information;

[0017] Virtual reality animations of multiple target characters are generated according to multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data.

[0018] Another aspect of the present invention provides a method for generating an animated character based on virtual reality, which is applied to a system for generating an animated character based on virtual reality, wherein the system for generating an animated character based on virtual reality includes a cloud server, a virtual reality server, and a virtual reality terminal; the method for generating an animated character based on virtual reality includes:

[0019] The cloud server obtains three-dimensional data, historical environmental data, and historical activity data of a first area, and generates a first digital twin model of the first area based on the three-dimensional data, the historical environmental data, and the historical activity data;

[0020] The virtual reality server obtains virtual training scene data corresponding to the first area from the cloud server;

[0021] The virtual reality server extracts corresponding scene parameters from the virtual training scene data, wherein the scene parameters include gravity parameters, ground parameters, weather parameters, and other environmental parameters that affect virtual training, as well as training parameters such as training object data, training equipment data, and training plan data;

[0022] The cloud server obtains current three-dimensional data, current environment data and current activity data of the first area;

[0023] Obtaining first current state data and first predicted state data of the first area in combination with the first digital twin model according to the current three-dimensional data, the current environment data, and the current activity data;

[0024] generating first region state change data corresponding to the first region in the training process according to the scene parameter, the first current state data and the first predicted state data;

[0025] The virtual reality server inputs the scene parameters into a pre-trained animation feature determination model, and determines first animation feature information matching the scene parameters through the animation feature determination model;

[0026] Modifying the first animation feature information using the first region state change data to obtain second animation feature information matching the corresponding region state change in the first region during training, and generating corresponding animation data according to the second animation feature information;

[0027] Virtual reality animations of multiple target characters are generated according to multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data.

[0028] Optionally, the training process of the animation feature determination model includes:

[0029] Acquire real training video data corresponding to the virtual training scene and historical animation video data under the virtual training scene as video samples;

[0030] Extracting a plurality of first image frames from each existing video sample;

[0031] Extracting first video feature data from each of the first image frames, and adding the first video feature data to the first image frame as its auxiliary information;

[0032] Marking each of the first image frames with first type information;

[0033] Dividing the plurality of first image frames into different groups, each group including a plurality of associated second image frames, and each group serving as a training sample;

[0034] Extracting the video feature vector and annotation information of each training sample to form labeled sample feature data;

[0035] Construct a training sample set based on all sample feature data;

[0036] The training sample set is trained to obtain an animation feature determination model.

[0037] Optionally, the step of extracting a plurality of first image frames from each existing video sample includes:

[0038] Importing the plurality of video samples into a deep learning model for preprocessing, and extracting basic attributes of the video data of the video samples as labels;

[0039] Using natural language processing to perform semantic segmentation on the video sample, decomposing it into multiple semantic segments that describe a complete action behavior;

[0040] For each of the semantic segments, a convolutional neural network-based image frame extraction algorithm is used to extract an image frame set representing the information content of the segment;

[0041] Classifying the image frame sets within the same semantic segment as a video interval, and using the semantic segmentation result as the interval label;

[0042] Process all the video samples as above to extract a plurality of first image frames and their corresponding video intervals and interval labels;

[0043] Blockchain technology is used to record the processing process and image frame assets to form a decentralized knowledge graph.

[0044] Optionally, the step of obtaining first current state data and first predicted state data of the first area according to the current three-dimensional data, the current environment data, and the current activity data in combination with the first digital twin model includes:

[0045] Using deep learning technology, compare the current three-dimensional data, the current environmental data, and the current activity data with a first simulation result of a current state simulation model established by historical data of the first area and included in the first digital twin model;

[0046] By comparing and analyzing, extracting the difference between the current three-dimensional data, the current environmental data, the current activity data and the first simulation result as the first current key state parameter of the first area at the current time point;

[0047] The first current key state parameter is used as a variable, inputted into a current state simulation model preset in the first digital twin model, and new current state data is outputted to obtain the first current state data;

[0048] Input the current state data as a new sample into a future state prediction model preset in the first digital twin model;

[0049] The future state prediction model uses a hidden Markov model to perform subsequent time series prediction to obtain the first predicted state data.

[0050] Optionally, the step of generating first area state change data corresponding to the first area in the training process according to the scene parameter, the first current state data and the first predicted state data includes:

[0051] Integrate the environment parameter, the training parameter, the first current state data and the first predicted state data in the scene parameter into a first input vector by using a digital representation method;

[0052] Collecting current real scene state data and historical real scene state data in the actual training scene corresponding to the virtual training scene;

[0053] Preprocessing the first input vector, the current real scene state data and the historical real scene state data;

[0054] Establish a recurrent neural network model based on morphological attention mechanism;

[0055] Using the preprocessed historical real-scene state data to perform model training on a recurrent neural network model, fine-tuning the network parameter θ, minimizing the training error, and obtaining a first model;

[0056] The corresponding validation set data collected according to the historical real-scene state data is input into the trained first model to predict the short-term state sequence As the first initial result;

[0057] Using the simulation learning platform, the first initial result is used as input to perform physical simulation to obtain a simulation sequence C′;

[0058] Compare C′ with the current real scene state data and the historical real scene state data, use the PPO algorithm to adjust θ, and retrain the first model;

[0059] Iterate the training model repeatedly and update θ until the model prediction error is within the preset range to obtain the second model;

[0060] The preprocessed first input vector is input into the second model to obtain state change data in a field corresponding to the virtual training scene in the first area during training as first area state change data.

[0061] Optionally, the virtual reality server inputs the scene parameters into a pre-trained animation feature determination model, and the step of determining first animation feature information matching the scene parameters through the animation feature determination model includes:

[0062] The virtual reality server extracts a scene parameter vector from the scene parameters;

[0063] The animation feature determination model adopts a feedforward neural network structure, and performs matching learning with the training sample set in the training phase;

[0064] Seek the nonlinear mapping relationship between parameters and features in the matching learning process;

[0065] Inputting the scene parameter vector into the animation feature determination model after matching learning;

[0066] The animation feature determination model calculates and obtains first animation feature information that matches the scene parameter vector.

[0067] Optionally, the step of modifying the first animation feature information by using the first area state change data to obtain second animation feature information matching the area state change corresponding to the first area during the training process, and generating corresponding animation data according to the second animation feature information includes:

[0068] Acquire historical animation feature information and historical state change data generated during the historical training process of the first region;

[0069] Inputting the historical animation feature information and the historical state change data into a preset first neural network;

[0070] The first neural network uses a bidirectional LSTM structure to learn the time series dependency between features and states;

[0071] inputting the first region state change data and the first animation feature information into the first neural network;

[0072] The first neural network modifies the first animation feature information according to the time series dependency relationship to obtain second animation feature information that matches the regional state change corresponding to the first region during the training process;

[0073] Inputting the second animation feature information into a preset animation data determination model;

[0074] The animation data determination model adjusts parameters of a skeleton driver, a muscle simulator, a clothing generator, an equipment generator, and an environmental object generator to generate animation clip data of a plurality of matching area states;

[0075] A plurality of the animation clip data are combined into the animation data.

[0076] Optionally, the step of generating virtual reality animations of multiple target characters according to the multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data comprises:

[0077] Extracting animation features and character model features from the video sample, and inputting the animation features and the character model features into a preset first deep neural network;

[0078] The first deep neural network learns according to the animation features and the character model features to establish an animation-model mapping relationship table;

[0079] Performing semantic analysis on the animation data to extract each action unit and action attribute;

[0080] Identify and analyze the target character model to obtain skeleton information and appearance attributes;

[0081] According to the action units and action attributes, the skeleton information and the appearance attributes, the matching algorithm searches the animation-model mapping relationship table to select action unit sets suitable for different target characters;

[0082] The animation generation module generates a virtual reality animation according to the action unit set.

[0083] Optionally, the step of calculating, by the animation feature determination model, first animation feature information matching the scene parameter vector comprises:

[0084] Extracting a gravity parameter vector, a ground parameter vector, a weather parameter vector, a training object data vector, a training equipment data vector, and a training plan data vector from the scene parameter vector;

[0085] Determine sub-animation feature information corresponding to the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector, and the training plan data vector, respectively, according to different weights set for the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector, and the training plan data vector;

[0086] Using a preset fusion algorithm, a fusion process is performed on the obtained plurality of sub-animation feature information to obtain the first animation feature information;

[0087] The preset fusion algorithm is a weighted fusion algorithm, and the weights of the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector and the training plan data vector are determined according to the corresponding weights preset for the gravity parameter, the ground parameter, the weather parameter, the training object data, the training equipment data and the training plan in the scene parameters.

[0088] By adopting the technical solution of the present invention, the method for generating an animated character based on virtual reality includes: the cloud server obtains three-dimensional data, historical environmental data and historical activity data of a first area, and generates a first digital twin model of the first area according to the three-dimensional data, the historical environmental data and the historical activity data; the virtual reality server obtains corresponding virtual training scene data in the first area from the cloud server; the virtual reality server extracts corresponding scene parameters from the virtual training scene data, and the scene parameters include gravity parameters, ground parameters, weather parameters and other environmental parameters that affect virtual training, as well as training parameters such as training object data, training equipment data and training plan data; the cloud server obtains current three-dimensional data, current environmental data and current activity data of the first area; based on the current three-dimensional data, the current environmental data and the current activity data, combined with the The first digital twin model obtains the first current state data and the first predicted state data of the first region; generates the first region state change data corresponding to the first region in the training process according to the scene parameters, the first current state data and the first predicted state data; the virtual reality server inputs the scene parameters into the pre-trained animation feature determination model, and determines the first animation feature information matching the scene parameters through the animation feature determination model; modifies the first animation feature information using the first region state change data to obtain the second animation feature information matching the region state change corresponding to the first region in the training process, and generates the corresponding animation data according to the second animation feature information; generates the virtual reality animation of multiple target characters according to the multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data. Through the scheme of the present invention, animations for virtual training scenes can be generated intelligently, efficiently and accurately. BRIEF DESCRIPTION OF THE DRAWINGS

[0089] Figure 1 is a schematic block diagram of a virtual reality-based animation character generation system provided by an embodiment of the present invention;

[0090] Figure 2 The present invention is a flowchart of a method for generating an animation character based on virtual reality provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0091] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0092] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0093] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0094] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0095] Refer to the following Figure 1 to Figure 2 A virtual reality-based animation character generation system and method are described according to some embodiments of the present invention.

[0096] like Figure 1 As shown, an embodiment of the present invention provides an animation character generation system based on virtual reality, including: a cloud server, a virtual reality server and a virtual reality terminal; wherein,

[0097] The cloud server is used to obtain three-dimensional data, historical environmental data and historical activity data of a first area, and generate a first digital twin model of the first area according to the three-dimensional data, the historical environmental data and the historical activity data;

[0098] The virtual reality server is used for:

[0099] Acquire virtual training scene data corresponding to the first area from the cloud server;

[0100] Extracting corresponding scene parameters from the virtual training scene data, wherein the scene parameters include gravity parameters, ground parameters, weather parameters, and other environmental parameters that affect virtual training, as well as training parameters such as training object data, training equipment data, and training plan data;

[0101] The cloud server is also used for:

[0102] Acquire current three-dimensional data, current environment data, and current activity data of the first area;

[0103] Obtaining first current state data and first predicted state data of the first area in combination with the first digital twin model according to the current three-dimensional data, the current environment data, and the current activity data;

[0104] generating first region state change data corresponding to the first region in the training process according to the scene parameter, the first current state data and the first predicted state data;

[0105] The virtual reality server is also used for:

[0106] Inputting the scene parameters into a pre-trained animation feature determination model, and determining first animation feature information matching the scene parameters through the animation feature determination model;

[0107] Modifying the first animation feature information using the first region state change data to obtain second animation feature information matching the corresponding region state change in the first region during training, and generating corresponding animation data according to the second animation feature information;

[0108] Virtual reality animations of multiple target characters are generated according to multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data.

[0109] It should be known that Figure 1 The block diagram of the animation character generation system based on virtual reality is only for illustration, and the number of modules shown therein does not limit the protection scope of the present invention.

[0110] See also Figure 2 Another embodiment of the present invention provides a method for generating an animated character based on virtual reality, which is applied to a system for generating an animated character based on virtual reality. The system for generating an animated character based on virtual reality includes a cloud server, a virtual reality server, and a virtual reality terminal. The method for generating an animated character based on virtual reality includes:

[0111] The cloud server obtains three-dimensional data, historical environmental data, and historical activity data of the first area, and generates a first digital twin model of the first area according to the three-dimensional data, the historical environmental data, and the historical activity data (the first digital twin model includes a current state simulation model of the first area and a future state prediction model of the first area, wherein the state of the first area includes but is not limited to weather state, environmental state, state of objects in space, etc.);

[0112] In this step, the cloud server obtains three-dimensional data (such as three-dimensional point cloud data), historical environmental data (such as temperature, humidity, light, etc.) and historical activity data (such as human flow, noise, traffic data and various urban operation data, etc.) in the first area from various sensors and databases configured in the first area; after processing these data, they are input into the deep learning model, which has learned to identify the association of key state characteristics of the area through training of a large amount of regional historical data; according to the training results, the cloud server uses numerical simulation technology (such as finite element analysis, etc.) to simulate and calculate the key points of the first area, and establish a mathematical description model of the current state of the area; at the same time, based on the deep learning prediction model, combined with blockchain technology to record and notarize the historical change law of the first area, it is used to predict the state evolution of the area within a certain period in the future, and finally form a first area digital twin model including two parts: the current state simulation model and the future state prediction model. In this step, based on the first area digital twin model, the first area can be simulated with high precision to evaluate and simulate the influencing factors of the corresponding training items to adjust the training plan, etc. This implementation step can efficiently and accurately generate regional digital twins using artificial intelligence and Internet of Things technologies for important decision support in various scenarios.

[0113] The virtual reality server obtains virtual training scene data corresponding to the first area from the cloud server (the virtual training scene data includes a target role model, scene parameters, etc. corresponding to the virtual training scene involved);

[0114] In this step, the virtual reality server sends a request to the cloud server to request the first digital twin model data of the first area; the cloud server uses blockchain technology to verify the legitimacy of the request, and then calls the digital twin model to extract the scene parameters and target role model data required for the virtual training scene; the Internet of Things communication protocol is used to send the encrypted part of the virtual training scene data to the virtual reality server; the virtual reality server decrypts and restores the data through the deep learning model, and scales and optimizes the data in proportion based on its own equipment capabilities; the optimized virtual training scene data is imported into the virtual reality engine, and a training scene is formed on the head-mounted display device based on this; users can perform immersive virtual training. The cloud can perform feedback optimization robust simulation in real time according to the training dynamics. This implementation step uses technologies such as blockchain, the Internet of Things, and deep learning to realize the sharing of cloud and edge device resources, while ensuring safety and reliability, and can provide solid technical support for virtual training applications.

[0115] The virtual reality server extracts corresponding scene parameters from the virtual training scene data, wherein the scene parameters include gravity parameters, ground parameters, weather parameters, and other environmental parameters that affect virtual training, as well as training parameters such as training object data, training equipment data, and training plan data;

[0116] In this step, the virtual reality server uses a deep learning model to semantically identify and label the scene data; divides the data into two categories: environmental parameters and training parameters according to the identification results; environmental parameters such as gravity and ground properties are extracted through physical simulation identification; training objects and equipment are extracted through three-dimensional reconstruction and object recognition; natural language processing is used to semantically analyze the training plan and generate plan data; detection sensors obtain real-time environmental data for comparison and optimize parameter real-time performance; and the extraction results are stored in the blockchain protocol to ensure safety and reliability. This implementation uses deep learning, physical simulation and blockchain technology to intelligently extract scene parameters from big data. It can provide technical support for scene parameter management and immersion tuning: extract accurate scene parameters and effectively build training scenes; intelligentize the extraction process to further reduce workload; and store parameters in the blockchain, which is highly reliable and real-time.

[0117] The cloud server obtains current three-dimensional data, current environment data and current activity data of the first area;

[0118] In this step, various sensors in the area (3D cameras, temperature and humidity sensors, etc.) collect data in real time and upload it to the edge device; the edge device uses a deep learning model to encapsulate low-level data and extract feature data; the edge device synchronously transmits the feature data to the cloud through low-power technologies such as LoRa; the cloud server uses the Internet of Things platform to efficiently collect data from various edge devices in the area, and uses blockchain technology to record and verify the origin of the data to ensure security and reliability; the cloud server aggregates the collected data and extracts the current key state parameters of the area; it can also perform simulation and predictive analysis on the parameter data; this implementation uses integrated processing of artificial intelligence, Internet of Things, blockchain and other technologies to realize real-time and efficient collection and transmission of regional data, extract the current key state parameters of the area, and record the parameters in the blockchain, while ensuring data security and reliability, effectively supporting the construction of regional digital twin models and related decisions under application.

[0119] Obtaining first current state data and first predicted state data of the first area in combination with the first digital twin model according to the current three-dimensional data, the current environment data, and the current activity data;

[0120] generating first region state change data corresponding to the first region in the training process according to the scene parameter, the first current state data and the first predicted state data;

[0121] The virtual reality server inputs the scene parameters into a pre-trained animation feature determination model, and determines first animation feature information matching the scene parameters through the animation feature determination model;

[0122] Modifying the first animation feature information using the first region state change data to obtain second animation feature information (including animation character information, animation motion change information, animation emotion change information, animation state change information, animation makeup information, and additional parts information, etc.) that matches the region state change corresponding to the first region during the training process, and generating corresponding animation data according to the second animation feature information;

[0123] Virtual reality animations of multiple target characters are generated according to multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data.

[0124] In this embodiment, the animation data includes but is not limited to:

[0125] Key frame data: records key frame information such as posture and deformation at each time node;

[0126] Skeleton motion trajectory: records the motion change trajectory of each bone in the entire animation sequence;

[0127] Skin deformation data: records the deformation changes of the character surface or object surface;

[0128] Joint motion data: records the angle information of each joint in the entire animation sequence;

[0129] Easing curve: records the easing type and parameters between key frames;

[0130] Animation properties: record the property information of the entire animation, such as name, duration, difficulty, etc.

[0131] Detailed action data: records various subtle movements and gestures during the action, such as blinking, facial expressions, etc.

[0132] Additional props data: record the movement data of weapons, accessories and other props carried in the animation;

[0133] Environmental interaction data: records the interactive behaviors between the animated characters and the environment, such as waving, kicking a ball, etc.

[0134] Reference skeleton: records the structural information of the reference skeleton.

[0135] The above data together describe a complete character or object animation sequence, providing necessary information for subsequent generation and rendering.

[0136] According to the technical solution of this embodiment, the cloud server obtains three-dimensional data, historical environmental data and historical activity data of the first area, and generates a first digital twin model of the first area based on the three-dimensional data, the historical environmental data and the historical activity data; the virtual reality server obtains the corresponding virtual training scene data in the first area from the cloud server; the virtual reality server extracts corresponding scene parameters from the virtual training scene data, and the scene parameters include gravity parameters, ground parameters, weather parameters and other environmental parameters that affect virtual training, as well as training parameters such as training object data, training equipment data and training plan data; the cloud server obtains current three-dimensional data, current environmental data and current activity data of the first area; based on the current three-dimensional data, the current environmental data and the current activity data, combined with the first digital twin model The first current state data and the first predicted state data of the first area are obtained; the first area state change data corresponding to the first area in the training process is generated according to the scene parameters, the first current state data and the first predicted state data; the virtual reality server inputs the scene parameters into the pre-trained animation feature determination model, and determines the first animation feature information matching the scene parameters through the animation feature determination model; the first animation feature information is modified using the first area state change data to obtain the second animation feature information matching the area state change corresponding to the first area in the training process, and the corresponding animation data is generated according to the second animation feature information; virtual reality animations of multiple target characters are generated according to the multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data. Through the scheme of the present invention, animations for virtual training scenes can be generated intelligently, efficiently and accurately.

[0137] In some possible implementations of the present invention, the training process of the animation feature determination model includes:

[0138] Acquire real training video data corresponding to the virtual training scene and historical animation video data under the virtual training scene (these historical animation video data are animation data of different animation characters under the virtual training scene) as video samples;

[0139] Extracting a plurality of first image frames from each existing video sample;

[0140] In this step, when extracting image frames, the video samples are divided into multiple video intervals, a label is set for each interval, and then image frames are extracted from each interval.

[0141] Extracting first video feature data (such as movement speed, movement trajectory, relative position, etc. of a skeleton node) from each first image frame, and adding the first video feature data to the first image frame as its auxiliary information;

[0142] In this step, when extracting the feature information of the image frame, it is determined in combination with the neighboring frames of the frame, and the annotation information of the image frame is determined according to the interval label.

[0143] Annotating each of the first image frames with first type information (such as label information (power, speed, etc.), attribute information (features, personality, etc.), scene information, etc.);

[0144] Dividing the plurality of first image frames into different groups, each group including a plurality of associated second image frames, and each group serving as a training sample;

[0145] In this step, when the image frames are grouped, one group includes a plurality of image frames that are temporally associated and together represent one action.

[0146] Extracting the video feature vector and annotation information of each training sample to form labeled sample feature data;

[0147] Construct a training sample set based on all sample feature data;

[0148] The training sample set is trained to obtain an animation feature determination model.

[0149] In this embodiment, the video feature data includes the speed, trajectory and relative position relationship of the skeleton nodes, etc.; the annotation information types include label type, attribute type and scene type, and there are multiple levels of subdivision under different types. The training uses algorithms such as deep learning or reinforcement learning to learn the mapping relationship between features and annotations; motion capture tools can also be used to collect a large amount of first-hand dynamic data as samples; richer information (such as expressions, scenes, etc.) can be extracted based on 2D animation examples; virtual physical simulation can be combined to consider external force factors that affect character movements. In addition, the purpose of model training is to automatically determine the animation feature information that matches the configuration parameters and generate adaptive animation data, so that personalized results can be quickly output according to different needs.

[0150] In this embodiment, the animation feature determination model can query the sample library and select the most matching animation clip or automatically fit personalized new animation data according to different configuration parameters input by the user.

[0151] In this embodiment, a large amount of existing training video data and already produced animation video data are used to learn the mapping relationship between configuration parameters and animation features, and a model that can automatically generate data matching the animation is generated.

[0152] In some possible implementations of the present invention, the following further aspects are included:

[0153] Use deep convolutional neural networks to train a large amount of 3D human body scan data to build a more realistic and detailed 3D human bone and muscle structure model;

[0154] Embed behavioral sensors in virtual reality devices to collect user motion data as new samples;

[0155] Develop a character behavior intelligence engine based on reinforcement learning algorithms to learn advanced action combinations and scenario-driven behavior characteristics;

[0156] Using the IoT connectivity capabilities, various behavior samples in the network are updated synchronously and transfer learning is performed;

[0157] The animation is generated by using neural network technology and path planning technology, taking into account muscle physics simulation and the continuity and naturalness of movements;

[0158] Combined with the communication protocol, high-quality animation materials are automatically pushed to the device to be used, achieving real-time and smooth rendering;

[0159] The intelligent assistant generated by embedding network Neumann operator optimization provides emotional interaction and skill guidance;

[0160] Compatible with multiple AR / VR / XR devices, supports cross-platform, and uses federated learning to distribute and upgrade the system;

[0161] Create an open platform to connect various simulation systems and enrich the sample library and application prospects.

[0162] In this embodiment, the advantages of artificial intelligence can be used to achieve a more realistic animation experience.

[0163] In some possible implementations of the present invention, the step of extracting a plurality of first image frames from each existing video sample includes:

[0164] Importing the plurality of video samples into a deep learning model for preprocessing, and extracting basic attributes of the video data of the video samples (such as type, subject, etc.) as labels;

[0165] In this step, the video sample is input into a pre-trained deep learning model (such as a CNN or RNN model). This deep learning model can be trained to convert visual data into semantic representations (such as classification, detection, etc.); the video sample data is pre-processed using this model, that is, the basic attribute information of the video is automatically extracted using the model, such as the video type (such as action, scenery, etc.) and the subject (such as people, animals, etc.); these automatically extracted basic attribute information such as video type and subject are annotated as the label of the video sample data. This step uses a deep learning model to intelligently pre-process multiple groups of raw video data, extract and annotate the basic semantic attributes of the video data, and provide preliminary labels for subsequent tasks, such as classification and retrieval.

[0166] Using natural language processing to perform semantic segmentation on the video sample, decomposing it into multiple semantic segments that describe a complete action behavior;

[0167] In this step, the video sample is input into the NLP (natural language processing) model for semantic analysis. The NLP model semantically describes the behavior in the video by observing the movement and posture changes in the image sequence. The NLP model decomposes a complete video behavior sequence into multiple semantic segments. Each semantic segment uses natural language to describe a sub-behavior segment in the video, such as "jump up", "take three steps forward", etc. The continuous description of these semantic segments can cover the complete behavior process in the entire video. For example, a basketball video may be decomposed into: take the ball, dribble two steps, jump and shoot, the ball goes into the basket, raise your hands and cheer. This is the concept of using NLP to segment the video at the semantic level and quantify the action into multiple semantic segments.

[0168] For each of the semantic segments, a convolutional neural network-based image frame extraction algorithm is used to extract an image frame set representing the information content of the segment;

[0169] In this step, each semantic segment describes a sub-action behavior in the video through NLP analysis. Each semantic segment is processed separately: an image frame extraction algorithm established using a convolutional neural network (CNN); this algorithm can determine which image frames contain the key information of the action by analyzing the visual features of the image frames; the CNN extraction algorithm is run on all image frames corresponding to the semantic segment. The algorithm will extract a set of image frames that represent the main information of the action of the semantic segment. For example, for a semantic segment of "jumping", two key frame images of jumping and landing may be extracted. The overall process of this step is: based on CNN, a set of image frames with key visual information are extracted separately for each semantic segment that has been interpreted by NLP.

[0170] Classifying the image frame sets within the same semantic segment as a video interval, and using the semantic segmentation result as the interval label;

[0171] In this step, a set of image frames is extracted for each semantic segment through CNN. These image frames represent the visual key points of this semantic segment. The set of image frames corresponding to the same semantic segment is classified into a video interval, that is, each semantic segment corresponds to a video interval. For example, the set of image frames corresponding to the semantic segment "jump up" is classified into a video interval named "jump up"; the label of this video interval is the text label obtained by the previous NLP semantic segmentation for this semantic segment. For example, the semantic segment "jump up" directly uses "jump up" as the label for its corresponding video interval. In simple terms, the set of image frames with the same semantic meaning is classified into a specific video segment, and the semantic segmentation result is used to annotate the name label for this video segment, thereby realizing the process of distinguishing and marking the video according to each sub-segment after semantic segmentation.

[0172] Process all the video samples as above to extract a plurality of first image frames and their corresponding video intervals and interval labels;

[0173] Blockchain technology is used to record the processing process and image frame assets to form a decentralized knowledge graph.

[0174] In this embodiment, the image frame and its attribute information can be extracted efficiently and intelligently by artificial intelligence. At the same time, the reliability of the extraction process and the utilization rate of asset value are improved by combining the use of blockchain technology, laying a reliable data foundation for the construction of subsequent deep learning models.

[0175] In some possible implementations of the present invention, the step of obtaining first current state data and first predicted state data of the first area according to the current three-dimensional data, the current environment data, and the current activity data in combination with the first digital twin model includes:

[0176] Using deep learning technology, compare the current three-dimensional data, the current environmental data, and the current activity data with a first simulation result of a current state simulation model established by historical data of the first area and included in the first digital twin model;

[0177] In this step, the first digital twin model includes a current state simulation model constructed by the historical data of the first region. When this model is established, it will generate a first simulation result based on the historical data but for the current state; currently collected three-dimensional data, environmental data and activity data, that is, the latest data of the real world; using deep learning technology, these latest collected real-time data are compared with the first simulation result generated by the first digital twin model; compare the differences between the two sets of data in key state parameters, that is, find out the main characteristic parameters used to describe the current state of the region. In short, this step uses deep learning to compare the differences between the actual perception data and the original simulation results of the digital twin model, and extract important indicators and parameters that describe the current real state.

[0178] By comparing and analyzing, extracting the difference between the current three-dimensional data, the current environmental data, the current activity data and the first simulation result as the first current key state parameter of the first area at the current time point;

[0179] In this step, the differences in the key state parameters of the two sets of data are found through comparison. These difference parameters can represent and describe the real state of the first area at the current moment. They will be extracted as the first current key state parameters of the first area at the current time point. For example, the model simulates the temperature of 25°C and the actual measurement is 27°C. The temperature difference of 2°C is a difference point; the model simulates the humidity of 70%, and the actual measurement is 68%. The difference of 2% humidity is also a difference point. Extracting all the difference point parameters found will form the "first current key state parameters". This set of parameters can best characterize and interpret the real working state of the area at the current moment.

[0180] The first current key state parameter is used as a variable, inputted into a current state simulation model preset in the first digital twin model, and new current state data is outputted to obtain the first current state data;

[0181] In this step, the first current key state parameter is input as a variable into the current state simulation model of the first digital twin model. The current state simulation model performs dynamic response simulation for different variables according to various physical models to obtain current state data. The physical model refers to a model that includes calculation steps for dynamically studying regional state data by considering specified physical rules using various numerical simulation techniques (such as FEM, fluid, particles, etc.). The physical models include: finite element analysis model (using the extracted current key state parameters, the dynamic response calculation of the structure, environment, etc. in the region is performed through finite element analysis technology, and the new current state data of the structure, environment, etc. is output); fluid mechanics model (if the region involves a fluid environment, the current parameters are used as input, the fluid state is simulated through the computational fluid dynamics model, and the new current state data of the fluid is output); particle system model (if the regional state involves particle behavior, the parameters are used as conditions, and the new current state data of the particle group is calculated through the particle system model); thermodynamic model (if the regional state is related to heat conversion, the parameters are used as heat source input, the thermodynamic model is calculated through heat conduction, etc., and the new current state data of the region involving heat is output), etc.

[0182] Input the current state data as a new sample into a future state prediction model preset in the first digital twin model (a prediction model trained based on historical data of the first region);

[0183] The future state prediction model uses a hidden Markov model to perform subsequent time series prediction to obtain the first predicted state data (using the current state parameters as the origin state and calculating the state change data for a period of time in the future through prediction models such as HMM).

[0184] In this embodiment, by utilizing technologies such as deep learning and physical computing, it is possible to effectively realize regional real-time status detection and predictive calculations, combining intelligence and accuracy, and enhancing the practicality of regional digital twin modeling.

[0185] In some possible implementations of the present invention, the step of generating first area state change data corresponding to the first area in the training process according to the scene parameters, the first current state data and the first predicted state data includes:

[0186] Integrate the environment parameter, the training parameter, the first current state data and the first predicted state data in the scene parameter into a first input vector by using a digital representation method;

[0187] In this step, the scene parameters include environmental parameters (such as temperature, humidity, etc.) and training parameters (such as training objects, equipment, etc.), as well as the state data of the first region at the current time and the predicted time. These parameters and state data are digitally encoded, for example, using real vectors to represent the numerical value of each parameter and state, and then all the encoded parameters and state data are integrated and spliced ​​together to form a long vector as the first input vector. For example, temperature: 25°C => [0.25]; humidity: 60% => [0.6]; object: Zhang San => [1, 0, 0, ...]; state A: 0.8 => [0.8], the above items are spliced ​​into a vector, which is the first input vector. The purpose is to integrate the original parameters and states into a unified digital representation as the input of the deep learning model.

[0188] Collecting current real scene state data and historical real scene state data (such as three-dimensional space reconstruction data, sensor acquisition data, etc.) in the actual training scene corresponding to the virtual training scene;

[0189] Preprocessing (such as standardizing, denoising, etc.) the first input vector, the current real scene state data, and the historical real scene state data;

[0190] Establish a recurrent neural network model based on the morphological attention mechanism (the network structure takes into account the temporal and spatial relationships in the scene);

[0191] Using the preprocessed historical real-scene state data to perform model training on a recurrent neural network model, fine-tuning the network parameter θ, minimizing the training error, and obtaining a first model;

[0192] The corresponding validation set data collected according to the historical real-scene state data is input into the trained first model to predict the short-term state sequence As the first initial result;

[0193] Using the simulation learning platform, the first initial result is used as input to perform physical simulation to obtain a simulation sequence C′;

[0194] Compare C′ with the current real scene state data and the historical real scene state data, use the PPO algorithm to adjust θ, and retrain the first model;

[0195] Iterate the training model repeatedly and update θ until the model prediction error is within the preset range to obtain the second model;

[0196] The preprocessed first input vector is input into the second model to obtain state change data in a field corresponding to the virtual training scene in the first area during training as first area state change data.

[0197] In this step, the first input vector is obtained through the previous step, which integrates the scene parameters and the current state data of the first area. This first input vector is input into the second model for processing. The second model here refers to a trained deep learning model. This model can obtain the state change sequence of the area (the venue corresponding to the virtual training scene) in the future period of time under the scene based on the input vector through learning. For example, a series of state data such as temperature and humidity corresponding to each time point are output; this state change sequence is regarded as the "first area state change data" representing the future state change of the first area. In short, the second deep learning model is used to predict and simulate the change law of the state in the first area (the venue corresponding to the virtual training scene) in the training process under the virtual training scene based on the scene parameters and the current state, which can provide a reference for subsequent animation generation and other work.

[0198] This embodiment can achieve high-precision establishment of a dynamic change law model for training scenarios, and by learning and simulating high-precision change laws of regional states, adjust simulation strategies in real time to enhance model robustness.

[0199] In some possible implementations of the present invention, the virtual reality server inputs the scene parameters into a pre-trained animation feature determination model, and the step of determining first animation feature information matching the scene parameters through the animation feature determination model includes:

[0200] The virtual reality server extracts a scene parameter vector from the scene parameters;

[0201] The animation feature determination model adopts a feedforward neural network structure, and performs matching learning with the training sample set in the training phase;

[0202] Seek the nonlinear mapping relationship between parameters and features in the matching learning process;

[0203] In this step, the matching learning process refers to the model training phase, the correspondence between learning parameters and (animation) features. The model does not attempt to directly establish a linear mapping between parameters and features, but seeks a more complex nonlinear mapping relationship between them through the nonlinear characterization ability of the model. For example, a parameter is a digital feature vector [1, 0, 0.5, ...], and a feature is a classification label, such as "jump". A direct linear relationship cannot describe this mapping, but after being converted into a high-dimensional feature vector by a nonlinear neural network layer, a simple linear separation relationship may exist in the high-dimensional space. This embodiment can find an implicit high-dimensional feature space by adding a hidden layer, and use a linear relationship to describe the input and output in this space, so as to achieve nonlinear modeling and decoding of the original problem, and use a nonlinear model to find the implicit relationship between parameters and features.

[0204] Inputting the scene parameter vector into the animation feature determination model after matching learning;

[0205] The animation feature determination model calculates first animation feature information that matches the scene parameter vector (the first animation feature information includes quantitative description of animation details such as key point movement speed, angle, combination, etc.; the animation generation module can use the feature information to automatically generate complex and realistic animations).

[0206] In this embodiment, through deep learning, the implementation step can efficiently learn the implicit relationship between training scene parameters and animation features; quickly match animation plans based on scene requirements; focus on pattern matching rather than simple rules, and the animation effects are more realistic and natural; and can greatly enhance the realism and immersion of virtual training scenes.

[0207] In some possible implementations of the present invention, the step of modifying the first animation feature information using the first region state change data to obtain second animation feature information matching the region state change corresponding to the first region during training, and generating corresponding animation data according to the second animation feature information includes:

[0208] Acquire historical animation feature information and historical state change data generated during the historical training process of the first region;

[0209] Inputting the historical animation feature information and the historical state change data into a preset first neural network;

[0210] The first neural network uses a bidirectional LSTM structure to learn the time series dependency between features and states;

[0211] inputting the first region state change data and the first animation feature information into the first neural network;

[0212] The first neural network modifies the first animation feature information according to the time series dependency to obtain second animation feature information (including quantitative description vectors of various features such as actions, expressions, character attributes, etc.) that matches the change in the state of the corresponding region in the first region during the training process;

[0213] In this step, the first animation feature information represents the basic animation behavior, as well as the sequence data of the state changes in the first area during the training process (i.e., the first area state change data). A first neural network is established using a recurrent neural network, and the network recognizes the time dependency between the state sequence and the animation features through learning. The animation features and the state sequence are input into the neural network, and the neural network adjusts and modifies the animation features based on the learned time dependency model to generate a new second animation feature information. The various contents of this second animation feature information (such as actions, expressions, etc.) are represented by quantitative description vectors, which can match and coordinate the corresponding stage of changes in the area state sequence.

[0214] Inputting the second animation feature information into a preset animation data determination model (the model is based on a large number of examples to learn mapping relationships, and includes a skeleton driver, a muscle simulator, a clothing generator, an equipment generator, an environmental object generator, etc.);

[0215] The animation data determination model adjusts parameters of a skeleton driver, a muscle simulator, a clothing generator, an equipment generator, and an environmental object generator to generate animation clip data of a plurality of matching area states;

[0216] A plurality of the animation clip data are combined into the animation data.

[0217] In this embodiment, matching animations can be efficiently generated in real time according to the regional status, which can enhance the animation adaptability and continuity, and effectively improve the realism and immersion of the virtual training scene.

[0218] In some possible implementations of the present invention, the step of generating virtual reality animations of multiple target characters according to the multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data includes:

[0219] Extracting animation features and character model features from the video sample, and inputting the animation features and the character model features into a preset first deep neural network;

[0220] In this step, two features are extracted from the video sample: animation features and character model features. Animation features: describe the animation behaviors and features (such as action type, speed, etc.) contained in the video sample; character model features: describe the character appearance model features (such as size, posture, etc.) in the video sample. The two extracted features are used as input data: the animation features and character model features are combined into two branches of input data, and the two branch features are input together into the pre-designed and trained first deep neural network model; this neural network model can learn the mapping relationship after training: input the animation features and character model features, and establish an animation-model mapping relationship table.

[0221] The first deep neural network learns according to the animation features and the character model features to establish an animation-model mapping relationship table;

[0222] Performing semantic analysis on the animation data to extract each action unit and action attribute;

[0223] Identify and analyze the target character model to obtain skeleton information and appearance attributes;

[0224] According to the action units and action attributes, the skeleton information and the appearance attributes, the matching algorithm searches the animation-model mapping relationship table to select action unit sets suitable for different target characters;

[0225] The animation generation module generates a virtual reality animation according to the action unit set.

[0226] In this embodiment, it also includes: fine-tuning considering individual differences such as body proportions to generate personalized animations; rendering animations and synchronously playing multiple characters to present physical effects; and continuously improving animation quality and compatibility with multiple characters through intelligent optimization.

[0227] This embodiment efficiently and automatically generates personalized animations for multiple objects according to needs. The animation quality is continuously improved through deep learning, and can provide complex virtual training scene experience.

[0228] In some possible implementations of the present invention, the step of calculating the first animation feature information matching the scene parameter vector by the animation feature determination model includes:

[0229] Extracting a gravity parameter vector, a ground parameter vector, a weather parameter vector, a training object data vector, a training equipment data vector, and a training plan data vector from the scene parameter vector;

[0230] Determine sub-animation feature information corresponding to the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector, and the training plan data vector, respectively, according to different weights set for the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector, and the training plan data vector;

[0231] Using a preset fusion algorithm, a fusion process is performed on the obtained plurality of sub-animation feature information to obtain the first animation feature information;

[0232] The preset fusion algorithm is a weighted fusion algorithm, and the weights of the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector and the training plan data vector are determined according to the corresponding weights preset for the gravity parameter, the ground parameter, the weather parameter, the training object data, the training equipment data and the training plan in the scene parameters.

[0233] In some possible implementations of the present invention, the generated virtual reality animations of multiple target characters include virtual opponents representing different skills and actions, which are used for users to perform specialized skill training in a virtual environment;

[0234] The training equipment data includes: training equipment parameters, medical equipment parameters and motor vehicle parameters.

[0235] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0236] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0237] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0238] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0239] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0240] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.

[0241] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.

[0242] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

[0243] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.

Claims

1. A virtual reality-based animation character generation system, characterized in that: include: Cloud server, virtual reality server and virtual reality terminal; among which, The cloud server is used to obtain three-dimensional data, historical environmental data and historical activity data of a first area, and generate a first digital twin model of the first area according to the three-dimensional data, the historical environmental data and the historical activity data; The virtual reality server is used for: Acquire virtual training scene data corresponding to the first area from the cloud server; Extracting corresponding scene parameters from the virtual training scene data, wherein the scene parameters include gravity parameters, ground parameters, weather parameters, and other environmental parameters that affect virtual training, as well as training parameters such as training object data, training equipment data, and training plan data; The cloud server is also used for: Acquire current three-dimensional data, current environment data, and current activity data of the first area; Obtaining first current state data and first predicted state data of the first area in combination with the first digital twin model according to the current three-dimensional data, the current environment data, and the current activity data; generating first region state change data corresponding to the first region in the training process according to the scene parameter, the first current state data and the first predicted state data; The virtual reality server is also used for: Inputting the scene parameters into a pre-trained animation feature determination model, and determining first animation feature information matching the scene parameters through the animation feature determination model; Modifying the first animation feature information using the first region state change data to obtain second animation feature information matching the corresponding region state change in the first region during training, and generating corresponding animation data according to the second animation feature information; Virtual reality animations of multiple target characters are generated according to multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data.

2. A method for generating an animation character based on virtual reality, characterized in that: The invention is applied to a virtual reality-based animation character generation system, wherein the virtual reality-based animation character generation system comprises a cloud server, a virtual reality server and a virtual reality terminal; The method for generating an animation character based on virtual reality comprises: The cloud server obtains three-dimensional data, historical environmental data, and historical activity data of a first area, and generates a first digital twin model of the first area based on the three-dimensional data, the historical environmental data, and the historical activity data; The virtual reality server obtains virtual training scene data corresponding to the first area from the cloud server; The virtual reality server extracts corresponding scene parameters from the virtual training scene data, wherein the scene parameters include gravity parameters, ground parameters, weather parameters, and other environmental parameters that affect virtual training, as well as training parameters such as training object data, training equipment data, and training plan data; The cloud server obtains current three-dimensional data, current environment data and current activity data of the first area; Obtaining first current state data and first predicted state data of the first area in combination with the first digital twin model according to the current three-dimensional data, the current environment data, and the current activity data; generating first region state change data corresponding to the first region in the training process according to the scene parameter, the first current state data and the first predicted state data; The virtual reality server inputs the scene parameters into a pre-trained animation feature determination model, and determines first animation feature information matching the scene parameters through the animation feature determination model; Modifying the first animation feature information using the first region state change data to obtain second animation feature information matching the corresponding region state change in the first region during training, and generating corresponding animation data according to the second animation feature information; Virtual reality animations of multiple target characters are generated according to multiple target character models in the virtual training scene corresponding to the animation data and the virtual training scene data.

3. The method for generating an animation character based on virtual reality according to claim 2, characterized in that: The training process of the animation feature determination model includes: Acquire real training video data corresponding to the virtual training scene and historical animation video data under the virtual training scene as video samples; Extracting a plurality of first image frames from each existing video sample; Extracting first video feature data from each of the first image frames, and adding the first video feature data to the first image frame as its auxiliary information; Marking each of the first image frames with first type information; Dividing the plurality of first image frames into different groups, each group including a plurality of associated second image frames, and each group serving as a training sample; Extracting the video feature vector and annotation information of each training sample to form labeled sample feature data; Construct a training sample set based on all sample feature data; The training sample set is trained to obtain an animation feature determination model.

4. The method for generating an animation character based on virtual reality according to claim 3, characterized in that: The step of extracting a plurality of first image frames from each existing video sample comprises: Importing the plurality of video samples into a deep learning model for preprocessing, and extracting basic attributes of the video data of the video samples as labels; Using natural language processing to perform semantic segmentation on the video sample, decomposing it into multiple semantic segments that describe a complete action behavior; For each of the semantic segments, a convolutional neural network-based image frame extraction algorithm is used to extract an image frame set representing the information content of the segment; Classifying the image frame sets within the same semantic segment as a video interval, and using the semantic segmentation result as the interval label; Process all the video samples as above to extract a plurality of first image frames and their corresponding video intervals and interval labels; Blockchain technology is used to record the processing process and image frame assets to form a decentralized knowledge graph.

5. The method for generating an animation character based on virtual reality according to claim 4, characterized in that: The step of obtaining first current state data and first predicted state data of the first area according to the current three-dimensional data, the current environment data, and the current activity data in combination with the first digital twin model includes: Using deep learning technology, compare the current three-dimensional data, the current environmental data, and the current activity data with a first simulation result of a current state simulation model established by historical data of the first area and included in the first digital twin model; By comparing and analyzing, extracting the difference between the current three-dimensional data, the current environmental data, the current activity data and the first simulation result as the first current key state parameter of the first area at the current time point; The first current key state parameter is used as a variable, inputted into a current state simulation model preset in the first digital twin model, and new current state data is outputted to obtain the first current state data; Input the current state data as a new sample into a future state prediction model preset in the first digital twin model; The future state prediction model uses a hidden Markov model to perform subsequent time series prediction to obtain the first predicted state data.

6. The method for generating an animation character based on virtual reality according to claim 5, characterized in that: The step of generating the first area state change data corresponding to the first area in the training process according to the scene parameter, the first current state data and the first predicted state data comprises: Integrate the environment parameter, the training parameter, the first current state data and the first predicted state data in the scene parameter into a first input vector by using a digital representation method; Collecting current real scene state data and historical real scene state data in the actual training scene corresponding to the virtual training scene; Preprocessing the first input vector, the current real scene state data and the historical real scene state data; Establish a recurrent neural network model based on morphological attention mechanism; Using the preprocessed historical real-scene state data to perform model training on a recurrent neural network model, fine-tuning the network parameter θ, minimizing the training error, and obtaining a first model; The corresponding validation set data collected according to the historical real-scene state data is input into the trained first model to predict the short-term state sequence As the first initial result; Using the simulation learning platform, the first initial result is used as input to perform physical simulation to obtain a simulation sequence C′; Compare C′ with the current real scene state data and the historical real scene state data, use the PPO algorithm to adjust θ, and retrain the first model; Iterate the training model repeatedly and update θ until the model prediction error is within the preset range to obtain the second model; The preprocessed first input vector is input into the second model to obtain state change data in a field corresponding to the virtual training scene in the first area during training as first area state change data.

7. The method for generating an animation character based on virtual reality according to claim 6, characterized in that: The virtual reality server inputs the scene parameters into a pre-trained animation feature determination model, and determines the first animation feature information matching the scene parameters through the animation feature determination model, comprising: The virtual reality server extracts a scene parameter vector from the scene parameters; The animation feature determination model adopts a feedforward neural network structure, and performs matching learning with the training sample set in the training phase; Seek the nonlinear mapping relationship between parameters and features in the matching learning process; Inputting the scene parameter vector into the animation feature determination model after matching learning; The animation feature determination model calculates and obtains first animation feature information that matches the scene parameter vector.

8. The method for generating an animation character based on virtual reality according to claim 7, characterized in that: The step of modifying the first animation feature information by using the first area state change data to obtain second animation feature information matching the area state change corresponding to the first area during the training process, and generating corresponding animation data according to the second animation feature information includes: Acquire historical animation feature information and historical state change data generated during the historical training process of the first region; Inputting the historical animation feature information and the historical state change data into a preset first neural network; The first neural network uses a bidirectional LSTM structure to learn the time series dependency between features and states; inputting the first region state change data and the first animation feature information into the first neural network; The first neural network modifies the first animation feature information according to the time series dependency relationship to obtain second animation feature information that matches the regional state change corresponding to the first region during the training process; Inputting the second animation feature information into a preset animation data determination model; The animation data determination model adjusts parameters of a skeleton driver, a muscle simulator, a clothing generator, an equipment generator, and an environmental object generator to generate animation clip data of a plurality of matching area states; A plurality of the animation clip data are combined into the animation data.

9. The method for generating an animation character based on virtual reality according to claim 8, characterized in that: The step of generating virtual reality animations of multiple target characters according to the animation data and the multiple target character models in the virtual training scene corresponding to the virtual training scene data comprises: Extracting animation features and character model features from the video sample, and inputting the animation features and the character model features into a preset first deep neural network; The first deep neural network learns according to the animation features and the character model features to establish an animation-model mapping relationship table; Performing semantic analysis on the animation data to extract each action unit and action attribute; Identify and analyze the target character model to obtain skeleton information and appearance attributes; According to the action units and action attributes, the skeleton information and the appearance attributes, the matching algorithm searches the animation-model mapping relationship table to select action unit sets suitable for different target characters; The animation generation module generates a virtual reality animation according to the action unit set.

10. The method for generating an animation character based on virtual reality according to claim 9, characterized in that: The step of calculating the first animation feature information matching the scene parameter vector by the animation feature determination model comprises: Extracting a gravity parameter vector, a ground parameter vector, a weather parameter vector, a training object data vector, a training equipment data vector, and a training plan data vector from the scene parameter vector; Determine sub-animation feature information corresponding to the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector, and the training plan data vector, respectively, according to different weights set for the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector, and the training plan data vector; Using a preset fusion algorithm, a fusion process is performed on the obtained plurality of sub-animation feature information to obtain the first animation feature information; The preset fusion algorithm is a weighted fusion algorithm, and the weights of the gravity parameter vector, the ground parameter vector, the weather parameter vector, the training object data vector, the training equipment data vector and the training plan data vector are determined according to the corresponding weights preset for the gravity parameter, the ground parameter, the weather parameter, the training object data, the training equipment data and the training plan in the scene parameters.