A generative artificial intelligence content generation method for vocational courses

By extracting the spatial relationships of hands, tools, and workpieces from standard operation demonstration videos of vocational courses, a three-point orientation sequence is formed. This sequence is then combined with the course text and input into a generative language model, solving the problem of inconsistency between the generated results and the operation process in existing technologies, and achieving more accurate generation of vocational course content.

CN123159281APending Publication Date: 2026-11-24JIANGSU CAREER EDUCATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611413652.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-11
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies struggle to convert the relative positions of hands, tools, and workpieces in vocational courses into discrete data that can be processed by generative language models, resulting in inconsistencies between the generated results and the standard operating procedure demonstration.

Method used

By extracting hand positions, tool orientations, and workpiece operation point positions from standard operation demonstration videos, a three-point orientation sequence is formed. This sequence is then associated with the course text and input into a generative language model to generate Chinese vocational course text.

Benefits of technology

This improves the accuracy of generative language models in generating Chinese vocational course texts, making the output content more closely match the operational explanations and maintaining a text format that can be saved and read by computing devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159281A_ABST
    Figure CN123159281A_ABST
Patent Text Reader

Abstract

This invention relates to the field of data processing technology and discloses a generative artificial intelligence content generation method for vocational courses. The method includes: obtaining course text and a standard operation demonstration video corresponding to the target vocational course; obtaining hand position, tool position orientation, and workpiece operation point position from the standard operation demonstration video; forming a three-point orientation sequence based on the spatial relationship between the three; and establishing a three-point orientation sequence category sequence from the three-point orientation sequence; associating the three-point orientation sequence category sequence with the course text; receiving a course content generation request; and combining the course content generation request, the three-point orientation sequence category sequence associated with the course text, and the course text together to form a model input; feeding the model input into a generative language model for generation processing; and converting the model output into Chinese vocational course text corresponding to the course content generation request. This invention is used to generate vocational course content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and more specifically, to a generative artificial intelligence content generation method for vocational courses. Background Technology

[0002] In the production of digital content for vocational courses, course developers typically input textbook texts, operating instructions, presentations, classroom recordings, or standard operation demonstration videos into content generation tools. Generative language models then output handouts, step-by-step instructions, or training materials. Existing data pipelines are better suited for handling text, subtitles, and speech-to-text content, but the relative positions of hands, tools, and workpieces in video footage are usually limited to manual observation or video clip references. Operations in vocational courses, such as welding, assembly, repair, and nursing, heavily rely on the relationships between tool orientation, hand position, and workpiece application points. If these relationships cannot be input into the model in a form readable by computing devices, the generated results tend to remain at the level of generalized step descriptions, failing to maintain consistency with the key operational states in the standard demonstration process. Therefore, a content generation method is needed that can transform the positional relationships in standard operation demonstration videos into discrete data and participate in the generative language model processing along with the course text. Summary of the Invention

[0003] This invention provides a generative artificial intelligence content generation method for vocational courses, which solves the technical problems mentioned in the background art.

[0004] To achieve the above-mentioned objectives, the present invention provides the following technical solution.

[0005] A generative AI content generation method for vocational courses includes: Obtain the course texts and standard operating procedure demonstration videos corresponding to the target professional courses; The hand position, tool position orientation, and workpiece operation point position are obtained from the standard operation demonstration video. The tool position orientation is used to indicate the position and orientation of the tool in space. Based on the spatial relationship between the hand position, the tool position orientation, and the workpiece operation point position, a three-point orientation sequence is formed, and the three-point orientation sequence forms a three-point orientation sequence category sequence. The three-point orientation sequence is category data that characterizes the relative orientation relationship between the hand position and the workpiece operation point position, with the tool position orientation as the orientation reference. Establish an association between the three-point orientation sequence and the course text; Receive a course content generation request, and input the course content generation request, the three-point orientation ordinal category sequence associated with the course text, and the course text together to form a model; The model input is fed into a generative language model for generation processing, and the model output is converted into Chinese vocational course text corresponding to the course content generation request.

[0006] Compared with the prior art, the present invention has the following substantial features and significant progress: This invention extracts the hand position, tool orientation, and workpiece operation point position from a standard operation demonstration video, transforms the spatial relationship between these three elements into a three-point orientation sequence, and then associates it with the course text before inputting it into the model. This allows the generative language model to simultaneously utilize course semantics and on-site operational orientation relationships when generating Chinese vocational course text. Compared to methods that rely solely on text prompts to generate course content, this invention reduces the disconnect between course text and the demonstration process, making the output content more closely aligned with the operational explanations in vocational courses, and ensuring that the final output is Chinese vocational course text that can be saved, displayed, and directly read on computing devices. Attached Figure Description

