CN110688829A - Table generation method, device, equipment and storage medium - Google Patents

Table generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN110688829A
CN110688829A CN201910924153.8A CN201910924153A CN110688829A CN 110688829 A CN110688829 A CN 110688829A CN 201910924153 A CN201910924153 A CN 201910924153A CN 110688829 A CN110688829 A CN 110688829A
Authority
CN
China
Prior art keywords
template
card
user
page
target
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
CN201910924153.8A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910924153.8A priority Critical patent/CN110688829A/en
Publication of CN110688829A publication Critical patent/CN110688829A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the disclosure discloses a table generation method, a table generation device, a table generation equipment and a storage medium. The method comprises the following steps: responding to a form creating request of a user, providing a template selection list and a form page for inputting form contents, wherein the template selection list comprises at least one alternative template card; responding to a preview request of a user to a target template card in the template selection list, and displaying a preview page matched with the target template card; and filling the table contents matched with the target template card in the table page to generate a target table in response to a template use request input by a user for the preview page. According to the technical scheme of the embodiment of the invention, the form can be quickly created through the built-in template, the time for a user to select the form template is reduced, and the creation efficiency of the form is improved.

Description

Table generation method, device, equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, and in particular, to a table generation method, device, equipment and storage medium.
Background
With the increase of the data quantity, users often use tables to represent the association relationship between data, and the use frequency of the tables is higher and higher. At present, online documents in the market mainly include google, office and the like, and the online documents provide template functions and support generation of table contents through templates.
However, under the condition of multiple services, the content of the form template center of the online document is relatively complicated, and when a user selects a form template in the template center, the user selects not only the form type but also the use scene of the form, so that the time for selecting the form template is long, and the requirement for quickly creating the form cannot be met in many cases.
Disclosure of Invention
The embodiment of the disclosure provides a form generation method, a form generation device and a storage medium, so as to realize rapid form creation through a built-in template, reduce the time for a user to select a form template and improve the form creation efficiency.
In a first aspect, an embodiment of the present disclosure provides a table generation method, including:
responding to a form creating request of a user, providing a template selection list and a form page for inputting form contents, wherein the template selection list comprises at least one alternative template card;
responding to a preview request of a user for a target template card in the template selection list, and displaying a preview page matched with the target template card;
and filling the form content matched with the target template card in the form page to generate a target form in response to a template use request input by a user for the preview page.
Further, the template selection list is arranged at the bottom of the form page;
the alternative template cards comprise template card thumbnails and template names, and the template card thumbnails are schematic illustrations of the templates.
Further, at least one table template corresponding to the alternative template card respectively comprises at least two sub-tables which are related to each other;
the displaying a preview page matched with a target template card in the template selection list in response to a preview request of a user to the target template card comprises:
responding to a preview request of a user for a target template card in the template selection list, and displaying a preview page matched with a target sub-table of the target template card, wherein the preview page comprises switching options;
responding to the click operation of the user on the switching option, and displaying a preview page matched with any other sub-table associated with the target sub-table;
wherein the preview page is not editable.
Further, before providing the template selection list, the method further comprises:
acquiring a set of alternative template cards, and determining the display sequence of each alternative template card according to the sequencing weight of each alternative template card in the set of alternative template cards;
selecting a preset number of alternative template cards to generate the template selection list according to the display sequence of each alternative template card;
after filling the form content matched with the target template card in the form page in response to a template use request input by a user for the preview page, the method further comprises the following steps:
and updating the sequencing weight of the target template card.
Further, the template selection list further comprises a template selection card, and the template selection card is associated with a template library; the method further comprises the following steps:
responding to the clicking operation of the user on the template selection card, and displaying a template selection list corresponding to the template library;
filling table contents matched with the standard template cards into the table page in response to the standard template cards selected by the user aiming at the template selection list;
and adding the standard template card into the alternative template card set, and setting an initial sequencing weight for the standard template card.
Further, the template selection list further comprises a custom option; the method further comprises the following steps:
responding to the clicking operation of the user on the custom option, and acquiring a custom template card input by the user;
and storing the self-defined template card into a template library and the alternative template card set, and setting an initial sequencing weight for the self-defined template card.
Further, after filling the form page with the form content matching the target template card in response to a template use request input by a user for the preview page, the method further includes:
if the title of the form page is the default title, replacing the title with the template name of the target template card;
and if the title of the table page is a non-default title, reserving the title.
Further, after responding to the template use request input by the user for the preview page, the method further comprises the following steps:
hiding and displaying the template selection list;
after the form page is filled with the form content matched with the target template card, the method further comprises the following steps:
and calling the template selection list for redisplay in response to a template reselection instruction of a user.
In a second aspect, an embodiment of the present disclosure further provides a table generating apparatus, including:
the form creating module is used for responding to a form creating request of a user and providing a template selection list and a form page for inputting form contents, wherein the template selection list comprises at least one alternative template card;
the template preview module is used for responding to a preview request of a user for a target template card in the template selection list and displaying a preview page matched with the target template card;
and the form generation module is used for responding to a template use request input by a user aiming at the preview page, filling form contents matched with the target template card into the form page and generating a target form.
In a third aspect, an embodiment of the present disclosure further provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a table generation method as provided by any of the embodiments of the present disclosure.
In a fourth aspect, the embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the table generating method provided in any of the embodiments of the present disclosure.
According to the technical scheme of the embodiment of the disclosure, a template selection list and a form page for inputting form content are provided by responding to a form creating request of a user, the template selection list comprises at least one alternative template card, and then a preview page matched with a target template card in the template selection list is displayed by responding to a preview request of the user to the target template card; the form content matched with the target template card is filled in the form page in response to a template use request input by a user for a preview page to generate the target form, so that the problems that the time for selecting the form template by the user is long and the generation speed of the form is slow in the prior art are solved, the user is helped to quickly create the form by the built-in template, the time for selecting the form template by the user is reduced, and the creation efficiency of the form is improved.
Drawings
FIG. 1a is a flowchart of a table generation method in a first embodiment of the disclosure;
FIG. 1b is a schematic diagram of a table page in an embodiment of the present disclosure;
FIG. 1c is a schematic illustration of a table page in an embodiment of the present disclosure;
fig. 2 is a flowchart of a table generation method in the second embodiment of the disclosure;
fig. 3 is a schematic structural diagram of a table generating apparatus in a third embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus in a fourth embodiment of the disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
Example one
Fig. 1a is a flowchart of a form generating method in a first embodiment of the present disclosure, which may be applied to a case where a user creates a form according to a built-in template, and the method may be performed by a form generating apparatus, which may be implemented by software and/or hardware, and may be generally integrated in a device providing a form creating function, such as a terminal device or a server. With reference to fig. 1a, the method specifically includes the following steps:
step 110, responding to a form creating request of a user, providing a template selection list and a form page for inputting form contents, wherein the template selection list comprises at least one candidate template card.
In the embodiment of the present disclosure, the form creation request may be generated by a user by clicking a "new" button in an application, so as to enable the terminal to generate a new form page and provide the new form page to the user, so that the user can generate a desired destination form by inputting appropriate form content in the form page.
Because it takes a long time to re-make a form, a user usually fills form content into a newly-created form page according to a form template to generate a form, so as to facilitate the user to quickly select a suitable form template.
Optionally, the template selection list is set at the bottom of the form page, as shown in fig. 1 b; the alternative template cards comprise template card thumbnails and template names, and the template card thumbnails are schematic illustrations of the templates. In the embodiment of the disclosure, the template selection list is arranged at the bottom of the form page, so that more display space can be provided for each template card, and the thumbnail and the template name of the template card can be better displayed for a user.
And 120, responding to a preview request of a user for a target template card in the template selection list, and displaying a preview page matched with the target template card.
In the embodiment of the disclosure, the target template card is a template card which is selected by a user from a template selection list and is desired to preview, when the user clicks the target template card, a preview request corresponding to the target template card is generated, and a preview page matched with the target template card is displayed according to the request.
Optionally, the form template corresponding to at least one candidate template card of the template selection list respectively includes at least two sub-forms associated with each other; responding to a preview request of a user to a target template card in the template selection list, and displaying a preview page matched with the target template card, wherein the preview page comprises the following steps: responding to a preview request of a user to a target template card in the template selection list, and displaying a preview page matched with a target sub-table of the target template card, wherein the preview page comprises switching options; responding to the click operation of the user on the switching option, and displaying a preview page matched with any other sub-table associated with the target sub-table; wherein the preview page is not editable.
In the embodiment of the present disclosure, the form template corresponding to each candidate template card may include at least two sub-tables associated with each other, and the relationship between the form contents is more clearly displayed by using a plurality of sub-tables, for example, a certain form template includes 3 sub-tables associated with each other, a first sub-table may represent an overall description of a plurality of warehouses and a plurality of commodities, a second sub-table associated with the first sub-table may represent a commodity list stored in each warehouse, and a third sub-table may represent the number of the commodities and the warehouse in which the commodities are stored.
Optionally, for a form template including a plurality of sub-tables, a first sub-table in the template may be used as a target sub-table, and when a user performs a click preview operation on a target template card in the template selection list, a preview page matching the target sub-table of the target template card may be displayed first, that is, a preview page of the first sub-table of the target template card is displayed first, and a switching option, for example, a "next" button, is provided on the page, so that the user may perform a switching preview on each sub-table, as shown in fig. 1 c. When the user clicks the switching option to preview other sub-tables of the form template, in response to the clicking operation of the user on the switching option, displaying a preview page matched with any other sub-table associated with the target sub-table, or displaying a preview page of a sub-table arranged behind the target sub-table according to the arrangement sequence of the sub-tables in the template card, for example, displaying a preview page matched with a second sub-table in the template, wherein the preview page is not editable.
Step 130, in response to the template use request input by the user for the preview page, filling the form content matched with the target template card into the form page, and generating the target form.
In the embodiment of the present disclosure, the preview page matched with each alternative template card has a use option and a cancel option, for example, as the "use" button and the "cancel" button in fig. 1c, where the use option is used to fill the content of the template corresponding to the use option into a newly created form page of the user, generate a destination form, and the cancel option is used to collapse the current preview page. When the user determines that the form template corresponding to the currently previewed alternative template card is to be used, directly clicking the use option on the previewed page to generate a template use request, responding to the template use request input by the user, filling the form content matched with the target template card into the newly-built form page, and generating the target form.
Optionally, after filling the form page with the form content matching the target template card in response to a template use request input by a user for the preview page, the method further includes: if the title of the form page is the default title, replacing the title with the template name of the target template card; if the title of the table page is the non-default title, the title is reserved.
For example, if the title of the form page is set as "commodity list" after the user creates the form page, and the name of the template selected by the user from the template selection list is "commodity list", the title of the generated destination form is still "commodity list" after the user fills in the content of the form page using the template; if the user does not set the title of the created form page, that is, the title of the form page is the default "new form", the title of the generated destination form becomes "manifest" after the user fills in the form page using the "manifest" template.
Optionally, after responding to a template use request input by a user for a preview page, the method further includes: and hiding and displaying the template selection list to avoid the template selection list from shielding the content of the target form or occupying the display area of the content of the target form.
Optionally, after filling the form page with the form content matched with the target template card, the method further includes: and calling out a template selection list for redisplay in response to a template reselection instruction of the user. In the embodiment of the disclosure, if a user finds that a generated target form is not much consistent with an expected form after filling in a form page by using a currently selected template and needs to reselect the template, the user directly clicks a reselection option in the form page to generate a template reselection instruction, and calls out a template selection list for redisplay in response to the template reselection instruction.
According to the technical scheme of the embodiment of the disclosure, a template selection list and a form page for inputting form content are provided by responding to a form creating request of a user, the template selection list comprises at least one alternative template card, and then a preview page matched with a target template card in the template selection list is displayed by responding to a preview request of the user to the target template card; the form content matched with the target template card is filled in the form page in response to a template use request input by a user for a preview page to generate the target form, so that the problems that the time for selecting the form template by the user is long and the generation speed of the form is slow in the prior art are solved, the user is helped to quickly create the form by the built-in template, the time for selecting the form template by the user is reduced, and the creation efficiency of the form is improved.
Example two
Fig. 2 is a flowchart of a table generation method in the second embodiment of the present disclosure, and the second embodiment of the present disclosure may be combined with various alternatives in the above embodiments. Specifically, referring to fig. 2, the method may include the steps of:
and step 210, generating a template selection list according to the candidate template card set.
In the embodiment of the disclosure, in order to provide a template selection list for a user, a set of alternative template cards is obtained first, and a display sequence of each alternative template card is determined according to a sorting weight of each alternative template card in the set of alternative template cards; and selecting a preset number of alternative template cards to generate a template selection list according to the display sequence of the alternative template cards. The form template corresponding to the candidate template card in the candidate template card set may be a template used by the user and acquired from a template library stored in the server, or a certain number of templates downloaded from the network and having a high recommendation level.
Optionally, the sorting weight of the alternative template card may be calculated according to the user usage frequency, the template recommendation degree, and the time validity of the template, for example, the sorting weight may be a weighted sum of the user usage frequency, the template recommendation degree, and the time validity. For example, if the user usage frequency is 0.4, the template recommendation degree is 0.2, and the time validity is 0.4, assuming that the user usage frequency of the current template is 50%, the template recommendation degree is 60%, and the time validity is 1, the ranking weight of the template is 0.72.
The time validity has two choices of 1 and 0, wherein 1 represents valid, namely the service time of the template is within a preset time range, and 0 represents invalid, namely the service time of the template is not within the preset time range.
In the embodiment of the present disclosure, the ranking 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 according to other parameters.
Optionally, the template selection list further includes a custom option, which is used for providing an entry for uploading a custom template to the user; correspondingly, the method of the embodiment of the present disclosure further includes: responding to the clicking operation of the user on the custom option, and acquiring a custom template card input by the user; and storing the custom template card into a template library and a set of alternative template cards, and setting initial sequencing weight for the custom template card.
In the embodiment of the disclosure, when the user does not find the form template desired by the user, the user-defined template can be uploaded to facilitate the user to use the form template later, or can be shared by other users for use. After the user-defined template card input by the user is obtained, the user-defined template card is stored in the template library and the alternative template card set, and initial sequencing weight is set for the user-defined template card, so that the template card of the user-defined template has a chance to be displayed in the template selection list.
In response to the form creation request of the user, a template selection list and a form page for entering form content are provided, step 220.
Step 230, responding to a preview request of the user to the target template card in the template selection list, and displaying a preview page matched with the target template card.
Step 240, in response to the template use request input by the user for the preview page, filling the form content matched with the target template card into the form page, and generating the target form.
Optionally, when the ranking weight of the target template card is related to the user usage frequency or time, after filling the form page with the form content matching the target template card in response to the template usage request input by the user for the preview page, the method further includes: and updating the sequencing weight of the target template card.
Optionally, the template selection list further includes, in addition to the preset number of candidate template cards, template selection cards, where the template selection cards are associated with the template library, and are used for selecting from the template library through the template selection cards when the user does not find a suitable template in the template selection list. The template library comprises a plurality of other templates except the templates corresponding to the alternative template cards in the template selection list.
Accordingly, the method can further comprise the following steps: responding to the click operation of a user on the template selection card, and displaying a template selection list corresponding to the template library; filling table contents matched with the standard template cards into the table page in response to the standard template cards selected by the user aiming at the template selection list; and adding the standard template card into the alternative template card set, and setting an initial sequencing weight for the standard template card.
According to the technical scheme of the embodiment of the disclosure, a template selection list and a form page for inputting form content are provided by responding to a form creating request of a user, the template selection list comprises at least one alternative template card, and then a preview page matched with a target template card in the template selection list is displayed by responding to a preview request of the user to the target template card; the form content matched with the target template card is filled in the form page in response to a template use request input by a user for a preview page to generate the target form, so that the problems that the time for selecting the form template by the user is long and the generation speed of the form is slow in the prior art are solved, the user is helped to quickly create the form by the built-in template, the time for selecting the form template by the user is reduced, and the creation efficiency of the form is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a form generating apparatus in a third embodiment of the present disclosure, where the third embodiment of the present disclosure is suitable for a case where a user creates a form according to a built-in template. The apparatus may be implemented in software and/or hardware and may generally be integrated in a device providing the table creation function, such as a terminal device or a server. As shown in fig. 3, the table generating apparatus includes: a form creation module 310, a template preview module 320, and a form generation module 330;
the form creating module 310 is configured to provide a template selection list and a form page for inputting form content in response to a form creating request of a user, where the template selection list includes at least one candidate template card;
the template preview module 320 is configured to respond to a preview request of a user for a target template card in the template selection list, and display a preview page matched with the target template card;
the form generating module 330 is configured to fill the form content matching the target template card in the form page in response to a template use request input by a user for the preview page, and generate a destination form.
According to the technical scheme of the embodiment of the disclosure, a template selection list and a form page for inputting form content are provided by responding to a form creating request of a user, the template selection list comprises at least one alternative template card, and then a preview page matched with a target template card in the template selection list is displayed by responding to a preview request of the user to the target template card; the form content matched with the target template card is filled in the form page in response to a template use request input by a user for a preview page to generate the target form, so that the problems that the time for selecting the form template by the user is long and the generation speed of the form is slow in the prior art are solved, the user is helped to quickly create the form by the built-in template, the time for selecting the form template by the user is reduced, and the creation efficiency of the form is improved.
Further, the template selection list is arranged at the bottom of the form page;
the alternative template cards comprise template card thumbnails and template names, and the template card thumbnails are schematic illustrations of the templates.
Further, at least one table template corresponding to the alternative template card respectively comprises at least two sub-tables which are related to each other;
the template preview module 320 is specifically configured to: responding to a preview request of a user for a target template card in the template selection list, and displaying a preview page matched with a target sub-table of the target template card, wherein the preview page comprises switching options;
responding to the click operation of the user on the switching option, and displaying a preview page matched with any other sub-table associated with the target sub-table;
wherein the preview page is not editable.
Further, the table creating module 310 further includes: the template selection list generating unit is used for acquiring a set of alternative template cards before providing a template selection list, and determining the display sequence of each alternative template card according to the sorting weight of each alternative template card in the set of alternative template cards;
selecting a preset number of alternative template cards to generate the template selection list according to the display sequence of each alternative template card;
the table generating module 330 further includes: and the weight updating unit is used for updating the sequencing weight of the target template card after the form page is filled with the form content matched with the target template card in response to the template use request input by the user for the preview page.
Further, the template selection list further comprises a template selection card, and the template selection card is associated with a template library; the device further comprises: the template selection module is used for responding to the clicking operation of the user on the template selection card and displaying a template selection list corresponding to the template library;
filling table contents matched with the standard template cards into the table page in response to the standard template cards selected by the user aiming at the template selection list;
and adding the standard template card into the alternative template card set, and setting an initial sequencing weight for the standard template card.
Further, the template selection list further comprises a custom option; the device further comprises: the user-defined module is used for responding to the clicking operation of the user on the user-defined option and acquiring a user-defined template card input by the user;
and storing the self-defined template card into a template library and the alternative template card set, and setting an initial sequencing weight for the self-defined template card.
Further, the table generating module 330 is further configured to: after responding to a template use request input by a user for the preview page, filling table contents matched with the target template card into the table page, and if the title of the table page is a default title, replacing the title with the template name of the target template card;
and if the title of the table page is a non-default title, reserving the title.
Further, the table generating module 330 is further configured to: after responding to a template use request input by a user for the preview page, hiding and displaying the template selection list;
further, the table generating module 330 is further configured to: and after the form page is filled with the form content matched with the target template card, responding to a template reselection instruction of a user, calling the template selection list for redisplay.
The table generating device provided by the embodiment of the present disclosure and the table generating method provided by the embodiment of the present disclosure belong to the same inventive concept, and the technical details that are not described in detail in the embodiment of the present disclosure can be referred to the above embodiment, and the table generating device provided by the embodiment of the present disclosure and the table generating method provided by the embodiment of the present disclosure have the same beneficial effects.
Example four
An apparatus is provided in the disclosed embodiments, and referring now to fig. 4, a schematic structural diagram of an apparatus (e.g., a terminal device or a server) 400 suitable for implementing the disclosed embodiments is shown. The devices in the embodiments of the present disclosure may include, but are 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), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The device shown in fig. 4 is only an example and should not bring any limitation to the function and use range of the embodiments of the present disclosure.
As shown in fig. 4, the apparatus 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with 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. In the RAM 403, various programs and data necessary for the operation of the device 400 are also stored. 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 bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 406 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the device 400 to communicate with other devices, either wirelessly or by wire, to exchange data. While fig. 4 illustrates an apparatus 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 409, or from the storage means 406, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
EXAMPLE five
Embodiments of the present disclosure also provide a computer readable storage medium, which may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the apparatus; or may be separate and not incorporated into the device.
The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to a form creating request of a user, providing a template selection list and a form page for inputting form contents, wherein the template selection list comprises at least one alternative template card; responding to a preview request of a user for a target template card in the template selection list, and displaying a preview page matched with the target template card; and filling the form content matched with the target template card in the form page to generate a target form in response to a template use request input by a user for the preview page.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. In which the name of a cell does not in some cases constitute a limitation on the cell itself, for example, the form generation module may also be described as a "module for generating a destination form by filling form content matching the target template card in the form page in response to a template use request input by a user for the preview page".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (11)

