CN-122021568-A - Presentation optimizing method, device, equipment, storage medium and product
Abstract
The application discloses a presentation optimizing method, a device, equipment, a storage medium and a product, relating to the technical field of data processing, comprising the following steps: the method comprises the steps of carrying out page-by-page analysis on an initial presentation input by a user based on a preset presentation optimization model, carrying out template page matching on the obtained page typesetting form characteristics and page logic structure characteristics with a preset template library, matching page characteristic vectors corresponding to the page typesetting form characteristics with candidate template vectors corresponding to a candidate page template set obtained by matching, optimizing the page typesetting form characteristics by a target template with highest matching degree and a preset template rule verification engine, and outputting the optimized pages in batches to obtain an optimized presentation.
Inventors
- CAO HAOQIANG
- YU SONGHAI
- ZHANG DAKANG
Assignees
- 数字郑州科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260130
Claims (10)
- 1. The presentation optimizing method is characterized by comprising the following steps: Analyzing the initial presentation input by the user page by page based on a preset presentation optimizing model to obtain page typesetting form characteristics and page logic structure characteristics; Template page matching is carried out on the page typesetting form characteristics and the page logic structure characteristics with a preset template library, and a candidate page template set is obtained; Matching the page feature vector corresponding to the page typesetting form feature with the candidate template vector corresponding to the candidate page template set to obtain a target template with highest matching degree; And optimizing the page typesetting form characteristics based on the target template and a preset template rule checking engine, and outputting the optimized pages in batches to obtain the optimized presentation.
- 2. The presentation optimizing method as claimed in claim 1, wherein the step of analyzing page by page an initial presentation inputted by a user based on a preset presentation optimizing model to obtain page typesetting form features and page logic structure features comprises: analyzing page by page and converting the format of the initial presentation file input by the user to obtain page typesetting form characteristics of a target format, wherein the page typesetting form characteristics consist of pages, containers and contents corresponding to typesetting basic elements; extracting multidimensional elements from the page typesetting form characteristics to obtain a target element characteristic set; performing context correlation analysis on the target element feature set, and determining main keywords and chapter structures; determining chapter positioning information according to the main body keywords and the chapter structure; And identifying the logic structure type of the single page content according to the chapter positioning information, and determining the page logic structure characteristics according to the logic structure type.
- 3. The presentation optimization method as claimed in claim 2, wherein the step of performing template page matching based on the page typesetting form features, the page logic structure features and a preset template library to obtain a candidate page template set includes: matching the composite labels in a preset template library based on the page typesetting form characteristics and the page logic structure characteristics to obtain a label matching result; And screening template pages from the preset template library according to the tag matching result to obtain a candidate page template set.
- 4. The presentation optimizing method as claimed in claim 3, wherein the step of matching the page feature vector corresponding to the page typesetting form feature with the candidate template vector corresponding to the candidate page template set to obtain the target template with the highest matching degree comprises: calculating the similarity between the page feature vector corresponding to the page typesetting form feature and the candidate template vector corresponding to the candidate page template set; comparing the similarity with a preset threshold value, and screening a high-fit candidate template from the candidate page template set according to a comparison result; And screening the high-fit candidate templates based on the user history use preference information to obtain the target template with the highest matching degree.
- 5. The presentation optimizing method as claimed in claim 4, wherein the step of optimizing the page typesetting form features based on the target template and a preset template rule check engine, outputting the optimized pages in batches, and obtaining the optimized presentation includes: Performing differential analysis on the text content and non-text elements of the initial presentation on the basis of the target template to obtain a differential analysis result; optimizing basic typesetting elements corresponding to the initial presentation based on the difference analysis result to obtain an optimized presentation; And verifying the optimized presentation based on a preset template rule verification engine and template parameters corresponding to the target template until all pages pass verification, and outputting the optimized pages in batches according to the original page sequence to obtain the optimized presentation.
- 6. The presentation optimizing method as claimed in claim 1, wherein the step of analyzing page by page an initial presentation inputted by a user based on a preset presentation optimizing model to obtain page typesetting form features and page logic structure features further comprises: Performing application scene analysis based on a preset presentation resource library, and constructing a basic type template set; Configuring a parameter range of a preset type, a page typesetting form characteristic label, a page logic structure characteristic label and a composite label for the basic type template set; constructing a mapping relation among the composite label, the preset basic type template and the adaptation scene based on an inverted index algorithm; Constructing a preset template library based on a parameter range of a preset type, a page typesetting form characteristic label, a page logic structure characteristic label, a composite label and the mapping relation which are configured by the basic type template set; Constructing an initial presentation optimizing model based on a natural language processing model, a semantic analysis model, a machine vision model and the mapping relation; And constructing a model training set according to the preset presentation resource library to train the presentation optimization model to obtain the preset presentation optimization model.
- 7. A presentation optimizing apparatus, characterized in that the presentation optimizing apparatus comprises: The content analysis module is used for analyzing the initial presentation input by the user page by page based on a preset presentation optimization model to obtain page typesetting form characteristics and page logic structure characteristics; The template candidate module is used for carrying out template page matching on the page typesetting form characteristics and the page logic structure characteristics with a preset template library to obtain a candidate page template set; the template screening module is used for matching the page feature vector corresponding to the page typesetting form feature with the candidate template vector corresponding to the candidate page template set to obtain a target template with highest matching degree; And the page optimization module is used for optimizing the page typesetting form characteristics based on the target template and a preset template rule checking engine, and outputting the optimized pages in batches to obtain the optimized presentation.
- 8. A presentation optimization apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program configured to implement the steps of the presentation optimization method of any one of claims 1 to 6.
- 9. A storage medium, characterized in that the storage medium is a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the presentation optimization method according to any one of claims 1 to 6.
- 10. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the steps of the presentation optimization method according to any one of claims 1 to 6.
Description
Presentation optimizing method, device, equipment, storage medium and product Technical Field The present application relates to the field of data processing technologies, and in particular, to a presentation optimizing method, apparatus, device, storage medium, and product. Background Currently, with the development of office automation and artificial intelligence technology, AI-PPT related tools are becoming an important auxiliary means for improving office efficiency. The AI-PPT technology in the market at present is mainly divided into three core paths, namely a first category of generating a brand new PPT based on lectures or outlines and then applying a fixed template after creating contents through AI, a second category of replacing and updating isolated indexes of the existing PPT without involving adjustment of content structure and typesetting logic, and a third category of directly mechanically copying contents generated by AI or input by a user into the template and only performing simple position and size adjustment. The current presentation processing optimization has the following problems that 1. The current presentation processing proposal mostly requires the user to provide lectures, outlines or reenter core contents, and the conventional operation habit of directly authoring on PPT office software of most users, namely, the first edition PPT contents are finished first and typesetting beautification is carried out, and the user is required to put in additional time to sort auxiliary materials, so that the office efficiency is reduced. 2. The content authenticity and the service suitability are insufficient, namely, the content created by a user through the conversational AI has the problem that the content authenticity and the service suitability are insufficient, and the core data, the exclusive logic and the personalized expression in a specific service scene of the user cannot be accurately attached, so that the generated PPT is difficult to directly use for actual work. 3. The typesetting adaptation logic is stiff, the beautifying effect is poor, the mode of a content passive adaptation template is adopted at present aiming at a presentation processing scheme, the position and the size of elements are mechanically adjusted, the technical logic of automatically analyzing the adaptation difference between the content and the template and optimizing the content by AI is not introduced, the suitability of the text structure, the data dimension, the logic relationship and the template rule of the user content is not considered, the problems that the text exceeds a text box, the proportion of pictures is imbalance, the chart data redundancy and the like often occur, a great amount of secondary adjustment is needed by the user, and the typesetting beautifying effect is limited. 4. The adaptation dimension is single, and the scene accurate matching is lacking, namely, the matching logic aiming at the presentation processing scheme at present focuses on the form features (such as the number of text blocks and the number of pictures) or single style, and the core dimensions of chapter context, logic function and the like of the PPT are not combined, so that the functional positioning of the matched template and the user content is not matched, and the specialized typesetting requirements under different scenes cannot be met. 5. The technical path is split, and a closed-loop solution cannot be formed, namely a scheme for replacing a focusing index and a scheme for generating a new PPT by a focusing outline are mutually independent, wherein the former lacks typesetting beautifying capability, the latter cannot reuse existing contents of a user, and a technical staff in the field has difficulty in solving the core requirements of 'the existing contents of the user + the accurate adaptation of a template rule + typesetting beautifying' by simply combining the current processing scheme aiming at a presentation file. 6. The capacity of adapting the lecture rhythm is weak, namely, based on the scheme of generating the PPT by the lecture or outline, the total page number of the PPT is independently split by AI according to the lecture word number and outline level, the detail of single page content is judged by AI, so that the deviation between the final product page number and the expected deviation of a user is larger, part of pages are excessively lengthy due to excessive expansion of the content of AI, part of pages are excessively simplified due to information deletion of AI, the lecture rhythm preset by the user cannot be matched, the user needs to readjust the detail of the page number and the content, and the workload is additionally increased. The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present application and is not intended to represent an admission that the foregoing is prior art. Disclosure of Invention The application ma