A PPT layout optimization and multimedia fusion system and method based on artificial intelligence

By using an AI-based PPT layout optimization and multimedia integration system, the problems of inaccurate content generation and insufficient multimedia integration in existing technologies have been solved, achieving efficient and accurate PPT generation and multimedia integration, thereby improving teaching quality.

CN123139986APending Publication Date: 2026-11-20GUANGZHOU VOCATIONAL SCHOOL OF FINANCE & ECONOMICS +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611377522.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-07
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing AI-generated PPT technology suffers from problems such as inaccurate content, low logical depth, lack of flexibility in layout design, insufficient multimedia integration capabilities, and the tendency for generated content to deviate from the topic and have chaotic layout, making it difficult to form a complete teaching loop.

Method used

The system employs an AI-based PPT layout optimization and multimedia integration system, which includes a teaching arrangement module, a PPT intelligent generation module, and a multimedia integration module. It analyzes teaching materials through a large language model to generate teaching outlines and explanation scripts, optimizes PPT layout using a layout engine, and generates micro-lesson videos by combining digital virtual human images and teaching voiceovers, achieving audio-visual synchronization.

Benefits of technology

It improves the matching accuracy and consistency of PPT content, enhances the efficiency and quality of PPT layout, integrates multimedia elements, improves the richness and efficiency of teaching, ensures audio-visual synchronization in videos, and enhances the quality of multimedia courseware generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123139986A_ABST
    Figure CN123139986A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of artificial intelligence multimedia content generation, in particular to a PPT format optimization and multimedia fusion system and method based on artificial intelligence. The system comprises a teaching arrangement module which is used for obtaining teaching arrangement content through large language model analysis according to user-input teaching materials, and is used for statistically obtaining semantic similarity of the teaching materials and the teaching arrangement content, so as to generate directional decoding based on semantic vector constraint according to the semantic similarity; a PPT intelligent generation module which is used for generating a PPT courseware through a layout engine, and is used for performing incremental progressive layout solving based on text prior constraint according to a constraint solving time length of the layout engine; and a multimedia fusion module which is used for generating a micro-class video, and is used for performing audio-visual synchronous registration based on time axis mapping and frame number deletion and supplement according to an audio-visual synchronous state of the micro-class video. The application improves the generation quality of the multimedia courseware.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of artificial intelligence multimedia content generation technology, and in particular to an AI-based PPT layout optimization and multimedia fusion system and method. Background Technology

[0002] With the continuous advancement of digital transformation in education, smart classrooms, online micro-lessons, and blended learning models have become widely popular. Teachers currently face a cumbersome process, requiring them to complete a series of tasks such as writing teaching outlines and creating PowerPoint presentations, which consumes a significant amount of time and energy. The rapid development of artificial intelligence technologies such as large language models, multimodal generation, and speech synthesis provides a technological foundation for the automated generation of teaching resources.

[0003] While existing AI-generated PPT technologies are highly efficient, they also suffer from inaccurate content, low logical depth, limited flexibility in layout and editing, and the need for human collaboration and oversight. Furthermore, current PPT creation methods lack the support of multimedia elements such as animations and videos, making it difficult to form a complete teaching loop.

[0004] Chinese Patent Publication No. CN120012940A discloses an AI-driven PPT content generation and interaction optimization system. The system includes: an A / B segmentation module, which divides the PPT page into areas A and B, and determines the content categories corresponding to areas A and B. The proportion of each area on the page can be customized by the user according to their needs; a content generation module, which, based on the user-input PPT theme and text, uses natural language processing technology to fill in the content of areas A and B on each PPT page; an interaction optimization module, where the PPT presenter selects any person in the audience as the target user, collects and analyzes the target user's gaze information to determine the area corresponding to their gaze on the PPT, collects and analyzes the target user's hand movements to identify gestures, and matches the identified gestures with the gestures corresponding to preset operation commands; and a storage module, which stores data using a combination of relational and non-relational databases.

[0005] It is evident that the AI-driven PPT content generation and interaction optimization system suffers from several issues, including a lack of flexibility in layout design, inability to guarantee the accuracy of eye-tracking gesture algorithms, excessive reliance on insufficient artificial intelligence, a lack of multimedia integration resulting in low content richness, and the absence of self-checking and optimization during the PPT generation process, which may lead to content deviating from the theme or exhibiting chaotic layout, resulting in low-quality generated content. Summary of the Invention

[0006] To address this issue, the present invention provides an AI-based PPT layout optimization and multimedia integration system and method to overcome the problems in existing technologies where generated content easily deviates from the theme, resources are not sufficiently integrated for multimedia production, and the resulting PPT quality is low.

[0007] To achieve the above objectives, this invention provides an AI-based PPT layout optimization and multimedia integration system, comprising: The instruction arrangement module is used to analyze the teaching materials input by the user to obtain the instruction arrangement content through a large language model, and to count the semantic similarity between the teaching materials and the instruction arrangement content, so as to perform targeted decoding and generation based on semantic vector constraints according to the semantic similarity. The instruction arrangement content includes the teaching outline and the explanation script. The PPT intelligent generation module is used to generate PPT courseware according to the teaching syllabus through the layout engine, and to perform incremental progressive layout solving based on text prior constraints according to the constraint solving time of the layout engine. The voice-over image generation module is used to generate teaching voice-overs and digital virtual human images based on the images uploaded by users and the narration scripts. The multimedia fusion module is used to generate micro-lesson videos based on the PPT courseware, the teaching voice-over, and the digital virtual human image, and to perform audio-visual synchronization registration based on timeline mapping and frame deletion and supplementation according to the audio-visual synchronization status of the micro-lesson videos.

