[go: up one dir, main page]

CN114417791A - A method, device and device for generating a presentation - Google Patents

A method, device and device for generating a presentation Download PDF

Info

Publication number
CN114417791A
CN114417791A CN202111662274.3A CN202111662274A CN114417791A CN 114417791 A CN114417791 A CN 114417791A CN 202111662274 A CN202111662274 A CN 202111662274A CN 114417791 A CN114417791 A CN 114417791A
Authority
CN
China
Prior art keywords
presentation
template
user
content
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111662274.3A
Other languages
Chinese (zh)
Inventor
马英峰
冯政元
范光远
刘富强
石华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Valueonline Technology Co ltd
Original Assignee
Shenzhen Valueonline Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Valueonline Technology Co ltd filed Critical Shenzhen Valueonline Technology Co ltd
Priority to CN202111662274.3A priority Critical patent/CN114417791A/en
Publication of CN114417791A publication Critical patent/CN114417791A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供了一种演示文稿的生成方法、装置及设备,该方法包括接收用户的第一操作;根据第一操作确定目标演示文稿的样式模板;接收第一请求,第一请求用于请求演示文稿,第一请求包括:用户的ID信息和方案的ID信息;根据第一请求确定目标演示文稿的内容模板;根据样式模板和内容模板确定目标演示文稿。该方法可以基于用户生成演示文稿的操作,自动生成用户所需的演示文稿,节约了用户的时间和人力成本。

Figure 202111662274

The present application provides a method, device and device for generating a presentation. The method includes receiving a first operation of a user; determining a style template of a target presentation according to the first operation; and receiving a first request, where the first request is used to request a presentation The first request includes: the ID information of the user and the ID information of the scheme; the content template of the target presentation is determined according to the first request; the target presentation is determined according to the style template and the content template. The method can automatically generate the presentation required by the user based on the operation of the user to generate the presentation, which saves the user's time and labor costs.

Figure 202111662274

Description

一种演示文稿的生成方法、装置及设备A method, device and device for generating a presentation

技术领域technical field

本申请属于计算机技术领域,尤其涉及一种演示文稿的生成方法、装置及设备。The present application belongs to the field of computer technology, and in particular, relates to a method, apparatus and device for generating a presentation.

背景技术Background technique

演示文稿主要功能是将各种文字、图形、图表、声音等多媒体信息以图片的方式展示出来。每一张图片叫做幻灯片,它提供的多媒体技术使得展示效果声形俱佳、图文并茂,它还可以通过多种途径展示创作的内容。因此演示文稿在多媒体教学、公司会议等领域应用广泛。The main function of the presentation is to display various texts, graphics, charts, sounds and other multimedia information in the form of pictures. Each picture is called a slideshow, and the multimedia technology it provides makes the presentation effect sound and vivid, with pictures and texts, and it can also display the content created in various ways. Therefore, presentations are widely used in multimedia teaching, company meetings and other fields.

但是,当演示文稿需要用户每次手动撰写时,则费时费力,因此,如何可以快速根据用户需求生成演示文是目前亟需解决的问题。However, when the presentation needs to be manually written by the user every time, it is time-consuming and laborious. Therefore, how to quickly generate the presentation according to the user's needs is an urgent problem to be solved at present.

发明内容SUMMARY OF THE INVENTION

本申请提供了一种演示文稿的生成方法、装置及设备,可以解决不能自动生成演示文稿的问题,提高了演示文稿的生成效率。The present application provides a method, device and device for generating a presentation, which can solve the problem that the presentation cannot be automatically generated and improve the generation efficiency of the presentation.

第一方面,提供了一种演示文稿的生成方法,该方法包括接收用户的第一操作;根据第一操作确定目标演示文稿的样式模板;接收第一请求,第一请求用于请求演示文稿,第一请求包括:用户的ID信息和方案的ID信息,每个用户ID对应多个方案;根据第一请求确定目标演示文稿的内容模板;根据样式模板和内容模板确定目标演示文稿。A first aspect provides a method for generating a presentation, the method comprising receiving a first operation of a user; determining a style template of a target presentation according to the first operation; receiving a first request, where the first request is used to request a presentation, The first request includes: user ID information and scheme ID information, each user ID corresponding to multiple schemes; determining the content template of the target presentation according to the first request; determining the target presentation according to the style template and the content template.

第一方面提供的方法,当设备接受到用户的第一操作时,根据第一操作可以确定目标演示文稿的样式模板,然后设备接受用于请求演示文稿的第一请求,基于该第一请求,由于该第一请求中包括了用户的ID信息和方案的ID信息,因此可以确定出目标演示文稿的内容模板,最后设备基于该样式模板和内容模板确定出目标演示文稿。该方法可以基于用户生成演示文稿的操作,自动生成用户所需的演示文稿,节约了用户的时间和人力成本。In the method provided by the first aspect, when the device accepts the first operation of the user, the style template of the target presentation can be determined according to the first operation, and then the device accepts the first request for requesting the presentation, and based on the first request, Since the first request includes the ID information of the user and the ID information of the scheme, the content template of the target presentation can be determined, and finally the device determines the target presentation based on the style template and the content template. The method can automatically generate the presentation required by the user based on the operation of the user to generate the presentation, which saves the user's time and labor costs.

可选的,根据第一请求确定目标演示文稿的内容模板,包括:根据ID信息确定用户的第一信息,用户的第一信息包括:与用户方案对应的业务信息和用户公司维护的内容信息;根据第一信息与预设的内容模板库确定目标演示文稿的内容模板。在该种实现方式中,设备通过方案的ID可以确定出与该ID信息对应的第一信息,然后利用该第一信息在预设的内容模板库中进行匹配得到目标演示文稿的内容模板,实现了自动化的演示文稿内容的选择,无需用户自行填写。Optionally, determining the content template of the target presentation according to the first request includes: determining the first information of the user according to the ID information, where the first information of the user includes: service information corresponding to the user's scheme and content information maintained by the user's company; The content template of the target presentation is determined according to the first information and a preset content template library. In this implementation manner, the device can determine the first information corresponding to the ID information through the ID of the scheme, and then uses the first information to match in the preset content template library to obtain the content template of the target presentation. Automate the selection of presentation content without the need for users to fill it out.