1. A table generation method, comprising:
responding to a form creating request of a user, providing a template selection list and a form page for inputting form contents, wherein the template selection list comprises at least one alternative template card;
responding to a preview request of a user for a target template card in the template selection list, and displaying a preview page matched with the target template card;
and filling the form content matched with the target template card in the form page to generate a target form in response to a template use request input by a user for the preview page.
2. The method of claim 1, wherein the template selection list is disposed at the bottom of the form page;
the alternative template cards comprise template card thumbnails and template names, and the template card thumbnails are schematic illustrations of the templates.
3. The method according to claim 2, wherein at least one table template corresponding to the alternative template card comprises at least two sub-tables associated with each other;
the displaying a preview page matched with a target template card in the template selection list in response to a preview request of a user to the target template card comprises:
responding to a preview request of a user for a target template card in the template selection list, and displaying a preview page matched with a target sub-table of the target template card, wherein the preview page comprises switching options;
responding to the click operation of the user on the switching option, and displaying a preview page matched with any other sub-table associated with the target sub-table;
wherein the preview page is not editable.
4. The method of claim 1, prior to providing the template selection list, further comprising:
acquiring a set of alternative template cards, and determining the display sequence of each alternative template card according to the sequencing weight of each alternative template card in the set of alternative template cards;
selecting a preset number of alternative template cards to generate the template selection list according to the display sequence of each alternative template card;
after filling the form content matched with the target template card in the form page in response to a template use request input by a user for the preview page, the method further comprises the following steps:
and updating the sequencing weight of the target template card.
5. The method of claim 4, wherein the template selection list further comprises a template selection card, the template selection card being associated with a template library; the method further comprises the following steps:
responding to the clicking operation of the user on the template selection card, and displaying a template selection list corresponding to the template library;
filling table contents matched with the standard template cards into the table page in response to the standard template cards selected by the user aiming at the template selection list;
and adding the standard template card into the alternative template card set, and setting an initial sequencing weight for the standard template card.
6. The method of claim 4, wherein the template selection list further comprises a custom option; the method further comprises the following steps:
responding to the clicking operation of the user on the custom option, and acquiring a custom template card input by the user;
and storing the self-defined template card into a template library and the alternative template card set, and setting an initial sequencing weight for the self-defined template card.
7. The method of claim 2, further comprising, after filling the form page with form content matching the target template card in response to a template use request entered by a user for the preview page:
if the title of the form page is the default title, replacing the title with the template name of the target template card;
and if the title of the table page is a non-default title, reserving the title.
8. The method of claim 1, further comprising, after responding to a template usage request entered by a user for the preview page:
hiding and displaying the template selection list;
after the form page is filled with the form content matched with the target template card, the method further comprises the following steps:
and calling the template selection list for redisplay in response to a template reselection instruction of a user.
9. A form generation apparatus, comprising:
the form creating module is used for responding to a form creating request of a user and providing a template selection list and a form page for inputting form contents, wherein the template selection list comprises at least one alternative template card;
the template preview module is used for responding to a preview request of a user for a target template card in the template selection list and displaying a preview page matched with the target template card;
and the form generation module is used for responding to a template use request input by a user aiming at the preview page, filling form contents matched with the target template card into the form page and generating a target form.
10. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the table generation method of any of claims 1-8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the table generation method of any one of claims 1 to 8.
CN201910924153.8A 2019-09-24 2019-09-24 Table generation method, device, equipment and storage medium Pending CN110688829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910924153.8A CN110688829A (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 CN110688829A (en) 2019-09-24 2019-09-24 Table generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110688829A true CN110688829A (en) 2020-01-14

Family

ID=69110673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910924153.8A Pending CN110688829A (en) 2019-09-24 2019-09-24 Table generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110688829A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732137A (en) * 2021-01-06 2021-04-30 百果园技术(新加坡)有限公司 Card template generation method, content display card display method and terminal
CN113268964A (en) * 2020-07-23 2021-08-17 腾讯科技(深圳)有限公司 Table editing method, device, equipment and storage medium
CN113807060A (en) * 2021-09-24 2021-12-17 北京字跳网络技术有限公司 Document processing method and device, electronic equipment and computer readable storage medium
CN114779990A (en) * 2022-03-15 2022-07-22 北京字跳网络技术有限公司 Template previewing method, device, equipment and storage medium
US11763076B2 (en) 2020-08-19 2023-09-19 Tencent Technology (Shenzhen) Company Limited Document applet generation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060206807A1 (en) * 2005-01-09 2006-09-14 Roger Rosner Method and apparatus for defining documents
US20130151936A1 (en) * 2011-12-12 2013-06-13 Microsoft Corporation Page preview using contextual template metadata and labeling
US20130198038A1 (en) * 2012-01-26 2013-08-01 Microsoft Corporation Document template licensing
CN106096995A (en) * 2016-05-31 2016-11-09 腾讯科技(深圳)有限公司 Advertising creative processing method and advertising creative processing means
CN108681530A (en) * 2018-05-04 2018-10-19 北京天元创新科技有限公司 A kind of official document generation method and system based on Web
CN110018822A (en) * 2019-04-16 2019-07-16 山东浪潮通软信息科技有限公司 A kind of method and system automatically generating micro services function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060206807A1 (en) * 2005-01-09 2006-09-14 Roger Rosner Method and apparatus for defining documents
US20130151936A1 (en) * 2011-12-12 2013-06-13 Microsoft Corporation Page preview using contextual template metadata and labeling
US20130198038A1 (en) * 2012-01-26 2013-08-01 Microsoft Corporation Document template licensing
CN106096995A (en) * 2016-05-31 2016-11-09 腾讯科技(深圳)有限公司 Advertising creative processing method and advertising creative processing means
CN108681530A (en) * 2018-05-04 2018-10-19 北京天元创新科技有限公司 A kind of official document generation method and system based on Web
CN110018822A (en) * 2019-04-16 2019-07-16 山东浪潮通软信息科技有限公司 A kind of method and system automatically generating micro services function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
丁志强: "办公软件应用(WPS Office 2016)", 机械工业出版社, pages: 332 - 3 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268964A (en) * 2020-07-23 2021-08-17 腾讯科技(深圳)有限公司 Table editing method, device, equipment and storage medium
CN113268964B (en) * 2020-07-23 2022-01-18 腾讯科技(深圳)有限公司 Table editing method, device, equipment and storage medium
US11763076B2 (en) 2020-08-19 2023-09-19 Tencent Technology (Shenzhen) Company Limited Document applet generation
CN112732137A (en) * 2021-01-06 2021-04-30 百果园技术(新加坡)有限公司 Card template generation method, content display card display method and terminal
CN113807060A (en) * 2021-09-24 2021-12-17 北京字跳网络技术有限公司 Document processing method and device, electronic equipment and computer readable storage medium
CN114779990A (en) * 2022-03-15 2022-07-22 北京字跳网络技术有限公司 Template previewing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110688829A (en) Table generation method, device, equipment and storage medium
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN111291244B (en) House source information display method, device, terminal and storage medium
CN111599022A (en) House display method and device and electronic equipment
CN110874172B (en) Method, device, medium and electronic equipment for amplifying APP interface
CN114491349A (en) Page display method, page display device, electronic equipment, storage medium and program product
CN110647369B (en) Page dynamic display method and device, mobile terminal and storage medium
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
WO2023207543A1 (en) Media content publishing method and apparatus, and device, storage medium and program product
CN112492399B (en) Information display method and device and electronic equipment
CN114997117A (en) Document editing method, device, terminal and non-transitory storage medium
CN110618811A (en) Information presentation method and device
CN115878115A (en) Page rendering method, device, medium and electronic equipment
CN113961280B (en) View display method and device, electronic equipment and computer readable storage medium
CN112004049B (en) Double-screen different display method and device and electronic equipment
CN111199519B (en) Method and device for generating special effect package
CN111190599A (en) Method and device for realizing android self-defined soft keyboard by using Dialog and electronic equipment
CN112579218A (en) User interface display method and device, computer readable medium and electronic equipment
US20230396621A1 (en) Method and system for creating social media content collections
CN111310031B (en) House source information display method, device, terminal and storage medium
CN117435180A (en) Page component adding method and device
CN117391046A (en) Data display method and device, readable medium and electronic equipment
CN117076754A (en) Processing method of search component, search method and related equipment
CN117707369A (en) Display method and device and electronic equipment

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