[0008] Furthermore, the instruction arrangement module is used to map the instruction materials into a first semantic vector through a semantic encoding model; The instruction arrangement module is used to map the instruction arrangement content into a second semantic vector through the semantic encoding model; The instruction arrangement module is used to determine the semantic similarity based on the cosine similarity between the first semantic vector and the second semantic vector.

[0009] Furthermore, the instruction arrangement module is used to determine whether the semantic consistency between the generated instruction arrangement content and the input instruction materials meets the requirements based on the semantic similarity being greater than or equal to a preset similarity. The instruction arrangement module is used to determine that the semantic similarity of the generated instruction arrangement content does not meet the requirements of semantic consistency with the input instruction materials if the semantic similarity is less than the preset similarity, and to perform targeted decoding generation based on semantic vector constraints.

[0010] Furthermore, the instruction arrangement module is used to map the instruction materials into semantic vectors through a semantic encoding model, and to use the semantic vectors as constraint vectors; The instruction arrangement module is used to continuously use the distance between the constraint vector and the candidate output unit as the filtering criterion in the large language model decoding step, so as to narrow down the candidate range and decode the output.

[0011] Furthermore, the PPT intelligent generation module is used to perform semantic analysis of the teaching syllabus based on the multimodal large language model, generate text elements and formula elements of the PPT page, and generate image elements of the PPT page through the text-to-image model. The PPT intelligent generation module is used to automatically arrange PPT page elements according to the layout engine and layout optimization algorithm; The PPT intelligent generation module is used to generate PPT courseware based on the PPT rendering engine; The PPT intelligent generation module is also used to interactively adjust the page order, modify content details, and replace the PPT style of the PPT courseware through an intelligent agent framework.

[0012] Furthermore, the PPT intelligent generation module is used to determine that the timeliness of PPT generation meets the requirements if the constraint solution time of the layout engine is less than or equal to a preset time. The PPT intelligent generation module is used to determine that the timeliness of PPT generation does not meet the requirements when the constraint solution time of the layout engine is greater than the preset time, and to perform incremental progressive layout solution based on text prior constraints.

[0013] Furthermore, the PPT intelligent generation module is used to select the text elements of the current page, submit them to the layout engine for solving, and fix them; The PPT intelligent generation module is used to randomly select an element of a certain type from other page elements, solve for constraints according to the layout engine, and fix it. The PPT intelligent generation module is used to add one type of unprocessed element to solve and fix each element, and then merge the results to output a complete PPT layout.

[0014] Furthermore, the multimedia fusion module is used to determine whether the generated quality of the current micro-lesson video meets the output standard based on whether the micro-lesson video is synchronized with the audio. The multimedia fusion module is used to determine that the current micro-lesson video fails to meet the output standard due to audio-visual asynchrony, and to perform audio-visual synchronization registration based on timeline mapping and frame deletion / supplementation.

[0015] Furthermore, the multimedia fusion module is used to acquire the time axis of several video and audio frame sequences and align them as a whole, and when counting the total number of video frames and the total number of audio frames, it outputs a micro-lesson video when the total number of video frames equals the total number of audio frames. The multimedia fusion module is used to locate the time period with the largest pixel difference value based on the pixel difference value between adjacent frames in each time period within the duration of the segment dubbing when the total number of screen frames is less than the total number of audio frames, and to generate intermediate frames to insert into the screen frame sequence according to the motion vector distribution in the time period. The multimedia fusion module is used to delete several frames with the lowest pixel difference value between each frame and its predecessor when the total number of video frames is greater than the total number of audio frames, based on the pixel difference value between each adjacent video frame in the segment, so that the total number of video frames is equal to the total number of audio frames.

[0016] This invention also provides an AI-based method for PPT layout optimization and multimedia integration, comprising: Based on user-input teaching materials, the teaching arrangement content is obtained through large language model analysis, and the semantic similarity between the teaching materials and the teaching arrangement content is statistically analyzed, so as to perform targeted decoding and generation based on semantic vector constraints according to semantic similarity. Based on the teaching syllabus, PPT courseware is generated through the layout engine, and incremental progressive layout solving based on text prior constraints is performed according to the constraint solving time of the layout engine. Based on the user-uploaded image and the aforementioned explanation script, a teaching voice-over and a digital virtual human image are generated. Micro-lesson videos are generated based on the PPT courseware, the teaching voice-over, and the digital virtual human image. Audio-visual synchronization registration is performed based on timeline mapping and frame deletion / supplementation according to the audio-visual synchronization status of the micro-lesson videos.