[0007] Figure 1 This is an architecture diagram of a generative artificial intelligence content generation method for vocational courses according to the present invention. Detailed Implementation

[0008] The following description is provided in conjunction with the accompanying drawings. It should be understood that the following embodiments are for illustrative purposes only and are not intended to limit the invention; those skilled in the art can make equivalent substitutions or combinations for the specific implementations.

[0009] This embodiment relates to the field of data processing, specifically to a generative artificial intelligence content generation method for vocational courses. Course text in vocational courses typically describes operational steps, tool names, workpiece objects, and instructional language. However, the relative positions of hands, tools, and workpieces in standard operation demonstration videos are often presented visually. If these relative positions cannot be converted into discrete data that a generative language model can process, then when generating Chinese vocational course text, the generative language model can only rely primarily on the semantic content of the course text, making it difficult to stably incorporate the spatial relationships between hand positions, tool orientations, and workpiece operation point positions into the generation process. This embodiment obtains the course text and a standard operation demonstration video, extracts the hand positions, tool orientations, and workpiece operation point positions from the standard operation demonstration video, and forms a three-point orientation ordinal sequence. This allows the course text, the three-point orientation ordinal sequence, and the course content generation request to jointly constitute the model input.

[0010] See Figure 1In this embodiment, the computing device 100 is used to execute the generative artificial intelligence content generation method for vocational courses. The computing device 100 acquires course text 110 and standard operation demonstration video 120; the computing device 100 acquires hand position 130, tool position orientation 140, and workpiece operation point position 150 from the standard operation demonstration video 120; the computing device 100 forms a three-point orientation sequence based on the spatial relationship between the hand position 130, tool position orientation 140, and workpiece operation point position 150, and forms a three-point orientation sequence category sequence 160 from the three-point orientation sequence; the computing device 100 establishes an association between the three-point orientation sequence category sequence 160 and the course text 110; the computing device 100 receives a course content generation request 170, and combines the course content generation request 170, the three-point orientation sequence category sequence 160 associated with the course text 110, and the course text 110 together to form the model input; the generative language model 180 performs generation processing on the model input, and the computing device 100 converts the model output into Chinese vocational course text 190 corresponding to the course content generation request 170.

[0011] In this embodiment, the course text is the textual material corresponding to the target vocational course, and the standard operation demonstration video is the video material recording the operation process corresponding to the target vocational course. Hand position, tool position orientation, and workpiece operation point position are spatial information obtained from the standard operation demonstration video, where tool position orientation represents the tool's position and orientation in space. The three-point orientation sequence is categorical data that characterizes the relative orientation relationship between the hand position and the workpiece operation point position, using the tool position orientation as the orientation reference. The three-point orientation sequence category is composed of the three-point orientation sequence and is associated with the course text before being input into the model. The course content generation request is used to determine the content to be generated, the model input is fed into the generative language model for generation processing, and the model output is converted into Chinese vocational course text.

[0012] Furthermore, obtain the course text and standard operating procedure demonstration videos, as follows: See Figure 1 The computing device 100 acquires the course text 110 and standard operation demonstration video 120 corresponding to the target vocational course. The target vocational course can be welding, assembly, maintenance, nursing, or other vocational courses that require the demonstration of action processes through the standard operation demonstration video. The course text 110 provides the textual semantic basis of the target vocational course, and the standard operation demonstration video 120 provides the spatial operation basis between hands, tools, and workpieces in the target vocational course. The computing device 100 can acquire the course text 110 and standard operation demonstration video 120 through a file interface or local storage path.

[0013] Course text 110 can be obtained by performing character extraction on a text file or a searchable PDF file. For a text file, computing device 100 reads the character content from the text file, preserving the title, paragraphs, and paragraph order; for a searchable PDF file, computing device 100 reads the selectable character content from the PDF file and organizes it into course text 110 according to page order and paragraph order. Course text 110 can also be obtained by performing optical character recognition on a scanned page. In this method, computing device 100 recognizes the text areas in the scanned page and organizes the recognized characters into course text 110 according to the page order and text order of the scanned page. Course text 110 can also be obtained by performing speech-to-text or subtitle reading on a standard operation demonstration video 120. Speech-to-text is used to convert the speech content in the standard operation demonstration video 120 into text, and subtitle reading is used to read the existing subtitle content in the standard operation demonstration video 120 into text.