可选的,预设的内容模板库包括多个内容模板,每个内容模板包括多个样式模板,每个样式模板包括样式模板的编码,根据样式模板和内容模板确定目标演示文稿,包括:基于目标演示文稿的内容模板确定内容模板的路径;根据内容模板路径和样式模板的编码确定目标演示文稿的样式模板的路径;根据内容模板的路径和样式模板的路径确定初始演示文稿的路径;基于初始演示文稿的路径确定待编辑演示文稿;将待编辑演示文稿进行编辑得到目标演示文稿。在该种实现方式中,可以根据内容模板的路径,和内容模板中对应的样式模板的路径最终确定初始演示文稿的路径,然后提取该初始演示文稿进行编辑得到最终的目标演示文稿。Optionally, the preset content template library includes a plurality of content templates, each content template includes a plurality of style templates, and each style template includes the coding of the style template, and the target presentation is determined according to the style template and the content template, including: The content template of the target presentation determines the path of the content template; the path of the style template of the target presentation is determined according to the content template path and the coding of the style template; the path of the initial presentation is determined according to the path of the content template and the path of the style template; The path of the presentation determines the presentation to be edited; edit the presentation to be edited to obtain the target presentation. In this implementation manner, the path of the initial presentation can be finally determined according to the path of the content template and the path of the corresponding style template in the content template, and then the initial presentation is extracted and edited to obtain the final target presentation.

可选的,每个样式模板对应编辑代码,基于初始演示文稿的路径确定待编辑演示文稿,包括:基于路径提取初始演示文稿,初始演示文稿包括:样式模板和内容模板;根据样式模板上的编辑代码和内容模板上的数据确定待编辑演示文稿。在该种实现方式中,利用样式模板中包括的编辑代码可以对内容模板上的数据进行处理,从而得到待编辑的演示文稿。Optionally, each style template corresponds to editing code, and the presentation to be edited is determined based on the path of the initial presentation, including: extracting the initial presentation based on the path, and the initial presentation includes: a style template and a content template; The data on the code and content templates determines the presentation to be edited. In this implementation manner, the editing code included in the style template can be used to process the data on the content template, thereby obtaining the presentation to be edited.

可选的,将待编辑演示文稿进行编辑得到目标演示文稿,包括:利用Apache POI编辑待编辑演示文稿;基于编辑好的待编辑演示文稿确定目标演示文稿。在该种实现方式中,使用Apache POI可以根据用户对待编辑演示文稿的内容进行编辑可以根据用户需求得到目标演示文稿。Optionally, editing the presentation to be edited to obtain the target presentation, including: using Apache POI to edit the presentation to be edited; and determining the target presentation based on the edited presentation to be edited. In this implementation, by using Apache POI, the user can edit the content of the presentation to be edited, and the target presentation can be obtained according to the user's needs.

可选的,用户方案对应的业务信息包括:权益工具、激励人数、激励股数、激励价格、时间安排、摊销预测、授予条件、归属条件、异动处理中的至少一个;用户公司维护的内容信息包括用户所属的公司名称和代码。Optionally, the business information corresponding to the user plan includes: at least one of equity instruments, number of incentives, number of incentive shares, incentive price, time arrangement, amortization forecast, grant conditions, attribution conditions, and transaction processing; content maintained by the user company The information includes the company name and code to which the user belongs.

第二方面,提供了一种演示文稿生成装置,该装置包括用于执行以上第一方面或者第一方面的任意一方面可能的实现方式中的各个步骤的单元。In a second aspect, an apparatus for generating a presentation presentation is provided, the apparatus including a unit for performing each step in the above first aspect or any possible implementation manner of the first aspect.

第三方面,提供了一种演示文稿生成装置,该装置包括至少一个处理器和存储器,该至少一个处理器用于执行以上第一方面或第一方面的任意可能的实现方式中的方法。In a third aspect, there is provided an apparatus for generating presentations, the apparatus comprising at least one processor and a memory, the at least one processor being configured to perform the method in the above first aspect or any possible implementation manner of the first aspect.

第四方面,提供了一种演示文稿生成装置,该装置包括至少一个处理器和接口电路,该至少一个处理器用于执行以上第一方面或者第一方面中的任意一方面可能的实现方式中的方法。A fourth aspect provides an apparatus for generating presentations, the apparatus comprising at least one processor and an interface circuit, the at least one processor being configured to execute the above first aspect or any of the possible implementations of the first aspect. method.

第五方面,提供了一种终端设备,该终端设备包括处理器,该处理器用于执行以上第一方面或者第一方面中的任意一方面可能的实现方式中的方法。In a fifth aspect, a terminal device is provided, the terminal device includes a processor, and the processor is configured to execute the method in the above first aspect or any possible implementation manner of the first aspect.

第六方面,提供了一种计算机程序产品,该计算机程序产品包括计算机程序,该计算机程序在被处理器执行时,用于执行第一方面或第一方面的任意可能的实现方式中的方法。In a sixth aspect, a computer program product is provided, the computer program product comprising a computer program for executing the method of the first aspect or any possible implementation manner of the first aspect when the computer program is executed by a processor.

第七方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机程序被执行时,用于执行第一方面或第一方面的任意可能的实现方式中的方法。In a seventh aspect, a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium. When the computer program is executed, it is used to execute the first aspect or any possible implementation manner of the first aspect. method in .

第八方面,提供了一种芯片或者集成电路,该芯片或者集成电路包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片或者集成电路的设备执行第一方面或第一方面的任意可能的实现方式中的方法。In an eighth aspect, a chip or integrated circuit is provided, the chip or integrated circuit includes: a processor for calling and running a computer program from a memory, so that a device installed with the chip or integrated circuit executes the first aspect or the first aspect A method in any possible implementation of an aspect.

可以理解的是,上述第二方面至第八方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that, for the beneficial effects of the foregoing second aspect to the eighth aspect, reference may be made to the relevant descriptions in the foregoing first aspect, and details are not described herein again.