[0017] Compared with existing technologies, the beneficial effects of this invention are as follows: The system of this invention, by setting up a teaching arrangement module, analyzes the teaching materials input by the user through a large language model, deeply understands the semantics, and obtains a teaching syllabus and explanation script based on natural language processing technology. This reduces the workload of teachers in organizing text for lesson preparation, prevents the large language model from over-relying on its own parameterized knowledge and introducing content that deviates from the topic, and improves the matching degree and accuracy of content generation. By setting up a PPT intelligent generation module, PPT courseware is generated according to the teaching syllabus, and the PPT layout is optimized and adjusted. Based on the intelligent agent framework, interactive optimization is performed, taking into account both automation efficiency and teachers' personalized needs, realizing the intelligent and collaborative generation of various elements on the PPT page, improving the efficiency and quality of PPT layout. By setting up a multimedia integration module, multimedia elements such as AI teaching voice-over and digital virtual human images are integrated with PPT courseware to generate micro-lesson videos. The integration of multimedia elements increases the richness and vividness of teaching, improves teaching efficiency and acceptance, and ensures audio-visual synchronization in the video, improving the quality of video generation and the overall quality of multimedia courseware generation.

[0018] Furthermore, the system described in this invention performs directional decoding generation based on semantic vector constraints by setting a preset similarity. When generating a teaching syllabus, if the input material is brief or vague, the large language model may overly rely on its own parametric knowledge to supplement the content, introducing knowledge points not covered in the input material or deviating from the theme of the input material. This results in insufficient semantic consistency between the generated syllabus and the teacher's input material, making it difficult for the teacher to directly use the generated syllabus for subsequent teaching preparation. By mapping the input material text into semantic vectors through a semantic encoding model, and using these semantic vectors as constraints in the generation process, along with the initial input of the large language model, the final output text naturally converges towards the constrained semantic vectors in the semantic space without deviating from its theme. This ensures that the generated teaching syllabus is confined to the semantic neighborhood of the input material during the generation stage, preventing the large language model from overly relying on its own knowledge to introduce content deviating from the input material. This improves the matching degree between the generated syllabus and the teacher's expectations, further enhancing the quality of multimedia courseware generation.

[0019] Furthermore, the system described in this invention performs incremental, progressive layout solving based on text prior constraints by setting a preset time period. Since teaching PPT pages need to simultaneously arrange various types of elements such as text, charts, formulas, and images, and the layout characteristics of different types of elements vary greatly, if all types of elements are submitted to the layout engine for overall solving at once, the solver needs to satisfy all kinds of constraints of all elements at the same time, resulting in an excessively large solution space that makes it impossible to find a feasible layout solution within the specified time. The generation time of the entire courseware exceeds the teacher's acceptable waiting range. By fixing the text elements and then adding other elements step by step to complete the layout solving, the layout engine only needs to process a limited number of elements and their constraints in each solving process, reducing the constraint scale of a single solution and avoiding generation blocking caused by an excessively large solution space. This allows users to obtain usable courseware in a timely manner, further improving the generation quality of multimedia courseware.

[0020] Furthermore, the system described in this invention performs audio-visual synchronization registration based on timeline mapping and frame deletion / supplementation according to the audio-visual synchronization status. Since a PPT slide contains a large number of animation elements, the rendering frame rate of that slide may decrease, resulting in a smaller total number of screen frames than audio frames. This misalignment between the screen frame sequence and the audio frame sequence causes the end timestamp of the screen frame sequence to be earlier than the end timestamp of the audio frame. Consequently, after the dubbing in the synthesized video finishes playing, the screen remains on the last frame, waiting for the next segment. The rhythm of the screen and the dubbing are out of sync, affecting the viewing experience of the micro-lesson video. By first aligning the overall timeline of the screen frame sequence and the audio frame sequence, and inserting or deleting frames based on the frame count comparison results, the total number of screen frames is made consistent with the total number of audio frames. This maintains visual continuity in the movement rhythm of the screen content, avoiding audio-visual asynchrony caused by misalignment between screen and audio frames, improving the generation quality of the micro-lesson video, and further enhancing the generation quality of multimedia courseware. Attached Figure Description

[0021] Figure 1 This is a block diagram of the overall structure of the AI-based PPT layout optimization and multimedia fusion system according to an embodiment of the present invention. Figure 2 This is a flowchart illustrating the process of directional decoding and generation based on semantic vector constraints in the AI-based PPT layout optimization and multimedia fusion system of this invention. Figure 3 This is a flowchart illustrating the incremental, progressive layout solution process based on text prior constraints in the execution of the AI-based PPT layout optimization and multimedia fusion system according to an embodiment of the present invention. Figure 4 This is an overall flowchart of the AI-based PPT layout optimization and multimedia integration method according to an embodiment of the present invention. Detailed Implementation

[0022] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.

[0023] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.

[0024] It should be noted that in the description of this invention, the terms "upper", "lower", "left", "right", "inner", "outer", etc., which indicate directions or positional relationships, are based on the directions or positional relationships shown in the accompanying drawings. This is only for the convenience of description and is not intended to indicate or imply that the device or element must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation of this invention.

[0025] Furthermore, it should be noted that, in the description of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0026] Please see Figure 1 The diagram shown is an overall structural block diagram of the AI-based PPT layout optimization and multimedia integration system according to an embodiment of the present invention. The system described in this embodiment includes: The instruction arrangement module is used to analyze the teaching materials input by the user to obtain the instruction arrangement content through a large language model, and to count the semantic similarity between the teaching materials and the instruction arrangement content, so as to perform targeted decoding and generation based on semantic vector constraints according to the semantic similarity. The instruction arrangement content includes the teaching outline and the explanation script. The PPT intelligent generation module is connected to the teaching arrangement module. It is used to generate PPT courseware according to the teaching syllabus through the layout engine, and to perform incremental progressive layout solving based on text prior constraints according to the constraint solving time of the layout engine. The voice-over image generation module is connected to the PPT intelligent generation module to generate teaching voice-over and digital virtual human images based on the images uploaded by the user and the explanation script. The multimedia fusion module, connected to the voice-over image generation module, is used to generate micro-lesson videos based on the PPT courseware, the teaching voice-over, and the digital virtual human image, and to perform audio-visual synchronization registration based on timeline mapping and frame deletion / supplementation according to the audio-visual synchronization status of the micro-lesson video.

[0027] Specifically, the teaching materials include one or more of the following: course name, course description, and textbook text.

[0028] In this embodiment, the large language model is a pre-trained language model based on the Transformer architecture, which can be the GPT model, BERT model, or T5 model, with the preferred embodiment being the GPT model.

[0029] Specifically, the syllabus includes the titles of each chapter of the course, the division of knowledge units, and the description of the content of each knowledge unit.

[0030] Specifically, the explanation script includes the explanation text for each knowledge unit, chapter transition phrases, and storyboard control information.

[0031] Specifically, the image uploaded by the user is a picture of a person that includes facial features.

[0032] In this embodiment, the system, through a teaching arrangement module, analyzes user-input teaching materials using a large language model to deeply understand semantics and generates a teaching syllabus and explanation script based on natural language processing technology. This reduces the workload of teachers in organizing text for lesson preparation, prevents the large language model from over-relying on its own parameterized knowledge and introducing content that deviates from the topic, and improves the matching degree and accuracy of content generation. Through a PPT intelligent generation module, PPT courseware is generated according to the teaching syllabus, and the PPT layout is optimized and adjusted. Based on an intelligent agent framework, interactive optimization is performed, balancing automation efficiency and teachers' personalized needs, achieving intelligent and collaborative generation of various elements on the PPT page, improving the efficiency and quality of PPT layout. Through a multimedia integration module, multimedia elements such as AI teaching voiceovers and digital virtual human images are integrated with PPT courseware to generate micro-lesson videos. The integration of multimedia elements increases the richness and vividness of teaching, improves teaching efficiency and acceptance, and ensures audio-visual synchronization, enhancing video generation quality and improving the overall quality of multimedia courseware generation.

[0033] Please see Figure 2 The diagram shown is a logical flowchart of the directed decoding generation process based on semantic vector constraints in an embodiment of the present invention.

[0034] Specifically, the instruction arrangement module is used to map the instruction materials into a first semantic vector through a semantic encoding model; The instruction arrangement module is used to map the instruction arrangement content into a second semantic vector through the semantic encoding model; The instruction arrangement module is used to determine the semantic similarity based on the cosine similarity between the first semantic vector and the second semantic vector.

[0035] Specifically, the semantic encoding model is a pre-trained semantic representation model based on the Transformer architecture. It encodes the input text into dense semantic vectors of fixed dimensions, so that semantically similar texts have a high cosine similarity in the vector space. This is an existing technology and will not be elaborated on here.

[0036] Specifically, the instruction arrangement module is used to determine whether the semantic consistency between the generated instruction arrangement content and the input instruction materials meets the requirements based on the semantic similarity being greater than or equal to a preset similarity. The instruction arrangement module is used to determine that the semantic similarity of the generated instruction arrangement content does not meet the requirements of semantic consistency with the input instruction materials if the semantic similarity is less than the preset similarity, and to perform targeted decoding generation based on semantic vector constraints.

[0037] In this embodiment, the preset similarity range is the interval within which the semantic consistency between the generated teaching arrangement content and the input teaching materials meets the requirements. The lower limit of the interval is determined based on the semantic similarity value between the semantic vector of the first generated teaching outline and explanation script and the first semantic vector. The upper limit of the interval is based on the semantic similarity between the generalized text formed after replacing the keywords in the teaching materials with the corresponding higher-level concepts in the knowledge graph, and the generalized vector obtained by mapping through the semantic encoding model and the first semantic vector. Those skilled in the art can dynamically adjust the preset similarity according to the actual situation, which will not be elaborated here.

[0038] Specifically, the instruction arrangement module is used to map the teaching materials into semantic vectors through a semantic encoding model, and to use the semantic vectors as constraint vectors; The instruction arrangement module is used to continuously use the distance between the constraint vector and the candidate output unit as the filtering criterion in the large language model decoding step, so as to narrow down the candidate range and decode the output.

[0039] In this embodiment, the deep semantic understanding and text generation capabilities of the large language model are utilized to intelligently parse the course name, course description, and textbook text input by the user. Simultaneously, a subject knowledge network is constructed using a knowledge graph, and a graph neural network is used to perform associative reasoning and hierarchical construction of core concepts, ensuring that the generated syllabus conforms to the inherent logic of the subject and the teaching principles. Furthermore, retrieval enhancement generation technology is employed to dynamically retrieve knowledge fragments from the internet, and natural language processing is used to generate the teaching syllabus and explanation scripts. The large language model, knowledge graph, graph neural network, retrieval enhancement technology, and natural language processing mentioned above are all existing technologies and will not be elaborated upon further here.