[0014] In one embodiment, the course text 110 includes one or more of the following: textbook text, operating instructions, presentation text, speech-to-text transcription of the standard operating demonstration video 120, and subtitle text of the standard operating demonstration video 120. The computing device 100 performs character encoding standardization, paragraph mark standardization, and whitespace character correction on the acquired text to obtain the course text 110 available for subsequent processing.

[0015] Furthermore, the hand position, tool orientation, and workpiece operation point position are obtained from the standard operation demonstration video, as follows: See Figure 1 The computing device 100 obtains the hand position 130, tool position orientation 140, and workpiece operation point position 150 from the standard operation demonstration video 120. The hand position 130 represents the position of the operator's hand in space in the standard operation demonstration video 120, the workpiece operation point position 150 represents the position of the point on the workpiece that is acted upon by the tool in space, and the tool position orientation 140 represents the position and orientation of the tool in space. The hand position 130, tool position orientation 140, and workpiece operation point position 150 together constitute the spatial data basis for forming the three-point orientation sequence.

[0016] In one embodiment, the standard operation demonstration video 120 is recorded by an RGB-D camera device, and the computing device 100 reads color images, depth images, and pixel-by-pixel 3D points from the valid frames of the standard operation demonstration video 120. The color images are used to identify image regions of the hand, tool, and workpiece; the depth images are used to provide distance information corresponding to the image regions; and the pixel-by-pixel 3D points are used to convert pixel positions in the color images into spatial positions. The hand position 130 and the workpiece operation point position 150 can be represented in the same camera coordinate system so that the spatial relationship between the hand position 130, the tool position orientation 140, and the workpiece operation point position 150 can be consistently processed by the computing device 100.

[0017] When the hand position 130 is obtained, the computing device 100 detects key points on the palm in the standard operation demonstration video 120 to obtain the hand position 130. The computing device 100 at the sampling time... The computing device 100 reads the color image, depth image, and pixel-by-pixel 3D points from the same valid frame. It identifies the hand region in the color image and locates the palm keypoint within the hand region; the palm keypoint is an image point representing the hand position 130. Using the pixel position of the palm keypoint in the color image as an index, the computing device 100 reads the corresponding 3D point from the pixel-by-pixel 3D points and uses this 3D point as the sampling time. Hand position 130. The input for the above processing is the standard operation demonstration video 120 at the sampling time. The effective frame outputs a hand position 130. The hand position 130 can be represented as a three-dimensional vector, denoted as... subscript This indicates a video frame in the standard operation demonstration video 120 or a sampling moment corresponding to a video time segment.

[0018] In the above formula, Indicates the sampling time Hand position 130, Indicates the sampling time The workpiece operation point position is 150. The coordinate system represents a three-dimensional real space. The hand position 130 and the workpiece operation point position 150 are represented by a three-dimensional vector in the same coordinate system so that the computing device 100 can determine their orientation relative to the tool position orientation 140.

[0019] When the tool orientation is 140, the computing device 100 performs pose estimation on the tool in the standard operation demonstration video 120 to obtain the tool head position and tool pointing, and uses the tool head position and tool pointing to form the tool orientation 140. The computing device 100 at the sampling time... The tool region is identified in the color image, and the corresponding spatial points of the tool region are read in the depth image and pixel-by-pixel 3D points. The tool's active end and gripping end are determined based on the position and orientation of the tool region in the color and depth images. The tool head position is the 3D position of the tool's active end in the same coordinate system, and the tool pointing direction is a normalized unit vector pointing from the gripping end to the active end. The tool head position and tool pointing direction together describe the tool's position and orientation in space, thus serving as an azimuth reference for determining the three-point orientation sequence.

[0020] In the above formula, Indicates the sampling time The tool is positioned facing 140. Indicates the sampling time The tool head position, Indicates the sampling time The tool pointing to, This indicates that the tool pointing is a unit vector. The tool head position can be determined by the three-dimensional position of the tool's working end in the camera coordinate system, and the tool pointing can be determined by the pose estimation result after transforming the fixed axis in the tool coordinate system from the grip end to the working end.

