Data processing method and system, electronic device and storage medium

CN123015727APending Publication Date: 2026-10-30ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510551555.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0004]本申请实施例提供了一种数据处理方法、系统、电子设备及存储介质,以至少解决相关技术中在进行智能文档创作时存在生成效率低、灵活性差的技术问题

Benefits of technology

[0016]根据本申请实施例的另一方面,还提供了一种计算机程序,计算机程序被处理器执行时实现本申请各个实施例中的方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123015727A_ABST
    Figure CN123015727A_ABST
Patent Text Reader

Abstract

The application discloses a data processing method and system, electronic equipment and storage medium, and relates to the technical field of large model and data processing. The method comprises the following steps: determining original data content and a to-be-used template, wherein the original data content is an outline content corresponding to a target multimedia file to be generated, and the to-be-used template is a blank rich content document template; constructing a plurality of target pages based on the original data content; serializing and assembling the plurality of target pages according to the to-be-used template to obtain an assembly result, wherein the assembly result is a rich content document product data corresponding to the rich content document template; and rendering the assembly result to generate the target multimedia file. The application solves the technical problems of low generation efficiency and poor flexibility in intelligent document creation in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to large model technology and data processing, and more specifically, to a data processing method, system, electronic device, and storage medium. Background Technology

[0002] With the rapid development of artificial intelligence (AI) technology, AI-generated content (AIGC) has become a key means of improving work efficiency, especially in the field of document creation. Traditional presentation creation is often time-consuming and labor-intensive, requiring users to manually write text, select images, and design layouts. This not only consumes a lot of time but can also negatively impact presentation quality if the layout is poorly designed. Utilizing AI models to quickly generate text, images, and other content can greatly simplify the presentation creation process. Related technologies primarily use AI models to generate raw content, which is then converted into different document formats using client-side technology. However, this approach has certain limitations in practical applications, such as a lack of flexibility due to fixed aspect ratios and single-page editing modes that restrict users' ability to quickly browse and edit across multiple pages, thus severely impacting user experience and presentation generation efficiency.

[0003] There is currently no effective solution to the above problems. Summary of the Invention

[0004] This application provides a data processing method, system, electronic device, and storage medium to at least solve the technical problems of low generation efficiency and poor flexibility in intelligent document creation in related technologies.

[0005] According to one aspect of the embodiments of this application, a data processing method is provided, comprising: determining original data content and a template to be used, wherein the original data content is the outline content corresponding to a target multimedia file to be generated, and the template to be used is a blank rich content document template; constructing multiple target pages based on the original data content; serializing and assembling the multiple target pages according to the template to be used to obtain an assembly result, wherein the assembly result is rich content document output data corresponding to the rich content document template; and rendering the assembly result to generate a target multimedia file.

[0006] According to another aspect of the embodiments of this application, a data processing method is also provided, comprising: determining presentation data content and a presentation template, wherein the presentation data content is the outline content corresponding to the target presentation to be generated, and the presentation template is a blank rich content presentation template; constructing multiple presentation pages based on the presentation data content; serializing and assembling the multiple presentation pages according to the presentation template to obtain an assembly result, wherein the assembly result is rich content presentation output data corresponding to the rich content presentation template; and rendering the assembly result according to the web page presentation method to generate the target presentation.

[0007] According to another aspect of the embodiments of this application, a data processing method is also provided, comprising: obtaining a data processing request through a first application programming interface, wherein the request data carried in the data processing request includes: original data content and a template to be used, wherein the original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template; and returning a data processing response through a second application programming interface, wherein the response data carried in the data processing response includes: a target multimedia file, wherein the target multimedia file is generated according to any one of the data processing methods in the embodiments of this application.

[0008] According to another aspect of the embodiments of this application, a data processing method is also provided, comprising: acquiring a currently input data processing dialogue request, wherein the request data carried in the data processing dialogue request includes: original data content and a template to be used, wherein the original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template; responding to the data processing dialogue request, returning a data processing dialogue response, wherein the information carried in the data processing dialogue response includes: a target multimedia file, wherein the target multimedia file is generated according to any one of the data processing methods in the embodiments of this application; and displaying the target multimedia file in a graphical user interface.

[0009] According to another aspect of the embodiments of this application, a data processing method is also provided, comprising: responding to an input instruction applied to an operation interface, displaying original data content and a template to be used on the operation interface; responding to a processing instruction applied to the operation interface, displaying a target multimedia file on the operation interface; wherein the original data content is the outline content corresponding to the target multimedia file to be generated, the template to be used is a blank rich content document template, and the target multimedia file is generated according to any one of the data processing methods in the embodiments of this application.

[0010] According to another aspect of the embodiments of this application, a data processing system is also provided, including: a client, configured to send raw data content and a template to be used, wherein the raw data content is the outline content corresponding to a target multimedia file to be generated, and the template to be used is a blank rich content document template; a server, connected to the client, configured to construct multiple target pages based on the raw data content, serialize and assemble the multiple target pages according to the template to be used to obtain an assembly result, and render the assembly result to generate a target multimedia file, wherein the assembly result is rich content document product data corresponding to the rich content document template; the client is also configured to output the target multimedia file.

[0011] According to another aspect of the embodiments of this application, a computing device is also provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in various embodiments of this application when it runs.

[0012] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a memory storing an executable program; and a processor connected to the memory via a bus for running the program, wherein the program executes the methods in various embodiments of this application when it runs.

[0013] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of this application.

[0014] According to another aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the methods of various embodiments of this application.

[0015] According to another aspect of the embodiments of this application, a computer program product is also provided, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods in various embodiments of this application.

[0016] According to another aspect of the embodiments of this application, a computer program is also provided, which, when executed by a processor, implements the methods of the various embodiments of this application.

[0017] In this embodiment, by determining the original data content and the template to be used, where the original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template, multiple target pages are constructed based on the original data content. Then, the multiple target pages are serialized and assembled according to the template to be used to obtain the assembly result, which yields the rich content document output data corresponding to the rich content document template. Finally, the assembly result is rendered to generate the target multimedia file. This achieves fast, professional, and multi-format multimedia document generation, significantly improving the user's document generation efficiency and user experience. By clearly defining the outline content and rich content document template corresponding to the target multimedia file, a foundation is laid for subsequent page construction and content assembly. The construction of multiple target pages is based on the outline content, and each target page can carry different types of information or expressions, thus giving the abstract outline content a concrete representation and providing flexible components for subsequent layout design. By serializing and assembling multiple target pages according to the template to be used, the individual target pages can be integrated according to the requirements of the rich content document template to form a unified data structure. This ensures the consistency of the visual style and layout of the generated target multimedia files. At the same time, the data-driven assembly method improves the efficiency of subsequent multi-terminal presentation and multi-format export. Finally, the assembly result is rendered to generate target multimedia files that users can view and edit on different platforms, further improving the loading speed and stability of the target multimedia files. Thus, the embodiments of this application achieve the technical effect of improving the generation efficiency and flexibility of intelligent document creation, thereby solving the technical problems of low generation efficiency and poor flexibility in related technologies when creating intelligent documents.

[0018] It is worth noting that the general description above and the detailed description that follow are merely for illustrative purposes and do not constitute a limitation on this application. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0020] Figure 1 This is a schematic diagram illustrating an application scenario of a data processing method according to an embodiment of this application;

[0021] Figure 2 This is a flowchart of a data processing method according to an embodiment of this application;

[0022] Figure 3 This is a schematic diagram of a data processing method according to an embodiment of this application;

[0023] Figure 4 This is a schematic diagram of another data processing method according to an embodiment of this application;

[0024] Figure 5 This is a schematic diagram of another data processing method according to an embodiment of this application;

[0025] Figure 6 This is a schematic diagram of another data processing method according to an embodiment of this application;

[0026] Figure 7 This is a flowchart of another data processing method according to an embodiment of this application;

[0027] Figure 8 This is a flowchart of another data processing method according to an embodiment of this application;

[0028] Figure 9 This is a flowchart of another data processing method according to an embodiment of this application;

