A method, apparatus and device for generating a presentation
By receiving user actions and requests, using ID information to determine the style and content template of the presentation, and combining this with Apache POI editing to generate the target presentation, the problem of time-consuming and laborious manual writing by users is solved, and presentation generation is achieved quickly and efficiently.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2026-03-17
AI Technical Summary
In existing technologies, presentations need to be written manually by users, which is time-consuming and labor-intensive, and cannot quickly generate the presentations that users need.
By receiving user operations and requests, and utilizing the user's ID information and the scheme's ID information, the style template and content template of the target presentation are determined, and the target presentation is generated using Apache POI editing.
It enables the automatic generation of presentations needed by users, saving users time and manpower costs.
Smart Images

Figure CN114417791B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of computer technology, and in particular relates to a method, apparatus and device for generating presentations. Background Technology
[0002] The primary function of a presentation is to display various multimedia information, such as text, graphics, charts, and sound, in the form of images. Each image is called a slide. The multimedia technology it provides makes the presentation both visually and aurally appealing, combining text and sound effectively. It can also display the content in multiple ways. Therefore, presentations are widely used in multimedia teaching, corporate meetings, and other fields.
[0003] However, when presentations require users to manually write them each time, it is time-consuming and laborious. Therefore, how to quickly generate presentations based on user needs is an urgent problem to be solved. Summary of the Invention
[0004] This application provides a method, apparatus, and device for generating presentations, which can solve the problem of not being able to automatically generate presentations and improve the efficiency of presentation generation.
[0005] In a first aspect, a method for generating a presentation is provided. The method includes receiving a first operation from a user; determining a style template for a target presentation based on the first operation; receiving a first request, the first request being used to request a presentation, the first request including: user ID information and scheme ID information, each user ID corresponding to multiple schemes; determining a content template for the target presentation based on the first request; and determining the target presentation based on the style template and the content template.
[0006] The method provided in the first aspect involves determining the style template of the target presentation based on the user's first operation when the device receives such an operation. Then, the device receives a first request for the presentation. Based on this first request, which includes the user's ID and the scheme's ID, the content template of the target presentation can be determined. Finally, the device determines the target presentation based on the style and content templates. This method can automatically generate the presentation required by the user based on their presentation creation operation, saving the user's time and labor costs.
[0007] Optionally, the content template of the target presentation is determined based on the first request, including: determining the user's first information based on the ID information, wherein the user's first information includes: business information corresponding to the user's solution and content information maintained by the user's company; and determining the content template of the target presentation based on the first information and a preset content template library. In this implementation, the device can determine the first information corresponding to the solution's ID through the solution's ID, and then use the first information to match the content template of the target presentation in the preset content template library, thus achieving automated selection of presentation content without requiring the user to fill it in manually.
[0008] Optionally, the preset content template library includes multiple content templates, each content template includes multiple style templates, and each style template includes style template encoding. The target presentation is determined based on the style templates and content templates, including: determining the path of the content template based on the target presentation's content template; determining the path of the style template in the target presentation based on the content template path and the style template encoding; determining the path of the initial presentation based on the content template path and the style template path; determining the presentation to be edited based on the path of the initial presentation; and editing the presentation to be edited to obtain the target presentation. In this implementation, the path of the initial presentation can be finally determined based on the path of the content template and the path of the corresponding style template within the content template, and then the initial presentation can be extracted and edited to obtain the final target presentation.
[0009] Optionally, each style template corresponds to editing code. The presentation to be edited is determined based on the path of the initial presentation, including: extracting the initial presentation based on the path, the initial presentation including style templates and content templates; and determining the presentation to be edited based on the editing code on the style templates and the data on the content templates. In this implementation, the editing code included in the style templates can be used to process the data on the content templates to obtain the presentation to be edited.
[0010] Optionally, the presentation to be edited is edited to obtain the target presentation, including: editing the presentation to be edited using Apache POI; and determining the target presentation based on the edited presentation to be edited. In this implementation, Apache POI can be used to edit the content of the presentation to be edited according to the user's needs to obtain the target presentation.
[0011] Optionally, the business information corresponding to the user plan includes at least one of the following: equity instruments, number of incentivized individuals, number of incentivized shares, incentive price, time schedule, amortization forecast, grant conditions, vesting conditions, and change handling; the content information maintained by the user company includes the name and code of the company to which the user belongs.
[0012] In a second aspect, a presentation generation apparatus is provided, the apparatus including units for performing various steps in the first aspect or any possible implementation of the first aspect.
[0013] Thirdly, a presentation generation apparatus is provided, the apparatus including at least one processor and a memory, the at least one processor being used to execute the methods of the first aspect above or any possible implementation thereof.
[0014] Fourthly, a presentation generation apparatus is provided, the apparatus including at least one processor and interface circuitry, the at least one processor being configured to execute the methods in the first aspect or any possible implementation of the first aspect.
[0015] Fifthly, a terminal device is provided, the terminal device including a processor for executing the methods in the first aspect or any possible implementation of the first aspect.
[0016] In a sixth aspect, a computer program product is provided, comprising a computer program that, when executed by a processor, performs the method of the first aspect or any possible implementation thereof.
[0017] In a seventh aspect, a computer-readable storage medium is provided, wherein a computer program is stored therein, which, when executed, performs the method of the first aspect or any possible implementation thereof.
[0018] Eighthly, a chip or integrated circuit is provided, the chip or integrated circuit comprising: a processor for calling and running a computer program from a memory, causing a device having the chip or integrated circuit mounted to perform the methods of the first aspect or any possible implementation thereof.
[0019] It is understood that the beneficial effects of aspects two through eight above can be found in the relevant descriptions in aspect one above, and will not be repeated here.
[0020] The beneficial effects of the embodiments in this application compared with the prior art are:
[0021] The method provided in this application allows the device to determine the style template of the target presentation based on a user's first operation. Then, the device receives a first request for the presentation. Based on this first request, which includes the user's ID and the scheme's ID, the device can determine the content template of the target presentation. Finally, the device determines the target presentation based on the style and content templates. This method can automatically generate the presentation required by the user based on their presentation creation operation, saving the user's time and labor costs. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic flowchart illustrating a presentation document generation method provided in an embodiment of this application;
[0024] Figure 2 These are schematic diagrams illustrating different template styles provided in the embodiments of this application;
[0025] Figure 3 These are schematic diagrams illustrating different styles corresponding to different content templates provided in the embodiments of this application;
[0026] Figure 4 This is a schematic diagram of the edit text box provided in an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of table editing provided in the embodiments of this application;
[0028] Figure 6 This is a schematic diagram illustrating the deletion of a template page provided in an embodiment of this application;
[0029] Figure 7 This is a schematic diagram of the presentation document generation apparatus provided in the embodiments of this application;
[0030] Figure 8 This is a schematic diagram of the presentation document generation device provided in the embodiments of this application. Detailed Implementation
[0031] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0032] First, before introducing the methods and systems provided in this application, it is necessary to clarify some of the terms that will be mentioned below. When this application refers to ordinal numbers such as "first" or "second," unless the context clearly indicates a sequence, it should be understood as merely for distinguishing purposes.
[0033] The terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0034] Unless otherwise stated, in this document, " / " generally indicates that the preceding and following objects are in an "or" relationship. For example, A / B can mean A or B. The term "and / or" is merely a description of the relationship between the related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, in the description of this application, "multiple" refers to two or more.
[0035] To illustrate the technical solution provided in this application, specific embodiments are described below.
[0036] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating a method for generating a presentation document according to an embodiment of this application. In this embodiment, the entity executing the method for generating the presentation document is a presentation document generating device, which includes, but is not limited to, mobile terminals such as smartphones and tablets, and may also be a desktop computer, robot, or server.
[0037] like Figure 1 As shown, the method for generating a presentation includes steps S110 to S150.
[0038] S110. Determine the style template of the target presentation based on the user's first action.
[0039] In this embodiment of the application, when a user needs to download a presentation, he / she will click the download button on the interface. After the terminal device receives the user's first operation, that is, the user's operation of clicking the download button, the terminal device displays a variety of presentation template styles on the interface, and the user can select one of the various template styles according to his / her needs.
[0040] For example, Figure 2 This application provides schematic diagrams illustrating different template styles according to its embodiments. Figure 2 As can be seen, different template styles correspond to different theme colors or layouts. Users can choose one from multiple template styles according to their needs.
[0041] Optionally, the terminal device provides a variety of different template styles corresponding to different template style codes. When a user selects a different template style, the device can store the code of that template style.
[0042] Optionally, the multiple presentation templates can be stored on a server hard drive, a remote file server, or any storage medium. When the user clicks the download button, the terminal device can read them from the server hard drive, remote file server, or any storage medium and display them on the terminal device's interface for the user to select.
[0043] S120. Receive a first request. The first request is used to request a presentation. The first request includes: the user's ID information and the ID of the scheme. Each user ID corresponds to multiple schemes.
[0044] In this embodiment of the application, the first request may be a presentation request automatically sent to the backend after the user selects the template style of the presentation in step S110. The first request may also be based on the user's operation, that is, the user can click a button on the terminal device to send the first request to the device.
[0045] It should be understood that the first request includes the user's ID information and the solution's ID information. In other words, when the device receives the presentation request sent by the user, it will also receive the user's ID information and the solution's ID information.
[0046] It should also be understood that each user's ID information includes the ID information of multiple schemes, meaning that each user can correspond to multiple schemes.
[0047] S130. Determine the content template of the target presentation based on the first request.
[0048] In step S130, the device can determine the content template of the target presentation based on the first request. That is, the device can determine the required content data in the content template of the target presentation based on the user's presentation request and the user's scheme ID information.
[0049] Optionally, as a possible implementation, a data repository can be pre-set. This repository contains different user IDs and multiple scheme IDs corresponding to each user ID. Each scheme ID then corresponds to the business information and content information maintained by the user's company for that user scheme. When the device receives the scheme ID information corresponding to the first request, it searches the data repository for the first information of the user corresponding to that scheme ID.
[0050] It should be understood that the user's primary information includes: the business information corresponding to the user's plan and the content information maintained by the user's company.
[0051] It should also be understood that the business information corresponding to a user's solution includes the business content associated with that solution. The information maintained by the user company includes the company name, code, quarterly and annual reports, net profit, and other company-related information. This information maintained by the user company can be pre-stored in a data repository.
[0052] Optionally, the pre-configured data repository can be stored on a server hard drive, a remote file server, or any storage medium, and the terminal device can read and match from the server hard drive, remote file server, or any storage medium when the user sends a presentation request.
[0053] For example, when a user needs to generate a presentation of an incentive plan, the business information corresponding to the user plan that needs to be filled in the data repository includes at least one of the following: equity instruments, number of incentivized individuals, number of incentivized shares, incentive price, time schedule, amortization forecast, grant conditions, vesting conditions, and change handling; the information maintained by the user's company includes the company name and code of the user's company, which have been pre-stored in the data repository.
[0054] Then, based on the first information found in the pre-set data repository, a content template matching the first information is searched in the preset content template library, and the successfully matched content template is used as the content template of the target presentation.
[0055] S140. Determine the target presentation based on the style template and content template.
[0056] In this embodiment of the application, the target presentation can be determined based on the style template and content template determined in steps S110 and S130.
[0057] Optionally, the preset content template library in step S130 may include multiple content templates, each content template includes multiple style templates, and each style template includes the style template encoding.
[0058] Specifically, the path of the content template can be determined based on the content template of the target presentation determined in step S130. Since each style template has its own corresponding style template code, when the user selects a style template in step S110, the device automatically saves the style template code, and then the path of the style template of the target presentation can be determined based on the path of the content template and the style template code.
[0059] Then, based on the paths of the content template and the style template, the path of the initial presentation can be determined. The initial presentation is then extracted based on this path, and edited to determine the target presentation.
[0060] For example, Figure 3 This illustration shows schematic diagrams of different style templates corresponding to different content templates provided in the embodiments of this application. Figure 3 As can be seen, content template 1 corresponds to three different template styles, content template 2 corresponds to three different template styles, and content template 3 corresponds to three different template styles.
[0061] When the content information determined by the terminal device based on the ID information of the scheme matches the content template 1, and the template information selected by the user before sending the presentation request is style 1, the template path of the initial presentation can be determined based on the path of content template 1 and the path of template style 1.
[0062] Optionally, the location path of the initial presentation can be obtained via code, for example: C:\templates\content1\style1.pptx. Specifically, when the device determines that the user's first information matches "content1", it appends "\content1" to the root path. Then, if the device determines that the style template selected by the user is encoded as "style template1", it continues to append "\style1.pptx" to the path to obtain the path of the initial presentation.
[0063] It should be noted that this initial presentation includes both style templates and content templates.
[0064] The following describes the process of editing the initial presentation to obtain the target presentation.
[0065] First, each style template in this application embodiment corresponds to a fixed set of editing codes. These editing codes can be used to edit the data on the content template to determine the presentation to be edited. Then, by editing the presentation to be edited, the target presentation can be determined.
[0066] Optionally, in this embodiment of the application, Apache POI can be used to edit the presentation to be edited, and the target presentation can be determined based on the edited presentation to be edited.
[0067] In step S140, the presentation can be edited based on the business information corresponding to the user's plan and the content information maintained by the user company using Apache POI. Editing methods include: editing text within the template, editing tables in the template, editing charts in the template, and deleting a page from the template.
[0068] First, edit the content within the template. Locate the page to be edited using the page number, then iterate through that page to find the text box. Determine if the text box is the target text box, and then fill the retrieved content into the corresponding target text box.
[0069] It should be noted that each page of a typical presentation text contains elements such as text boxes and charts. When searching for text boxes, it is necessary to traverse every element on the page.
[0070] For example, Figure 4 A schematic diagram of an edit text box provided in an embodiment of this application is shown, such as... Figure 4 As shown, when traversing multiple elements on the page, a text box containing the text "xxx Co., Ltd." was found. When this text box was determined to be the target text box, the value in the text box was cleared, the user's corresponding company name was read, and the user's company name was filled into the template to complete the editing work of this page.
[0071] When editing a template table, first locate the page number to be edited, then iterate through the elements on that page to find the table. Once the table is located, use the table's rows and columns to pinpoint the cell position, clear the cell's content, and then fill in the required information.
[0072] For example, Figure 5 This application provides a schematic diagram of table editing, as illustrated in the embodiments shown. Figure 5 As shown, first find the page containing the table that needs to be edited, then iterate through the elements on the page to find the table, locate the specified cell in the table by row and column, clear the cell content, and then fill the cell with the corresponding information retrieved from the database.
[0073] The template provided in this embodiment includes user information and company-related information. When a user selects a presentation request, only the relevant information corresponding to the user information needs to be displayed. Therefore, the remaining pages can be deleted from the template.
[0074] Figure 6 This illustration shows a diagram of template page deletion provided in an embodiment of this application, such as... Figure 6 As shown, when a user selects the first type of equity tool in the equity tool section, when the user sends a presentation request, the page for the first type of equity tool can be retained, while the rest of the pages can be deleted. For example, the pages for the second type of restricted stock, stock options, and stock appreciation rights can be deleted.
[0075] It should be understood that other editing tools can also be used to edit the presentation, and the editing tools used for the presentation are not limited in this application embodiment.
[0076] S150. Send the finalized target presentation to the user.
[0077] Based on the steps S110-S140 described above, the target presentation can be automatically generated according to the user's first operation. In step S150, the device displays the target presentation on the interface for the user to browse or download.
[0078] The method provided in this application embodiment allows the device to determine the style template of a target presentation based on a user's first operation. Then, the device receives a first request for the presentation. Based on this first request, which includes the user's ID information and the scheme's ID information, the device can determine the content template of the target presentation. Finally, the device determines the target presentation based on the style template and the content template. This method can automatically generate the presentation required by the user based on their presentation generation operation, saving the user's time and labor costs.
[0079] Combination Figures 1-6 The method for generating presentation documents provided in the embodiments of this application has been described in detail. The apparatus and device for generating presentation documents provided in the embodiments of this application will be described in detail below.
[0080] Figure 7 This is a schematic diagram of a presentation document generation apparatus provided in an embodiment of this application. The included units are used for performing... Figure 1 For details of each step in the corresponding embodiment, please refer to [link / reference]. Figures 1-6 The relevant descriptions in their respective embodiments are shown below. For ease of explanation, only the parts relevant to this embodiment are shown. See also... Figure 7 The presentation generation device 7 includes:
[0081] The receiving unit 701 is used to receive the user's first operation and receive the first request.
[0082] The processing unit 702 is configured to determine a style template of the target presentation based on a first operation; determine a content template of the target presentation based on a first request; and determine the target presentation based on the style template and the content template.
[0083] The processing unit 702 is also used to determine the user's first information based on the scheme's ID information; and to determine the content template of the target presentation based on the first information and a preset content template library.
[0084] The processing unit 702 is further configured to determine the path of the content template based on the content template of the target presentation; determine the path of the style template of the target presentation based on the path of the content template and the encoding of the style template; determine the path of the initial presentation based on the path of the content template and the path of the style template; determine the presentation to be edited based on the path of the initial presentation; and edit the presentation to be edited to obtain the target presentation.
[0085] Processing unit 702 is also used to extract the initial presentation based on the path; and to determine the presentation to be edited based on the editing code on the style template and the data on the content template.
[0086] The processing unit 702 is also used to edit the presentation to be edited using Apache POI; and to determine the target presentation based on the edited presentation to be edited.
[0087] Figure 8 This is a schematic diagram of the presentation document generation device provided in an embodiment of this application. Figure 8 As shown, the presentation generation device 800 of this embodiment includes: a processor 810, a memory 820, and a computer program 830 stored in the memory 820 and executable on the processor 810. When the processor 810 executes the computer program 830, it implements the steps in the various presentation generation method embodiments described above, for example... Figure 1 Steps 110 to 150 are shown. Alternatively, when the processor 810 executes the computer program 830, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 7 The functions of modules 710-720 are shown.
[0088] For example, the computer program 830 may be divided into one or more modules / units, which are stored in the memory 820 and executed by the processor 810 to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program 830 in the presentation generation device 800.
[0089] The presentation generation device 800 can be a desktop computer, laptop, handheld computer, or cloud server, etc. The presentation generation device may include, but is not limited to, a processor 810 and a memory 820. Those skilled in the art will understand that... Figure 8 This is merely an example of a presentation generation device and does not constitute a limitation on the presentation generation device. It may include more or fewer components than shown, or combine certain components, or different components. For example, the presentation generation device may also include input / output devices, network access devices, buses, etc.
[0090] The processor 810 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0091] The memory 820 can be an internal storage unit of the presentation generation device 800, such as a hard disk or memory of the presentation generation device 800. The memory 820 can also be an external storage device of the presentation generation device 800, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the presentation generation device 800. Furthermore, the memory 820 can include both internal and external storage units of the presentation generation device 800. The memory 820 is used to store the computer program and other programs and data required by the presentation generation device. The memory 820 can also be used to temporarily store data that has been output or will be output.
[0092] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the above-described method for generating presentation documents.
[0093] This application provides a computer program product that, when run on a presentation generation device, enables the presentation generation device to implement the aforementioned presentation generation method.
[0094] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments 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. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0095] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0096] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0097] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For instance, the division of modules or 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 or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0098] 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.
[0099] 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.
[0100] If the integrated module / 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, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0101] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method of generating a presentation, characterized by, The method comprises: receiving a first operation of a user; determining a style template of a target presentation according to the first operation; receiving a first request for requesting a presentation, the first request comprising: ID information of the user and ID information of a scheme, each user ID corresponding to multiple schemes; determining a content template of the target presentation according to the first request; determining a path of the content template based on the content template of the target presentation; determining a path of the style template of the target presentation according to the path of the content template and the encoding of the style template; determining a path of an initial presentation according to the path of the content template and the path of the style template; extracting the initial presentation based on the path, the initial presentation comprising: a style template and a content template; determining a presentation to be edited according to the editing code on the style template and the data on the content template; editing the presentation to be edited to obtain a target presentation, the editing manner comprising: editing a table of a template, editing a template icon, and deleting a page of a template.
2. The method of claim 1, wherein, The determining of the content template of the target presentation according to the first request comprises: determining first information of the user according to the ID information of the scheme, the first information of the user comprising: business information corresponding to the user scheme and content information maintained by a user company; determining the content template of the target presentation according to the first information and a preset content template library.
3. The method according to claim 1 or 2, characterized in that, The editing of the presentation to be edited to obtain a target presentation comprises: editing the presentation to be edited by using Apache POI; determining the target presentation based on the edited presentation to be edited.
4. The method of claim 3, wherein, The business information corresponding to the user scheme comprises at least one of: an interest tool, an incentive number, an incentive share, an incentive price, a time arrangement, a amortization prediction, an award condition, an attribution condition, and an abnormal transaction processing; The content information maintained by the user company comprises: a company name and a code to which the user belongs.
5. A presentation generating apparatus characterized by comprising: The device comprises units for executing the method according to any one of claims 1 to 4.
6. A terminal device, characterized by comprising: The terminal device comprises a processor for executing the method according to any one of claims 1 to 4.
7. A computer readable storage medium storing a computer program, wherein the computer program comprises the following steps of: receiving a request for a resource from a client; determining whether the client is authorized to access the resource; and if the client is authorized to access the resource, providing the resource to the client. The computer program is executed by the processor to implement the method according to any one of claims 1 to 4.
8. A chip, characterized by Comprise: a processor for calling and running a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Generation method and device of presentation document and equipment
CN108509405A
A method for generating an electronic contract and a server
CN109325729A