本申请实施例与现有技术相比存在的有益效果是:The beneficial effects that the embodiments of the present application have compared with the prior art are:

本申请提供的方法,当设备接受到用户的第一操作时,根据第一操作可以确定目标演示文稿的样式模板,然后设备接受用于请求演示文稿的第一请求,基于该第一请求,由于该第一请求中包括了用户的ID信息和方案的ID信息,因此可以确定出目标演示文稿的内容模板,最后设备基于该样式模板和内容模板确定出目标演示文稿。该方法可以基于用户生成演示文稿的操作,自动生成用户所需的演示文稿,节约了用户的时间和人力成本。In the method provided by the present application, when the device accepts the first operation of the user, the style template of the target presentation can be determined according to the first operation, and then the device accepts the first request for requesting the presentation. Based on the first request, due to The first request includes the ID information of the user and the ID information of the scheme, so the content template of the target presentation can be determined, and finally the device determines the target presentation based on the style template and the content template. The method can automatically generate the presentation required by the user based on the operation of the user to generate the presentation, which saves the user's time and labor costs.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1是本申请实施例提供的一种演示文稿生成方法的示意性流程图;1 is a schematic flowchart of a method for generating presentations provided by an embodiment of the present application;

图2是本申请实施例提供的不同的模板样式的示意图;2 is a schematic diagram of different template styles provided by an embodiment of the present application;

图3是本申请实施例提供的不同内容模板对应的不同样式的示意图;3 is a schematic diagram of different styles corresponding to different content templates provided in an embodiment of the present application;

图4是本申请实施例提供的编辑文本框的示意图;4 is a schematic diagram of an edit text box provided by an embodiment of the present application;

图5是本申请实施例提供的表格编辑的示意图;5 is a schematic diagram of table editing provided by an embodiment of the present application;

图6是本申请实施例提供的模板页面删除的示意图;6 is a schematic diagram of template page deletion provided by an embodiment of the present application;

图7是本申请实施例提供的演示文稿的生成装置的示意图;7 is a schematic diagram of an apparatus for generating a presentation provided by an embodiment of the present application;

图8是本申请实施例提供的演示文稿的生成设备的示意图。FIG. 8 is a schematic diagram of a device for generating a presentation provided by an embodiment of the present application.

具体实施方式Detailed ways

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

首先,在介绍本申请提供的方法和系统之前,需要对下文中即将提及的部分术语进行说明。当本申请提及术语“第一”或者“第二”等序数词时,除非根据上下文其确实表达顺序之意,否则应当理解为仅仅是起区分之用。First, before introducing the method and system provided by the present application, some terms that will be mentioned below need to be explained. When the present application refers to ordinal numbers such as the terms "first" or "second", they should be construed only for the purpose of distinction unless they clearly indicate the order according to the context.

术语“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。The terms "exemplary" or "such as" are used to mean serving as an example, illustration, or illustration. Any implementation or design described in the examples herein as "exemplary" or "such as" should not be construed as preferred or advantageous over other implementations or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.

除非另有说明,本文中“/”一般表示前后关联对象是一种“或”的关系,例如,A/B可以表示A或B。术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请的描述中,“多个”是指两个或两个以上。Unless otherwise specified, "/" herein generally means that the contextual object is an "or" relationship, for example, A/B can mean A or B. The term "and/or" is only an association relationship to describe related objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist simultaneously, and B exists alone. a situation. In addition, in the description of the present application, "plurality" means two or more.

为了说明本申请提供的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions provided by the present application, the following specific embodiments are used for description.

请参见图1,图1是本申请一个实施例提供的一种演示文稿的生成方法的示意性流程图。本实施例中演示文稿的生成方法的执行主体为演示文稿的生成设备,该设备包括但不限于智能手机、平板电脑等移动终端,还可以是台式电脑、机器人或者服务器等。Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for generating a presentation provided by an embodiment of the present application. The executive body of the method for generating presentations in this embodiment is a presentation generating device, which includes but is not limited to mobile terminals such as smart phones and tablet computers, and may also be desktop computers, robots, or servers.

如图1所示的,演示文稿的生成方法包括:S110至S150。As shown in FIG. 1 , the method for generating a presentation includes: S110 to S150.

S110、根据用户的第一操作确定目标演示文稿的样式模板。S110. Determine the style template of the target presentation according to the user's first operation.

在本申请实施例中,当用户需要下载演示文稿时,会点击界面上的下载按钮,当终端设备接收到用户的第一操作,即用户的下载点击按钮的操作之后,终端设备在界面上显示多种演示文稿的模板样式,用户可以根据需求选择多种模板样式中的其中一种。In the embodiment of the present application, when the user needs to download the presentation, he will click the download button on the interface. When the terminal device receives the user's first operation, that is, after the user's operation of clicking the button to download, the terminal device displays on the interface. There are various template styles for presentations, and users can choose one of the various template styles according to their needs.

示例性的,图2示出了本申请实施例提供的不同的模板样式的示意图,从图2中可以看出,不同的模板样式对应不同的主题颜色或者排版。用户可以根据需求从多个模板样式中选择其中一个。Exemplarily, FIG. 2 shows a schematic diagram of different template styles provided by an embodiment of the present application. It can be seen from FIG. 2 that different template styles correspond to different theme colors or typeset. Users can choose one of several template styles according to their needs.

可选的,终端设备提供的多种不同的模板样式对应不同的模板样式编码,当用户选择不同的模板样式之后,设备可以存储该模板样式的编码。Optionally, multiple different template styles provided by the terminal device correspond to different template style codes, and after the user selects different template styles, the device may store the template style codes.

可选的,该多个演示文稿的模板可以存储在服务器硬盘、远程文件服务器或者任何存储介质上,当用户点击下载按钮后,终端设备可以从服务器硬盘、远程文件服务器或者任何存储介质上读取并且显示在终端设备的界面上供用户选择。Optionally, the templates of the multiple presentations can be stored on the hard disk of the server, a remote file server or any storage medium. When the user clicks the download button, the terminal device can read it from the hard disk of the server, a remote file server or any storage medium. And it is displayed on the interface of the terminal device for the user to select.