[0029] Figure 10 This is a flowchart of another data processing method according to an embodiment of this application;

[0030] Figure 11 This is a structural block diagram of a data processing apparatus according to an embodiment of this application;

[0031] Figure 12 This is a structural block diagram of another data processing apparatus according to an embodiment of this application;

[0032] Figure 13 This is a structural block diagram of another data processing apparatus according to an embodiment of this application;

[0033] Figure 14 This is a structural block diagram of another data processing apparatus according to an embodiment of this application;

[0034] Figure 15 This is a structural block diagram of another data processing apparatus according to an embodiment of this application;

[0035] Figure 16 This is a structural block diagram of a computing device according to an embodiment of this application;

[0036] Figure 17 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0037] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0038] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0039] The technical solution provided in this application is mainly implemented using large-scale model technology. Here, large-scale model refers to a deep learning model with a large number of model parameters, typically containing hundreds of millions, tens of billions, hundreds of billions, trillions, or even tens of trillions of model parameters. Large-scale models can also be called foundation models. They are pre-trained on large-scale unlabeled corpora to produce pre-trained models with hundreds of millions of parameters. Such models can adapt to a wide range of downstream tasks and have good generalization ability. Examples include large-scale language models (LLM) and multi-modal pre-training models.

[0040] It should be noted that, in practical applications, large models can be fine-tuned using a small number of samples to adapt them to different tasks. For example, large models can be widely used in Natural Language Processing (NLP), computer vision, and speech processing. Specifically, they can be applied to computer vision tasks such as Visual Question Answering (VQA), Image Captioning (IC), and Image Generation, as well as NLP tasks such as text-based sentiment classification, text summarization, and machine translation. Therefore, the main application scenarios for large models include, but are not limited to, digital assistants, intelligent robots, search, online education, office software, e-commerce, and intelligent design. In this embodiment, data processing using a target language model in a data processing scenario is used as an example for explanation.

[0041] According to an embodiment of this application, a data processing method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0042] Considering the large number of model parameters in large models and the limited computing resources of mobile terminals, the method provided in this application embodiment can be applied to, for example, Figure 1 The application scenarios shown are not limited to these. In, for example... Figure 1 In the application scenario shown, the large model is deployed on server 10. Server 10 can connect to one or more client devices 20 via a local area network (LAN), wide area network (WAN), internet connection, or other types of data network. These client devices 20 may include, but are not limited to, smartphones, tablets, laptops, PDAs, personal computers, smart home devices, and in-vehicle devices. Client devices 20 can interact with users through a graphical user interface to access the large model, thereby implementing the method provided in this embodiment.

[0043] In this embodiment, the system comprising a client device and a server can perform the following steps: The client can send raw data content and a template to be used to the server, wherein the raw data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template. The server can construct multiple target pages based on the raw data content, serialize and assemble the multiple target pages according to the template to be used to obtain an assembly result, and render the assembly result to generate the target multimedia file, wherein the assembly result is the rich content document output data corresponding to the rich content document template. The client's graphical user interface can be used to output the target multimedia file.

[0044] It should be noted that with the rapid development of high-performance computing units, the methods provided in this application embodiment can also be applied to model-in-machine systems in other application scenarios. In one optional embodiment, the model-in-machine system has multiple built-in models, and users can select one model to adjust as needed to obtain their own model. The high-performance computing unit built into the model-in-machine system can then directly call the adjusted model to execute the methods provided in this application embodiment. In another optional embodiment, the large model-in-machine system has a pre-trained model built-in, and the high-performance computing unit built into the model-in-machine system can then directly call that model to execute the methods provided in this application embodiment.

[0045] Furthermore, when users need to train their own models, they can upload their own datasets via the client. These datasets are then sent to the server, allowing the server to adjust the pre-trained model using the dataset to obtain the user's customized model, which can then be deployed to the production environment. To facilitate users' model adjustment needs, the server provides complete adjustment tools, development frameworks, and processes, supporting multiple adjustment strategies. This allows the adjusted model to better adapt to different application domains and achieve a high degree of customization.

[0046] Under the aforementioned operating environment, this application provides the following: Figure 2 The data processing method shown. Figure 2 This is a flowchart of a data processing method according to an embodiment of this application, such as... Figure 2 As shown, the method may include the following steps:

[0047] Step S21: Determine the original data content and the template to be used. The original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template.

[0048] Step S22: Construct multiple target pages based on the original data content.

[0049] Step S23: Serialize and assemble multiple target pages according to the template to be used to obtain the assembly result, wherein the assembly result is the rich content document product data corresponding to the rich content document template.

[0050] Step S24: Render the assembly result to generate the target multimedia file.

[0051] The original data content mentioned above can be document outline data with a chapter structure hierarchy. The original data content can be presented in a structured format, such as Lightweight Markup Language (Markdown) or Lightweight Data Interchange Format (JSON), to facilitate subsequent processing and conversion.

[0052] For example, raw data content can be generated by a large model based on user input instructions, such as inputting a topic, keywords, or reference documents. Alternatively, it can be manually written by the user in a document editing tool, planned according to individual needs and document structure. Furthermore, users can select or import preset outline templates. These templates contain common or domain-specific outline structures, such as those for business reports, academic papers, and project proposals. By importing preset outline templates, users can quickly obtain a structured outline and then adjust it according to specific needs. For scenarios with high automation requirements, scripts or specific programs can be written to automatically generate outlines based on input data. This method is commonly used in data analysis reports and market research summaries, automatically constructing the outline structure based on the logical relationships of the data.

[0053] The aforementioned template, a blank rich-content document template, provides a pre-designed document structure and style framework to guide and standardize how raw data content is assembled and presented into the final target multimedia file. The template includes document layout, font styles, color schemes, graphic elements, and other design elements, helping users quickly create visually consistent documents.

[0054] For example, templates can be obtained in various ways, including but not limited to: built-in template libraries, user-defined templates, third-party template resources, export from design applications, and template application programming interface calls. These templates ensure that the generated target multimedia files have a consistent visual style and professionalism, while providing users with personalized choices, making the document generation process more efficient and meeting diverse needs. Applying these templates not only simplifies the document creation process but also improves the overall quality and consistency of the documents.

[0055] The aforementioned target multimedia file can be in various formats. For example, it can be a presentation file, supporting rich media content including text, images, videos, animations, and transition effects. It can also be a portable document format file, suitable for printing and sharing, preserving the original layout and style of the document, offering good cross-platform compatibility, and suitable for multimedia files requiring a stable format. The target multimedia file can also be a series of images converted from document content, suitable for social media sharing or online display, especially when rapid information dissemination or aesthetic presentation is required. The target multimedia file can also be an online document, such as a document in an online editing platform, which users can view and edit in a web browser, supporting real-time collaboration and facilitating teamwork. It should be noted that this embodiment uses a presentation file as an example for illustration, but does not constitute a specific limitation on the target multimedia file.

[0056] The aforementioned target pages can be several independent pages constructed based on the original data content. These multiple target pages together constitute the final target multimedia file. Each target page can contain different content types and layout designs to adapt to different chapters or parts of the target multimedia file.

[0057] Furthermore, multiple target pages are serialized and assembled based on the template to be used to obtain the assembly result. Serialization assembly is a process of converting complex data structures into a sequence format for the purpose of storing, transmitting, or generating specific rich content document product data.

[0058] For example, in generating rich content document output data, the first step is to map each element in the original data content to the corresponding target page and location according to the specifications of the template to be used, ensuring that the content matches the template structure. Then, specific style attributes are assigned to each content element, such as font, color, size, and position coordinates; these style attributes can come from template settings or user-defined settings. The hierarchical structure of the page content is further constructed, such as titles, subheadings, body text, and footnotes, ensuring the document's logic is clear and its hierarchy is distinct. Different types of content elements, such as text, images, and charts, are combined to form complete page data. Simultaneously, the logical relationships between target pages need to be processed, such as hyperlinks, references, and table of contents links, ensuring the document's navigation and completeness. The processed page data is then converted into a serialized format to obtain the assembled result, facilitating further storage, transmission, or parsing to generate the final target multimedia file.

