CN110688829B - Table generation method, device, equipment and storage medium - Google Patents
Table generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110688829B CN110688829B CN201910924153.8A CN201910924153A CN110688829B CN 110688829 B CN110688829 B CN 110688829B CN 201910924153 A CN201910924153 A CN 201910924153A CN 110688829 B CN110688829 B CN 110688829B
- Authority
- CN
- China
- Prior art keywords
- template
- card
- target
- user
- page
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000004044 response Effects 0.000 claims abstract description 56
- 238000004590 computer program Methods 0.000 claims description 9
- 239000000758 substrate Substances 0.000 claims 1
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 4
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000000644 propagated effect Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域Technical Field
本公开实施例涉及计算机技术领域,尤其涉及一种表格生成方法、装置、设备及存储介质。The embodiments of the present disclosure relate to the field of computer technology, and in particular to a table generation method, apparatus, device, and storage medium.
背景技术Background technique
随着数据量的增多,用户常常使用表格来体现数据之间的关联关系,对表格的使用频率越来越高。目前,市场上的在线文档主要有google、office等,这些在线文档都提供了模板功能,支持通过模板进行表格内容的生成。As the amount of data increases, users often use tables to reflect the relationship between data, and the frequency of using tables is increasing. At present, the online documents on the market mainly include Google, Office, etc. These online documents all provide template functions and support the generation of table content through templates.
但是,在多业务的情况下,在线文档的表格模板中心的内容较为冗杂,用户在模板中心挑选表格模板时,既要挑选表格类型,又要挑选表格的使用场景,导致挑选表格模板的时间较长,很多情况下不能满足快速创建表格的需求。However, in the case of multiple businesses, the content of the table template center of the online document is relatively redundant. When users select a table template in the template center, they must select both the table type and the usage scenario of the table, which results in a long time to select the table template. In many cases, it cannot meet the needs of quickly creating tables.
发明内容Summary of the invention
本公开实施例提供一种表格生成方法、装置、设备及存储介质,以实现通过内置模板来快速创建表格,减少用户挑选表格模板的时间,提高表格的创建效率。The embodiments of the present disclosure provide a table generation method, apparatus, device and storage medium to realize rapid creation of a table through a built-in template, reduce the time for users to select a table template, and improve the efficiency of table creation.
第一方面,本公开实施例提供了一种表格生成方法,包括:In a first aspect, an embodiment of the present disclosure provides a table generation method, including:
响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,所述模板选择列表中包括至少一个备选模板卡片;In response to a user's form creation request, providing a template selection list and a form page for inputting form content, wherein the template selection list includes at least one candidate template card;
响应于用户对所述模板选择列表中的目标模板卡片的预览请求,对与所述目标模板卡片匹配的预览页面进行显示;In response to a user's preview request for a target template card in the template selection list, displaying a preview page matching the target template card;
响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容,生成目的表格。In response to a template use request input by a user for the preview page, the table content matching the target template card is filled in the table page to generate a target table.
进一步的,所述模板选择列表设置于所述表格页面的底部;Further, the template selection list is set at the bottom of the table page;
所述备选模板卡片中包括模板卡片缩略图以及模板名称,所述模板卡片缩略图为模板的示意插图。The candidate template card includes a template card thumbnail and a template name, and the template card thumbnail is a schematic illustration of the template.
进一步的,至少一个所述备选模板卡片对应的表格模板中分别包括至少两个互相关联的子表;Furthermore, at least one of the table templates corresponding to the candidate template card includes at least two mutually related sub-tables;
所述响应于用户对所述模板选择列表中的目标模板卡片的预览请求,对与所述目标模板卡片匹配的预览页面进行显示,包括:The step of responding to a user's request for previewing a target template card in the template selection list and displaying a preview page matching the target template card comprises:
响应于用户对所述模板选择列表中的目标模板卡片的预览请求,对与所述目标模板卡片的目标子表匹配的预览页面进行显示,所述预览页面包括切换选项;In response to a user's preview request for a target template card in the template selection list, displaying a preview page matching a target sub-table of the target template card, the preview page including a switching option;
响应于用户对所述切换选项的点击操作,对与所述目标子表关联的任一其它子表匹配的预览页面进行显示;In response to a user clicking operation on the switching option, displaying a preview page matching any other sub-table associated with the target sub-table;
其中,所述预览页面不可编辑。The preview page is not editable.
进一步的,在提供模板选择列表之前,还包括:Furthermore, before providing a template selection list, it also includes:
获取备选模板卡片集合,并根据所述备选模板卡片集合中各所述备选模板卡片的排序权重,确定各所述备选模板卡片的显示顺序;Acquire a candidate template card set, and determine the display order of each candidate template card according to the sorting weight of each candidate template card in the candidate template card set;
按照各所述备选模板卡片的显示顺序,选择预设数量的备选模板卡片生成所述模板选择列表;According to the display order of each candidate template card, a preset number of candidate template cards are selected to generate the template selection list;
响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容之后,还包括:In response to a template use request input by a user for the preview page, after the table content matching the target template card is filled in the table page, the method further includes:
更新所述目标模板卡片的排序权重。Update the sorting weight of the target template card.
进一步的,所述模板选择列表还包括模板选择卡片,所述模板选择卡片与模板库相关联;所述方法还包括:Furthermore, the template selection list also includes a template selection card, and the template selection card is associated with the template library; the method also includes:
响应于用户对所述模板选择卡片的点击操作,显示与所述模板库对应的模板选择列表;In response to a user clicking operation on the template selection card, displaying a template selection list corresponding to the template library;
响应于用户针对所述模板选择列表选择的标准模板卡片,在所述表格页面中填入与所述标准模板卡片匹配的表格内容;In response to a standard template card selected by a user from the template selection list, filling in the table page with table content matching the standard template card;
将所述标准模板卡片加入至所述备选模板卡片集合中,并为所述标准模板卡片设置初始的排序权重。The standard template card is added to the candidate template card set, and an initial sorting weight is set for the standard template card.
进一步的,所述模板选择列表还包括自定义选项;所述方法还包括:Furthermore, the template selection list also includes a custom option; and the method further includes:
响应于用户对所述自定义选项的点击操作,获取所述用户输入的自定义模板卡片;In response to a user clicking operation on the custom option, obtaining a custom template card input by the user;
将所述自定义模板卡片存储到模板库以及所述备选模板卡片集合中,并为所述自定义模板卡片设置初始的排序权重。The custom template card is stored in the template library and the candidate template card set, and an initial sorting weight is set for the custom template card.
进一步的,在响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容之后,还包括:Further, in response to a template use request input by a user for the preview page, after the table content matching the target template card is filled in the table page, the method further includes:
若所述表格页面的标题为默认标题,则将所述标题替换为所述目标模板卡片的模板名称;If the title of the table page is a default title, the title is replaced with the template name of the target template card;
若所述表格页面的标题为非默认标题,则保留所述标题。If the table page has a non-default title, the title is retained.
进一步的,在响应于用户针对所述预览页面输入的模板使用请求之后,还包括:Further, after responding to a template use request input by a user for the preview page, the method further includes:
对所述模板选择列表进行隐藏显示;Hiding and displaying the template selection list;
在所述表格页面中填入与所述目标模板卡片匹配的表格内容之后,还包括:After the table content matching the target template card is filled in the table page, the method further includes:
响应于用户的模板重选择指令,调出所述模板选择列表进行重显示。In response to a template reselection instruction from the user, the template selection list is called out for re-display.
第二方面,本公开实施例还提供了一种表格生成装置,包括:In a second aspect, the present disclosure also provides a table generating device, including:
表格创建模块,用于响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,所述模板选择列表中包括至少一个备选模板卡片;A form creation module, for providing a template selection list and a form page for inputting form content in response to a form creation request from a user, wherein the template selection list includes at least one candidate template card;
模板预览模块,用于响应于用户对所述模板选择列表中的目标模板卡片的预览请求,对与所述目标模板卡片匹配的预览页面进行显示;A template preview module, configured to respond to a user's preview request for a target template card in the template selection list and display a preview page matching the target template card;
表格生成模块,用于响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容,生成目的表格。The table generation module is used to respond to the template use request input by the user for the preview page, fill in the table content matching the target template card in the table page, and generate the target table.
第三方面,本公开实施例还提供了一种设备,所述设备包括:In a third aspect, an embodiment of the present disclosure further provides a device, the device comprising:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开任意实施例提供的表格生成方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the table generating method provided by any embodiment of the present disclosure.
第四方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开任意实施例提供的表格生成方法。In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a table generating method as provided in any embodiment of the present disclosure.
本公开实施例的技术方案,通过响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,模板选择列表中包括至少一个备选模板卡片,然后响应于用户对模板选择列表中的目标模板卡片的预览请求,对与目标模板卡片匹配的预览页面进行显示;响应于用户针对预览页面输入的模板使用请求,在表格页面中填入与目标模板卡片匹配的表格内容,生成目的表格,解决了现有技术中用户挑选表格模板的时间较长,表格的生成速度较慢的问题,实现了通过内置模板来帮助用户快速创建表格,减少用户挑选表格模板的时间,提高表格的创建效率。The technical solution of the disclosed embodiment provides a template selection list and a table page for inputting table content in response to a user's table creation request, wherein the template selection list includes at least one alternative template card, and then displays a preview page matching the target template card in response to a user's preview request for a target template card in the template selection list; fills in the table page with table content matching the target template card in response to a template use request input by the user for the preview page to generate a target table, thereby solving the problem in the prior art that it takes a long time for users to select table templates and the table generation speed is slow, and realizes the use of built-in templates to help users quickly create tables, thereby reducing the time for users to select table templates and improving the efficiency of table creation.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1a是本公开实施例一中的一种表格生成方法的流程图;FIG. 1a is a flow chart of a table generation method in Embodiment 1 of the present disclosure;
图1b是本公开实施例中的一种表格页面的示意图;FIG1b is a schematic diagram of a table page in an embodiment of the present disclosure;
图1c是本公开实施例中的一种表格页面的示意图;FIG1c is a schematic diagram of a table page in an embodiment of the present disclosure;
图2是本公开实施例二中的一种表格生成方法的流程图;FIG2 is a flow chart of a table generation method in a second embodiment of the present disclosure;
图3是本公开实施例三中的一种表格生成装置的结构示意图;FIG3 is a schematic diagram of the structure of a table generating device in Embodiment 3 of the present disclosure;
图4是本公开实施例四中的一种设备的结构示意图。FIG4 is a schematic diagram of the structure of a device in Embodiment 4 of the present disclosure.
具体实施方式Detailed ways
下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本公开,而非对本公开的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本公开相关的部分而非全部结构。The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present disclosure, rather than to limit the present disclosure. It should also be noted that, for ease of description, only parts related to the present disclosure are shown in the accompanying drawings, rather than all structures.
实施例一Embodiment 1
图1a是本公开实施例一中的一种表格生成方法的流程图,本公开实施例可适用于用户根据内置模板创建表格的情况,该方法可以由表格生成装置来执行,该装置可以由软件和/或硬件的方式实现,并一般可以集成在提供表格创建功能的设备中,例如终端设备或服务器等。结合图1a,具体包括如下步骤:FIG1a is a flow chart of a table generation method in the first embodiment of the present disclosure. The present embodiment is applicable to the case where a user creates a table according to a built-in template. The method can be executed by a table generation device, which can be implemented by software and/or hardware and can generally be integrated in a device that provides a table creation function, such as a terminal device or a server. In conjunction with FIG1a, the method specifically includes the following steps:
步骤110、响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,模板选择列表中包括至少一个备选模板卡片。Step 110: In response to the user's request to create a form, provide a template selection list and a form page for inputting form content, wherein the template selection list includes at least one candidate template card.
本公开实施例中,表格创建请求可以是用户通过点击应用程序中的“新建”按钮生成的,用于使终端生成一个新的表格页面并提供给用户,以供用户通过在该表格页面中输入适当的表格内容,生成自身需要的目的表格。In the disclosed embodiment, a form creation request may be generated by a user by clicking a "New" button in an application, which enables the terminal to generate a new form page and provide it to the user, so that the user can generate the desired destination form by entering appropriate form content in the form page.
由于重新制作表格花费的时间比较长,用户通常根据表格模板向新建的表格页面填入表格内容以生成表格,为了方便用户快速选择出合适的表格模板,本公开实施例根据用户对各备选模板的历史使用频率,或者其他用户对各备选模板的推荐度,生成包括至少一个备选模板卡片的模板选择列表,并设置在表格页面中,以在用户创建新的表格页面时提供给用户。Since it takes a long time to re-create a table, users usually fill in the table content on a newly created table page according to the table template to generate a table. In order to facilitate users to quickly select a suitable form template, the embodiment of the present disclosure generates a template selection list including at least one alternative template card based on the user's historical usage frequency of each alternative template, or the recommendation degree of each alternative template by other users, and sets it in the table page to provide it to the user when the user creates a new table page.
可选的,模板选择列表设置于表格页面的底部,如图1b所示;备选模板卡片中包括模板卡片缩略图以及模板名称,模板卡片缩略图为模板的示意插图。本公开实施例中,通过将模板选择列表设置于表格页面的底部,可以给每个模板卡片更多的显示空间,从而更好的向用户显示模板卡片的缩略图以及模板名称。Optionally, the template selection list is set at the bottom of the table page, as shown in FIG1b; the candidate template card includes a template card thumbnail and a template name, and the template card thumbnail is a schematic illustration of the template. In the disclosed embodiment, by setting the template selection list at the bottom of the table page, each template card can be given more display space, thereby better displaying the template card thumbnail and template name to the user.
步骤120、响应于用户对模板选择列表中的目标模板卡片的预览请求,对与目标模板卡片匹配的预览页面进行显示。Step 120: In response to the user's request to preview the target template card in the template selection list, display a preview page matching the target template card.
本公开实施例中,目标模板卡片为用户从模板选择列表中选择的想要预览的模板卡片,当用户点击该目标模板卡片时,生成与该目标模板卡片对应的预览请求,并根据该请求显示与该目标模板卡片匹配的预览页面。In the disclosed embodiment, the target template card is the template card that the user selects from the template selection list and wants to preview. When the user clicks on the target template card, a preview request corresponding to the target template card is generated, and a preview page matching the target template card is displayed according to the request.
可选的,模板选择列表的至少一个备选模板卡片对应的表格模板中分别包括至少两个互相关联的子表;响应于用户对模板选择列表中的目标模板卡片的预览请求,对与目标模板卡片匹配的预览页面进行显示,包括:响应于用户对模板选择列表中的目标模板卡片的预览请求,对与目标模板卡片的目标子表匹配的预览页面进行显示,预览页面包括切换选项;响应于用户对切换选项的点击操作,对与目标子表关联的任一其它子表匹配的预览页面进行显示;其中,预览页面不可编辑。Optionally, the table template corresponding to at least one alternative template card in the template selection list includes at least two interrelated sub-tables respectively; in response to a user's preview request for a target template card in the template selection list, a preview page matching the target template card is displayed, including: in response to a user's preview request for a target template card in the template selection list, a preview page matching a target sub-table of the target template card is displayed, the preview page including a switching option; in response to a user clicking the switching option, a preview page matching any other sub-table associated with the target sub-table is displayed; wherein the preview page is not editable.
本公开实施例中,各备选模板卡片对应的表格模板中可以包括至少两个互相关联的子表,使用多个子表更加清楚的显示表格内容之间的关系,示例性的,某表格模板包括3张互相关联的子表,第一张子表可以表示多个仓库和多种商品的整体说明,与第一张子表关联的第二张子表可以表示每个仓库存放的商品清单,第三张子表可以表示各种商品的数目以及所在的仓库。In the disclosed embodiment, the table template corresponding to each alternative template card may include at least two interrelated sub-tables. Multiple sub-tables are used to more clearly display the relationship between the table contents. For example, a table template includes 3 interrelated sub-tables. The first sub-table can represent an overall description of multiple warehouses and multiple commodities. The second sub-table associated with the first sub-table can represent a list of commodities stored in each warehouse. The third sub-table can represent the number of various commodities and the warehouses where they are located.
可选的,对于包括多个子表的表格模板,可以将模板中的第一张子表当作目标子表,当用户对模板选择列表中的目标模板卡片进行点击预览操作时,可以先对与目标模板卡片的目标子表匹配的预览页面进行显示,即先显示目标模板的第一张子表的预览页面,并在该页面上提供切换选项,例如“下一张”按钮,使得用户可以对各子表进行切换预览,如图1c所示。当用户想预览该表格模板的其他子表而点击该切换选项时,响应于用户对切换选项的点击操作,对与目标子表关联的任一其它子表匹配的预览页面进行显示,或者,按照各子表在模板卡片中的排列顺序,对排在目标子表后面的子表的预览页面进行显示,例如,可以显示与模板中的第二张子表匹配的预览页面,其中,预览页面不可编辑。Optionally, for a table template including multiple subtables, the first subtable in the template can be used as the target subtable. When the user clicks on the target template card in the template selection list to perform a preview operation, the preview page matching the target subtable of the target template card can be displayed first, that is, the preview page of the first subtable of the target template is displayed first, and a switching option, such as a "next" button, is provided on the page, so that the user can switch previews of each subtable, as shown in FIG1c. When the user wants to preview other subtables of the table template and clicks on the switching option, in response to the user's click operation on the switching option, a preview page matching any other subtable associated with the target subtable is displayed, or, according to the arrangement order of each subtable in the template card, a preview page of a subtable arranged after the target subtable is displayed, for example, a preview page matching the second subtable in the template can be displayed, wherein the preview page is not editable.
步骤130、响应于用户针对预览页面输入的模板使用请求,在表格页面中填入与目标模板卡片匹配的表格内容,生成目的表格。Step 130 , in response to a template use request input by the user for the preview page, fill in the table content matching the target template card in the table page to generate a target table.
本公开实施例中,各备选模板卡片匹配的预览页面中有使用选项和取消选项,例如,如图1c中的“使用”按钮和“取消”按钮,其中,使用选项用于将与其对应的模板的内容填入用户新建的表格页面中,生成目的表格,取消选项用于收起当前的预览页面。当用户确定要使用当前预览的备选模板卡片对应的表格模板时,直接点击该预览页面上的使用选项,以生成模板使用请求,响应于用户输入的模板使用请求,在新建的表格页面中填入与目标模板卡片匹配的表格内容,生成目的表格。In the disclosed embodiment, the preview page that matches each candidate template card has a use option and a cancel option, for example, the "use" button and the "cancel" button in FIG. 1c, wherein the use option is used to fill the content of the corresponding template into the newly created table page of the user to generate the target table, and the cancel option is used to collapse the current preview page. When the user determines to use the table template corresponding to the currently previewed candidate template card, the user directly clicks the use option on the preview page to generate a template use request, and in response to the template use request input by the user, the table content matching the target template card is filled into the newly created table page to generate the target table.
可选的,在响应于用户针对预览页面输入的模板使用请求,在表格页面中填入与目标模板卡片匹配的表格内容之后,还包括:若表格页面的标题为默认标题,则将标题替换为目标模板卡片的模板名称;若表格页面的标题为非默认标题,则保留标题。Optionally, in response to a template usage request input by the user for the preview page, after filling in the table content that matches the target template card in the table page, it also includes: if the title of the table page is a default title, replacing the title with the template name of the target template card; if the title of the table page is a non-default title, retaining the title.
示例性的,若用户创建表格页面后,将表格页面的标题设置为“商品清单”,而用户从模板选择列表中选择的模板的名称为“货物清单”,则在用户使用该模板填写该表格页面的内容后,生成的目的表格的标题依然为“商品清单”;若用户未对创建的表格页面的标题进行设置,即该表格页面的标题为默认的“新建表格”,则在用户使用“货物清单”模板填写该表格页面后,生成的目的表格的标题变为“货物清单”。For example, if after creating a table page, the user sets the title of the table page to "Goods List", and the name of the template selected by the user from the template selection list is "Goods List", then after the user uses the template to fill in the contents of the table page, the title of the generated destination table is still "Goods List"; if the user does not set the title of the created table page, that is, the title of the table page is the default "New Form", then after the user fills in the table page using the "Goods List" template, the title of the generated destination table becomes "Goods List".
可选的,在响应于用户针对预览页面输入的模板使用请求之后,还包括:对模板选择列表进行隐藏显示,以避免模板选择列表对目的表格的内容进行遮挡,或者,避免占用目的表格内容的显示面积。Optionally, after responding to a template use request input by the user for the preview page, the method further includes: hiding the template selection list to avoid the template selection list from obstructing the contents of the target table, or to avoid occupying the display area of the contents of the target table.
可选的,在表格页面中填入与目标模板卡片匹配的表格内容之后,还包括:响应于用户的模板重选择指令,调出模板选择列表进行重显示。本公开实施例中,若用户使用当前选择的模板填写表格页面后,发现生成的目的表格与预期的不太一致,需要重新选择模板,则会直接点击表格页面中的重选择选项,生成模板重选择指令,响应于该模板重选择指令,调出模板选择列表进行重显示。Optionally, after the table content matching the target template card is filled in the table page, the process further includes: in response to the user's template reselection instruction, calling up the template selection list for re-display. In the disclosed embodiment, if the user fills in the table page using the currently selected template and finds that the generated target table is not consistent with the expected one and needs to reselect the template, the user will directly click the reselect option in the table page to generate a template reselection instruction, and in response to the template reselection instruction, call up the template selection list for re-display.
本公开实施例的技术方案,通过响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,模板选择列表中包括至少一个备选模板卡片,然后响应于用户对模板选择列表中的目标模板卡片的预览请求,对与目标模板卡片匹配的预览页面进行显示;响应于用户针对预览页面输入的模板使用请求,在表格页面中填入与目标模板卡片匹配的表格内容,生成目的表格,解决了现有技术中用户挑选表格模板的时间较长,表格的生成速度较慢的问题,实现了通过内置模板来帮助用户快速创建表格,减少用户挑选表格模板的时间,提高表格的创建效率。The technical solution of the disclosed embodiment provides a template selection list and a table page for inputting table content in response to a user's table creation request, wherein the template selection list includes at least one alternative template card, and then displays a preview page matching the target template card in response to a user's preview request for a target template card in the template selection list; fills in the table page with table content matching the target template card in response to a template use request input by the user for the preview page to generate a target table, thereby solving the problem in the prior art that it takes a long time for users to select table templates and the table generation speed is slow, and realizes the use of built-in templates to help users quickly create tables, thereby reducing the time for users to select table templates and improving the efficiency of table creation.
实施例二Embodiment 2
图2是本公开实施例二中的一种表格生成方法的流程图,本公开实施例可以与上述实施例中各个可选方案结合。具体的,参考图2,该方法可以包括如下步骤:FIG2 is a flow chart of a table generation method in Embodiment 2 of the present disclosure. The embodiment of the present disclosure can be combined with each optional solution in the above embodiment. Specifically, referring to FIG2, the method may include the following steps:
步骤210、根据备选模板卡片集合,生成模板选择列表。Step 210: Generate a template selection list based on the candidate template card set.
本公开实施例中,为了可以向用户提供模板选择列表,先获取备选模板卡片集合,并根据备选模板卡片集合中各备选模板卡片的排序权重,确定各备选模板卡片的显示顺序;按照各备选模板卡片的显示顺序,选择预设数量的备选模板卡片生成模板选择列表。其中,与备选模板卡片集合中的备选模板卡片对应的表格模板,可以是从服务器存储的模板库中获取的用户使用过的模板,或者是从网络上下载的推荐度较高的一定数量的模板。In the disclosed embodiment, in order to provide a template selection list to the user, a candidate template card set is first obtained, and the display order of each candidate template card in the candidate template card set is determined according to the sorting weight of each candidate template card in the candidate template card set; according to the display order of each candidate template card, a preset number of candidate template cards are selected to generate a template selection list. Among them, the table template corresponding to the candidate template card in the candidate template card set can be a template used by the user obtained from the template library stored in the server, or a certain number of templates with high recommendation degree downloaded from the network.
可选的,备选模板卡片的排序权重可以根据模板的用户使用频率、模板推荐度以及时间有效性来计算得到,例如,排序权重可以是用户使用频率、模板推荐度以及时间有效性的加权和值。示例性的,若用户使用频率所占的权重为0.4,模板推荐度所占的权重为0.2,时间有效性所占的权重为0.4,假设当前模板的用户使用频率为50%,模板推荐度为60%,时间有效性为有效,即为1,则该模板的排序权重为0.72。Optionally, the ranking weight of the candidate template card can be calculated based on the user usage frequency, template recommendation and time validity of the template. For example, the ranking weight can be the weighted sum of the user usage frequency, template recommendation and time validity. For example, if the weight of the user usage frequency is 0.4, the weight of the template recommendation is 0.2, and the weight of the time validity is 0.4, assuming that the user usage frequency of the current template is 50%, the template recommendation is 60%, and the time validity is valid, that is, 1, then the ranking weight of the template is 0.72.
其中,时间有效性有1和0两种选择,1表示有效,即该模板的使用时间在预设时间范围内,0表示无效,即该模板的使用时间不在预设时间范围内,通过合理设置预设时间范围,可以有效筛选出在任意时间范围内比较优质的模板,例如,预设时间范围为半年内,则可以筛选出在半年内用户使用频率和推荐度比较高的模板作为备选模板。Among them, time validity has two options 1 and 0. 1 means valid, that is, the usage time of the template is within the preset time range, and 0 means invalid, that is, the usage time of the template is not within the preset time range. By reasonably setting the preset time range, you can effectively screen out high-quality templates within any time range. For example, if the preset time range is within half a year, you can screen out templates with relatively high user usage frequency and recommendation within half a year as alternative templates.
本公开实施例中,排序权重也可以等于用户使用频率,或者等于模板推荐度,或者等于用户使用频率与模板推荐度的加权和,或者根据其他参数进行计算,本公开实施例对此并不进行限制,可根据需要进行设置和调整。In the embodiment of the present disclosure, the sorting weight may also be equal to the user usage frequency, or equal to the template recommendation degree, or equal to the weighted sum of the user usage frequency and the template recommendation degree, or calculated based on other parameters. The embodiment of the present disclosure does not limit this and can be set and adjusted as needed.
可选的,模板选择列表还包括自定义选项,用于给用户提供上传自定义模板的入口;相应地,本公开实施例的方法还包括:响应于用户对自定义选项的点击操作,获取用户输入的自定义模板卡片;将自定义模板卡片存储到模板库以及备选模板卡片集合中,并为自定义模板卡片设置初始的排序权重。Optionally, the template selection list also includes a custom option for providing users with an entry for uploading custom templates; accordingly, the method of the embodiment of the present disclosure also includes: in response to a user click operation on the custom option, obtaining a custom template card input by the user; storing the custom template card in a template library and a set of alternative template cards, and setting an initial sorting weight for the custom template card.
本公开实施例中,当用户没有找到自己想要的表格模板时,可以上传自定义模板,以方便自己以后使用,或者可以分享给其他用户使用。在获取用户输入的自定义模板卡片之后,通过将自定义模板卡片存储到模板库以及备选模板卡片集合中,并为自定义模板卡片设置初始的排序权重,使该自定义模板的模板卡片有机会在模板选择列表中显示。In the disclosed embodiment, when a user does not find the form template he wants, he can upload a custom template for his own future use, or share it with other users. After obtaining the custom template card input by the user, the custom template card is stored in the template library and the set of candidate template cards, and an initial sorting weight is set for the custom template card, so that the template card of the custom template has the opportunity to be displayed in the template selection list.
步骤220、响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面。Step 220: In response to the user's request to create a form, a template selection list and a form page for inputting form content are provided.
步骤230、响应于用户对模板选择列表中的目标模板卡片的预览请求,对与目标模板卡片匹配的预览页面进行显示。Step 230: In response to the user's request to preview the target template card in the template selection list, a preview page matching the target template card is displayed.
步骤240、响应于用户针对预览页面输入的模板使用请求,在表格页面中填入与目标模板卡片匹配的表格内容,生成目的表格。Step 240: In response to the template use request input by the user for the preview page, fill in the table content matching the target template card in the table page to generate the target table.
可选的,当目标模板卡片的排序权重与用户使用频率或者与时间有关时,在响应于用户针对预览页面输入的模板使用请求,在表格页面中填入与目标模板卡片匹配的表格内容之后,还包括:更新目标模板卡片的排序权重。Optionally, when the sorting weight of the target template card is related to the user's usage frequency or time, in response to the user's template usage request input for the preview page, after filling in the table content matching the target template card in the table page, it also includes: updating the sorting weight of the target template card.
可选的,模板选择列表中除了预设数量的备选模板卡片之外,还包括模板选择卡片,模板选择卡片与模板库相关联,用于当用户在模板选择列表中没有找到合适的模板时,可以通过该模板选择卡片从模板库中选择。其中,模板库中包括除模板选择列表中的备选模板卡片所对应的模板之外的许多其他模板。Optionally, in addition to a preset number of candidate template cards, the template selection list also includes a template selection card, which is associated with the template library and is used for selecting from the template library through the template selection card when the user does not find a suitable template in the template selection list. The template library includes many other templates in addition to the templates corresponding to the candidate template cards in the template selection list.
相应地,还可以包括:响应于用户对模板选择卡片的点击操作,显示与模板库对应的模板选择列表;响应于用户针对模板选择列表选择的标准模板卡片,在表格页面中填入与标准模板卡片匹配的表格内容;将标准模板卡片加入至备选模板卡片集合中,并为标准模板卡片设置初始的排序权重。Accordingly, it may also include: in response to a user clicking on a template selection card, displaying a template selection list corresponding to the template library; in response to a user selecting a standard template card from the template selection list, filling in a table page with table content that matches the standard template card; adding the standard template card to the set of alternative template cards, and setting an initial sorting weight for the standard template card.
本公开实施例的技术方案,通过响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,模板选择列表中包括至少一个备选模板卡片,然后响应于用户对模板选择列表中的目标模板卡片的预览请求,对与目标模板卡片匹配的预览页面进行显示;响应于用户针对预览页面输入的模板使用请求,在表格页面中填入与目标模板卡片匹配的表格内容,生成目的表格,解决了现有技术中用户挑选表格模板的时间较长,表格的生成速度较慢的问题,实现了通过内置模板来帮助用户快速创建表格,减少用户挑选表格模板的时间,提高表格的创建效率。The technical solution of the disclosed embodiment provides a template selection list and a table page for inputting table content in response to a user's table creation request, wherein the template selection list includes at least one alternative template card, and then displays a preview page matching the target template card in response to a user's preview request for a target template card in the template selection list; fills in the table page with table content matching the target template card in response to a template use request input by the user for the preview page to generate a target table, thereby solving the problem in the prior art that it takes a long time for users to select table templates and the table generation speed is slow, and realizes the use of built-in templates to help users quickly create tables, thereby reducing the time for users to select table templates and improving the efficiency of table creation.
实施例三Embodiment 3
图3是本公开实施例三中的一种表格生成装置的结构示意图,本公开实施例适用于用户根据内置模板创建表格的情况。该装置可以由软件和/或硬件的方式实现,并一般可以集成在提供表格创建功能的设备中,例如终端设备或服务器等。如图3所示,该表格生成装置包括:表格创建模块310、模板预览模块320和表格生成模块330;FIG3 is a schematic diagram of the structure of a table generation device in the third embodiment of the present disclosure. The present embodiment is applicable to the case where a user creates a table according to a built-in template. The device can be implemented by software and/or hardware, and can generally be integrated in a device that provides a table creation function, such as a terminal device or a server. As shown in FIG3, the table generation device includes: a table creation module 310, a template preview module 320 and a table generation module 330;
表格创建模块310,用于响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,所述模板选择列表中包括至少一个备选模板卡片;The form creation module 310 is used to provide a template selection list and a form page for inputting form content in response to a form creation request from a user, wherein the template selection list includes at least one candidate template card;
模板预览模块320,用于响应于用户对所述模板选择列表中的目标模板卡片的预览请求,对与所述目标模板卡片匹配的预览页面进行显示;The template preview module 320 is used to respond to a user's preview request for a target template card in the template selection list and display a preview page matching the target template card;
表格生成模块330,用于响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容,生成目的表格。The table generation module 330 is used to fill in the table content matching the target template card in the table page in response to the template use request input by the user for the preview page, and generate the target table.
本公开实施例的技术方案,通过响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,模板选择列表中包括至少一个备选模板卡片,然后响应于用户对模板选择列表中的目标模板卡片的预览请求,对与目标模板卡片匹配的预览页面进行显示;响应于用户针对预览页面输入的模板使用请求,在表格页面中填入与目标模板卡片匹配的表格内容,生成目的表格,解决了现有技术中用户挑选表格模板的时间较长,表格的生成速度较慢的问题,实现了通过内置模板来帮助用户快速创建表格,减少用户挑选表格模板的时间,提高表格的创建效率。The technical solution of the disclosed embodiment provides a template selection list and a table page for inputting table content in response to a user's table creation request, wherein the template selection list includes at least one alternative template card, and then displays a preview page matching the target template card in response to a user's preview request for a target template card in the template selection list; fills in the table page with table content matching the target template card in response to a template use request input by the user for the preview page to generate a target table, thereby solving the problem in the prior art that it takes a long time for users to select table templates and the table generation speed is slow, and realizes the use of built-in templates to help users quickly create tables, thereby reducing the time for users to select table templates and improving the efficiency of table creation.
进一步的,所述模板选择列表设置于所述表格页面的底部;Further, the template selection list is set at the bottom of the table page;
所述备选模板卡片中包括模板卡片缩略图以及模板名称,所述模板卡片缩略图为模板的示意插图。The candidate template card includes a template card thumbnail and a template name, and the template card thumbnail is a schematic illustration of the template.
进一步的,至少一个所述备选模板卡片对应的表格模板中分别包括至少两个互相关联的子表;Furthermore, at least one of the table templates corresponding to the candidate template card includes at least two mutually related sub-tables;
模板预览模块320,具体用于:响应于用户对所述模板选择列表中的目标模板卡片的预览请求,对与所述目标模板卡片的目标子表匹配的预览页面进行显示,所述预览页面包括切换选项;The template preview module 320 is specifically configured to: in response to a user's preview request for a target template card in the template selection list, display a preview page that matches a target sub-table of the target template card, wherein the preview page includes a switching option;
响应于用户对所述切换选项的点击操作,对与所述目标子表关联的任一其它子表匹配的预览页面进行显示;In response to a user clicking operation on the switching option, displaying a preview page matching any other sub-table associated with the target sub-table;
其中,所述预览页面不可编辑。The preview page is not editable.
进一步的,表格创建模块310,还包括:模板选择列表生成单元,用于在提供模板选择列表之前,获取备选模板卡片集合,并根据所述备选模板卡片集合中各所述备选模板卡片的排序权重,确定各所述备选模板卡片的显示顺序;Furthermore, the table creation module 310 further includes: a template selection list generation unit, which is used to obtain a candidate template card set before providing the template selection list, and determine the display order of each candidate template card according to the sorting weight of each candidate template card in the candidate template card set;
按照各所述备选模板卡片的显示顺序,选择预设数量的备选模板卡片生成所述模板选择列表;According to the display order of each candidate template card, a preset number of candidate template cards are selected to generate the template selection list;
表格生成模块330,还包括:权重更新单元,用于响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容之后,更新所述目标模板卡片的排序权重。The table generation module 330 also includes: a weight updating unit, which is used to update the sorting weight of the target template card after filling in the table content matching the target template card in the table page in response to the template use request input by the user for the preview page.
进一步的,所述模板选择列表还包括模板选择卡片,所述模板选择卡片与模板库相关联;所述装置还包括:模板选择模块,用于响应于用户对所述模板选择卡片的点击操作,显示与所述模板库对应的模板选择列表;Furthermore, the template selection list also includes a template selection card, and the template selection card is associated with the template library; the device also includes: a template selection module, which is used to display the template selection list corresponding to the template library in response to a user clicking operation on the template selection card;
响应于用户针对所述模板选择列表选择的标准模板卡片,在所述表格页面中填入与所述标准模板卡片匹配的表格内容;In response to a standard template card selected by a user from the template selection list, filling in the table content matching the standard template card in the table page;
将所述标准模板卡片加入至所述备选模板卡片集合中,并为所述标准模板卡片设置初始的排序权重。The standard template card is added to the candidate template card set, and an initial sorting weight is set for the standard template card.
进一步的,所述模板选择列表还包括自定义选项;所述装置还包括:自定义模块,用于响应于用户对所述自定义选项的点击操作,获取所述用户输入的自定义模板卡片;Furthermore, the template selection list also includes a custom option; the device also includes: a custom module, which is used to obtain a custom template card input by the user in response to a user clicking operation on the custom option;
将所述自定义模板卡片存储到模板库以及所述备选模板卡片集合中,并为所述自定义模板卡片设置初始的排序权重。The custom template card is stored in the template library and the candidate template card set, and an initial sorting weight is set for the custom template card.
进一步的,表格生成模块330,还用于:在响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容之后,若所述表格页面的标题为默认标题,则将所述标题替换为所述目标模板卡片的模板名称;Further, the table generation module 330 is further configured to: in response to a template use request input by a user for the preview page, after filling in the table content matching the target template card in the table page, if the title of the table page is a default title, replace the title with the template name of the target template card;
若所述表格页面的标题为非默认标题,则保留所述标题。If the table page has a non-default title, the title is retained.
进一步的,表格生成模块330,还用于:在响应于用户针对所述预览页面输入的模板使用请求之后,对所述模板选择列表进行隐藏显示;Furthermore, the table generation module 330 is further configured to: after responding to a template use request input by a user for the preview page, hide and display the template selection list;
进一步的,表格生成模块330,还用于:在所述表格页面中填入与所述目标模板卡片匹配的表格内容之后,响应于用户的模板重选择指令,调出所述模板选择列表进行重显示。Furthermore, the table generation module 330 is also used to: after the table content matching the target template card is filled in the table page, in response to the user's template reselection instruction, call out the template selection list for re-display.
本公开实施例所提供的表格生成装置,与本公开实施例提供的表格生成方法属于同一发明构思,未在本公开实施例中详尽描述的技术细节可参见上述实施例,并且本公开实施例表格生成装置与上述实施例提供的表格生成方法具有相同的有益效果。The table generating device provided in the embodiment of the present disclosure and the table generating method provided in the embodiment of the present disclosure belong to the same inventive concept. The technical details not fully described in the embodiment of the present disclosure can be referred to the above embodiment, and the table generating device provided in the embodiment of the present disclosure and the table generating method provided in the above embodiment have the same beneficial effects.
实施例四Embodiment 4
本公开实施例提供了一种设备,下面参考图4,其示出了适于用来实现本公开实施例的设备(例如终端设备或服务器)400的结构示意图。本公开实施例中的设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图4示出的设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。The embodiment of the present disclosure provides a device, and reference is made to FIG4 below, which shows a schematic diagram of the structure of a device (e.g., a terminal device or a server) 400 suitable for implementing the embodiment of the present disclosure. The device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The device shown in FIG4 is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present disclosure.
如图4所示,设备400可以包括处理装置(例如中央处理器、图形处理器等)401,其可以根据存储在只读存储器(ROM)402中的程序或者从存储装置406加载到随机访问存储器(RAM)403中的程序而执行各种适当的动作和处理。在RAM 403中,还存储有设备400操作所需的各种程序和数据。处理装置401、ROM 402以及RAM 403通过总线404彼此相连。输入/输出(I/O)接口405也连接至总线404。As shown in FIG4 , the device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 406 into a random access memory (RAM) 403. Various programs and data required for the operation of the device 400 are also stored in the RAM 403. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to the bus 404.
通常,以下装置可以连接至I/O接口405:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置406;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置407;包括例如磁带、硬盘等的存储装置406;以及通信装置409。通信装置409可以允许设备400与其他设备进行无线或有线通信以交换数据。虽然图4示出了具有各种装置的设备400,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 406 including, for example, a tape, a hard disk, etc.; and communication devices 409. The communication devices 409 may allow the device 400 to communicate wirelessly or wired with other devices to exchange data. Although FIG. 4 shows a device 400 with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have instead.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置409从网络上被下载和安装,或者从存储装置406被安装,或者从ROM 402被安装。在该计算机程序被处理装置401执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 406, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
实施例五Embodiment 5
本公开实施例还提供了一种计算机可读存储介质,计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The present disclosure embodiment also provides a computer-readable storage medium, which may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
上述计算机可读介质可以是上述设备中所包含的;也可以是单独存在,而未装配入该设备中。The computer-readable medium may be included in the device, or may exist independently without being incorporated into the device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该设备执行时,使得该设备:响应于用户的表格创建请求,提供模板选择列表以及用于输入表格内容的表格页面,所述模板选择列表中包括至少一个备选模板卡片;响应于用户对所述模板选择列表中的目标模板卡片的预览请求,对与所述目标模板卡片匹配的预览页面进行显示;响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容,生成目的表格。The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the device, the device: responds to the user's form creation request, provides a template selection list and a form page for entering form content, and the template selection list includes at least one alternative template card; responds to the user's preview request for the target template card in the template selection list, displays the preview page matching the target template card; responds to the user's template use request input for the preview page, fills in the table content matching the target template card in the table page, and generates the target form.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and/or flow chart, and the combination of the square boxes in the block diagram and/or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,表格生成模块还可以被描述为“响应于用户针对所述预览页面输入的模板使用请求,在所述表格页面中填入与所述目标模板卡片匹配的表格内容,生成目的表格的模块”。The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of the unit does not limit the unit itself in some cases. For example, the table generation module may also be described as "a module that generates a target table by filling in the table content matching the target template card in the table page in response to a template use request input by the user for the preview page."
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910924153.8A CN110688829B (en) | 2019-09-24 | 2019-09-24 | Table generation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910924153.8A CN110688829B (en) | 2019-09-24 | 2019-09-24 | Table generation method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110688829A CN110688829A (en) | 2020-01-14 |
CN110688829B true CN110688829B (en) | 2024-06-14 |
Family
ID=69110673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910924153.8A Active CN110688829B (en) | 2019-09-24 | 2019-09-24 | Table generation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110688829B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113268964B (en) * | 2020-07-23 | 2022-01-18 | 腾讯科技(深圳)有限公司 | Table editing method, device, equipment and storage medium |
CN112632942B (en) | 2020-08-19 | 2021-09-28 | 腾讯科技(深圳)有限公司 | Document processing method, device, equipment and medium |
CN114547512B (en) * | 2020-11-27 | 2024-11-15 | 腾讯科技(深圳)有限公司 | Information processing method, device, computer equipment and storage medium |
CN112732137B (en) * | 2021-01-06 | 2024-09-27 | 百果园技术(新加坡)有限公司 | Card template generation method, content display card display method and terminal |
CN113807060A (en) * | 2021-09-24 | 2021-12-17 | 北京字跳网络技术有限公司 | Document processing method, apparatus, electronic device, and computer-readable storage medium |
CN114779990A (en) * | 2022-03-15 | 2022-07-22 | 北京字跳网络技术有限公司 | Template previewing method, device, equipment and storage medium |
CN114612040A (en) * | 2022-03-21 | 2022-06-10 | 卡奥斯工业智能研究院(青岛)有限公司 | A method, device, electronic device and storage medium for obtaining a warehouse management template |
CN116127935A (en) * | 2023-02-15 | 2023-05-16 | 北京字跳网络技术有限公司 | Document creation method, device, electronic equipment and storage medium |
CN118657128B (en) * | 2023-11-21 | 2025-06-27 | 北京字跳网络技术有限公司 | Table creation method, apparatus and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106096995A (en) * | 2016-05-31 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Advertising creative processing method and advertising creative processing means |
CN110018822A (en) * | 2019-04-16 | 2019-07-16 | 山东浪潮通软信息科技有限公司 | A kind of method and system automatically generating micro services function |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8375293B2 (en) * | 2005-01-09 | 2013-02-12 | Apple Inc. | Method and apparatus for defining documents |
US9317404B1 (en) * | 2011-05-08 | 2016-04-19 | Panaya Ltd. | Generating test scenario templates from test runs collected from different organizations |
US20130151936A1 (en) * | 2011-12-12 | 2013-06-13 | Microsoft Corporation | Page preview using contextual template metadata and labeling |
US8725650B2 (en) * | 2012-01-26 | 2014-05-13 | Microsoft Corporation | Document template licensing |
CN107728995B (en) * | 2017-11-28 | 2019-03-01 | 北京洪泰同创信息技术有限公司 | A kind of technical documentation auxiliary writing system and method |
CN108681530A (en) * | 2018-05-04 | 2018-10-19 | 北京天元创新科技有限公司 | A kind of official document generation method and system based on Web |
-
2019
- 2019-09-24 CN CN201910924153.8A patent/CN110688829B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106096995A (en) * | 2016-05-31 | 2016-11-09 | 腾讯科技(深圳)有限公司 | Advertising creative processing method and advertising creative processing means |
CN110018822A (en) * | 2019-04-16 | 2019-07-16 | 山东浪潮通软信息科技有限公司 | A kind of method and system automatically generating micro services function |
Also Published As
Publication number | Publication date |
---|---|
CN110688829A (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110688829B (en) | Table generation method, device, equipment and storage medium | |
CN110046021B (en) | Page display method, device, system, equipment and storage medium | |
WO2025031364A1 (en) | Method and apparatus for generating media content, and electronic device and storage medium | |
WO2023207543A1 (en) | Media content publishing method and apparatus, and device, storage medium and program product | |
CN110070593B (en) | Method, device, equipment and medium for displaying picture preview information | |
WO2022184077A1 (en) | Document editing method and apparatus, and terminal and non-transitory storage medium | |
CN114187170B (en) | Method, device, equipment and storage medium for generating image special effect package | |
WO2024078471A1 (en) | Work item information viewing method and apparatus, electronic device, and storage medium | |
CN114491349A (en) | Page display method, page display device, electronic equipment, storage medium and program product | |
CN115114463B (en) | Method and device for displaying media content, electronic equipment and storage medium | |
CN113761411B (en) | Page processing method and device | |
WO2024212839A1 (en) | Card layout method and apparatus, medium and electronic device | |
WO2025092611A1 (en) | Information display method and apparatus, and electronic device and storage medium | |
KR20200040813A (en) | Create search result-based listings in a single view | |
CN112256370B (en) | Information display method, device and electronic equipment | |
WO2025093007A1 (en) | Information reply method and apparatus, and electronic device and storage medium | |
WO2025067392A1 (en) | Travel record generation method and apparatus, electronic device, and storage medium | |
WO2025152530A1 (en) | Interface display method and apparatus, electronic device and storage medium | |
WO2025031371A1 (en) | Special effect generation method and apparatus, and electronic device and storage medium | |
WO2025001726A1 (en) | Cover setting method and apparatus, electronic device, and storage medium | |
WO2025036276A1 (en) | Page content display method and apparatus, electronic device, and storage medium | |
CN118627481A (en) | Table processing method, device, terminal and storage medium | |
CN118034562A (en) | Method, device, electronic device, storage medium and program product for generating media content | |
CN113760154B (en) | Page element display method and device | |
CN115033148B (en) | Document display method, device, electronic device 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TG01 | Patent term adjustment | ||
TG01 | Patent term adjustment |