A method and system for constructing embodied scenarios for vocational education based on metaverse
By parsing and extracting vocational education course information, it automatically builds and optimizes metaverse scenarios, solving the problems of high cost and difficulty in updating existing technologies, and achieving efficient vocational education training and learning experience.
Patent Information
- Application Number
- CN202311539913.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-19
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-11-19
AI Technical Summary
The construction of existing vocational education metaverse scenarios requires a lot of engineer work time and technical resources, and is difficult to expand or update, causing the content to lag behind educational needs.
By obtaining the description information of vocational education courses, parsing and extracting item and location information, automatically constructing virtual items and scenes, using natural language processing and entity recognition technology, combined with digital twin technology and genetic algorithms, to optimize the layout of virtual items and realize automated scene construction and motion input recognition.
It reduces development costs and update difficulty, improves training efficiency and learners' sense of participation and practical ability, updates educational content in a timely manner, and stimulates learning interest and motivation.
Smart Images

Figure CN117541723B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data processing technology, and specifically relates to a method and system for constructing embodied scenarios for vocational education based on the metaverse. Background Art
[0002] The Metaverse provides a virtual environment where users can immerse themselves in a digital world and interact with three-dimensional objects and other virtual entities through virtual reality and augmented reality technologies. In recent years, Metaverse technology has developed rapidly and has been applied to various fields such as vocational education.
[0003] The current metaverse of vocational education embodied scenarios is mainly modeled and programmed manually by engineers according to the needs of educational courses, which requires a lot of engineer working time and technical resources, resulting in high development costs. In addition, once the metaverse scenario is established, it may become complicated to expand or update it. If the vocational education content changes or needs to be updated, it needs to rely on engineers to make manual adjustments, which may cause the content in the scenario to lag behind the actual education needs. Summary of the invention
[0004] In order to solve the problem that the metaverse of the current vocational education embodied scene is mainly modeled and programmed manually by engineers according to the needs of the education curriculum, it requires a lot of engineer working time and technical resources, resulting in high development costs. In addition, once the metaverse scene is established, it may become complicated to expand or update it. If the vocational education content changes or needs to be updated, it is necessary to rely on engineers to manually adjust it, which may cause the content in the scene to lag behind the actual education needs. The present invention provides a method and system for constructing a vocational education embodied scene based on the metaverse.
[0005] First aspect
[0006] The present invention provides a method for constructing an embodied scenario of vocational education based on the metaverse, comprising:
[0007] S1: Obtain descriptive information of vocational education courses;
[0008] S2: parsing the description information of the vocational education course to extract item information and location information;
[0009] S3: constructing a virtual item according to the item information;
[0010] S4: using the position information as a constraint and maximizing training efficiency as a goal, determining the placement of each virtual object and constructing a vocational education scenario;
[0011] S5: guiding the learner to input actions in the vocational education scenario, identifying the learner's action input, and conducting vocational education training.
[0012] Second aspect
[0013] The present invention provides a system for constructing embodied scenarios for vocational education based on the metaverse, comprising a processor and a memory for storing processor executable instructions; the processor is configured to call the instructions stored in the memory to execute the method for constructing embodied scenarios for vocational education based on the metaverse in the first aspect.
[0014] Compared with the prior art, the present invention has at least the following beneficial technical effects:
[0015] (1) In the present invention, the description information of the vocational education course can be parsed to extract the item information and location information. Based on the item information, virtual items can be automatically constructed. Then, the location information is used as a constraint and the highest training efficiency is used as the goal to determine the placement of each virtual item, thereby automatically constructing the vocational education scene. There is no need to rely entirely on engineers for manual modeling and programming, which reduces the cost of vocational education course development and the difficulty of expanding or updating the metaverse, and can update the vocational education course content in a timely manner.
[0016] (2) In the present invention, vocational education scenarios are constructed, learners are guided to input actions in the vocational education scenarios, and learners' action inputs are identified to conduct vocational education training. Learners can perform actual operations and interactions in virtual scenarios, simulate real professional environments, and improve practical abilities and skills. At the same time, learners' sense of participation can be improved, their interest in learning can be stimulated, and their motivation for learning can be enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.
[0018] Figure 1 It is a flow chart of a method for constructing embodied scenarios for vocational education based on the metaverse provided by the present invention.
[0019] Figure 2 It is a structural diagram of a metaverse-based vocational education embodied scenario construction system provided by the present invention. DETAILED DESCRIPTION
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0021] Example 1
[0022] In one embodiment, the reference specification Figure 1 , showing a flow chart of a method for constructing an embodied scenario of vocational education based on the metaverse provided by the present invention.
[0023] The present invention provides a method for constructing an embodied scenario of vocational education based on the metaverse, comprising:
[0024] S1: Get descriptive information about vocational education courses.
[0025] The description information includes: course overview, learning objectives, teaching content, teaching methods, evaluation methods, prerequisite knowledge, etc. These description information will provide a basis for the subsequent construction of the metaverse scene, ensuring that the virtual environment can accurately reflect the requirements and objectives of the actual vocational education course.
[0026] Specifically, vocational education courses can be described in words or in voice.
[0027] S2: Parse the description information of vocational education courses and extract item information and location information.
[0028] Specifically, natural language processing (NLP) can be used to parse the descriptive information of vocational education courses and extract object information and location information.
[0029] In a possible implementation, S2 specifically includes sub-steps S201 and S202:
[0030] S201: Segment the description information of vocational education courses.
[0031] In a possible implementation, sub-step S201 specifically includes sub-steps S2011 to S2014:
[0032] S2011: Segment the current sentence using the forward maximum matching method.
[0033] Among them, the forward maximum matching method selects the segmentation point from left to right, matches the text to be segmented with the words in the vocabulary, selects the longest matched word as the segmentation point, and then performs the same matching process on the remaining text until all the text is segmented.
[0034] S2012: Segment the current sentence using the reverse maximum matching method.
[0035] Among them, the reverse maximum matching method is opposite to the forward maximum matching method. It selects word segmentation points from right to left, and also selects the longest matched word as the word segmentation point. The same matching process is performed on the remaining text until all the text is segmented.
[0036] S2013: Determine whether the word segmentation results of the forward maximum matching method and the reverse maximum matching method are the same. If so, output the word segmentation result of the current sentence. Otherwise, proceed to the next step.
[0037] In the present invention, it is determined whether the word segmentation results of the forward maximum matching method and the reverse maximum matching method are the same, which can enhance the fault tolerance of the system. If the two methods obtain similar results, it means that the word segmentation is relatively stable. If the results are different, it can be handled more flexibly and a more appropriate word segmentation result can be selected.
[0038] S2014: Segment the current sentence based on the conditional random field.
[0039] Among them, the conditional random field (CRF) is a probabilistic graph model that performs word segmentation by considering the relationship between words in the context and the conditional probability between them. In the word segmentation process, the CRF model learns the relationship between words by learning a large amount of corpus data, and then segment the text based on these relationships.
[0040] In the present invention, the conditional random field can take into account contextual information and improve the ability to understand the context. The word segmentation method based on the conditional random field can further improve the accuracy of word segmentation, especially in dealing with some complex language structures and scenarios with high ambiguity.
[0041] In a possible implementation, S2014 specifically includes:
[0042] Based on the conditional random field, calculate the current sentence x in each word segmentation tag y i The conditional probability of:
[0043] P ( y i | x ) = e x p [ ω 1 ⋅ F 1 ( x , y i ) + ω 2 ⋅ F 2 ( x , y i ) ] ∑ y i ∈ Y {exp[ ω 1 ⋅ F 1 ( x , y i ) + ω 2 ⋅ F 2 ( x , y i )]} ;
[0044] Among them, x represents the current statement, y irepresents the i-th word segmentation token, Y represents the word segmentation token set, F1() represents the transfer function, ω1 represents the weight coefficient of the transfer function, F2() represents the state function, ω2 represents the weight coefficient of the state function, and exp represents the exponential function with e as the base.
[0045] Among them, those skilled in the art can set the size of the weight coefficient ω1 of the transfer function and the weight coefficient of the state function ω2 according to actual conditions, and the present invention does not limit this.
[0046] According to the current sentence x, mark y in each word segmentation i The conditional probability under , selects the word segmentation token with the largest conditional probability and performs word segmentation on the current sentence.
[0047] In the present invention, the benefits of Chinese word segmentation based on conditional random fields include full consideration of the global context, flexibility of features, the ability to adapt to different tasks through parameter learning, better handling of ambiguity, and integration of multi-level information, which enables the model to understand the language structure more accurately during the word segmentation process and improve the quality and adaptability of word segmentation.
[0048] S202: Identify item information and location information from the word segmentation results using entity recognition technology.
[0049] In a possible implementation, sub-step S202 specifically includes sub-steps S2021 to S2025:
[0050] S2021: Extract the word segmentation features of words through the BERT pre-training model to obtain the word segmentation feature sequence H = [ h 1 , h 2 , ⋯ , h N ] ,h i represents the i-th word segmentation feature, , N represents the total number of word segmentation features.
[0051] Among them, the BERT pre-training model adopts the Transformer architecture and learns language representation from a large-scale text corpus through unsupervised learning.
[0052] In the present invention, the use of the BERT pre-trained model can more comprehensively understand the context of words in context, rather than just considering the features of a single word. This helps to better understand the relationship between item information and location information during entity recognition, and improves the ability to understand context.
[0053] S2022: Determine the weight of each word segmentation feature according to the following formula:
[0054] w i = δ ( c , h i ) = V T tanh[ W ( c , h i , | c − h i | , c ⊙ h i d ) + U ⋅ c ] ;
[0055] Among them, w irepresents the weight of the i-th word segmentation feature, V represents the first parameter matrix, W represents the second parameter matrix, U represents the third parameter matrix, tanh() represents the tanh function, c represents the current event type, Represents matrix dot multiplication operation, () T represents the matrix transpose operation, and d represents the embedding dimension.
[0056] In the present invention, by determining the weight of each word segmentation feature, the importance of different features can be adjusted. This enables the model to more flexibly identify item information and location information according to task requirements and context, improving the adaptability and generalization ability of the model.
[0057] S2023: Determine the word embedding vector according to the following formula:
[0058] ;
[0059] Among them, S represents the word embedding vector, and Softmax() represents the Softmax function.
[0060] In the present invention, the calculation of word embedding vectors uses the Softmax function, which helps to convert the conditional probability of words under different event types into corresponding embedding vectors. This processing method can better capture the distribution information of words in the context and improve the representation effect of object information and location information.
[0061] S2024: Calculate the conditional probability under various event types according to the following formula:
[0062] p c = Sigmoid [ δ ( S , c )] = Sigmoid V T tanh[ W ( S , c , | S − c | , S ⊙ c d ) + U ⋅ S ]} ;
[0063] Among them, p c represents the conditional probability under event type c, and Sigmoid() represents the Sigmoid function.
[0064] In the present invention, by calculating the conditional probabilities under various event types and selecting the event type with the largest conditional probability, entity recognition can be performed more accurately. This helps to correctly identify item information and location information in the word segmentation results, thereby improving the accuracy of entity recognition.
[0065] S2025: According to the conditional probability of the current word under each event type, the event type with the largest conditional probability is selected, entity recognition is performed on the current word, and item information and location information are identified from the word segmentation results.
[0066] In the present invention, by combining the BERT pre-trained model and entity recognition technology, accurate recognition of item information and location information in the word segmentation results is achieved. The BERT model is used to understand the context, dynamically adjust the feature weights, calculate the embedding vector to better represent the word distribution, and achieve accurate entity recognition through conditional probability selection. This comprehensive application improves the model's understanding and adaptability to complex contexts, enhances the effective capture of item and location information in multi-task scenarios, and thus improves the accuracy and comprehensiveness of entity recognition.
[0067] S3: Construct virtual items according to item information.
[0068] Specifically, virtual objects can be generated based on object information through digital twin technology, and virtual objects can also be automatically generated through generative adversarial networks (GANs) or variational autoencoders (VAEs).
[0069] S4: Using location information as a constraint and maximizing training efficiency as the goal, determine the placement of each virtual object and construct a vocational education scenario.
[0070] In the present invention, placing virtual objects in an optimal way helps improve training efficiency. Learners can more easily access and use the required learning resources, reducing unnecessary searches and wasting time. At the same time, reasonable placement of virtual objects can avoid waste of resources, ensure that each learning element is effectively utilized, and help create a learning environment with more educational value and effect.
[0071] In a possible implementation, S4 specifically includes sub-steps S401 to S404:
[0072] S401: With the highest training efficiency as the goal, set the training efficiency objective function of the vocational education scenario construction model:
[0073] ;
[0074] Among them, F() represents the objective function, θ represents the item placement vector, T represents the learning time, λ represents the weight coefficient of the learning time, and ρ represents the absorption rate.
[0075] Among them, the absorption rate refers to the degree of knowledge mastered by students after course learning, which can be calculated as the ratio of the number of knowledge points learned to the total number of knowledge points.
[0076] The shorter the learning time, the higher the training efficiency. Conversely, the longer the learning time, the lower the training efficiency. The higher the absorption rate, the higher the training efficiency. Conversely, the lower the absorption rate, the lower the training efficiency.
[0077] Among them, those skilled in the art can set the size of the weight coefficient λ of the learning time according to actual conditions, and the present invention does not limit this.
[0078] S402: Using location information, set constraints for building a vocational education scenario model.
[0079] S403: Under the constraints, with the goal of maximizing the function value of the training efficiency objective function, the vocational education scenario construction model is optimized to determine the optimal item placement vector.
[0080] In the present invention, by optimizing the objective function, the system can automatically seek to maximize efficiency in the process of placing items. Such a designed scenario is more likely to convey more information in the same learning time and improve learning efficiency.
[0081] In a possible implementation, sub-step S403 specifically includes sub-steps S4031 to S4036:
[0082] S4031: Initialize a population Q1, which includes multiple individuals X, each of which represents a feasible item placement vector θ.
[0083] S4032: Calculate the fitness value of each individual in the initial population Q1, where the fitness value is the function value of the training efficiency objective function.
[0084] S4033: Adopt an elite selection strategy to remove the 20% of individuals with the lowest fitness values to form a new population Q2.
[0085] S4034: Perform a crossover operation on population Q2, randomly select two individuals from population H2 as parents, generate a random number, and compare the random number with the crossover probability p e Compare the size, if the random number is less than the crossover probability p e , then the parent is cross-operated to generate new individuals to form a new population Q3. The generation of new individuals is as follows:
[0086] ;
[0087] Among them, Y1 and Y2 represent new individuals, X1 represents the first parent, X2 represents the second parent, and rand represents a random number between 0 and 1.
[0088] S4035: Perform a mutation operation on population Q3, randomly select an individual from population Q3 as a parent, generate a random number, and compare the random number with the mutation probability p m Compare the size, if the random number is less than the mutation probability p m , then the parent is mutated to generate new individuals to form a new population Q4. The generation of new individuals is as follows:
[0089] ;
[0090] Among them, Y3 represents the new individual, X3 represents the parent, and X max represents the individual with the largest fitness value, X min represents the individual with the smallest fitness value, and rand represents a random number between 0 and 1.
[0091] S4036: Repeat the above steps and iterate until the preset number of iterations is reached, and output the solution with the largest fitness value as the optimal item placement vector.
[0092] In the present invention, the solution space of the object placement vector is comprehensively searched through the genetic algorithm, and the individual group is automatically adjusted through the adaptability, diversity and self-adaptation mechanism to retain the solution with higher fitness, prevent falling into the local optimal solution, and improve the search efficiency. At the same time, the parallelism and automation characteristics of the genetic algorithm make the entire scene construction model more robust and adaptable, and can efficiently and automatically construct a vocational education scene that meets the goal of the highest training efficiency.
[0093] S404: Determine the placement of each virtual object based on the optimal object placement vector and construct a vocational education scenario.
[0094] In the present invention, the placement positions determined based on the optimal object placement vectors can optimize the layout of virtual objects in the scene, meeting the goal of the highest training efficiency to the greatest extent, which helps to improve the learning effect of learners in the virtual environment.
[0095] S5: Guide learners to perform action input in vocational education scenarios and identify learners’ action input to conduct vocational education training.
[0096] In the present invention, by constructing a vocational education scenario, guiding learners to input actions in the vocational education scenario, and identifying the learners' action inputs to carry out vocational education training, learners can perform actual operations and interactions in the virtual scenario, simulate the real professional environment, improve practical ability and skills, and at the same time improve learners' sense of participation, stimulate learning interest, and enhance learning motivation.
[0097] In a possible implementation, S5 specifically includes sub-steps S501 to S506:
[0098] S501: Obtain the learner's joint node data sequence.
[0099] S502: Setting the action inhibition parameters of each joint node data in the joint node data sequence:
[0100] ;
[0101] Among them, a t represents the motion suppression parameter at time t, t represents the time, and β represents the motion attenuation factor.
[0102] In the present invention, the setting of the motion inhibition parameters allows the system to adjust the degree of motion response to each joint node of the learner, which can help the system better understand and adapt to the individual differences of the learners and provide a more personalized training experience.
[0103] S503: Calculate the motion trend parameters according to the joint node data sequence:
[0104] ;
[0105] Among them, b t represents the action trend parameter at time t, b t-1 represents the action trend parameter at time t-1, γ represents the action trend weight coefficient, X t Represents the joint node data at time t, X t-1 Represents the joint node data at time t-1.
[0106] Among them, those skilled in the art can set the size of the action trend weight coefficient γ according to actual conditions, and the present invention does not limit it.
[0107] In the present invention, the calculation of the action trend parameters enables the system to identify the learner's action development trend and understand the change and evolution of the action, which helps the system to predict the learner's future actions more accurately.
[0108] S504: Correct the joint nodes according to the motion suppression parameters and the motion trend parameters:
[0109] ;
[0110] in, represents the joint node correction data at time t, a t represents the action inhibition parameter at time t, X t Represents the joint node data at time t, X t-1 represents the joint node data at time t-1, b t-1 Represents the action trend parameter at time t-1.
[0111] In the present invention, through the comprehensive use of motion inhibition parameters and motion trend parameters, the system can adjust and correct the learner's movements in real time, which helps to correct potential errors and improve the learner's movement accuracy.
[0112] S505: According to the joint node correction data, the joint node is predicted:
[0113] ;
[0114] in, Represents the predicted data of the joint node at time t+k, where k represents the prediction step length.
[0115] In the present invention, predicting the actions of joint nodes is an estimation of the learner's future actions, which helps the system to identify possible problems or errors of the learner in advance and correct them immediately, thereby providing more effective training.
[0116] S506: Perform action recognition based on the joint node prediction data, respond to corresponding actions in the vocational education scene, and conduct vocational education training.
[0117] In the present invention, the system is enabled to make corresponding response changes according to the learner's actions, which helps to improve the learner's professional skills and application capabilities, thereby improving the overall training effect.
[0118] In a possible implementation manner, S506 specifically includes:
[0119] According to the joint node prediction data, based on the long short-term memory neural network, the hidden state of the joint node at each moment is extracted:
[0120] ;
[0121] Among them, I t represents the activation output vector of the input gate at time t, Sigmoid () represents the Sigmoid activation function, W XI Represents the weight matrix between the joint node data sequence and the input gate, W HI represents the weight matrix between the hidden state and the input gate, b I represents the bias term of the input gate, F t represents the activation output vector of the forget gate at time t, W XF Represents the weight matrix between the joint node data sequence and the forget gate, W HF represents the weight matrix between the hidden state and the forget gate, b F represents the bias term of the forget gate, O t represents the activation output vector of the output gate at time t, W XO Represents the weight matrix between the joint node data sequence and the output gate, W HO represents the weight matrix between the hidden state and the output gate, C t represents the activation output vector of the cell storage unit at time t, represents the candidate output vector of the cell storage unit at time t, C t-1represents the activation output vector of the cell storage unit at time t-1, tanh() represents the tanh activation function, W XC Represents the weight matrix between the joint node data sequence and the cell storage unit, W HC represents the weight matrix between the hidden state and the cell storage unit, b C represents the bias term of the cell storage unit, h t represents the hidden state at time t, h t-1 represents the hidden state at time t-1.
[0122] Among them, Long Short-Term Memory (LSTM) is a deep learning model for processing sequence data, which is particularly suitable for capturing long-term dependencies.
[0123] According to the hidden state of the joint nodes at each moment, predict the probability of each action:
[0124] ;
[0125] Among them, P i represents the probability of the ith action, w i represents the weight parameter of the i-th action, b i represents the bias parameter of the ith action, and h represents the hidden state.
[0126] The action with the largest probability value is selected as the action recognition result, and the corresponding action is responded in the vocational education scenario to carry out vocational education training.
[0127] In the present invention, the use of long short-term memory neural network helps to capture the long-term dependencies in the learner's joint node data sequence and effectively retain and update information. This can more accurately express the learner's action pattern and improve the accuracy of action recognition.
[0128] Example 2
[0129] In one embodiment, the reference specification Figure 2 , showing a structural schematic diagram of a metaverse-based vocational education embodied scenario construction system provided by the present invention.
[0130] The present invention provides a system for constructing an embodied scenario of vocational education based on the metaverse, comprising a processor 201 and a memory 202 for storing executable instructions of the processor 201. The processor 201 is configured to call the instructions stored in the memory 202 to execute the method for constructing an embodied scenario of vocational education based on the metaverse in Example 1.
[0131] The metaverse-based vocational education embodied scenario construction system provided by the present invention can realize the steps and effects of the metaverse-based vocational education embodied scenario construction method in the above-mentioned embodiment 1. To avoid repetition, the present invention will not go into details.
[0132] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0133] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for constructing embodied scenarios for vocational education based on the metaverse, characterized in that: include: S1: Obtain descriptive information of vocational education courses; S2: parsing the description information of the vocational education course to extract item information and location information; S3: constructing a virtual item according to the item information; S4: using the position information as a constraint and maximizing training efficiency as a goal, determining the placement of each virtual object and constructing a vocational education scenario; S5: guiding the learner to input actions in the vocational education scenario, and identifying the learner's action input to perform vocational education training; The S2 specifically includes: S201: Segmenting the description information of the vocational education course; S202: Identify item information and location information from the word segmentation results using entity recognition technology; The S201 specifically includes: S2011: Segment the current sentence using the forward maximum matching method; S2012: Segment the current sentence using the reverse maximum matching method; S2013: Determine whether the word segmentation results of the forward maximum matching method and the reverse maximum matching method are the same, if so, output the word segmentation result of the current sentence, otherwise, proceed to the next step; S2014: Segment the current sentence based on conditional random fields; The S2014 specifically includes: Based on the conditional random field, calculate the current sentence x in each word segmentation tag y i The conditional probability of: Among them, x represents the current statement, y i represents the i-th word segmentation token, Y represents the word segmentation token set, F1() represents the transfer function, ω1 represents the weight coefficient of the transfer function, F2() represents the state function, ω2 represents the weight coefficient of the state function, and exp represents the exponential function with e as the base; According to the current sentence x, mark y in each word segmentation i The conditional probability under the condition is selected, and the word segmentation token with the largest conditional probability is selected to segment the current sentence; The S202 specifically includes: S2021: Extract the word segmentation features through the BERT pre-training model and obtain the word segmentation feature sequence H = [h1,h2,L,h N ],h i represents the i-th word segmentation feature, i = 1, 2, L, N, N represents the total number of word segmentation features; S2022: Determine the weight of each word segmentation feature according to the following formula: Among them, w i represents the weight of the i-th word segmentation feature, V represents the first parameter matrix, W represents the second parameter matrix, U represents the third parameter matrix, tanh() represents the tanh function, c represents the current event type, e represents the matrix dot multiplication operation, () T represents the matrix transpose operation, and d represents the embedding dimension; S2023: Determine the word embedding vector according to the following formula: Among them, S represents the word embedding vector, Softmax() represents the Softmax function; S2024: Calculate the conditional probability under various event types according to the following formula: Among them, p c represents the conditional probability under event type c, Sigmoid() represents the Si gmo id function; S2025: According to the conditional probability of the current word under each event type, the event type with the largest conditional probability is selected, entity recognition is performed on the current word, and item information and location information are identified from the word segmentation results; The S4 specifically includes: S401: With the highest training efficiency as the goal, set the training efficiency objective function of the vocational education scenario construction model: Among them, F() represents the objective function, θ represents the object placement vector, T represents the learning time, λ represents the weight coefficient of the learning time, and ρ represents the absorption rate; the absorption rate refers to the degree of knowledge mastered by students after learning the course, and is calculated by the ratio of the number of knowledge points learned to the total number of knowledge points; S402: Using the location information, setting constraints for the vocational education scenario construction model; S403: Under the constraint of the constraint condition, with the goal of maximizing the function value of the training efficiency objective function, optimizing the vocational education scenario construction model to determine the optimal object placement vector; S404: Determine the placement position of each virtual object according to the optimal object placement vector, and construct a vocational education scenario.
2. The method for constructing embodied scenarios for vocational education based on metaverse according to claim 1 is characterized in that: The S403 specifically includes: S4031: Initialize a population Q1, which includes multiple individuals X, each of which represents a feasible item placement vector θ; S4032: Calculate the fitness value of each individual in the initialized population Q1, wherein the fitness value is a function value of a training efficiency objective function; S4033: Adopt the elite selection strategy to remove the 20% individuals with the lowest fitness values to form a new population Q2; S4034: Perform a crossover operation on population Q2, randomly select two individuals from population H2 as parents, generate a random number, and compare the random number with the crossover probability p e Compare the size, if the random number is less than the crossover probability p e , then the parent is cross-operated to generate new individuals to form a new population Q3. The generation of new individuals is as follows: Y1=rand×X1+(1-rand)×X2 Y2=rand×X2+(1-rand)×X1 Among them, Y1 and Y2 represent new individuals, X1 represents the first parent, X2 represents the second parent, and rand represents a random number between 0 and 1; S4035: Perform a mutation operation on population Q3, randomly select an individual from population Q3 as a parent, generate a random number, and compare the random number with the mutation probability p m Compare the size, if the random number is less than the mutation probability p m , then the parent is mutated to generate new individuals to form a new population Q4. The generation of new individuals is as follows: Among them, Y3 represents the new individual, X3 represents the parent, and X max represents the individual with the largest fitness value, X min represents the individual with the smallest fitness value, and rand represents a random number between 0 and 1; S4036: Repeat the above steps and iterate until the preset number of iterations is reached, and output the solution with the largest fitness value as the optimal item placement vector.
3. The method for constructing embodied scenarios for vocational education based on metaverse according to claim 1 is characterized in that: The S5 specifically includes: S501: Obtain the learner's joint node data sequence; S502: Setting the action inhibition parameters of each joint node data in the joint node data sequence: a t =β(1-β) t Among them, a t represents the motion suppression parameter at time t, t represents the time, and β represents the motion attenuation factor; S503: Calculate the motion trend parameters according to the joint node data sequence: b t =γ(X t -X t-1 )+(1-γ)b t-1 Among them, b t represents the action trend parameter at time t, b t-1 represents the action trend parameter at time t-1, γ represents the action trend weight coefficient, X t Represents the joint node data at time t, X t-1 Represents the joint node data at time t-1; S504: Correcting the joint nodes according to the motion suppression parameters and the motion trend parameters: in, represents the joint node correction data at time t, a t represents the action inhibition parameter at time t, X t Represents the joint node data at time t, X t-1 represents the joint node data at time t-1, b t-1 Represents the action trend parameter at time t-1; S505: According to the joint node correction data, the joint node is predicted: in, Represents the predicted data of the joint node at time t+k, where k represents the prediction step length; S506: Perform action recognition based on the joint node prediction data, respond to corresponding actions in the vocational education scene, and conduct vocational education training.
4. The method for constructing embodied scenarios for vocational education based on metaverse according to claim 3 is characterized in that: The S506 specifically includes: According to the joint node prediction data, based on the long short-term memory neural network, the hidden state of the joint node at each moment is extracted: I t =Sigmoid(W XI X t +W HI h t-1 +b I ) F t =Sigmoid(W XF X t +W HF h t-1 +b F ) O t =Sigmoid(W XO X t +W HO h t-1 +b O ) C t '=tanh(W XC X t +W HC h t-1 +b C ) C t =F t ·C t-1 +I t ·C t ' h t =O t ·tanh(C t ) Among them, I t represents the activation output vector of the input gate at time t, Sigmoid() represents the Sigmoid activation function, and W XI Represents the weight matrix between the joint node data sequence and the input gate, W HI represents the weight matrix between the hidden state and the input gate, b I represents the bias term of the input gate, F t represents the activation output vector of the forget gate at time t, W XF Represents the weight matrix between the joint node data sequence and the forget gate, W HF represents the weight matrix between the hidden state and the forget gate, b F represents the bias term of the forget gate, O t represents the activation output vector of the output gate at time t, W XO Represents the weight matrix between the joint node data sequence and the output gate, W HO represents the weight matrix between the hidden state and the output gate, C t represents the activation output vector of the cell storage unit at time t, C t ' represents the candidate output vector of the cell storage unit at time t, C t-1 represents the activation output vector of the cell storage unit at time t-1, tanh() represents the tanh activation function, W XC Represents the weight matrix between the joint node data sequence and the cell storage unit, W HC represents the weight matrix between the hidden state and the cell storage unit, b C represents the bias term of the cell storage unit, h t represents the hidden state at time t, h t-1 represents the hidden state at time t-1; According to the hidden state of the joint nodes at each moment, predict the probability of each action: P i =Softmax(w i ·h+b i ) Among them, P i represents the probability of the ith action, w i represents the weight parameter of the i-th action, b i represents the bias parameter of the i-th action, and h represents the hidden state; The action with the largest probability value is selected as the action recognition result, and the corresponding action is responded in the vocational education scenario to carry out vocational education training.
5. A metaverse-based vocational education embodied scenario construction system, characterized in that: It includes a processor and a memory for storing processor executable instructions; the processor is configured to call the instructions stored in the memory to execute the method for constructing embodied scenarios for vocational education based on the metaverse as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Information security discrimination method, device and equipment, and storage medium
CN110909531A
Attention analysis method, terminal and device for learning object in education element universe
CN115933930A