[0059] The assembly result described above is rich content document product data. Rich content document product data is a specific document data instance generated by combining the original data content with a rich content document template after serialization and assembly. Rich content document product data contains the actual content on multiple target pages, such as text, images, and charts, as well as the precise position, size, style, and other information of each element. It is the direct data source for the final presentation of multi-format documents.

[0060] After obtaining the assembly result, it is rendered according to a preset presentation method to generate the target multimedia file. For example, during the rendering process, the serialized data in the assembly result first needs to be parsed to restore the previously generated rich content document artifacts into specific content elements and layout information, such as text, images, charts, etc., as well as the corresponding size, position, and style. Based on the parsed information, the actual visual representation is generated on the target display platform. Specifically, this may involve rendering text into readable fonts, loading and scaling images to an appropriate size, graphically displaying complex components, and applying style attributes to design elements.

[0061] To adapt to the display characteristics of different platforms or devices, layout adjustments can be made as needed. For example, on web pages, the page layout can be adjusted according to the user's screen size to achieve responsive design; when generating presentation files, the layout of each slide will be ensured to conform to a preset aspect ratio, such as 16:9, or adjusted according to the user's selected aspect ratio. For interactive elements, such as hyperlinks, animations, and transition effects, corresponding interactive logic and event handling can be added, enabling the target multimedia file to have a dynamic interactive experience on the target display platform.

[0062] Once the content and layout of the target multimedia file are rendered correctly, the entire rich content document can be exported to the target file format, such as a presentation file, portable document format, or long text-image file. During the file export process, optimization can be performed, such as compressing images, simplifying text formatting, and optimizing file size to improve loading speed and enhance the user experience on different devices. Furthermore, before exporting, the generated target multimedia file can be quality checked to ensure there are no layout errors, text overflow, or image display issues. If any of these problems are found during the check, the target multimedia file can be automatically corrected or the user can be prompted to make manual adjustments.

[0063] Based on steps S21 to S24 above, by determining the original data content and the template to be used, where the original data content is the outline content corresponding to the target multimedia file to be generated and the template to be used is a blank rich content document template, multiple target pages are constructed based on the original data content. Then, these multiple target pages are serialized and assembled according to the template to be used to obtain the assembly result, which yields the rich content document output data corresponding to the rich content document template. Finally, the assembly result is rendered to generate the target multimedia file. This achieves fast, professional, and multi-format multimedia document generation, significantly improving the user's document generation efficiency and user experience. By clearly defining the outline content and rich content document template corresponding to the target multimedia file, a foundation is laid for subsequent page construction and content assembly. The construction of multiple target pages is based on the outline content, and each target page can carry different types of information or expressions, thus giving the abstract outline content a concrete form and providing flexible components for subsequent layout design. By serializing and assembling multiple target pages according to the template to be used, the individual target pages can be integrated according to the requirements of the rich content document template to form a unified data structure. This ensures the consistency of the visual style and layout of the generated target multimedia files. At the same time, the data-driven assembly method improves the efficiency of subsequent multi-terminal presentation and multi-format export. Finally, the assembly result is rendered to generate target multimedia files that users can view and edit on different platforms, further improving the loading speed and stability of the target multimedia files. Thus, the embodiments of this application achieve the technical effect of improving the generation efficiency and flexibility of intelligent document creation, thereby solving the technical problems of low generation efficiency and poor flexibility in related technologies when creating intelligent documents.

[0064] The data processing methods in the embodiments of this application will be further described below.

[0065] In one optional embodiment, step S21, determining the original data content includes:

[0066] Step S211: Obtain query data, wherein the query data includes: raw material data associated with the target multimedia file.

[0067] Step S212: Process the raw material data using the target language model to obtain the original data content.

[0068] The query data mentioned above includes raw data for managing the target multimedia file. The types of raw data include, but are not limited to: user-input query text, reference materials, template parameters, and output formats. User-input query text can be the user's requested information, such as the topic, key points, or specific chapter titles of the target multimedia file. The query text forms the basis for the target language model's understanding and content generation. Reference materials can be existing documents, charts, datasets, or specific images uploaded by the user to supplement and enrich the generated content. Template parameters can be the document templates and design preferences selected by the user, including but not limited to: color schemes, font styles, and page layouts, directly affecting the appearance and style of the final generated target multimedia file. The output format is the desired format of the target multimedia file. The purpose of obtaining query data is to clarify the specific requirements and context for generating the target multimedia file, providing necessary input information for the next step of target language model processing.

[0069] The aforementioned target language model can be pre-trained and used to process raw data to obtain the original data content. The processing functions of the target language model include, but are not limited to, text generation, content expansion, and structure creation. Specifically, the text generation function can generate relevant main text content based on the user-input query text, such as descriptive paragraphs, conclusions, and suggestions. The content expansion function can add more details and information to the document based on references, making the content richer and more complete. The structure creation function can construct the structure of outline content, such as titles, subheadings, lists, and paragraphs, forming a well-organized outline or chapter.

[0070] Based on the above optional embodiments, by acquiring query data, which includes raw material data associated with the target multimedia file, and then processing the raw material data using the target language model to obtain the original data content, an intelligent conversion from user needs to original data content is achieved, which greatly improves the speed and quality of content creation and lays a solid foundation for the automated assembly of subsequent rich media files.

[0071] In an optional embodiment, step S22, constructing multiple target pages based on the original data content, includes:

[0072] The original data content is parsed using the target language model to obtain the parsing results, and page output data is constructed page by page based on the parsing results to obtain multiple target pages. The parsing results are used to determine the hierarchical structure and logical relationships of the outline content.

[0073] Specifically, in constructing multiple target pages based on raw data content, the first step is to parse the raw data content and understand its structure and hierarchy. For example, for the outline content generated by the target language model, different elements such as titles, subheadings, paragraphs, and lists need to be identified to provide a foundation for subsequent page construction. Based on the structure of the raw data content and the rich content document template selected by the user, the layout of each target page is designed, including but not limited to determining the size, proportions, background, margins, title position, and body text area of ​​the target page, ensuring that the page design conforms to the style and requirements of the template. Further, the various elements in the raw data content are assigned to the corresponding target pages and filled into the preset layout positions. For example, titles can be placed at the top of the page, while body text is placed in the middle area. During the construction process, the content elements need to be intelligently matched and filled with placeholders in the design template. Subsequently, the styles selected by the user or preset by the template are applied, including font, color, font size, line spacing, etc., to ensure visual consistency of each target page. Style application involves adjusting the styles of multimedia elements such as images, icons, and graphics.

[0074] For components requiring additional processing, such as graphics, charts, and flowcharts, corresponding graphics will be generated or transformed into suitable visual representations based on the descriptive information in the original data content, and then added to the target page. When constructing multiple target pages, it is necessary to ensure the correctness of the logical connections between pages, such as the correspondence between the table of contents and chapters, the association between charts and data, and the links between references and the main text, so that users can smoothly navigate and understand the document structure while browsing.

[0075] After constructing multiple target pages, a preview function can be provided, allowing users to check whether the page content and layout of the target page meet expectations, and allowing users to make fine adjustments, such as modifying styles, adjusting content positions, adding or deleting page elements, etc.

[0076] Based on the above optional embodiments, by using the target language model to parse the original data content to obtain the parsing results, and constructing page product data page by page based on the parsing results, multiple target pages are obtained. This greatly improves the efficiency of content understanding and organization, ensures the clarity and rationality of the document structure, reduces manual intervention, accelerates the creation process of rich media files, and provides users with a highly customized and professional document generation experience.

[0077] In an optional embodiment, the data processing method in this application further includes:

[0078] The text array is split into multiple array units, where the text array is used to store text data from multiple target pages in an array format.