[0040] In this embodiment, the teaching materials are mapped into semantic vectors through a semantic coding model, and the semantic vectors are used as constraint vectors in the subsequent generation process. The constraint vector and the teaching materials, which are the initial input of the large language model, are fed into the decoder of the large language model. During the decoding process, the model performs probability screening on the current set of candidate output units based on the constraint vector. Each decoding step generates multiple candidate output units and their corresponding probability values, and at the same time calculates the semantic similarity between the semantic vector and the constraint vector of each candidate output unit. Select several candidate output units with the lowest semantic similarity as the preferred set. Only the original probability values ​​of the candidate units in the preferred set are used in the probability normalization calculation of the corresponding step, so that the sum of the probabilities of all candidate units is equal to 1, and the probability values ​​of the remaining candidate units are set to zero. Based on the normalized probability distribution, the candidate output unit with the largest probability value is selected as the output result of the current decoding step according to the greedy decoding strategy, so that the output selection range of the model in the current step is limited to the preferred set. Repeat the above operations to complete the entire decoding process under the continuous action of the constraint vector, and output the teaching outline and explanation script.

[0041] In this embodiment, the system performs directional decoding generation based on semantic vector constraints by setting a preset similarity. When generating a teaching syllabus, if the input material is short or vague, the large language model may over-rely on its own parametric knowledge to supplement the content. This may result in the generated syllabus introducing knowledge points not covered in the input material or deviating from the theme of the input material, leading to insufficient semantic consistency between the generated syllabus and the teacher's input material. Teachers may find it difficult to directly use the generated syllabus for subsequent teaching preparation. By mapping the input material text into semantic vectors through a semantic encoding model, and using these semantic vectors as constraints in the generation process, along with the initial input of the large language model, the final output text naturally aligns with the constrained semantic vectors in the semantic space without deviating from its theme. This ensures that the generated teaching syllabus is confined to the semantic neighborhood of the input material during the generation stage, preventing the large language model from over-relying on its own knowledge to introduce content that deviates from the input material. This improves the matching degree between the generated syllabus and the teacher's expectations, further enhancing the quality of multimedia courseware generation.

[0042] Please see Figure 3 As shown, it is a logical flowchart of the incremental progressive layout solution process based on text prior constraints in an embodiment of the present invention.

[0043] Specifically, the PPT intelligent generation module is used to perform semantic analysis of the teaching syllabus based on a multimodal large language model, generate text elements and formula elements for PPT pages, and generate image elements for PPT pages through a text-to-image model. The PPT intelligent generation module is used to automatically arrange PPT page elements according to the layout engine and layout optimization algorithm; The PPT intelligent generation module is used to generate PPT courseware based on the PPT rendering engine; The PPT intelligent generation module is also used to interactively adjust the page order, modify content details, and replace the PPT style of the PPT courseware through an intelligent agent framework.

[0044] In this embodiment, semantic parsing of the course chapter titles, knowledge unit divisions, and content descriptions of each knowledge unit in the teaching syllabus is performed based on a multimodal large language model to generate text elements and formula elements for each PPT slide. The text elements include PPT chapter titles, body paragraphs, and annotations. The formula elements are corresponding LaTeX code or Office Math format formulas generated by the multimodal large language model. The text elements are input into the text-to-image model, which generates schematic diagrams, flowcharts, and scene illustrations that semantically match the content of the corresponding page as image elements. The layout engine initiates a layout optimization algorithm based on multi-objective optimization to determine the layout of each element. Then, the PPT rendering engine is called to render the text, formulas, and image elements page by page into slide pages with complete styles according to the layout of each element, thus forming the initial PPT courseware. Based on this, an intelligent agent framework is used to treat the initial PPT courseware as an interactive object. The intelligent agent framework provides natural language interactive interface operations and interfaces to receive modification intent commands input by the user during the interaction process. The intelligent agent framework performs intent classification and semantic parsing on the modification intent commands, and calls the corresponding page tools to adjust the page order, modify content details, or replace the PPT style of the initial PPT courseware according to the parsing results. The multimodal large language model, text-to-graph model, layout engine, layout optimization algorithm, and intelligent agent framework mentioned above are all existing technologies and will not be described in detail here.

[0045] Specifically, the PPT intelligent generation module is used to determine that the timeliness of PPT generation meets the requirements if the constraint solution time of the layout engine is less than or equal to the preset time. The PPT intelligent generation module is used to determine that the timeliness of PPT generation does not meet the requirements when the constraint solution time of the layout engine is greater than the preset time, and to perform incremental progressive layout solution based on text prior constraints.

[0046] In this embodiment, timestamps are recorded before and after the code that calls the layout engine to solve the problem, and the difference between the two timestamps is used as the constraint solving time of the layout engine.

[0047] In this embodiment, the preset duration is the interval for determining whether the timeliness of PPT generation meets the requirements. The lower limit of the interval is determined based on the actual time consumed by the multimodal large language model in semantically parsing the teaching syllabus and generating all page text and formula elements. This duration is a system record value that can be directly obtained after the generation process is completed. The upper limit of the interval is determined based on the baseline time consumed by the layout engine in a single complete layout solution for an average page complexity with the same total number of pages as the current teaching syllabus. This baseline time is a fixed reference value measured and stored in advance by running the layout optimization algorithm multiple times during the system initialization phase. Those skilled in the art can dynamically adjust the preset duration according to the size range of the teaching materials, which will not be elaborated here.

[0048] Specifically, the PPT intelligent generation module is used to select the text elements of the current page, submit them to the layout engine for solving, and fix them; The PPT intelligent generation module is used to randomly select an element of a certain type from other page elements, solve for constraints according to the layout engine, and fix it. The PPT intelligent generation module is used to add one type of unprocessed element to solve and fix each element, and then merge the results to output a complete PPT layout.

[0049] In this embodiment, text elements are selected as the main elements from all elements on the current page and submitted to the layout engine for constraint solving. When the layout engine returns the layout coordinate results of the text element set, the results are fixed and modeled as a constraint satisfaction problem. Constraints such as the position, size, alignment, and non-overlap of all elements are defined for the next step of solving. Randomly select an element of a certain type from the elements that have not yet obtained layout coordinates, add the element of that type to the fixed core element set to form an expanded element set, and resubmit it to the layout engine for constraint solving; When the layout engine returns the layout coordinates of the extended set of elements, the position and size of the newly added element type are fixed, and the process is repeated. Each time, an element type that has not yet been processed is selected and added to the fixed set and the solution is recalculated until all elements on the page have obtained layout coordinates.

[0050] In this embodiment, the system performs incremental, progressive layout solving based on text prior constraints by setting a preset time period. Since teaching PPT pages need to simultaneously arrange various types of elements such as text, charts, formulas, and images, and the layout characteristics of different types of elements vary greatly, if all types of elements are submitted to the layout engine for overall solving at once, the solver needs to satisfy all kinds of constraints of all elements at the same time, resulting in an excessively large solution space that makes it impossible to find a feasible layout solution within the specified time. The generation time of the entire courseware exceeds the teacher's acceptable waiting range. By fixing the text elements and then adding other elements step by step to complete the layout solving, the layout engine only needs to process a limited number of elements and their constraints in each solving process, reducing the constraint scale of a single solution, avoiding generation blocking caused by an excessively large solution space, and enabling users to obtain usable courseware in a timely manner, further improving the generation quality of multimedia courseware.

[0051] In this embodiment, the voice-over image generation module converts the explanatory text into natural and fluent speech output based on the speech synthesis TTS engine to obtain teaching voice-over, and receives images uploaded by users. It uses computer vision technology to extract facial features from photos or videos uploaded by teachers, and constructs a three-dimensional digital face model to generate a digital virtual human image.

[0052] Specifically, the micro-lesson video generation module is used to determine whether the generation quality of the current micro-lesson video meets the output standard based on whether the micro-lesson video is synchronized with the audio and video. The micro-lesson video generation module is used to determine that the generation quality of the current micro-lesson video fails to meet the output standard if the audio and video are out of sync, and to perform audio-video synchronization registration based on timeline mapping and frame deletion / supplementation.

[0053] In this embodiment, the sequence of PPT courseware images is extracted by parsing Office OpenXML, and the phoneme sequence of the teaching voice-over is aligned with the facial muscle movements of a digital human by using audio-driven lip-sync technology. The timing of the teaching voice-over, explanation script, and PPT courseware page turning is aligned based on DTW, and the micro-lesson video is output by FFmpeg multi-layer hybrid rendering. The Office OpenXML, audio-driven lip-sync technology, DTW, and FFmpeg multi-layer hybrid rendering are all existing technologies and will not be described in detail here. After rendering is complete, the time axis range of the video frame sequence and the time axis range of the audio frame sequence are obtained for each slide page in the PPT courseware. When the difference between the timestamp of each frame in the video frame sequence and the timestamp of the corresponding frame in the audio frame sequence is less than or equal to the preset difference, the micro-lesson video is in audio-visual synchronization. When the difference between the timestamp of any frame in the video frame sequence and the timestamp of the corresponding frame in the audio frame sequence is greater than a preset difference, the micro-lesson video is in a state of audio-visual desynchronization. The range of the preset difference is the interval for judging the audio-visual synchronization status of the micro-lesson video. The lower limit of the interval is determined based on the maximum time offset of a single frame generated by the audio-driven lip-sync technology during the phoneme-visual mapping process. This offset is the maximum absolute value of the time difference between the predicted frame and the audio frame at each phoneme boundary when the lip-sync model aligns the phoneme sequence with facial muscle movement parameters. It is directly output by the lip-sync model during runtime. The upper limit of the interval is determined based on the cumulative path average deviation formed after dynamic normalization between the audio frame sequence and the PPT page-turning time point during the DTW time alignment process. It is directly output by the DTW algorithm after completing the time axis mapping of all segments. Those skilled in the art can dynamically adjust the preset difference according to the number of animation elements on each page of the current PPT courseware, the range of rendering frame rate fluctuations, and the amplitude of speech rate changes in the explanation script. This will not be elaborated further here.