S120、接收第一请求,第一请求用于请求演示文稿,第一请求包括:用户的ID信息和方案的ID,每个用户ID对应多个方案;S120, receiving a first request, where the first request is used to request a presentation, the first request includes: the ID information of the user and the ID of the scheme, and each user ID corresponds to multiple schemes;

在本申请实施例中,第一请求可以是步骤S110中当用户选择完演示文稿的模板样式后触发了演示文稿的请求后自动向后端发出的演示文稿的请求,第一请求也可以是基于用户的操作,即用户可以点击终端设备上的按钮向设备发送第一请求。In this embodiment of the present application, the first request may be a presentation request that is automatically sent to the backend after the user selects the template style of the presentation and triggers the presentation request 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.

应理解,该第一请求中包括了用户的ID信息和方案的ID信息,换句话说,当设备在接收用户发送的演示文稿请求的同时会接收到用户的ID信息和方案的ID信息。It should be understood that the first request includes the ID information of the user and the ID information of the scheme. In other words, when the device receives the presentation request sent by the user, it will also receive the ID information of the user and the ID information of the scheme.

还应理解,每个用户的ID信息包括了多个方案的ID信息,即每个用户可以对应多个方案。It should also be understood that the ID information of each user includes ID information of multiple schemes, that is, each user may correspond to multiple schemes.

S130、根据第一请求确定目标演示文稿的内容模板。S130. Determine a content template of the target presentation according to the first request.

在步骤S130中设备可以根据第一请求确定目标演示文稿的内容模板。即设备可以根据用户发送的演示文稿的请求然后根据用户的方案ID信息确定出目标演示文稿的内容模板中需要的内容数据。In step S130, the device may determine the content template of the target presentation according to the first request. That is, the device can determine the content data required in the content template of the target presentation according to the presentation request sent by the user and then according to the user's scheme ID information.

可选的,作为一种可能的实现方式,可以预先设置数据存储库,该数据存储库中预先设置不同的用户ID,以及不同的用户ID对应的多个方案的ID,然后不同方案ID对应用户方案对应的业务信息和用户公司维护的内容信息。当设备接收到第一请求对应的方案ID信息时,在该数据存储库中查找与该方案ID对应的用户的第一信息。Optionally, as a possible implementation manner, a data repository may be preset in which different user IDs and the IDs of multiple schemes corresponding to different user IDs are preset, and then different scheme IDs correspond to users. The business information corresponding to the scheme and the content information maintained by the user company. When the device receives the plan ID information corresponding to the first request, it searches the data store for the first information of the user corresponding to the plan ID.

应理解,该用户的第一信息包括:用户方案对应的业务信息和用户公司维护的内容信息。It should be understood that the first information of the user includes: service information corresponding to the user plan and content information maintained by the user company.

还应理解,用户方案对应的业务信息包括了该方案对应的业务内容。用户公司维护的内容信息包括了公司名称、代码以及公司的季报、年报以及净利润等和公司相关的信息。该用户公司维护的内容信息可以预先存储在数据存储库中。It should also be understood that the service information corresponding to the user scheme includes the service content corresponding to the scheme. The content information maintained by the user company includes the company name, code, and company-related information such as the company's quarterly report, annual report, and net profit. The content information maintained by the user company may be pre-stored in a data repository.

可选的,该预先设置的数据存储库可以存储在服务器硬盘、远程文件服务器或者任何存储介质上,当用户发送的演示文稿请求后,终端设备可以从服务器硬盘、远程文件服务器或者任何存储介质上读取和匹配。Optionally, the preset data repository can be stored on the server hard disk, remote file server or any storage medium. When the user sends a presentation request, the terminal device can download the data from the server hard disk, remote file server or any storage medium. read and match.

示例性的,当用户需要生成一个激励方案的演示文稿时,在数据存储库中需要填写的用户方案对应的业务信息包括了权益工具、激励人数、激励股数、激励价格、时间安排、摊销预测、授予条件、归属条件、异动处理等信息中的至少一种信息;该用户公司维护的信息包括了用户所属的公司名称和代码已经预先存储在数据存储库中。Exemplarily, 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 in the data repository includes equity instruments, number of incentives, number of incentive shares, incentive price, time arrangement, and amortization. At least one kind of information in prediction, granting conditions, attribution conditions, transaction processing and other information; the information maintained by the user company includes the company name and code to which the user belongs and has been pre-stored in the data repository.

然后,基于在预先设置的数据存储库中查找的第一信息,在预设的内容模板库进行查找与该第一信息匹配的内容模板,将匹配成功的内容模板作为目标演示文稿的内容模板。Then, based on the first information searched in the preset data storage library, a preset content template library is searched for a content template matching the first information, and the successfully matched content template is used as the content template of the target presentation.

S140、根据样式模板和内容模板确定目标演示文稿。S140. Determine the target presentation according to the style template and the content template.

在本申请实施例中,可以根据步骤S110和步骤S130中确定的样式模板和内容模板确定目标演示文稿。In this embodiment of the present application, the target presentation may be determined according to the style template and content template determined in step S110 and step S130.

可选的,步骤S130中预设的内容模板库可以包括多个内容模板,每个内容模板包括多个样式模板,并且每个样式模板包括样式模板的编码。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 a code of the style template.

具体的,可以根据步骤S130中确定出的目标演示文稿的内容模板确定内容模板的路径。由于每个样式模板上都分别对应样式模板的编码,因此在步骤S110中当用户选择样式模板后,设备则自动保存样式模板的编码,然后根据内容模板的路径和样式模板的编码可以确定出目标演示文稿的样式模板的路径。Specifically, the path of the content template may be determined according to the content template of the target presentation determined in step S130. Since each style template corresponds to the code of the style template, after the user selects the style template in step S110, the device automatically saves the code of the style template, and then the target can be determined according to the path of the content template and the code of the style template The path to the style template for the presentation.