[0079] Specifically, the text array is first analyzed in depth to identify natural dividing points, such as headings based on the document outline, blank lines between paragraphs, or logically independent units (e.g., different arguments or topics). Through algorithmic judgment and analysis, the entire text array can be split into several independent text segments. Each independent text segment can be encapsulated in an array unit. The design of the array unit can be customized according to the characteristics of the target page; for example, if the goal is to generate a presentation file, each array unit can represent the text content of one slide.

[0080] The multiple array units created by the above segmentation can be sorted and stored according to their logical position and hierarchical relationship in the document, forming a structured array collection. This storage method facilitates the independent management of content on each page, such as individual editing, style application, or content retrieval. Each array unit can also contain references to other non-text elements (such as images, tables, graphics, etc.), enabling dynamic linking and referencing of content even between different parts of the target multimedia file, enhancing the document's integrity and interactivity.

[0081] Based on the above optional embodiments, by segmenting the text array to obtain multiple array units, the text array is used to store text data in multiple target pages according to the array format. This not only optimizes the efficiency of document processing and editing, but also ensures the clarity of the document structure and the interactivity of the content, providing users with a more convenient, professional and personalized document creation experience.

[0082] In an optional embodiment, in step S23, multiple target pages are serialized and assembled according to the template to be used, and the assembly result includes:

[0083] Step S231: Match the page container type of multiple array units according to the template to be used, and obtain the matching result.

[0084] Step S232: Perform initial data filling on the matching results to obtain the initial filling result.

[0085] Step S233: Call the model plugin service to perform secondary data filling on the initial filling result to obtain the target filling result.

[0086] Step S234: Serialize and assemble the target filling result to obtain the assembly result.

[0087] Specifically, the multiple array units obtained from the template to be used are matched to determine which type of page container each array unit should be placed in, thus obtaining the matching results. For example, the title array unit can be matched with the title page container, while the body text array unit is matched with the content page container. This ensures a perfect integration of the document content and the template design, allowing the text data to be laid out according to the template's preset structure and style, further improving the document's visual appeal and professionalism.

[0088] After type matching is completed, the matching results are initially populated into the corresponding page container to generate the initial page layout and obtain the initial population result. This involves basic text typography, such as font, font size, color, and position. The initial data population lays the foundation for subsequent in-depth processing, transforming abstract text data into page elements with preliminary visual representation, facilitating further beautification and adjustments.

[0089] The model plugin service is then invoked to perform secondary data filling on the initial filling result to obtain the target filling result. This usually includes in-depth processing of the content, such as adding rich media elements like images, charts, and graphics, or adjusting the format of the text to increase the richness of the page and the effectiveness of information delivery.

[0090] The target filling results after secondary filling are serialized and assembled to form a complete document output data structure. Specifically, this involves sorting, linking, and formatting the page data to adapt to the needs of different output formats.

[0091] Based on the above optional embodiments, multiple array units are matched with page container types according to the template to be used to obtain matching results. Then, the matching results are initially filled with data to obtain initial filling results. Subsequently, the model plugin service is called to fill the initial filling results with data a second time to obtain target filling results. Finally, the target filling results are serialized and assembled to obtain assembled results. This not only improves the automation level of document generation and reduces manual intervention, but also ensures high-quality document output and meets the diverse needs of users in different scenarios.

[0092] In an optional embodiment, in step S231, page container type matching is performed on multiple array units according to the template to be used, and the matching results include:

[0093] Based on the template to be used, multiple array cells are matched for page container type. The first part of the array cells that meet the first matching condition and the second part of the array cells that meet the second matching condition are determined to obtain the matching result. The first matching condition is used to determine that the first part of the array cells are filled with data according to the default settings of the template to be used, and the second matching condition is used to determine that the second part of the array cells are filled with data according to the raw material data associated with the template to be used.

[0094] Specifically, the content characteristics of each array cell are analyzed, such as text length, whether it contains a heading, and whether it requires special layout. Based on the preset rules in the template to be used, the array cells are classified into the first matching condition and the second matching condition. The first matching condition usually involves the default layout and style of the template to be used and is suitable for text content that is directly filled in; the second matching condition can call specific data or services and is suitable for content that requires additional processing, such as paragraphs or data tables with special layout requirements.

[0095] By directly applying the default settings of the template to be used, the first part of the array cells can be quickly and accurately filled into the corresponding page container, maintaining the unified style and design aesthetics of the document, simplifying the document generation process, reducing processing time, and ensuring the visual consistency of the document.

[0096] For the second part of the array cells, predefined raw material data or model plugin services can be invoked to populate them. For example, if the array cells contain statistical information, a chart generation plugin can be invoked to visualize the data; if they contain cited references, a formatting service can be invoked to ensure the correctness and consistency of the citations. This improves the richness of the document content and the effectiveness of information delivery, while also enhancing the document's practicality and professionalism.

[0097] The matching results will clearly identify which array units should be processed according to the first matching condition and which should be processed according to the second matching condition. Based on the matching results, the default settings of the template can be applied to the first part of the array units, and specific raw material data filling services can be called for the second part of the array units, ultimately generating a document product that both follows the template design and incorporates additional functions and data.

[0098] Based on the above optional embodiments, by matching the page container type of multiple array units according to the template to be used, the first part of the array units that meet the first matching condition and the second part of the array units that meet the second matching condition are determined respectively, and the matching results are obtained. This not only improves the efficiency and quality of document generation, but also enables the final document product to better meet the user's needs in terms of content richness, clarity of information expression, and visual aesthetics. At the same time, the flexible application of templates and raw material data also enhances the scalability and personalization capabilities of the document.

[0099] In one optional embodiment, the first array unit satisfying the first matching condition includes: a cover array unit, a table of contents array unit, and a pagination array unit; the second array unit satisfying the second matching condition includes: a content array unit.

[0100] The aforementioned cover array cells typically contain key metadata such as document title, subtitle, author information, and date, and can be directly filled according to the template's preset style. The cover design often reflects the style and theme of the entire document, therefore its layout and style selection are crucial.

[0101] The above table of contents array is used to generate a document's table of contents or outline. It automatically recognizes the document's chapters and hierarchical structure, and then formats it according to the template's table of contents style. The clarity and accuracy of the table of contents help readers quickly locate and understand the document's content.

[0102] The aforementioned pagination array units ensure the reasonable distribution of document content across different pages. Content can be automatically allocated to different page containers based on factors such as text length and image size to avoid pages being too crowded or too empty, maintaining visual balance and appropriate information density on each page.

[0103] The aforementioned content array units carry the main information of the document, involving various data types such as plain text, lists, tables, images, and graphs. Depending on the nature of the content, relevant raw data population services or target language models are invoked for deep processing to generate appropriate visual representations. For example, text content can be directly populated, while statistical data can be transformed into charts or graphs.

[0104] Based on the above optional embodiments, by subdividing the array unit into a first part of the array unit and a second part of the array unit that meet different matching conditions, it is possible to generate rich media documents that are both beautiful and practical in an efficient and accurate manner, effectively simplifying the user's operation process and improving the efficiency of document generation.

[0105] In an optional embodiment, in step S232, the matching results are initially filled with data to obtain the initial filling result, which includes:

[0106] The first array cells are filled with data according to the default settings, and the second array cells are filled with data according to the raw material data to obtain the initial filling result.

[0107] Specifically, for the first set of array units that meet the first matching condition, such as the cover array unit, table of contents array unit, and pagination array unit, data can be populated according to the default settings of the template to be used. Specifically, firstly, relevant metadata such as document title, subtitle, author, and date can be automatically or manually obtained. Then, based on the template's preset layout, such as title font, size, and color, as well as page background, the aforementioned metadata is formatted. Finally, the formatted metadata is accurately populated into the corresponding page containers, and their positions are adjusted to ensure a beautiful and reasonable layout.

[0108] For the second set of array units that meet the second matching condition, such as content array units, they need to be populated based on more detailed content requirements and the raw material data associated with the template. Specifically, the text data is first analyzed to identify special information or requirements, such as statistics, lists, and citations. Based on the analysis results, the corresponding raw material data or AI services are called to convert the plain text into charts, graphs, formatted lists, etc. The converted rich media content is then populated into the page container, and further visual optimizations are performed, such as color matching, size adjustments, and minor adjustments to position.

[0109] Based on the above optional embodiments, by filling the first part of the array cells with data according to the default settings and filling the second part of the array cells with data according to the raw material data, the initial filling result is obtained. This realizes the automation and intelligence of document production, greatly improves the quality and efficiency of document generation, and also provides a solid foundation for subsequent in-depth editing and multi-terminal presentation.

[0110] In one optional embodiment, filling the second part of the array cells with data according to the raw material data includes:

[0111] Get the total number of content array cells and the number of consecutive content array cells associated with the pagination array cells;

[0112] Based on the total number of content array units and the number of consecutive content array units, determine the content components to be presented corresponding to the second part of the array units;

[0113] The data is populated into the components to be presented based on the raw material data.

[0114] Specifically, the process begins by counting the total number of all content array units in the document. Then, it analyzes the number of consecutive content array units adjacent to each pagination array unit to determine the specific content scope of each chapter or section. Based on the number of content array units and their distribution within the document, it intelligently identifies and determines which content needs to be presented in specific component formats, such as lists, tables, etc., to enhance information delivery and document readability. The identified content components to be presented are then matched with the raw data, and this raw data is automatically populated into the corresponding components, creating a visually appealing and professional content display.

[0115] Based on the above optional embodiments, by obtaining the total number of content array units and the number of consecutive content array units associated with the pagination array units, and then determining the content components to be presented corresponding to the second part of the array units based on the total number of content array units and the number of consecutive content array units, and finally filling the content components to be presented with data according to the raw material data, this not only improves the automation and efficiency of document generation, but also ensures a clear content organization structure, intuitive expression, and the professionalism and aesthetics of the final document. Through intelligent filling of raw material data, the document creation process becomes more convenient, while also enhancing the communication effect of the content, meeting users' needs for efficient and professional document creation.

[0116] In one optional embodiment, the data processing method in this application further includes at least one of the following:

[0117] Generate a template identifier corresponding to the template to be used, wherein the template identifier is used to determine the actual number of times the template to be used is used;

[0118] Generate page identifiers for multiple target pages, whereby the page identifiers are used to distinguish different target pages;

[0119] Generate a file identifier corresponding to the target multimedia file, whereby the file identifier is used to index the target multimedia file.

[0120] Specifically, each time a user selects and uses a particular template, a unique template identifier is generated. The template contains key data such as the template ID, version information, and usage timestamp. The generation and management of template identifiers helps track and analyze the usage frequency and popularity trends of each template, providing data support for the optimization and updating of the template library. Simultaneously, template identifiers also help the system identify the types of templates users prefer, providing a basis for personalized recommendations.

[0121] For each target page generated, a page identifier can be created, typically including the page number, the template identifier, and the page type (such as cover, body, figure page, etc.). The use of page identifiers facilitates precise page positioning and management in multi-page documents, especially when performing cross-page editing or indexing. Page identifiers also support independent operations and management of pages, such as individual editing, copying, or deleting pages, improving the flexibility and efficiency of document editing.

[0122] Once the entire target multimedia file is generated, a file identifier can be created to uniquely identify the generated target multimedia file. The file identifier can include a set of information such as the filename, creation time, template identifier, and page identifier. The generation of file identifiers makes the management and retrieval of multimedia files more efficient, especially when dealing with large numbers of documents or file version control. File identifiers also provide a foundation for subsequent file sharing, exporting, and indexing, ensuring the traceability and manageability of files.

[0123] The data processing method in the embodiments of this application will be further described below with reference to the accompanying drawings.

[0124] Figure 3 This is a schematic diagram of a data processing method according to an embodiment of this application, such as... Figure 3 As shown, the process retrieves query data, which includes raw material data associated with the target multimedia file. This raw material data is then processed using a target language model to obtain the original data content. The document task workflow includes presentation creation, document task annotation generation, and raw data content preparation. The presentation creation section involves generating a presentation about keyword A, supporting long text generation and long text input. The document task annotation generation process includes intelligent editing and one-click generation.

[0125] Figure 4 This is a schematic diagram of another data processing method according to an embodiment of this application, such as... Figure 4 As shown, the original data content is parsed using a target language model to obtain parsing results, and page output data is constructed page by page based on the parsing results, resulting in multiple target pages. The parsing results are used to determine the hierarchical structure and logical relationships of the outline content. The data request module polls the main model service to obtain result data. The main model service then sends the results back to the original data content. The original data content determines its next operation based on the status of the slide data parsing and processing: if not completed, it continues polling; if completed, it begins constructing the output data for that single page. The entire process forms a loop, ensuring the continuity and integrity of data processing.

[0126] Figure 5 This is a schematic diagram of another data processing method according to an embodiment of this application, such as... Figure 5 As shown, the text array is segmented into multiple array units. These text arrays are used to store text data from multiple target pages according to an array format. Based on the template to be used, the multiple array units are matched for page container type to obtain the matching results. The matching results are then initially populated with data to obtain the initial populated result. Subsequently, the model plugin service is called to perform a second data population on the initial populated result to obtain the target populated result. Finally, the target populated result is serialized and assembled to obtain the assembled result. Figure 5 The complex content generation system workflow shown involves the serialized assembly of multi-round output data. First, the large model results generate slides and assemble the content, determining the slide style. Next, content data assembly, including basic, list, and extended elements, is processed through a big data plugin service. Subsequently, a rich content document model integrates all data, supporting various combinations and blends. The entire process involves multiple rounds of data processing and content generation, ultimately forming complete document content.

[0127] Figure 6 This is a schematic diagram of another data processing method according to an embodiment of this application, such as... Figure 6 As shown, a virtual list is used to load presentation pages to be displayed synchronously on the same interface, and then the presentation pages to be displayed synchronously are edited in a unified manner to obtain the edited presentation.

[0128] Figure 7 This is a flowchart of another data processing method according to an embodiment of this application, such as... Figure 7 As shown, the method may include the following steps:

[0129] Step S71: Determine the presentation data content and presentation template, wherein the presentation data content is the outline content corresponding to the target presentation to be generated, and the presentation template is a blank rich content presentation template.

[0130] Step S72: Construct multiple presentation pages based on the presentation data content;

[0131] Step S73: Serialize and assemble multiple presentation pages according to the presentation template to obtain the assembly result, wherein the assembly result is the rich content presentation product data corresponding to the rich content presentation template.

[0132] Step S74: Render the assembly result according to the web page presentation method to generate the target presentation document.

[0133] Based on steps S71 to S74 above, by determining the presentation data content and presentation template, where the presentation data content is the outline content corresponding to the target presentation to be generated, and the presentation template is a blank rich-content presentation template, multiple presentation pages are constructed based on the presentation data content. Then, these multiple presentation pages are serialized and assembled according to the presentation template to obtain the assembly result. Finally, the assembly result is rendered according to the web page presentation method to generate the target presentation. This achieves fast, professional, and multi-format multimedia document generation, significantly improving the user's document generation efficiency and user experience. By clearly defining the outline content and rich-content document template corresponding to the target presentation, a foundation is laid for subsequent page construction and content assembly. The construction of multiple target pages is based on the outline content, and each target page can carry different types of information or expression methods, thus giving the abstract outline content a concrete representation and providing flexible components for subsequent layout design. By serializing and assembling multiple target pages according to the template to be used, the individual target pages can be integrated according to the requirements of the rich content document template to form a unified data structure. This ensures the consistency of the visual style and layout of the generated target presentation. At the same time, the data-driven assembly method improves the efficiency of subsequent multi-terminal presentation and multi-format export. Finally, the assembly result is rendered to generate a target presentation that users can view and edit on different platforms, further improving the loading speed and stability of the target presentation. Thus, the embodiments of this application achieve the technical effect of improving the generation efficiency and flexibility of intelligent document creation, thereby solving the technical problems of low generation efficiency and poor flexibility in related technologies when creating intelligent documents.