[0021] When the workpiece operation point position 150 is obtained, the computing device 100 detects the point on the workpiece that is being acted upon by the tool in the standard operation demonstration video 120 to obtain the workpiece operation point position 150. The computing device 100 at the sampling time... The computer identifies the workpiece area and the tool's working end area in the color image, and determines the contact position of the tool's working end area on the workpiece area as the point on the workpiece where the tool is acting; this contact position corresponds to a pixel position in the color image. The computing device 100 uses this pixel position as an index to read the corresponding three-dimensional point from the pixel-by-pixel three-dimensional points, and uses this three-dimensional point as the sampling time. The workpiece operation point position 150 is the position of the point where the tool actually acts on the workpiece. The workpiece operation point position 150, the hand position 130, and the tool position orientation 140 are in the same spatial data processing, so that the subsequent three-point orientation sequence can reflect the spatial relationship between the hand position 130, the tool position orientation 140, and the workpiece operation point position 150.

[0022] In this embodiment, the hand position 130, tool position orientation 140, and workpiece operation point position 150 are all obtained from the standard operation demonstration video 120.

[0023] Furthermore, a three-point orientation sequence and a three-point orientation sequence category sequence are formed, as follows: See Figure 1The computing device 100 forms a three-point orientation sequence based on the spatial relationship between the hand position 130, the tool position orientation 140, and the workpiece operation point position 150, and then forms a three-point orientation sequence category sequence 160 from these three-point orientation sequences. The three-point orientation sequences are categorical data, and the three-point orientation sequence category sequence 160 is a data sequence composed of multiple three-point orientation sequences arranged in the temporal order of the standard operation demonstration video 120. The purpose of the three-point orientation sequences is to transform continuous spatial relationships into data that the generative language model 180 can process as discrete conditions.

[0024] In one embodiment, the computing device 100 establishes a partition surface based on the tool head position and tool pointing, and determines the front and rear sides of the partition surface using the tool pointing. The partition surface is used to distinguish the position categories of the hand position 130 and the workpiece operating point position 150 relative to the tool, and forms a three-point orientation sequence based on the position category. The partition surface is established with the tool head position as the passing point and the tool pointing as the normal vector; therefore, the orientation reference of the partition surface comes from the tool position orientation 140.

[0025] In the above formula, Indicates the sampling time The dividing surface, Represents any three-dimensional point in the same coordinate system. Indicates the sampling time The tool head position, Indicates the sampling time The tool pointing to, This represents the vector dot product. The positions of the handle 130 and the workpiece operating point 150 of the calculation device 100 are substituted into the separation plane relationship determined by the tool head position and the tool direction. The position category is determined based on the directed projection of the point relative to the tool head position along the tool direction; when the directed projection is positive, the position category is front; when the directed projection is zero, the position category is on the surface; when the directed projection is negative, the position category is rear.

[0026] The position category is either rear, on the surface, or front. The three-point orientation sequence is recorded in the order of the position category of hand position 130, the position category of tool head position, and the position category of workpiece operating point position 150, where the position category of tool head position is on the surface. Since the tool head position is the point through which the separating surface is established, the position category of tool head position in the three-point orientation sequence is fixed as on the surface. At each sampling time, the computing device 100 sequentially determines the position category of hand position 130, the position category of tool head position, and the position category of workpiece operating point position 150, and generates a three-point orientation sequence in this order. If hand position 130 is on the rear, tool head position is on the surface, and workpiece operating point position 150 is on the front, then the corresponding three-point orientation sequence is recorded as rear, on the surface, or front.

[0027] The three-point orientation sequence 160 is composed according to the chronological order of the standard operation demonstration video 120. The computing device 100 can generate a three-point orientation sequence for each valid frame or each sampling moment in the standard operation demonstration video 120, and then arrange them according to the video's chronological order. To make the three-point orientation sequence 160 more suitable for inputting into the model along with the course text 110, the computing device 100 merges consecutive identical three-point orientation sequences according to the chronological order of the standard operation demonstration video 120 into a single three-point orientation sequence, and then forms the three-point orientation sequence 160 with the merged sequence. "Consecutive identical" means that adjacent three-point orientation sequences in the chronological order of the standard operation demonstration video 120 have the same hand position 130 position category, the same tool head position category, and the same workpiece operation point position 150 position category.

[0028] Furthermore, the three-point orientation sequence of categories is associated with the course text, as follows: See Figure 1 The computing device 100 establishes an association between the three-point orientation ordinal category sequence 160 and the course text 110. This association allows the spatial relationships in the standard operation demonstration video 120 to be processed together with the corresponding course text 110. The course text 110 provides the semantic content of the vocational course, and the three-point orientation ordinal category sequence 160 provides the relative orientation relationships under the same target vocational course. After the association is established, they form a data foundation that can be processed by the generative language model 180.