然后,根据内容模板的路径和样式模板的路径可以确定出初始演示文稿的路径,基于该路径提取初始演示文稿,对该初始演示文稿进行编辑确定目标演示文稿。Then, the path of the initial presentation can be determined according to the path of the content template and the path of the style template, the initial presentation is extracted based on the path, and the target presentation is determined by editing the initial presentation.

示例性的,图3示出了本申请实施例提供的不同内容模板对应的不同样式模板的示意图,从图3中可以看出内容模板1对应三个不同的模板样式,内容模板2对应三个不同的模板样式,内容模板3对应三个不同的模板样式。Exemplarily, FIG. 3 shows a schematic diagram of different style templates corresponding to different content templates provided in an embodiment of the present application. It can be seen from FIG. 3 that content template 1 corresponds to three different template styles, and content template 2 corresponds to three different template styles. Different template styles, content template 3 corresponds to three different template styles.

当终端设备根据方案的ID信息确定出来的内容信息与内容模板1相匹配,并且在该用户在发送演示文稿的请求之前选择的模板信息为样式1时,则可以根据内容模板1的路径和模板样式1的路径确定初始演示文稿的模板路径。When the content information determined by the terminal device according to 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 path and template of the content template 1 can be determined according to the The path for style 1 determines the template path for the initial presentation.

可选的,可以通过代码凭借路径得到初始演示文稿的位置路径,例如:C:\模板\内容1\样式1.pptx。具体的,当设备判断用户的第一信息和内容1相匹配,则在根路径上拼接【\内容1】,之后设备判断用户选择的样式模板的编码为样式模板1,则在路径上继续拼接【\样式1.pptx】从而得到初始演示文稿的路径。Optionally, the location path of the initial presentation can be obtained through the code by means of the path, for example: C:\template\content1\style1.pptx. Specifically, when the device determines that the user's first information matches content 1, it splices [\content 1] on the root path, and then the device determines that the code of the style template selected by the user is style template 1, and continues splicing on the path. [\Style1.pptx] to get the path of the initial presentation.

需要说明的是,该初始演示文稿包括了样式模板和内容模板。It should be noted that this initial presentation includes style templates and content templates.

下面介绍对初始演示文稿进行编辑从而得到目标演示文稿的过程。The following describes the process of editing the initial presentation to obtain the target presentation.

首先,本申请实施例中的样式模板上都对应的一套固定的编辑代码,利用该编辑代码可以对内容模板上的数据进行编辑从而可以确定待编辑演示文稿,然后将该待编辑的演示文稿进行编辑可以确定目标演示文稿。First, there is a set of fixed editing codes corresponding to the style templates in the embodiments of the present application, and the data on the content template can be edited by using the editing codes, so that the presentation to be edited can be determined, and then the presentation to be edited can be determined. Make edits to target presentations.

可选的,在本申请实施例中可以利用Apache POI编辑待编辑演示文稿,基于编辑好的待编辑演示文稿确定目标演示文稿。Optionally, in this embodiment of the present application, the presentation to be edited may be edited by using Apache POI, and the target presentation is determined based on the edited presentation to be edited.

在步骤S140中,可以基于Apache POI利用用户方案对应的业务信息和用户公司维护的内容信息对演示文稿进行编辑。其中编辑的方式包括:编辑模板内的文字、编辑模板的表格、编辑模板图表以及删除模板某页。In step S140, the presentation may be edited based on the Apache POI using the business information corresponding to the user's scheme and the content information maintained by the user's company. The editing methods include: editing the text in the template, editing the table of the template, editing the template diagram, and deleting a page of the template.

首先编辑模板内的内容,先通过页码找到需要编辑的页面,然后在需要编辑的页面中遍历查找文本框。并且需要判断该文本框是否为目标文本框,然后将读取到的内容信息填入到相应的目标文本框中。First edit the content in the template, first find the page to be edited by the page number, and then traverse the search text box in the page to be edited. And it is necessary to judge whether the text box is the target text box, and then fill in the read content information into the corresponding target text box.

需要说明的是,一般演示文本的每个页面中包括了文本框、图表等元素,在进行文本框查找时,需要遍历页面中的每个元素。It should be noted that each page of the general presentation text includes elements such as text boxes and charts. When searching for a text box, each element in the page needs to be traversed.

示例性的,图4示出了本申请实施例提供的编辑文本框的示意图,如图4所示的,在遍历该页面的多个元素时找到了包含“xxx股份有限公司”文本的文本框,当判断该文本框为目标文本框时,清空文本框中的值,读取用户对应的公司名称,将用户的公司名填入模板内完成了此页的编辑工作。Exemplarily, FIG. 4 shows a schematic diagram of an edit text box provided by an embodiment of the present application. As shown in FIG. 4 , a text box containing the text of “xxx Co., Ltd.” is found when traversing multiple elements of the page. , when it is judged that the text box is the target text box, the value in the text box is cleared, the company name corresponding to the user is read, and the user's company name is filled in the template to complete the editing of this page.

当需要进行模板表格的编辑时,先通过页码找到需要编辑的页面,然后再需要编辑的页面中遍历页面中的元素查找表格。当定位到表格后通过表格行和列定位表格的单元格位置,然后清空单元格的内容,将所需的信息填入到单元格内。When the template table needs to be edited, first find the page to be edited through the page number, and then traverse the elements in the page to be edited to find the table. After locating the table, locate the cell position of the table through the table row and column, then clear the content of the cell, and fill in the required information into the cell.

示例性的,图5示出了本申请实施例提供的表格编辑的示意图,如图5所示的,首先找到需要编辑的含有表格的页面,然后再遍历页面中的元素查找表格,通过行和列定位到表格制定的单元格,清空单元格的内容,然后把从数据库中检索到的相应的信息填入单元格内。Exemplarily, FIG. 5 shows a schematic diagram of table editing provided by an embodiment of the present application. As shown in FIG. 5 , the page containing the table to be edited is found first, and then the elements in the page are traversed to find the table. The column locates the cell specified in the table, clears the content of the cell, and then fills the cell with the corresponding information retrieved from the database.