[0134] In an optional embodiment, the data processing method in this application further includes:

[0135] Using a virtual list, presentation pages to be displayed synchronously are loaded into the same interface; these presentation pages are then edited uniformly to obtain the edited presentation.

[0136] Virtual lists are a web front-end technology that allows an interface to load only currently visible pages or elements into memory, while keeping pages or elements not in the viewport "virtual" until the user scrolls or navigates to them. In presentation file generation, virtual lists are used to load presentation pages, ensuring that only the currently visible set of pages is displayed in the user interface, while other pages in the entire presentation remain "virtual," thus significantly improving page loading speed and interface responsiveness.

[0137] The multi-page synchronized editing feature is based on virtual list technology, allowing users to edit multi-page presentations without leaving the current interface. By treating the currently visible set of pages as an editing unit, users can perform operations such as text input, image insertion, and graphic component adjustment on these pages, and the system automatically synchronizes the editing results to all relevant pages. Furthermore, when the user scrolls to a new set of pages, these new pages are instantly loaded and ready for editing.

[0138] Based on the above optional embodiments, a virtual list is used to load presentation pages to be displayed synchronously on the same interface, and then the presentation pages to be displayed synchronously are edited in a unified manner to obtain the edited presentation. Users can preview and edit multiple pages at the same time in a smooth interface, which significantly improves the efficiency of content production and design adjustment.

[0139] Figure 8 This is a flowchart of another data processing method according to an embodiment of this application, such as... Figure 8 As shown, the method may include the following steps:

[0140] Step S81: Obtain a data processing request through the first application programming interface. The request data carried in the data processing request includes: original data content and template to be used. The original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template.

[0141] Step S82: A data processing response is returned through the second application programming interface, wherein the response data carried in the data processing response includes: a target multimedia file, which is generated according to any one of the data processing methods in the embodiments of this application.

[0142] Based on steps S81 to S82 above, a data processing request is obtained through the first application programming interface (API). The request data includes: original data content and a template to be used. The original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template. Then, a data processing response is returned through the second API, carrying the target multimedia file. During the generation of the target multimedia file, by clearly defining the outline content and rich content document template corresponding to the target multimedia file, a foundation is laid for subsequent page construction and content assembly. The construction of multiple target pages is based on the outline content. Each target page can carry different types of information or expressions, thus giving the abstract outline content a concrete form and providing flexible components for subsequent layout design. Serializing and assembling multiple target pages according to the template to be used integrates the independent target pages according to the requirements of the rich content document template, forming a unified data structure. This ensures the uniformity of the generated target multimedia file in terms of visual style and layout. Simultaneously, the data-driven assembly method improves the efficiency of subsequent multi-terminal presentation and multi-format export. Finally, the assembly result is rendered to generate a target multimedia file that can be viewed and edited by users on different platforms, further improving the loading speed and stability of the target multimedia file. Thus, the embodiments of this application achieve the technical effect of improving the generation efficiency and flexibility of intelligent document creation, thereby solving the technical problems of low generation efficiency and poor flexibility in related technologies when creating intelligent documents.

[0143] Figure 9 This is a flowchart of another data processing method according to an embodiment of this application, such as... Figure 9 As shown, the method may include the following steps:

[0144] Step S91: Obtain the currently input data processing dialogue request. The request data carried in the data processing dialogue request includes: original data content and template to be used. The original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template.

[0145] Step S92: In response to the data processing dialogue request, a data processing dialogue response is returned, wherein the information carried in the data processing dialogue response includes: the target multimedia file, which is generated according to any one of the data processing methods in the embodiments of this application;

[0146] Step S93: Display the target multimedia file within the graphical user interface.

[0147] Based on steps S91 to S93 above, the system obtains the currently input data processing dialog request. The data processing dialog request carries the following request data: original data content and a template to be used. The original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template. In response to the data processing dialog request, a data processing dialog reply is returned. The data processing dialog reply carries the following information: the target multimedia file. Finally, the target multimedia file is displayed in the graphical user interface. During the generation of the target multimedia file, by clearly defining the outline content and rich content document template corresponding to the target multimedia file, the foundation for subsequent page construction and content assembly is laid. The construction of multiple target pages is based on the outline content. Each target page can carry different types of information or expressions, thus giving the abstract outline content a concrete representation and providing flexible components for subsequent layout design. By serializing and assembling multiple target pages according to the template to be used, the individual target pages can be integrated according to the requirements of the rich content document template to form a unified data structure. This ensures the consistency of the visual style and layout of the generated target multimedia files. At the same time, the data-driven assembly method improves the efficiency of subsequent multi-terminal presentation and multi-format export. Finally, the assembly result is rendered to generate target multimedia files that users can view and edit on different platforms, further improving the loading speed and stability of the target multimedia files. Thus, the embodiments of this application achieve the technical effect of improving the generation efficiency and flexibility of intelligent document creation, thereby solving the technical problems of low generation efficiency and poor flexibility in related technologies when creating intelligent documents.

[0148] Figure 10 This is a flowchart of another data processing method according to an embodiment of this application, such as... Figure 10 As shown, the method may include the following steps:

[0149] Step S101: In response to the input command applied to the operation interface, display the original data content and the template to be used on the operation interface;

[0150] Step S102: In response to the processing command applied to the operation interface, the target multimedia file is displayed on the operation interface; wherein, the original data content is the outline content corresponding to the target multimedia file to be generated, the template to be used is a blank rich content document template, and the target multimedia file is generated according to any one of the data processing methods in the embodiments of this application.

[0151] Based on steps S101 to S102 above, by responding to input commands applied to the operation interface, the original data content and the template to be used are displayed on the operation interface. Then, by responding to processing commands applied to the operation interface, the target multimedia file is displayed on the operation interface. The original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template. In the process of generating the target multimedia file, by clearly defining the outline content and rich content document template corresponding to the target multimedia file, a foundation is laid for subsequent page construction and content assembly. The construction of multiple target pages is based on the outline content. Each target page can carry different types of information or expressions, thus giving the abstract outline content a concrete form and providing flexible components for subsequent layout design. Serializing and assembling multiple target pages according to the template to be used integrates the independent target pages according to the requirements of the rich content document template, forming a unified data structure. This ensures the uniformity of the generated target multimedia file in terms of visual style and layout. At the same time, the data-driven assembly method improves the efficiency of subsequent multi-terminal presentation and multi-format export. Finally, the assembly result is rendered to generate a target multimedia file that can be viewed and edited by users on different platforms, further improving the loading speed and stability of the target multimedia file. Thus, the embodiments of this application achieve the technical effect of improving the generation efficiency and flexibility of intelligent document creation, thereby solving the technical problems of low generation efficiency and poor flexibility in related technologies when creating intelligent documents.

[0152] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0153] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0154] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0155] According to an embodiment of this application, a data processing apparatus for implementing the above-described data processing method is also provided. Figure 11 This is a structural block diagram of a data processing apparatus according to an embodiment of this application, such as... Figure 11 As shown, the device includes:

[0156] The determination module 1101 is used to determine the original data content and the template to be used, wherein the original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template.

[0157] Construction module 1102 is used to construct multiple target pages based on the original data content;

[0158] Assembly module 1103 is used to serialize and assemble multiple target pages according to the template to be used, and obtain the assembly result, wherein the assembly result is the rich content document product data corresponding to the rich content document template.

[0159] Rendering module 1104 is used to render the assembly results and generate the target multimedia file.

[0160] Optionally, the determining module 1101 is further configured to: acquire query data, wherein the query data includes: raw material data associated with the target multimedia file; and process the raw material data using the target language model to obtain the original data content.

[0161] Optionally, the construction module 1102 is further configured to: parse the original data content using the target language model to obtain the parsing result, and construct page product data page by page based on the parsing result to obtain multiple target pages, wherein the parsing result is used to determine the hierarchical structure and logical relationship of the outline content.

[0162] Optionally, the data processing device further includes a segmentation module 1105, used to segment the text array to obtain multiple array units, wherein the text array is used to store text data in multiple target pages in an array format.

[0163] Optionally, the assembly module 1103 is further configured to: perform page container type matching on multiple array units according to the template to be used, and obtain matching results; perform initial data filling on the matching results to obtain initial filling results; call the model plugin service to perform secondary data filling on the initial filling results to obtain target filling results; and perform serialization assembly on the target filling results to obtain assembly results.

[0164] Optionally, the assembly module 1103 is further configured to: perform page container type matching on multiple array units according to the template to be used, determine the first part of the array units that meet the first matching condition and the second part of the array units that meet the second matching condition, and obtain the matching result, wherein the first matching condition is used to determine that the first part of the array units are filled with data according to the default settings of the template to be used, and the second matching condition is used to determine that the second part of the array units are filled with data according to the raw material data associated with the template to be used.

[0165] Optionally, the first array units that satisfy the first matching condition include: cover array units, table of contents array units, and pagination array units; the second array units that satisfy the second matching condition include: content array units.

[0166] Optionally, the assembly module 1103 is also used to: fill the first part of the array cells with data according to the default settings, and fill the second part of the array cells with data according to the raw material data, to obtain the initial filling result.

[0167] Optionally, the assembly module 1103 is further configured to: obtain the total number of content array units and the number of consecutive content array units associated with the pagination array units; determine the content component to be presented corresponding to the second part of the array units based on the total number of content array units and the number of consecutive content array units; and fill the content component to be presented with data according to the raw material data.

[0168] Optionally, the data processing apparatus further includes: a generation module 1106, configured to: generate a template identifier corresponding to a template to be used, wherein the template identifier is used to determine the actual number of times the template to be used is used; generate page identifiers corresponding to multiple target pages, wherein the page identifiers are used to distinguish different target pages; and generate a file identifier corresponding to a target multimedia file, wherein the file identifiers are used to index the target multimedia file.

[0169] It should be noted that the aforementioned determining module 1101, construction module 1102, assembly module 1103, and rendering module 1104 correspond to steps S21 to S24 in the above embodiments. The four modules and their corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in the above embodiments. It should also be noted that the aforementioned modules or units can be hardware or software components stored in memory and processed by one or more processors. These modules can also run as part of a device in the server provided in the above embodiments.

[0170] Figure 12 This is a structural block diagram of another data processing apparatus according to an embodiment of this application, such as... Figure 12 As shown, the device includes:

[0171] The module 1201 is used to determine the presentation data content and the presentation template. The presentation data content is the outline content corresponding to the target presentation to be generated, and the presentation template is a blank rich content presentation template.

[0172] Module 1202 is used to construct multiple presentation pages based on presentation data content;

[0173] Assembly module 1203 is used to serialize and assemble multiple presentation pages according to the presentation template to obtain the assembly result, wherein the assembly result is the rich content presentation product data corresponding to the rich content presentation template.

[0174] Rendering module 1204 is used to render the assembly results according to the web page presentation method and generate the target presentation.

[0175] Optionally, the data processing device further includes: a loading module 1205, used to load presentation pages to be displayed synchronously in the same interface through a virtual list; and an editing module 1206, used to uniformly edit the presentation pages to be displayed synchronously to obtain an edited presentation.

[0176] It should be noted that the aforementioned determining module 1201, construction module 1202, assembly module 1203, and rendering module 1204 correspond to steps S71 to S74 in the above embodiments. The four modules and their corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in the above embodiments. It should also be noted that the aforementioned modules or units can be hardware or software components stored in memory and processed by one or more processors. These modules can also run as part of a device in the server provided in the above embodiments.

[0177] Figure 13This is a structural block diagram of another data processing apparatus according to an embodiment of this application, such as... Figure 13 As shown, the device includes:

[0178] The acquisition module 1301 is used to acquire a data processing request through the first application programming interface. The data processing request carries the following request data: original data content and template to be used. The original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template.

[0179] The return module 1302 is used to return a data processing response through a second application programming interface, wherein the response data carried in the data processing response includes: a target multimedia file, which is generated according to any one of the data processing methods in the embodiments of this application.

[0180] It should be noted that the acquisition module 1301 and return module 1302 correspond to steps S81 to S82 in the above embodiments. The two modules and their corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules or units can be hardware or software components stored in memory and processed by one or more processors. The above modules can also be part of a device and run in the server provided in the above embodiments.

[0181] Figure 14 This is a structural block diagram of another data processing apparatus according to an embodiment of this application, such as... Figure 14 As shown, the device includes:

[0182] The acquisition module 1401 is used to acquire the currently input data processing dialogue request. The request data carried in the data processing dialogue request includes: original data content and template to be used. The original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template.

[0183] Return module 1402 is used to respond to a data processing dialogue request and return a data processing dialogue response, wherein the information carried in the data processing dialogue response includes: a target multimedia file, which is generated according to any one of the data processing methods in the embodiments of this application;

[0184] Display module 1403 is used to display target multimedia files within a graphical user interface.

[0185] It should be noted that the acquisition module 1401, return module 1402, and display module 1403 correspond to steps S91 to S93 in the above embodiments. The three modules and their corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules or units can be hardware or software components stored in memory and processed by one or more processors. The above modules can also run as part of the device in the server provided in the above embodiments.

[0186] Figure 15 This is a structural block diagram of another data processing apparatus according to an embodiment of this application, such as... Figure 15 As shown, the device includes:

[0187] The first display module 1501 is used to respond to input commands applied to the operation interface and display the original data content and the template to be used on the operation interface.

[0188] The second display module 1502 is used to respond to processing instructions applied to the operation interface and display the target multimedia file on the operation interface.

[0189] The original data content is the outline content corresponding to the target multimedia file to be generated, the template to be used is a blank rich content document template, and the target multimedia file is generated according to any one of the data processing methods in the embodiments of this application.

[0190] It should be noted that the first display module 1501 and the second display module 1502 mentioned above correspond to steps S101 to S102 in the above embodiments. The two modules and the corresponding steps implement the same instances and application scenarios, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules or units can be hardware components or software components stored in memory and processed by one or more processors. The above modules can also be part of a device and run in the server provided in the above embodiments.

[0191] It should be noted that the preferred embodiments involved in the above embodiments of this application are the same as the solutions, application scenarios and implementation processes provided in the above embodiments, but are not limited to the solutions provided in the above embodiments.

[0192] Embodiments of this application can provide a data processing system, including: a client, configured to send raw data content and a template to be used, wherein the raw data content is the outline content corresponding to a target multimedia file to be generated, and the template to be used is a blank rich content document template; a server, connected to the client, configured to construct multiple target pages based on the raw data content, serialize and assemble the multiple target pages according to the template to be used to obtain an assembly result, and render the assembly result to generate a target multimedia file, wherein the assembly result is rich content document output data corresponding to the rich content document template; the client is also configured to output the target multimedia file.

[0193] Embodiments of this application may provide a computing device. Figure 16 This is a structural block diagram of a computing device according to an embodiment of this application. Figure 16 As shown, the computing device 160 may include one or more (only one is shown in the figure) processors 162, memory 164, memory controller, and peripheral interfaces.

[0194] The aforementioned computing device can be understood as an integrated smart terminal, including but not limited to servers, desktop computers, PCs (Personal Computers), all-in-one model machines, etc., and the computing device may have the model described in the above embodiments of this application pre-installed.

[0195] Specifically, this computing device can pre-install various types of models, including but not limited to models in natural language processing, visual processing, speech processing, code processing, and multimodal task processing, thus providing diverse model selection. In different product forms, this computing device can support one or more model usage methods, including but not limited to model training, model invocation, model fine-tuning, model deployment, model inference, and application. In some product forms, this computing device also supports model management, including but not limited to multi-type model management (supporting the management of discriminative, generative, and other model types), model version control (supporting the control of different model versions), and model evaluation (evaluating model performance and effectiveness based on model evaluation tools). In other product forms, this computing device can also create applications based on models, providing API calling capabilities, allowing models to be called into created applications through API interfaces, and providing application management tools for application management and monitoring.