[0054] Specifically, the micro-lesson video generation module is used to obtain the timeline of several segments of screen frames and audio frame sequences and align them as a whole. When counting the total number of screen frames and the total number of audio frames, the micro-lesson video is output when the total number of screen frames equals the total number of audio frames. The micro-lesson video generation module is used to locate the time period with the largest pixel difference value based on the pixel difference value between adjacent frames in each time period within the duration of the segment dubbing when the total number of screen frames is less than the total number of audio frames, and generate intermediate frames to insert into the screen frame sequence according to the motion vector distribution in the time period. The micro-lesson video generation module is used to delete several frames with the lowest pixel difference value between each frame and its predecessor when the total number of video frames is greater than the total number of audio frames, based on the pixel difference value between each adjacent video frame in the segment, so that the total number of video frames is equal to the total number of audio frames.

[0055] In this embodiment, the system maps the start timestamp of the picture frame sequence to the start timestamp of the audio frame sequence, and maps the end timestamp of the picture frame sequence to the end timestamp of the audio frame sequence, so that the overall time axis range of the picture frame sequence is consistent with the overall time axis range of the audio frame sequence, while keeping the relative time interval between each frame within the picture frame sequence unchanged. The total number of frames in the video frame sequence and the total number of frames in the audio frame sequence are counted and compared. When the total number of video frames equals the total number of audio frames, the micro-lesson video is output normally. When the total number of video frames is less than the total number of audio frames, the pixel difference between adjacent video frames in each time period during the duration of the dubbing segment is calculated for each time period. The time period with the largest pixel difference is identified as the time period with the most drastic change in video content. In the time period, according to the motion vector distribution of the video content in that time period, an intermediate frame is generated between the preceding and following frames to insert a sequence of video frames, so that the total number of video frames after the insertion of the frames is consistent with the total number of audio frames. When the total number of video frames is greater than the total number of audio frames, the pixel difference between each adjacent video frame in the segment is calculated frame by frame, and the frames with the lowest pixel difference between each frame and its previous frame are deleted, so that the total number of video frames after deletion is consistent with the total number of audio frames. Replace the original fragment with the adjusted fragment, and then merge it with other fragments for output.

[0056] In this embodiment, the system performs audio-visual synchronization registration based on timeline mapping and frame deletion / supplementation according to the audio-visual synchronization status. When a PPT slide contains a large number of animation elements, the rendering frame rate of that slide may decrease, resulting in a smaller total number of screen frames than audio frames. This misalignment between the screen frame sequence and the audio frame sequence causes the screen frame sequence end timestamp to be earlier than the audio frame end timestamp. Consequently, after the voiceover finishes playing in the synthesized video, the screen remains on the last frame, waiting for the next segment. This disconnect between the screen rhythm and the voiceover rhythm negatively impacts the viewing experience of the micro-lesson video. By first aligning the overall timeline of the screen frame sequence and the audio frame sequence, and then inserting or deleting frames based on the frame count comparison results, the total number of screen frames matches the total number of audio frames. This ensures visual continuity of the movement rhythm of the screen content, avoids audio-visual asynchrony caused by misalignment between screen and audio frames, improves the generation quality of the micro-lesson video, and further enhances the generation quality of multimedia courseware.

[0057] Please see Figure 4 The diagram shown is an overall flowchart of the PPT layout optimization and multimedia integration method based on artificial intelligence according to an embodiment of the present invention. The method described in this embodiment includes: Step S1: Based on the teaching materials input by the user, the teaching arrangement content is obtained through analysis of the large language model, and the semantic similarity between the teaching materials and the teaching arrangement content is statistically analyzed, so as to perform targeted decoding and generation based on semantic vector constraints according to the semantic similarity. Step S2: Based on the teaching syllabus, generate PPT courseware through the layout engine, and perform incremental progressive layout solving based on text prior constraints according to the constraint solving time of the layout engine. Step S3: Based on the user-uploaded image and the explanation script, generate teaching voice-over and digital virtual human image; Step S4: Generate a micro-lesson video based on the PPT courseware, the teaching voice-over, and the digital virtual human image; perform audio-visual synchronization registration based on timeline mapping and frame deletion / supplementation according to the audio-visual synchronization status of the micro-lesson video.

[0058] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.

Claims

1. A PPT layout optimization and multimedia integration system based on artificial intelligence, characterized in that, include: The instruction arrangement module is used to analyze the teaching materials input by the user to obtain the instruction arrangement content through a large language model, and to count the semantic similarity between the teaching materials and the instruction arrangement content, so as to perform targeted decoding and generation based on semantic vector constraints according to the semantic similarity. The instruction arrangement content includes the teaching outline and the explanation script. The PPT intelligent generation module is used to generate PPT courseware according to the teaching syllabus through the layout engine, and to perform incremental progressive layout solving based on text prior constraints according to the constraint solving time of the layout engine. The voice-over image generation module is used to generate teaching voice-overs and digital virtual human images based on the images uploaded by users and the narration scripts. The multimedia fusion module is used to generate micro-lesson videos based on the PPT courseware, the teaching voice-over, and the digital virtual human image, and to perform audio-visual synchronization registration based on timeline mapping and frame deletion and supplementation according to the audio-visual synchronization status of the micro-lesson videos.