[0029] In one embodiment, course text 110 includes course segment text divided according to the video time period of standard operation demonstration video 120. Course segment text is the paragraph text in course text 110 corresponding to the video time period, where the video time period is the start and end time of the corresponding course segment text in standard operation demonstration video 120. Computing device 100 appends the tri-orientation ordinal category sequence 160 to the corresponding course segment text according to the video time period, thereby completing the association between the tri-orientation ordinal category sequence 160 and course text 110.

[0030] Course segment text and video time periods are written into a course segment record. The course segment record is used to obtain the course segment text corresponding to the three-point orientation ordinal category sequence 160, and this course segment text is used as course text 110 in the model input. The course segment record may include course segment text, video time periods, and the three-point orientation ordinal category sequence 160 corresponding to those video time periods. When the computing device 100 needs to compose the model input during the generation phase, it obtains the course segment text corresponding to the three-point orientation ordinal category sequence 160 through the course segment record, ensuring that the course text 110 in the model input maintains a correspondence with the three-point orientation ordinal category sequence 160 under the same target vocational course and the same video time period.

[0031] When establishing the association, the computing device 100 first forms course segment text according to the titles and paragraphs of the course text 110, and forms segments with video time periods according to the speech-to-text or subtitle text of the standard operation demonstration video 120. For course text 110 obtained through speech-to-text or subtitle reading, the course segment text directly inherits the corresponding video time period; for course text 110 from text files or searchable PDF files, the computing device 100 matches the title order and paragraph order in the course text 110 with the title order and paragraph order of the segments with video time periods in the speech-to-text or subtitle text, and writes the video time period of the corresponding segment into the course segment text. The computing device 100 then aligns the video time period of each course segment text with the video time period of the three-point orientation ordinal category sequence 160, so that the course text 110 and the three-point orientation ordinal category sequence 160 are organized into data units that can be jointly input into the model.

[0032] By recording course segments, computing device 100 can obtain the course segment text related to course content generation request 170 after receiving course content generation request 170, and at the same time obtain the three-point orientation ordinal category sequence 160 associated with the course segment text.

[0033] Furthermore, the training and input data for the generative language model are generated as follows: In one embodiment, the generative language model 180 is trained via supervised training samples. The computing device 100 uses course paragraph records as a source to form the supervised training samples, and each supervised training sample includes a sample input and a sample output that correspond to each other. The sample input includes a sample generation request text, a three-point orientation sequence category sequence 160 associated with the course paragraph text, and the course paragraph text; the sample output includes a training target paragraph text. The training target paragraph text corresponds to the course paragraph text and the three-point orientation sequence category sequence 160 in the same course paragraph record, and is used to train the generative language model 180 to output Chinese vocational course texts 190. Through the supervised training samples, the generative language model 180 learns to output the training target paragraph text during training when the sample generation request text, the course paragraph text, and the three-point orientation sequence category sequence 160 coexist.

[0034] The sample generation request text is used to simulate the role of the course content generation request 170 in the training phase, the course paragraph text is used to provide text content in the target vocational course, the three-point orientation sequence category sequence 160 is used to provide a relative orientation relationship associated with the course paragraph text, and the training target paragraph text is used as output-side text of the supervised training sample. The sample generation request text is different from the course content generation request 170 actually received in the generation phase, and the two belong to data objects of the training phase and the generation phase respectively. This can avoid confusing the sample input in the supervised training samples with the course content generation request 170 in the actual generation phase, while maintaining that the generative language model 180 can process the sample generation request text or the course content generation request 170, the course text 110, and the three-point orientation sequence category sequence 160 in both the training phase and the generation phase.

[0035] During the training process, the computing device 100 reads a publicly available pre-trained generative language model as well as a vocabulary and a tokenizer matching the generative language model 180. The computing device 100 sequentially reads multiple supervised training samples, merges the sample generation request text, the three-point orientation sequence category sequence 160, and the course paragraph text in each supervised training sample into a sample input, takes the training target paragraph text in the same supervised training sample as a sample output, and maintains a one-to-one correspondence between the sample input and the sample output. The computing device 100 converts the sample input into input tokens and the sample output into target tokens through the tokenizer and the vocabulary, and updates model weights of the generative language model 180 using the target tokens as supervised values. The three-point orientation sequence category sequence 160 enters the sample input together with the course paragraph text as ordinary discrete tokens, enabling the generative language model 180 to treat the three-point orientation sequence category sequence 160 as part of the generation conditions. After training is completed, the generative language model 180 can receive, in the generation phase, a model input jointly composed of the course content generation request 170, the course text 110, and the three-point orientation sequence category sequence 160.