[0196] Furthermore, the computing device may also include data management (supporting the creation and management of model tuning datasets), a training center (providing abundant training resources to help users learn and master AI technology), and basic control capabilities (providing enterprise-level basic control capabilities to ensure the security and efficient operation of the system). Through the above functions, it provides a comprehensive and integrated device for AI development, training, deployment, and application.

[0197] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatus in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the methods in the above embodiments. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0198] The processor can invoke an executable program stored in memory via a transmission device to execute the method described in any of the above embodiments.

[0199] Embodiments of this application may provide an electronic device. Figure 17 This is a structural block diagram of an electronic device according to an embodiment of this application. Figure 17 As shown, the electronic device may include: an input / output device 172; a memory 174; and a processor 176, wherein the processor 176 is connected to the input / output device 172 and the memory 174 via a bus 178.

[0200] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatus in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the methods in the above embodiments. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0201] The processor can invoke an executable program stored in memory via a transmission device to execute the method described in any of the above embodiments.

[0202] It will be understood by those skilled in the art that the structure shown in the figure is merely illustrative, and the computing device may also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile internet device (MID), a PAD, or other terminal device. This figure does not limit the structure of the aforementioned computing device. For example, the computing device may include more or fewer components (such as network interfaces, display devices, etc.) than shown in the figure, or may have a different configuration than that shown in the figure.

[0203] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0204] Embodiments of this application also provide a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium can be used to store program code executed by the method provided in the above embodiments.

[0205] Optionally, in this embodiment, the storage medium may be located in a computing device.

[0206] Optionally, in this embodiment, the computer-readable storage medium is configured to store an executable program, which, when the executable program is running, controls the device where the computer-readable storage medium is located to execute the method described in any of the above embodiments.

[0207] Embodiments of this application also provide a computer program product. Optionally, in this embodiment, the computer program product may include a computer program that, when executed by a processor, implements the methods provided in the embodiments described above.

[0208] Embodiments of this application also provide a computer program product. Optionally, the computer program product may include a non-volatile computer-readable storage medium, which can be used to store a computer program that, when executed by a processor, implements the method provided in the above embodiments.

[0209] Embodiments of this application also provide a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, it implements the method provided in the above embodiments.

[0210] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0211] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

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

[0213] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0214] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0215] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A data processing method, characterized in that, include: Determine the original data content and the template to be used, wherein the original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template; Multiple target pages are constructed based on the original data content; The multiple target pages are serialized and assembled according to the template to be used to obtain an assembly result, wherein the assembly result is the rich content document product data corresponding to the rich content document template; The assembly result is rendered to generate the target multimedia file.

2. The data processing method according to claim 1, characterized in that, Determining the content of the original data includes: Obtain query data, wherein the query data includes: raw material data associated with the target multimedia file; The raw material data is processed using a target language model to obtain the original data content.

3. The data processing method according to claim 1, characterized in that, Constructing the multiple target pages based on the original data content includes: The original data content is parsed using a target language model to obtain parsing results, and page output data is constructed page by page based on the parsing results to obtain the multiple target pages. The parsing results are used to determine the hierarchical structure and logical relationships of the outline content.

4. The data processing method according to claim 1, characterized in that, The data processing method further includes: The text array is divided into multiple array units, wherein the text array is used to store the text data in the multiple target pages in an array format.

5. The data processing method according to claim 4, characterized in that, The multiple target pages are serialized and assembled according to the template to be used, and the assembly result includes: Based on the template to be used, the page container type of the multiple array units is matched to obtain the matching result; The matching results are initially filled with data to obtain the initial filling result; The model plugin service is invoked to perform secondary data filling on the initial filling result to obtain the target filling result; The target filling result is serialized and assembled to obtain the assembly result.

6. The data processing method according to claim 5, characterized in that, Based on the template to be used, the page container type of the plurality of array units is matched to obtain the matching results, including: Based on the template to be used, the page container type of the plurality of array units is matched, and the first part of the array units that meet the first matching condition and the second part of the array units that meet the second matching condition are determined respectively, and the matching result is obtained. The first matching condition is used to determine that the first part of the array units is filled with data according to the default settings of the template to be used, and the second matching condition is used to determine that the second part of the array units is filled with data according to the raw material data associated with the template to be used.

7. The data processing method according to claim 6, characterized in that, The first array units that satisfy the first matching condition include: cover array units, table of contents array units, and pagination array units; the second array units that satisfy the second matching condition include: content array units.

8. The data processing method according to claim 7, characterized in that, The initial data filling of the matching results yields the following initial filling results: The first part of the array cells is filled with data according to the default settings, and the second part of the array cells is filled with data according to the raw material data to obtain the initial filling result.

9. The data processing method according to claim 8, characterized in that, Filling the second part of the array cells with data according to the raw material data includes: Get the total number of content array cells and the number of consecutive content array cells associated with the pagination array cell; Based on the total number of content array units and the number of consecutive content array units, determine the content component to be presented corresponding to the second part of the array units; The data of the content component to be presented is populated according to the raw material data.

10. The data processing method according to any one of claims 1 to 9, characterized in that, The data processing method further includes at least one of the following: Generate a template identifier corresponding to the template to be used, wherein the template identifier is used to determine the actual number of times the template to be used is used; Generate page identifiers corresponding to the plurality of target pages, wherein the page identifiers are used to distinguish different target pages; Generate a file identifier corresponding to the target multimedia file, wherein the file identifier is used to index the target multimedia file.

11. A data processing method, characterized in that, include: Determine the presentation data content and presentation template, wherein the presentation data content is the outline content corresponding to the target presentation to be generated, and the presentation template is a blank rich content presentation template; Multiple presentation pages are constructed based on the presentation data content; The multiple presentation pages are serialized and assembled according to the presentation template to obtain an assembly result, wherein the assembly result is the rich content presentation product data corresponding to the rich content presentation template; The assembly result is rendered according to the web page presentation method to generate the target presentation document.

12. The data processing method according to claim 11, characterized in that, The data processing method further includes: A virtual list is used to load presentation pages to be displayed synchronously on the same interface; The presentation pages to be displayed synchronously are edited to obtain the edited presentation.

13. A data processing method, characterized in that, include: A data processing request is obtained through a first application programming interface, wherein the request data carried in the data processing request includes: original data content and a template to be used, wherein the original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template. A data processing response is returned through a second application programming interface, wherein the response data carried in the data processing response includes: a target multimedia file, which is generated according to the data processing method of any one of claims 1 to 10.

14. A data processing method, characterized in that, include: Obtain the currently input data processing dialogue request, wherein the request data carried in the data processing dialogue request includes: original data content and template to be used, wherein the original data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template; In response to the data processing dialogue request, a data processing dialogue response is returned, wherein the information carried in the data processing dialogue response includes: a target multimedia file, the target multimedia file being generated according to the data processing method of any one of claims 1 to 10; The target multimedia file is displayed within a graphical user interface.

15. A data processing method, characterized in that, include: In response to input commands applied to the user interface, the original data content and the template to be used are displayed on the user interface. In response to processing instructions applied to the operation interface, the target multimedia file is displayed on the operation interface; Wherein, the original data content is the outline content corresponding to the target multimedia file to be generated, the template to be used is a blank rich content document template, and the target multimedia file is generated according to the data processing method described in any one of claims 1 to 10.

16. A data processing system, characterized in that, include: The client is used to send raw data content and a template to be used, wherein the raw data content is the outline content corresponding to the target multimedia file to be generated, and the template to be used is a blank rich content document template; The server, connected to the client, is configured to construct multiple target pages based on the original data content, serialize and assemble the multiple target pages according to the template to be used to obtain an assembly result, and render the assembly result to generate the target multimedia file, wherein the assembly result is the rich content document product data corresponding to the rich content document template. The client is also used to output the target multimedia file.

17. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, performs the data processing method according to any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the computer-readable storage medium is located to perform the data processing method according to any one of claims 1 to 15.

19. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the data processing method according to any one of claims 1 to 15.