2. The AI-based PPT layout optimization and multimedia integration system according to claim 1, characterized in that, The instruction arrangement module is used to map the instruction materials into a first semantic vector through a semantic encoding model; The instruction arrangement module is used to map the instruction arrangement content into a second semantic vector through the semantic encoding model; The instruction arrangement module is used to determine the semantic similarity based on the cosine similarity between the first semantic vector and the second semantic vector.

3. The AI-based PPT layout optimization and multimedia integration system according to claim 2, characterized in that, The instruction arrangement module is used to determine whether the semantic consistency between the generated instruction arrangement content and the input instruction materials meets the requirements based on the semantic similarity being greater than or equal to a preset similarity. The instruction arrangement module is used to determine that the semantic similarity of the generated instruction arrangement content does not meet the requirements of semantic consistency with the input instruction materials if the semantic similarity is less than the preset similarity, and to perform targeted decoding generation based on semantic vector constraints.

4. The AI-based PPT layout optimization and multimedia integration system according to claim 3, characterized in that, The instruction arrangement module is used to map the teaching materials into semantic vectors through a semantic coding model, and to use the semantic vectors as constraint vectors. The instruction arrangement module is used to continuously use the distance between the constraint vector and the candidate output unit as the filtering criterion in the large language model decoding step, so as to narrow down the candidate range and decode the output.

5. The AI-based PPT layout optimization and multimedia integration system according to claim 4, characterized in that, The PPT intelligent generation module is used to perform semantic analysis of the teaching syllabus based on a multimodal large language model, generate text elements and formula elements for PPT pages, and generate image elements for PPT pages through a text-to-image model. The PPT intelligent generation module is used to automatically arrange PPT page elements according to the layout engine and layout optimization algorithm; The PPT intelligent generation module is used to generate PPT courseware based on the PPT rendering engine; The PPT intelligent generation module is also used to interactively adjust the page order, modify content details, and replace the PPT style of the PPT courseware through an intelligent agent framework.

6. The AI-based PPT layout optimization and multimedia integration system according to claim 5, characterized in that, The PPT intelligent generation module is used to determine whether the timeliness of the PPT generation meets the requirements if the constraint solution time of the layout engine is less than or equal to the preset time. The PPT intelligent generation module is used to determine that the timeliness of PPT generation does not meet the requirements when the constraint solution time of the layout engine is greater than the preset time, and to perform incremental progressive layout solution based on text prior constraints.

7. The AI-based PPT layout optimization and multimedia integration system according to claim 6, characterized in that, The PPT intelligent generation module is used to select the text elements of the current page, submit them to the layout engine for solving, and fix them. The PPT intelligent generation module is used to randomly select an element of a certain type from other page elements, solve for constraints according to the layout engine, and fix it. The PPT intelligent generation module is used to add one type of unprocessed element to solve and fix each element, and then merge the results to output a complete PPT layout.

8. The AI-based PPT layout optimization and multimedia integration system according to claim 7, characterized in that, The multimedia fusion module is used to determine whether the generated quality of the current micro-lesson video meets the output standard based on whether the micro-lesson video is synchronized with the audio and video. The multimedia fusion module is used to determine that the current micro-lesson video fails to meet the output standard due to audio-visual asynchrony, and to perform audio-visual synchronization registration based on timeline mapping and frame deletion / supplementation.

9. The AI-based PPT layout optimization and multimedia integration system according to claim 8, characterized in that, The multimedia fusion module is used to acquire the time axis of several video and audio frame sequences and align them as a whole, and count the total number of video frames and the total number of audio frames. When the total number of video frames equals the total number of audio frames, the micro-lesson video is output. The multimedia fusion module is used to locate the time period with the largest pixel difference value based on the pixel difference value between adjacent frames in each time period within the duration of the segment dubbing when the total number of screen frames is less than the total number of audio frames, and to generate intermediate frames to insert into the screen frame sequence according to the motion vector distribution in the time period. The multimedia fusion module is used to delete several frames with the lowest pixel difference value between each frame and its predecessor when the total number of video frames is greater than the total number of audio frames, based on the pixel difference value between each adjacent video frame in the segment, so that the total number of video frames is equal to the total number of audio frames.

10. A fusion method applied to the AI-based PPT layout optimization and multimedia fusion system as described in any one of claims 1-9, characterized in that, include: Based on user-input teaching materials, the teaching arrangement content is obtained through large language model analysis, and the semantic similarity between the teaching materials and the teaching arrangement content is statistically analyzed, so as to perform targeted decoding and generation based on semantic vector constraints according to semantic similarity. Based on the teaching syllabus, PPT courseware is generated through the layout engine, and incremental progressive layout solving based on text prior constraints is performed according to the constraint solving time of the layout engine. Based on the user-uploaded image and the aforementioned explanation script, a teaching voice-over and a digital virtual human image are generated. Micro-lesson videos are generated based on the PPT courseware, the teaching voice-over, and the digital virtual human image. Audio-visual synchronization registration is performed based on timeline mapping and frame deletion / supplementation according to the audio-visual synchronization status of the micro-lesson videos.

Citation Information

Patent Citations

  • PPT content generation and interaction optimization system based on AI drive

    CN120012940A