本申请实施例中提供的模板包括了用户信息和公司相关信息的内容,当用户选择了演示文稿的请求之后,只需要将和用户信息对应的相关信息进行显示,因此,可以在模板内将其余的页面进行删除。The template provided in the embodiment of the present application includes the content of user information and company-related information. After the user selects the presentation request, only the relevant information corresponding to the user information needs to be displayed. Therefore, the remaining information can be displayed in the template. page to delete.

图6示出了本申请实施例提供的模板页面删除的示意图,如图6所示的,当用户在权益工具中选择的是第一类权益工具之后,则当该用户发送演示文稿请求时可以保留第一类权益工具的页面,将其余的页面删除,比如可以将第二类限制性股票、股票期权和股票增值权等页面删除。FIG. 6 shows a schematic diagram of deleting a template page provided by an embodiment of the present application. As shown in FIG. 6 , after the user selects the first type of equity tool among the equity tools, when the user sends a presentation request, the user can Keep the pages of the first type of equity instruments and delete the rest of the pages. For example, the pages of the second type of restricted stocks, stock options and stock appreciation rights can be deleted.

应理解,还可以采用其他的编辑工具对待编辑演示文稿进行编辑,本申请实施例对待编辑演示文稿的编辑工具不做限定。It should be understood that other editing tools may also be used to edit the presentation to be edited, and the embodiment of the present application does not limit the editing tool of the presentation to be edited.

S150、将确定好的目标演示文稿发送给用户。S150. Send the determined target presentation to the user.

基于上述步骤S110-S140可以根据用户的第一操作,自动生成目标演示文稿。在步骤S150中,设备将目标演示文稿显示在界面上供用户浏览或者下载。Based on the above steps S110-S140, 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.

本申请实施例提供的方法,当设备接受到用户的第一操作时,根据第一操作可以确定目标演示文稿的样式模板,然后设备接受用于请求演示文稿的第一请求,基于该第一请求,由于该第一请求中包括了用户的ID信息和方案的ID信息,因此可以确定出目标演示文稿的内容模板,最后设备基于该样式模板和内容模板确定出目标演示文稿。该方法可以基于用户生成演示文稿的操作,自动生成用户所需的演示文稿,节约了用户的时间和人力成本。In the method provided by the embodiment of the present application, when the device accepts the first operation of the user, the style template of the target presentation can be determined according to the first operation, and then the device accepts the first request for requesting the presentation, based on the first request , since the first request includes the ID information of the user and the ID information of the scheme, the content template of the target presentation can be determined, and finally the device determines the target presentation based on the style template and the content template. The method can automatically generate the presentation required by the user based on the operation of the user to generate the presentation, which saves the user's time and labor costs.

结合图1-图6对本申请实施例提供的演示文稿的生成方法进行了具体的介绍,下面对本申请实施例提供的演示文稿的生成装置和设备进行具体介绍。The method for generating a presentation provided by the embodiments of the present application is described in detail with reference to FIGS. 1 to 6 , and the apparatus and equipment for generating a presentation provided by the embodiments of the present application are described in detail below.

图7是本申请实施例提供的演示文稿的生成装置的示意图。包括的各单元用于执行图1对应的实施例中的各步骤,具体请参阅图1-图6各自对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。参见图7,演示文稿的生成装置7包括:FIG. 7 is a schematic diagram of an apparatus for generating a presentation provided by an embodiment of the present application. Each of the included units is used to execute each step in the embodiment corresponding to FIG. 1 . For details, please refer to the relevant description in the corresponding embodiment of FIG. 1 to FIG. 6 . For convenience of explanation, only the parts related to this embodiment are shown. Referring to Fig. 7, the generating device 7 of the presentation includes:

接收单元701,该接受单元701用于接收用户的第一操作和接收第一请求。A receiving unit 701, the receiving unit 701 is configured to receive a first operation of a user and a first request.

处理单元702,该处理单元702用于根据第一操作确定目标演示文稿的样式模板;根据第一请求确定目标演示文稿的内容模板;根据样式模板和内容模板确定目标演示文稿。The processing unit 702 is configured to determine the style template of the target presentation according to the first operation; determine the content template of the target presentation according to the first request; and determine the target presentation according to the style template and the content template.

处理单元702还用于根据方案的ID信息确定用户的第一信息;根据第一信息与预设的内容模板库确定目标演示文稿的内容模板。The processing unit 702 is further configured to determine the first information of the user according to the ID information of the scheme; and determine the content template of the target presentation according to the first information and the preset content template library.

处理单元702还用于基于目标演示文稿的内容模板确定内容模板的路径;根据内容模板的路径和样式模板的编码确定目标演示文稿的样式模板的路径;根据内容模板的路径和样式模板的路径确定初始演示文稿的路径;基于初始演示文稿的路径确定待编辑演示文稿;将待编辑演示文稿进行编辑得到目标演示文稿。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 according to the path of the content template and the coding of the style template; determine the path of the style template according to the path of the content template and the path of the style template The path of the initial presentation; the presentation to be edited is determined based on the path of the initial presentation; the target presentation is obtained by editing the presentation to be edited.

处理单元702还用于基于路径提取初始演示文稿;根据样式模板上的编辑代码和内容模板上的数据确定待编辑演示文稿。The processing unit 702 is further configured to extract the initial presentation based on the path; and determine the presentation to be edited according to the editing code on the style template and the data on the content template.

处理单元702还用于,利用Apache POI编辑待编辑演示文稿;基于编辑好的待编辑演示文稿确定目标演示文稿。The processing unit 702 is further configured to use Apache POI to edit the presentation to be edited; and to determine the target presentation based on the edited presentation to be edited.

图8是本申请实施例提供的演示文稿生成设备的示意图。如图8所示,该实施例的演示文稿生成设备800包括:处理器810、存储器820以及存储在所述存储器820中并可在所述处理器810上运行的计算机程序830。处理器810执行所述计算机程序830时实现上述各个演示文稿生成的方法实施例中的步骤,例如图1所示的步骤110至150。或者,所述处理器810执行所述计算机程序830时实现上述各装置实施例中各模块/单元的功能,例如图7所示模块710-720的功能。FIG. 8 is a schematic diagram of a presentation document generation device provided by an embodiment of the present application. As shown in FIG. 8 , the presentation generating apparatus 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, the steps in each of the foregoing method embodiments for generating presentations are implemented, for example, steps 110 to 150 shown in FIG. 1 . Alternatively, when the processor 810 executes the computer program 830, the functions of the modules/units in each of the foregoing apparatus embodiments, such as the functions of the modules 710-720 shown in FIG. 7, are implemented.