[0036] See Figure 1 During the generation phase, computing device 100 receives a course content generation request 170. The course content generation request 170 may include a vocational course topic, a proposed content category, and a target operation name. The vocational course topic is used to determine the target vocational course involved; the proposed content category is used to determine the lecture notes, step-by-step instructions, training materials, or other Chinese vocational course text 190 that needs to be generated; and the target operation name is used to determine the specific operation to focus on in the course text 110 and the standard operation demonstration video 120. Computing device 100 performs character encoding and whitespace correction on the course content generation request 170, enabling it to form a model input together with the course text 110 and the three-point orientation ordinal category sequence 160.

[0037] Furthermore, the Chinese vocational course text is generated, as follows: See Figure 1 The computing device 100 sends the model input to the generative language model 180 for generation processing. The generative language model 180 determines the content direction of the Chinese vocational course text 190 to be generated based on the course content generation request 170 in the model input, determines the semantic meaning of the vocational course text 110 based on the course text 110 in the model input, and obtains the relative positional relationship associated with the course text 110 based on the three-point orientation ordinal category sequence 160 in the model input. Since the three-point orientation ordinal category sequence 160 has already converted the spatial relationships between the hand position 130, tool position orientation 140, and workpiece operation point position 150 in the standard operation demonstration video 120 into category data, the generative language model 180 can simultaneously utilize the course semantics and the three-point orientation ordinal category sequence 160 in the generation process.

[0038] Generative language model 180 can use an autoregressive text generation method for processing. At each output position, generative language model 180 determines the next output content based on the model input and the already generated text, until a model output corresponding to the course content generation request 170 is formed. The model output can be a token sequence or a text sequence generated by generative language model 180. Computing device 100 converts the model output into Chinese vocational course text 190. Chinese vocational course text 190 is Chinese text content that can be saved, displayed, and directly read by computing device 100, and can be used as lecture notes, step instructions, training materials, or other vocational course content corresponding to the course content generation request 170.

[0039] When converting the model output, the computing device 100 converts the model output into Chinese characters according to the vocabulary and tokenizer accompanying the generative language model 180, and forms paragraphs in accordance with the reading order of the Chinese vocational course text 190. The Chinese vocational course text 190 corresponds to the course content generation request 170, and is jointly constrained by the course text 110 and the three-point orientation ordinal category sequence 160. Thus, the Chinese vocational course text 190 not only contains the course semantics in the course text 110, but also reflects the spatial relationships among the hand position 130, the tool position and orientation 140, and the workpiece operation point position 150 in the standard operation demonstration video 120.

[0040] The following takes a welding vocational course segment as an example to illustrate the complete data flow process of this embodiment.

[0041] The computing device 100 obtains the course text 110 and the standard operation demonstration video 120 corresponding to the target vocational course. The course text 110 includes course paragraph text about the welding gun approaching the weld start point of the workpiece, and the operator keeping the hand stable and moving along the weld direction. The standard operation demonstration video 120 records the welding operation process and has a video time period corresponding to the course paragraph text. The computing device 100 reads the color frames, depth frames, and per-pixel 3D points within this video time period from the standard operation demonstration video 120.

[0042] At the sampling time , the computing device 100 reads the color frame, depth frame, and per-pixel 3D points at this sampling time from the standard operation demonstration video 120. The computing device 100 identifies the hand region in the color frame and locates the palm center key point, reads the 3D point at the same pixel as the palm center key point's pixel position, and obtains the hand position 130 as ; the computing device 100 identifies the tool region in the color frame, and performs pose estimation on the tool in the standard operation demonstration video 120 by combining the depth frame and per-pixel 3D points, obtains the tool head position corresponding to the tool action end as , obtains the tool pointing direction from the tool holding end to the tool action end as , and forms the tool position and orientation 140 with the tool head position and the tool pointing direction; the computing device 100 identifies the workpiece region and the tool action end region in the color frame, determines the contact position of the tool action end region on the workpiece region as the point on the workpiece acted upon by the tool, reads the 3D point at the same pixel as this point, and obtains the workpiece operation point position 150 as . The above values are all in the same camera coordinate system, the hand position 130 and the workpiece operation point position 150 are both 3D positions, and the tool position and orientation 140 is composed of the tool head position and the tool pointing direction.

[0043] The computing device 100 establishes a partition surface based on the tool head position and tool direction, and determines the front and rear sides of the partition surface based on the tool direction. After calculating the directed projection of the hand position 130 along the tool direction with the tool head position as a reference, this directed projection is negative, and the position category of the hand position 130 is rear. After calculating the directed projection of the workpiece operating point position 150 along the tool direction with the tool head position as a reference, this directed projection is positive, and the position category of the workpiece operating point position 150 is front. The position category of the tool head position is on the surface. Therefore, at the sampling time... The three-point orientation sequence is recorded according to the position category of hand position 130, tool head position, and workpiece operating point position 150, as rear, face, and front. This three-point orientation sequence indicates the position at the sampling time. With the tool position facing 140 as the orientation reference, the hand position 130 is located behind the tool head position, and the workpiece operation point position 150 is located in front of the tool head position.

[0044] At sampling time and sampling time The computing device 100 continues to obtain the hand position 130, tool position orientation 140, and workpiece operation point position 150 from the standard operation demonstration video 120, and forms a three-point orientation sequence in the same manner. If the sampling time... Sampling time and sampling time If the three-point orientation sequences in the standard operation demonstration video 120 are consecutive in time and are all rear, front, and back, then the computing device 100 will merge the consecutive identical three-point orientation sequences into a single three-point orientation sequence. The merged three-point orientation sequence corresponds to the consecutive video time period and is recorded as a category in the three-point orientation sequence 160.

[0045] At subsequent sampling times As the operator's hand moves with the tool, the computing device 100 obtains the new hand position 130, tool orientation 140, and workpiece operation point position 150. If the hand position 130 is determined to be on the surface, the tool head position to be on the surface, and the workpiece operation point position 150 to be on the front side, based on the dividing surface established by the tool head position and tool orientation, then the sampling time... The three-point orientation sequence is recorded as face, face, front. The computing device 100, following the time sequence of the standard operation demonstration video 120, merges the three-point orientation sequence and sampling time. The three-point orientation sequence constitutes a three-point orientation sequence category 160. This three-point orientation sequence category 160 reflects the orientational change of the hand position 130 and the workpiece operation point position 150 relative to the tool position orientation 140 in this welding vocational course segment.

[0046] The computing device 100 writes the course segment text and video time period corresponding to the welding professional course segment into a course segment record, and appends the three-point orientation sequence 160 to the corresponding course segment text. In this welding professional course segment, the course segment text is formed according to the natural paragraphs in the course text 110. The speech-to-text or subtitle text of the standard operation demonstration video 120 provides a video time period corresponding to the natural paragraph order. The computing device 100 writes this video time period into the course segment record, and also writes the three-point orientation sequence 160 formed within the same video time period into the course segment record. The course segment record is used to obtain the course segment text corresponding to the three-point orientation sequence 160, and uses the course segment text as the course text 110 in the model input. Through this course segment record, the computing device 100 can confirm that the course text 110 in the welding professional course segment corresponds to the three-point orientation sequence 160 in the standard operation demonstration video 120.

[0047] During the training phase, the computing device 100 generates supervised training samples. The computing device 100 reads the course segment text, the three-point orientation ordinal category sequence 160 associated with the course segment text, and the training target segment text as the generation target from the course segment record, and sets a sample generation request text for the course segment text. The sample input includes the sample generation request text, the three-point orientation ordinal category sequence 160 associated with the course segment text, and the course segment text; the sample output includes the training target segment text. The computing device 100 maintains a one-to-one correspondence between the sample input and sample output in each supervised training sample, ensuring that the training target segment text corresponds to the same course segment text and the same three-point orientation ordinal category sequence 160. The sample generation request text may indicate a request to generate welding operation procedure instructions; the course segment text provides course content on the welding torch approaching the workpiece weld start point and maintaining hand stability; the three-point orientation ordinal category sequence 160 provides category data such as back side, face side, front side, and face side, face side, front side, etc., corresponding to the course segment text; and the training target segment text provides the Chinese vocational course text 190 that the generative language model 180 is expected to output during training. After being trained with supervised training samples, the generative language model 180 is able to generate requests 170, course text 110 and three-point orientation ordinal category sequence 160 together in the generation stage.

[0048] During the generation phase, the computing device 100 receives a course content generation request 170. This request can be a step description for generating a welding course course on the process of the welding torch approaching the weld seam initiation point of the workpiece. The computing device 100 obtains course paragraph text related to the welding torch approaching the weld seam initiation point of the workpiece based on the course content generation request 170, and also obtains a three-point orientation ordinal sequence 160 associated with the course paragraph text. Subsequently, the computing device 100 combines the course content generation request 170, the three-point orientation ordinal sequence 160, and the course text 110 into a model input, and sends the model input to the generative language model 180 for generation processing.

[0049] Generative language model 180 generates model output after processing the model input. Computing device 100 converts the model output into Chinese vocational course text 190. This Chinese vocational course text 190 describes that when the operator's welding torch is close to the start of the weld seam on the workpiece, the hand position 130 is behind the tool position 140, and the workpiece operation point position 150 is in front of the tool position 140. Combined with the course text 110, it explains that the operator should keep their hand stable and the working end of the tool facing the workpiece operation point position 150. Thus, the Chinese vocational course text 190 corresponds to the course content generation request 170, and simultaneously reflects the generation result after the course text 110 and the three-point orientation order category sequence 160 are jointly entered into the generative language model 180.

[0050] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A generative artificial intelligence content generation method for vocational courses, characterized in that, include: Obtain the course texts and standard operating procedure demonstration videos corresponding to the target professional courses; The hand position, tool position orientation, and workpiece operation point position are obtained from the standard operation demonstration video. The tool position orientation is used to indicate the position and orientation of the tool in space. Based on the spatial relationship between the hand position, the tool position orientation, and the workpiece operation point position, a three-point orientation sequence is formed, and the three-point orientation sequence forms a three-point orientation sequence category sequence. The three-point orientation sequence is category data that characterizes the relative orientation relationship between the hand position and the workpiece operation point position, with the tool position orientation as the orientation reference. Establish an association between the three-point orientation sequence and the course text; Receive a course content generation request, and input the course content generation request, the three-point orientation ordinal category sequence associated with the course text, and the course text together to form a model; The model input is fed into a generative language model for generation processing, and the model output is converted into Chinese vocational course text corresponding to the course content generation request.

2. The generative artificial intelligence content generation method for vocational courses according to claim 1, characterized in that, The course text is obtained by performing character extraction on text files or searchable PDF files, by performing optical character recognition on scanned pages, or by performing speech transcription or subtitle reading on the standard operation demonstration video.

3. The generative artificial intelligence content generation method for vocational courses according to claim 1, characterized in that, Obtaining the hand position, the tool orientation, and the workpiece operation point position includes: The palm key points in the standard operation demonstration video are detected to obtain the hand position. The tool in the standard operation demonstration video is pose estimated to obtain the tool head position and tool pointing. The tool position orientation is formed by the tool head position and the tool pointing. The points on the workpiece in the standard operation demonstration video that are acted upon by the tool are detected to obtain the workpiece operation point position.

4. The generative artificial intelligence content generation method for vocational courses according to claim 3, characterized in that, The formation of the orientation sequence of the three points includes: A dividing surface is established based on the tool head position and the tool pointing direction, and the front and rear sides of the dividing surface are determined by the tool pointing direction. The dividing surface is used to distinguish the position categories of the hand position and the workpiece operation point position relative to the tool, and the three-point orientation sequence is formed according to the position category.

5. The generative artificial intelligence content generation method for vocational courses according to claim 4, characterized in that, The position category is rear, face, or front. The three-point orientation sequence is recorded in the order of the position category of the hand position, the position category of the tool head position, and the position category of the workpiece operation point position, wherein the position category of the tool head position is face.

6. The generative artificial intelligence content generation method for vocational courses according to claim 1, characterized in that, The three points of orientation sequence that are consecutively identical according to the time sequence of the standard operation demonstration video are merged into one three-point orientation sequence, and the merged three-point orientation sequence is used to form the three-point orientation sequence category sequence.

7. The generative artificial intelligence content generation method for vocational courses according to claim 1, characterized in that, The course text includes course segment texts divided according to the video time periods of the standard operation demonstration video. Associating the three-point orientation ordinal category sequence with the course text includes: appending the three-point orientation ordinal category sequence to the corresponding course segment text according to the video time periods.

8. The generative artificial intelligence content generation method for vocational courses according to claim 7, characterized in that, The course segment text and the video time period are written into the course segment record. The course segment record is used to obtain the course segment text corresponding to the three-point orientation ordinal category sequence, and the course segment text is used as the course text in the model input.

9. A generative artificial intelligence content generation method for vocational courses according to claim 8, characterized in that, The generative language model is trained using supervised training samples, which include corresponding sample inputs and sample outputs. The sample inputs include a sample generation request text, the three-point orientation ordinal category sequence associated with the course paragraph text, and the course paragraph text. The sample outputs include a training target paragraph text, which is used to train the generative language model to output the Chinese vocational course text.