示例性的,所述计算机程序830可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器820中,并由处理器810执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序830在所述演示文稿生成设备800中的执行过程。Exemplarily, the computer program 830 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 820 and executed by the processor 810 to complete the present application . The one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 830 in the presentation generating apparatus 800 .

所述演示文稿生成设备800可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述演示文稿生成设备可包括,但不仅限于,处理器810、存储器820。本领域技术人员可以理解,图8仅仅是演示文稿生成设备的示例,并不构成对演示文稿生成设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述演示文稿生成设备还可以包括输入输出设备、网络接入设备、总线等。The presentation generating device 800 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The presentation generating device may include, but is not limited to, a processor 810 and a memory 820 . Those skilled in the art can understand that FIG. 8 is only an example of a presentation generation device, and does not constitute a limitation on the presentation generation device, and may include more or less components than those shown in the figure, or combine some components, or different For example, the presentation generating device may also include input and output devices, network access devices, buses, and the like.

所称处理器810可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 810 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器820可以是所述演示文稿生成设备800的内部存储单元,例如演示文稿生成设备800的硬盘或内存。所述存储器820也可以是所述演示文稿生成设备800的外部存储设备,例如所述演示文稿生成设备800上配备的插接式硬盘,智能存储卡(Smart MediaCard,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器820还可以既包括所述演示文稿生成设备800的内部存储单元也包括外部存储设备。所述存储器820用于存储所述计算机程序以及所述演示文稿生成设备所需的其他程序和数据。所述存储器820还可以用于暂时地存储已经输出或者将要输出的数据。The memory 820 may be an internal storage unit of the presentation generation device 800 , such as a hard disk or a memory of the presentation generation device 800 . The memory 820 may also be an external storage device of the presentation generation device 800, such as a plug-in hard disk, a smart memory card (Smart MediaCard, SMC), a secure digital (Secure Digital) equipped on the presentation generation device 800. , SD) card, flash memory card (Flash Card) and so on. Further, the memory 820 may also include both an internal storage unit of the presentation generation device 800 and an external storage device. The memory 820 is used to store the computer program and other programs and data required by the presentation generating apparatus. The memory 820 may also be used to temporarily store data that has been output or will be output.

本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现上述演示文稿的生成法。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned method for generating a presentation can be implemented.

本申请实施例提供了一种计算机程序产品,当计算机程序产品在演示文稿生成设备上运行时,使得演示文稿生成设备执行时实现可实现上述演示文稿生成方法。The embodiments of the present application provide a computer program product, when the computer program product runs on a presentation generation device, the above-mentioned presentation generation method can be realized when the presentation generation device is executed.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units. Or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The integrated modules/units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When executed by a processor, the steps of each of the above method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media Electric carrier signals and telecommunication signals are not included.

以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be included in the within the scope of protection of this application.

Claims (10)

1.一种演示文稿的生成方法,其特征在于,所述方法包括:1. a generation method of presentation, it is characterised in that the method comprises: 接收用户的第一操作;Receive the user's first operation; 根据所述第一操作确定目标演示文稿的样式模板;Determine the style template of the target presentation according to the first operation; 接收第一请求,所述第一请求用于请求演示文稿,所述第一请求包括:所述用户的ID信息和方案的ID信息,每个用户ID对应多个方案;Receive a first request, where the first request is used to request a presentation, and the first request includes: the ID information of the user and the ID information of the scheme, and each user ID corresponds to multiple schemes; 根据所述第一请求确定所述目标演示文稿的内容模板;determining the content template of the target presentation according to the first request; 根据所述样式模板和所述内容模板确定所述目标演示文稿。The target presentation is determined based on the style template and the content template. 2.根据权利要求1所述的方法,其特征在于,所述根据所述第一请求确定所述目标演示文稿的内容模板,包括:2. The method according to claim 1, wherein the determining the content template of the target presentation according to the first request comprises: 根据所述方案的ID信息确定所述用户的第一信息,所述用户的第一信息包括:与所述用户方案对应的业务信息和所述用户公司维护的内容信息;The first information of the user is determined according to the ID information of the plan, and the first information of the user includes: service information corresponding to the user plan and content information maintained by the user company; 根据所述第一信息与预设的内容模板库确定所述目标演示文稿的内容模板。The content template of the target presentation is determined according to the first information and a preset content template library. 3.根据权利要求2所述的方法,其特征在于,所述预设的内容模板库包括多个内容模板,每个内容模板包括多个样式模板,每个样式模板包括样式模板的编码,所述根据所述样式模板和所述内容模板确定目标演示文稿,包括:3. The method according to claim 2, wherein the preset content template library includes a plurality of content templates, each content template includes a plurality of style templates, and each style template includes a code of the style template, and the Determining the target presentation according to the style template and the content template, including: 基于所述目标演示文稿的内容模板确定所述内容模板的路径;determining a path to the content template based on the content template of the target presentation; 根据所述内容模板的路径和所述样式模板的编码确定所述目标演示文稿的样式模板的路径;Determine the path of the style template of the target presentation according to the path of the content template and the encoding of the style template; 根据所述内容模板的路径和所述样式模板的路径确定初始演示文稿的路径;Determine the path of the initial presentation according to 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; 将所述待编辑演示文稿进行编辑得到目标演示文稿。Edit the presentation to be edited to obtain a target presentation. 4.根据权利要求3所述的方法,其特征在于,每个样式模板对应编辑代码,所述基于所述初始演示文稿的路径确定待编辑演示文稿,包括:4. The method according to claim 3, wherein each style template corresponds to an editing code, and the determination of the presentation to be edited based on the path of the initial presentation comprises: 基于所述路径提取所述初始演示文稿,所述初始演示文稿包括:样式模板和内容模板;Extracting the initial presentation based on the path, the initial presentation includes: a style template and a content template; 根据所述样式模板上的编辑代码和所述内容模板上的数据确定所述待编辑演示文稿。The to-be-edited presentation is determined according to the editing code on the style template and the data on the content template. 5.根据权利要求3或4所述的方法,其特征在于,所述将所述待编辑演示文稿进行编辑得到目标演示文稿,包括:5. The method according to claim 3 or 4, wherein the described presentation to be edited is edited to obtain a target presentation, comprising: 利用Apache POI编辑所述待编辑演示文稿;Utilize Apache POI to edit the to-be-edited presentation; 基于编辑好的待编辑演示文稿确定所述目标演示文稿。The target presentation is determined based on the edited presentation to be edited. 6.根据权利要求5所述的方法,其特征在于,所述用户方案对应的业务信息包括权益工具、激励人数、激励股数、激励价格、时间安排、摊销预测、授予条件、归属条件、异动处理中的至少一个;所述用户公司维护的内容信息包括:用户所属的公司名称和代码。6. The method according to claim 5, wherein the business information corresponding to the user scheme comprises equity instruments, incentive numbers, incentive shares, incentive price, time arrangement, amortization forecast, granting conditions, attribution conditions, At least one of transaction processing; the content information maintained by the user company includes: the company name and code to which the user belongs. 7.一种演示文稿的生成装置,其特征在于,所述装置包括用于执行如权利要求1至6中任一项所述的方法的单元。7. An apparatus for generating a presentation, characterized in that the apparatus comprises a unit for performing the method according to any one of claims 1 to 6. 8.一种终端设备,其特征在于,所述终端设备包括处理器,所述处理器用于执行如权利要求1至6中任一项所述的方法。8 . A terminal device, characterized in that the terminal device comprises a processor, and the processor is configured to execute the method according to any one of claims 1 to 6 . 9.一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的方法。9 . A computer-readable storage medium storing a computer program, wherein the computer program implements the method according to any one of claims 1 to 6 when the computer program is executed by a processor. 10 . 10.一种芯片,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至6中任一项所述的方法。10. A chip, characterized by comprising: a processor for invoking and running a computer program from a memory, so that a device on which the chip is installed executes the method according to any one of claims 1 to 6.
CN202111662274.3A 2021-12-30 2021-12-30 A method, device and device for generating a presentation Pending CN114417791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111662274.3A CN114417791A (en) 2021-12-30 2021-12-30 A method, device and device for generating a presentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111662274.3A CN114417791A (en) 2021-12-30 2021-12-30 A method, device and device for generating a presentation

Publications (1)

Publication Number Publication Date
CN114417791A true CN114417791A (en) 2022-04-29

Family

ID=81272137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111662274.3A Pending CN114417791A (en) 2021-12-30 2021-12-30 A method, device and device for generating a presentation

Country Status (1)

Country Link
CN (1) CN114417791A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150007034A1 (en) * 2013-06-28 2015-01-01 Successfactors, Inc. Systems and Methods for Presentations with Live Application Integration
CN108509405A (en) * 2018-04-11 2018-09-07 北京深度智耀科技有限公司 A kind of generation method of PowerPoint, device and equipment
CN109325729A (en) * 2018-08-21 2019-02-12 平安科技(深圳)有限公司 A kind of method and server generating electronic contract
KR20210066470A (en) * 2019-11-28 2021-06-07 한국과학기술정보연구원 Documents conversion apparatus, and control method thereof
CN113420042A (en) * 2021-06-22 2021-09-21 平安养老保险股份有限公司 Data statistics method, device, equipment and storage medium based on presentation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150007034A1 (en) * 2013-06-28 2015-01-01 Successfactors, Inc. Systems and Methods for Presentations with Live Application Integration
CN108509405A (en) * 2018-04-11 2018-09-07 北京深度智耀科技有限公司 A kind of generation method of PowerPoint, device and equipment
CN109325729A (en) * 2018-08-21 2019-02-12 平安科技(深圳)有限公司 A kind of method and server generating electronic contract
KR20210066470A (en) * 2019-11-28 2021-06-07 한국과학기술정보연구원 Documents conversion apparatus, and control method thereof
CN113420042A (en) * 2021-06-22 2021-09-21 平安养老保险股份有限公司 Data statistics method, device, equipment and storage medium based on presentation

Similar Documents

Publication Publication Date Title
US11250035B2 (en) Knowledge graph generating apparatus, method, and non-transitory computer readable storage medium thereof
US20150200893A1 (en) Document review system
CN108073429B (en) Payment mode configuration method, device, equipment and storage medium
CN107391561B (en) Advertisement processing method in content source page, server and computer readable medium
CN114998484A (en) Audio and video generation method and device, computer equipment and storage medium
CN110263316A (en) A kind of document handling method, device and computer equipment
CN113849506A (en) Data import method, device, equipment and medium
CN113779469B (en) Website page modification method and device, electronic device, and storage medium
CN108536715B (en) Preview page generation method, device, equipment and storage medium
CN111881051A (en) Test case generation method and device, terminal and storage medium
CN112417831A (en) Table merging method and device
CN117033309A (en) Data conversion method and device, electronic equipment and readable storage medium
CN112182350A (en) Content library-based interaction method, device, server and storage medium
CN113987054B (en) Big data data governance full process visualization method, device and storage medium
CN118861272A (en) Knowledge base visualization configuration method, device, equipment, storage medium and product
CN113157964A (en) Method and device for searching data set through voice and electronic equipment
CN112947984A (en) Application program development method and device
CN111666520A (en) Method and device for generating electronic form based on form image
CN116992850A (en) Enterprise report text generation method and device and electronic equipment
CN113643408B (en) Image generation method and device, computer readable storage medium and electronic device
CN114417791A (en) A method, device and device for generating a presentation
US11120204B2 (en) Comment-based article augmentation
CN114117310A (en) A page generation method, apparatus, electronic device and computer readable medium
CN113326680A (en) Method and device for generating table
CN113672223B (en) Data display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination