Table content generation method and apparatus, and device, medium and product
By receiving field setting information in the table and calling a preset model to generate cell content, the problem of tables being unable to perform complex data operations is solved, thus improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/100537
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-19
- Filing Date
- 2025-06-11
- Publication Date
- 2025-12-26
AI Technical Summary
Existing tables struggle to perform functions such as categorization and summarization when handling complex data operations, resulting in a poor user experience.
By receiving field setting information in the field setting interface, the system calls a preset model to generate the cell content corresponding to the target field, and utilizes the data processing capabilities of the preset model to achieve more complex functions, such as classification and summarization.
It increases the functionality and complexity of tables, meets the needs of more application scenarios, and enhances the user experience.
Smart Images

Figure CN2025100537_26122025_PF_FP_ABST
Abstract
Description
Methods, devices, equipment, media, and products for generating table content
[0001] Cross-references to related applications
[0002] This application claims the benefit of Chinese Patent Application No. 202410797886.0, filed on June 19, 2024. The entire teachings of the above application are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, device, medium, and product for generating table content. Background Technology
[0004] With the development of computer technology, spreadsheets have been widely used in data statistics and processing, and multidimensional tables with various functions have been developed.
[0005] Currently, when users use tables, they generally need to set fields. For example, if they need to add time data options, such as dates, they can add single-select or multi-select fields.
[0006] As user demands grow, the current table's supported fields are insufficient to implement more complex functions, such as classifying or summarizing certain data, resulting in a lower user experience. Summary of the Invention
[0007] This disclosure provides a method, apparatus, device, medium, and product for generating table content.
[0008] In a first aspect, embodiments of this disclosure provide a method for generating table content, including:
[0009] In response to a setting operation for a target field in the field setting interface, field setting information is received; the field setting information is at least used to indicate the source of input data acquired by the preset model and / or to indicate the output data requirements of the preset model;
[0010] In response to receiving a content generation instruction for a target field, a preset model is invoked to generate the content of the cell corresponding to the target field based on the field setting information.
[0011] Secondly, embodiments of this disclosure provide a table content generation apparatus, comprising:
[0012] A receiving unit is configured to receive field setting information in response to a setting operation for a target field in the field setting interface; the field setting information is at least used to indicate the source of input data acquired by the preset model and / or to indicate the output data requirements of the preset model.
[0013] The calling unit is used to respond to receiving a content generation instruction for a target field by calling a preset model to generate the content of the cell corresponding to the target field based on the field setting information.
[0014] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor and a memory;
[0015] The memory stores computer-executed instructions;
[0016] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the table content generation method as described in the first aspect and various possible designs of the first aspect.
[0017] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the table content generation method described in the first aspect and various possible designs of the first aspect.
[0018] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the table content generation method described in the first aspect and various possible designs of the first aspect. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 is a flowchart illustrating the table content generation method provided in this disclosure.
[0021] Figure 2 is a schematic diagram of the field setting interface provided in this disclosure;
[0022] Figure 3 is a flowchart illustrating the table content generation method provided in this disclosure (II).
[0023] Figure 4 is a schematic diagram of the field setting interface provided in this disclosure;
[0024] Figure 5 is a schematic diagram of an application scenario of the field setting interface provided in this disclosure;
[0025] Figure 6 is a schematic diagram of the field creation page provided in this disclosure;
[0026] Figure 7 is a schematic diagram of the application scenario of the field setting interface provided in this disclosure;
[0027] Figure 8 is a flowchart illustrating the table content generation method provided in this disclosure.
[0028] Figure 9 is a schematic diagram of the preview application scenario provided in this disclosure;
[0029] Figure 10 is a schematic structural diagram of the table content generation device provided in this disclosure;
[0030] Figure 11 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0032] When using spreadsheets, users typically need to edit and set fields in the field editing interface to perform data processing functions. The field editing interface generally includes field types, other field-related options, and input content. When setting fields, if a user needs to add time data options, such as dates, they can add single-choice or multiple-choice fields. However, if they need to categorize or summarize dates, the current table's supported field functions may not be sufficient.
[0033] Therefore, as user demands grow, the current table's supported fields are insufficient to implement more complex functions, resulting in a lower user experience.
[0034] The table content generation method, apparatus, device, medium, and product provided in this disclosure generate corresponding field setting information by performing setting operations on a target field in the field setting interface. Simultaneously, based on the content generation instructions for the target field, a preset model is invoked to generate the content of the cells corresponding to the target field according to the field setting information. Since the content of the cells corresponding to the target field is generated by invoking the preset model based on the field setting information, more complex functions, such as classification and summarization, can be achieved through the data processing capabilities of the preset model, meeting the needs of more application scenarios and thus improving the user experience.
[0035] Please refer to Figure 1, which is a flowchart illustrating the table content generation method provided in this embodiment of the present disclosure. As shown in Figure 1, the method includes the following steps:
[0036] S101: In response to a setting operation for a target field in the field setting interface, receive field setting information. The field setting information is at least used to indicate the source of the input data acquired by the preset model and / or to indicate the output data requirements of the preset model.
[0037] In this embodiment, the execution entity of the table content generation method can be a client running on a terminal device or a server. Here, the client can be any application client or web client capable of editing forms. The terminal device can include a mobile terminal device or a fixed terminal device.
[0038] The client interface described above can display a table, where users can perform preset operations on the target field to trigger the target field's field settings interface.
[0039] In some embodiments, the above field setting interface can be divided into two general areas according to fields and models: the field general information area and the model configuration area.
[0040] In some embodiments, the above field setting interface is shown in Figure 2, and may include an edit content section, such as edit content 1 and edit content 2, a drop-down option section, such as drop-down option 1 and drop-down option 2, and a select content section (including option 1 and option 2).
[0041] In some application scenarios, edit content 1 can be the title, dropdown option 1 can be the field type, and edit content 2 can be used to configure the constraints that need to be input for the field, such as output data requirements. Dropdown option 2 can be used to reference field options, and the selection can include, but is not limited to, whether the value is rounded down or whether the preset model is allowed to adjust the data.
[0042] In some application scenarios, the types of target fields include, but are not limited to: classification, translation, extraction, summarization, and annotation.
[0043] If the target field's field type is "Summary", the field settings interface includes, but is not limited to: Title (Edit Content), Field Type (Dropdown Options), Summary Content - Referenced Fields (Dropdown Options), Usage Examples (Edit Content), and Summary Requirements (Edit Content).
[0044] If the target field's field type is translation, the field settings interface includes, but is not limited to: Title (edit content), Field Type (drop-down option), Translation Content - Referenced Field (drop-down option), Translate As (drop-down option), Translation Requirements (edit content).
[0045] If the target field is a category, the field settings interface includes, but is not limited to: title (edit content), field type (drop-down option), category (drop-down option), content-based - reference field (drop-down option), whether to automatically add categories (select content), usage examples (edit content), and custom requirements (edit content).
[0046] If the target field's field type is label, the field settings interface includes, but is not limited to: title (edit content), field type (drop-down option), tag (drop-down option), content-based - reference field (drop-down option), whether to automatically add category (select content), usage example (edit content), and custom requirements (edit content).
[0047] If the target field's field type is "Extract", the field settings interface includes, but is not limited to: Title (Edit Content), Field Type (Dropdown Options), Content - Referenced Field (Dropdown Options), Extract (Edit Content), Usage Examples (Edit Content), and Custom Requirements (Edit Content).
[0048] The above settings include, but are not limited to: operations that require the user to trigger the control, such as clicking, touching, or hovering over the control; and operations that require user input, such as editing input.
[0049] The target field mentioned above can be a newly created field or an existing field.
[0050] The above field setting information includes at least one reference field used to instruct the preset model to obtain input data, such as the content of the cell corresponding to the target field, and also includes, but is not limited to, one or more of the following: task information, information on the algorithm or rules for processing the above reference field, etc.
[0051] The above field settings include instructions for the output data requirements of the preset model, such as the field category of the target field and the field data generation requirements. Output data requirements are set according to the actual application; for example, setting classification requirements in a classification scenario and summary requirements in a summary scenario.
[0052] The aforementioned preset model can be a deep neural network with a large number of parameters, such as a large language model (LLM). This preset model can also be a model that has been pre-trained using a large amount of training data and possesses preliminary reasoning capabilities.
[0053] S102: In response to receiving a content generation instruction for the target field, call the preset model to generate the content of the cell corresponding to the target field based on the field setting information.
[0054] The instruction to generate the content of the aforementioned target field can be a user-sent instruction or an instruction generated by an electronic device.
[0055] Upon receiving the instruction to generate the content of the target field, the execution entity can call a preset model to generate the content of the cell corresponding to the target field based on the field setting information.
[0056] In some embodiments, the field setting information includes at least one of the following:
[0057] The type of the target field is used to determine the output data of the preset model; or,
[0058] The first field is a field that has already been recorded in the table; or,
[0059] Content description information is used to constrain the content generated based on the first field.
[0060] The target field can be of various types, including but not limited to: classification, translation, extraction, summarization, and annotation. Based on this first field, the source of input data for the preset model can be determined.
[0061] In some embodiments, after the cell content is generated, the cell content can also be presented to the user.
[0062] In some embodiments, S102 may be specifically as follows:
[0063] Get the first content of the data column corresponding to the first field, call the preset model to process the first content based on the content description information, and generate the processed second content in the corresponding cell of the data column corresponding to the target field.
[0064] The content description information can be related to the type of the target field.
[0065] In some embodiments, the target field type includes a summary type, and S102 can be specifically as follows:
[0066] Get the first content of the data column corresponding to the first field, call the preset model to summarize the first content based on the content description information, and generate the summary content in the corresponding cell of the data column corresponding to the target field.
[0067] For example, the table above is a student grade table. The student grade table has already created and generated learning grade fields for each subject, such as Chinese, Mathematics, and English. The cells corresponding to each learning grade field record the corresponding learning grade. The target field is of the summary type, corresponding to a summary of the student's learning grades in all subjects. Therefore, the field settings include the learning grade fields for each subject and the output data requirement corresponding to the target field – summarizing the data. If the first student's Chinese score is 95, Mathematics score is 110, and English score is 90, then the content of the cell corresponding to the target field could be: "This student's Mathematics score is relatively good, while their Chinese and English scores are relatively poor."
[0068] In some embodiments, the type of the target field includes a translation type, and S102 may be specifically as follows:
[0069] Get the first content of the data column corresponding to the first field, call the preset model to translate the first content based on the content description information, and generate the translated content in the corresponding cell of the data column corresponding to the target field.
[0070] In some embodiments, the type of the target field includes a classification type, and S102 can be specifically as follows:
[0071] Get the first content of the data column corresponding to the first field, call the preset model to determine at least one tag item for the first content based on the content description information, and generate the corresponding tag item in the corresponding cell of the data column corresponding to the target field.
[0072] The tags can be set according to the actual application. For example, if age data is classified, tags such as youth, middle-aged and elderly can be preset.
[0073] In some embodiments, the type of the target field includes a content extraction type, and S102 can be specifically as follows:
[0074] Get the first content of the data column corresponding to the first field, call the preset model to extract the target content of the first content based on the content description information, and generate the corresponding target content in the corresponding cell of the data column corresponding to the target field.
[0075] The content description information can be set according to the actual extraction needs. For example, if it is necessary to extract vehicle keywords, then data belonging to vehicles can be extracted.
[0076] The table content generation method provided in this disclosure allows users to call a preset model to generate the content of the cells corresponding to the target field based on the field setting information without manually inputting complex preset model commands. This enables the table to achieve more complex functions, such as categorization and summarization, to meet the needs of more application scenarios and improve the user experience.
[0077] Please refer to Figure 3, which is a flowchart illustrating the table content generation method provided in this embodiment. As shown in Figure 3, it should be noted that in this embodiment, the field setting interface includes a field reference control and a preset control. The method includes the following steps:
[0078] S201: In response to receiving a trigger operation performed by the user on the field reference control, display the reference field settings interface.
[0079] In this embodiment, the execution entity of the table content generation method can be a client running on a terminal device or a server.
[0080] In some embodiments, the field reference control can be an option control. After the user triggers the field reference control, the corresponding reference field settings interface is displayed, which includes fields that have been created in the table and can be referenced.
[0081] In some application scenarios, the types of referenced fields can include, but are not limited to: multiline text, single selection, multiple selection, date, number, checkbox, hyperlink, formula (result value), lookup reference (result value) | progress, currency, rating, association (result value), creation time, last update time, etc.
[0082] S202: In response to receiving a preset operation performed by the user on a preset control, generate corresponding setting-related information.
[0083] In some embodiments, preset controls are related to field settings and include content constraint controls and output data requirement controls. Content constraint controls are used to impose constraints on the content of cells corresponding to the target fields generated by the preset model, such as constraints on the tone of translation in a translation field. Output data requirement controls are used to provide indications for the content of cells corresponding to the target fields generated by the preset model, such as requirements for the translated language in a translation field.
[0084] In some embodiments, the preset operation may include, but is not limited to: clicking, hovering the cursor over a field area, and touching.
[0085] In some embodiments, the preset control includes a content constraint control, and S202 may be specifically as follows:
[0086] In response to user actions that trigger the content constraint controls in the field settings interface, the constraint information input interface is displayed.
[0087] Based on the constraint information configuration operation received in the constraint information input interface, the corresponding constraint information is generated.
[0088] In some embodiments, after the content constraint control is triggered, the cursor will be displayed in the constraint information input interface, making it convenient for users to input relevant configuration information.
[0089] In some application scenarios, as shown in Figure 4, the field settings interface includes a title, field type, field reference control 301, and content constraint control 302. The title is optional; if the user saves the page without filling it in, it can be named directly after the field name, with a corresponding number of count suffixes added based on the number of fields of the same type in the table.
[0090] Users can select the corresponding reference field using the field reference control 301. Simultaneously, users can also trigger operations on the content constraint control 302, such as by double-clicking, to input relevant configuration information in the constraint information input interface (the box above the constraint in the figure).
[0091] In some application scenarios, as shown in Figure 5, a field settings interface is displayed when the target field is a translation field. This interface includes a title (translation) and a field type (translation). The field reference control 301 translates the following content as shown in the figure, along with an option box (the reference field is the task description). The content constraint control 302 includes translation requirements and an input box for those requirements (e.g., "text with a more lively tone") to adapt to more application scenarios and meet diverse user translation needs. The interface also includes controls related to output data requirements, such as the translation as shown in the figure and a corresponding option box (selecting English as the translation result). A preview control is also included, providing a preview function so users can preview the generated field, enhancing the user experience. This preview control is not mandatory and can be selected based on the specific application scenario. Furthermore, attributes marked with an asterisk in this field settings interface are required.
[0092] S203: Generate field setting information based on the reference field information and setting-related information entered in the reference field setting interface.
[0093] In some embodiments, the settings are related to the preset control type and the user's configuration of the preset control.
[0094] S204: In response to receiving a content generation instruction for a target field, a preset model is invoked to generate the content of the cell corresponding to the target field based on the field setting information, so that the content of the cell meets the output data requirements.
[0095] In some embodiments, after generating the content of the cell corresponding to the target field, the content of the target field can be modified, as follows:
[0096] In response to receiving a field content modification command for the target field, the corresponding field settings interface is displayed.
[0097] In response to the user's change settings operation for the target field in the field settings interface, generate corresponding new field settings information.
[0098] In response to receiving a content generation instruction for a target field, the system calls a preset model to update the content of the cell corresponding to the target field based on the new field setting information.
[0099] In some embodiments, field content modification instructions can be generated through preset operations. For example, a user can click on a target field to display the corresponding function page, which includes options such as field content modification, field copying, and field updating. The user can trigger the field content modification instruction by clicking on the field content modification option.
[0100] At this point, users can further adjust and modify the field content in the field settings interface, such as modifying referenced fields and constraint information, to generate corresponding new field settings information.
[0101] In some embodiments, after generating the content of the cell corresponding to the target field, a field copy function can also be provided to meet the application scenario requirements of field copying, as follows:
[0102] In response to receiving a field copy instruction for the target field, retrieve the generated content of the corresponding cell and the field settings information corresponding to the target field.
[0103] In response to receiving a field paste instruction for the target field, the target field is pasted into the corresponding table area based on the obtained generated content and field setting information.
[0104] In some embodiments, the field copy instruction can be generated through a preset operation. For example, the user can click on the target field to display the corresponding function page, which includes options such as field content modification, field copy, and field update. The user can trigger the field copy instruction by clicking the field copy option.
[0105] At this point, the backend retrieves the generated content of the corresponding cell and the field settings information of the target field based on the field copy command. It can also simultaneously obtain the target field's characteristic attributes, such as field identifier and underlying characteristics, as well as cell attributes such as cell position and format. This facilitates the subsequent pasting of the target field into the corresponding table area based on the retrieved generated content and field settings information, improving data processing efficiency.
[0106] Similarly, a field cutting function can be provided to cut the target field into the corresponding table area, reducing the difficulty for users to edit the table and improving the user experience.
[0107] Please refer to Figure 6, which is a schematic diagram of the field creation page. In some embodiments, the process of creating and modifying field types is similar. Modifying the field type includes changing a target field to a regular field or another model function field, and changing a regular field to a model function field. A model function field is a field that generates the content of the corresponding cell by calling a preset model. A model function field can be understood as a combination of the underlying field type and the calling of a preset model. Target fields are model function fields, while regular fields are fields whose content is not generated by calling a preset model.
[0108] In some embodiments, the process for creating a field is as follows:
[0109] In response to receiving a field creation instruction for the target field, the corresponding field creation page is displayed. The field creation page includes the first field display area corresponding to the model function field and a custom field control. The content of the cell corresponding to the model function field is generated using a preset model.
[0110] In response to receiving a command to display the settings interface for the target field, the field settings interface is displayed.
[0111] In some embodiments, the process for creating a field is as follows:
[0112] In response to receiving a field creation instruction for a target field, the corresponding field creation page is displayed. The field creation page includes a first field display area corresponding to the model's functional field and a custom field control. The first field display area includes at least one existing first field control.
[0113] In response to a user's triggered action on the first existing field control, the corresponding field settings interface is displayed.
[0114] In response to receiving user-triggered operations on custom field controls and custom configuration operations on custom fields, the corresponding field settings interface is displayed.
[0115] In some embodiments, the first existing field control is filled into the first field display area, and the centralized display of the first field display area makes it convenient for users to find the first existing field control.
[0116] As shown in Figure 6, the field creation page includes a first field display area 401 and custom field controls 402. The first field display area 401 includes existing first field controls such as translation, summary, extraction, classification, and other categories (not shown in the figure). If, as shown in Figure 6, the user selects the existing first field control corresponding to translation, the field settings interface shown in Figure 5 may be displayed.
[0117] The custom field control 402 is used to create user-defined fields. The corresponding field display interface is displayed after the user performs a trigger operation on the custom field control and performs a custom configuration operation on the custom field.
[0118] In some embodiments, the process for modifying the field type of a basic field is as follows:
[0119] In response to a received instruction to modify the field type of a basic field in a table, the corresponding field modification page is displayed. The content of the cell corresponding to the basic field is not generated using a preset model, and the basic field is a field already recorded in the table. The field modification page includes a first field display area corresponding to the model's functional field and / or a custom field control.
[0120] In response to receiving a command to display the settings interface for the first modified field, the field settings interface is displayed. The first modified field is the field after modification from the base field.
[0121] In some embodiments, the process for modifying the field type of a basic field is as follows:
[0122] In response to receiving a field type modification instruction for a basic field in the table, the corresponding field modification page is displayed. The corresponding cells for the basic fields have already generated their content. The field modification page includes a first field display area corresponding to the model's functional fields and custom field controls. The first field display area includes at least one existing first field control.
[0123] In response to a user's trigger action on the first existing field control, the corresponding field settings interface is displayed.
[0124] In response to receiving user-triggered operations on custom field controls and custom configuration operations on custom fields, the corresponding field settings interface is displayed.
[0125] In some embodiments, the content displayed on the field modification page is the same as that displayed on the field creation page. In the field settings interface, after the user performs the corresponding modification operation to generate the corresponding field setting information, the cell content corresponding to the new field can be regenerated by calling a preset model.
[0126] In some embodiments, in response to receiving a field modification instruction for a target field in a table, a corresponding field modification page is displayed. The corresponding cell for the target field has already generated its content. The field modification page includes a second field display area corresponding to the base field and / or a custom field control. The content of the cell corresponding to the base field is not generated by calling a preset model.
[0127] In response to receiving a command to display the settings interface for the second modified field, the field settings interface is displayed. The second modified field is the modified version of the target field.
[0128] In some embodiments, the modification process for the target field is as follows:
[0129] In response to receiving a field modification instruction for a target field in a table, the corresponding field modification page is displayed. The field modification page includes a second field display area corresponding to the base field and a custom field control. The second field display area includes at least one existing second field control.
[0130] In response to receiving a trigger operation from the user on a second existing field control, the corresponding field settings interface is displayed.
[0131] In response to receiving user-triggered operations on custom field controls and custom configuration operations on custom fields, the corresponding field settings interface is displayed.
[0132] In some embodiments, the field modification page may also include a first field display area. The target field can be modified to other model function fields or basic fields.
[0133] In some embodiments, if the target field is converted to a base field and the target field is type-compatible with the base field, the generated field configuration can be retained.
[0134] In some embodiments, before displaying the corresponding field settings interface, the user may be prompted with the consequences of the field type conversion, as follows:
[0135] A prompt interface is displayed, which includes prompts related to field type conversion.
[0136] Upon receiving a confirmation conversion instruction for the target field, the corresponding field settings interface will continue to be displayed.
[0137] In some embodiments, the prompt message can be set to remove the target field's configuration information after the field type conversion. This configuration information includes prompt messages corresponding to the preset model, field attributes, and other information, thereby informing the user of the consequences of the type conversion, preventing users from making mistakes without knowing the consequences, and reducing the difficulty of setting up the table for the user. If the user still decides to convert the field type, the corresponding field setting interface will continue to be displayed.
[0138] In some embodiments, after a field is modified, if the content corresponding to the modified field is further generated, a prompt related to the cell content update can be added.
[0139] In some embodiments, the process for setting custom fields is as follows:
[0140] In response to settings operations on custom fields within a custom page, receive custom setting information. Custom setting information includes prompts and / or field attribute information corresponding to the preset model.
[0141] In response to receiving a command to generate a field settings interface for a custom field, the corresponding field settings interface is displayed based on the custom settings information.
[0142] In some embodiments, the triggering operation and subsequent process for a custom field control can be as follows:
[0143] In response to a user's trigger action on a custom field control, the corresponding custom page is displayed.
[0144] In response to user input in the prompt information configuration area of the custom page, generate prompt information corresponding to the preset model.
[0145] Responding to user input in the field attribute setting area of the custom page, generate field attribute information.
[0146] In response to receiving a command to generate a field settings interface for a custom field, the field settings interface is displayed based on the prompts and field attribute information.
[0147] In some embodiments, the prompt information configuration area is used to configure prompt information that the preset model can recognize, and the field attribute setting area is used to configure the attributes of the field, such as output format, type, title, etc.
[0148] In some application scenarios, as shown in Figure 7, a custom page is displayed. This custom interface includes a field attribute setting area, which includes the title (custom field), field type (custom field), and output format (text) shown in the figure. The prompt information configuration area includes the corresponding configuration areas shown in the figure (input command, reference field, and input command box), where the input command section marked with an asterisk is a required field. This custom interface also includes a generate control and a cancel control. In the configuration area, users can input command information that the preset model can use. This command information includes reference fields, the function to be performed by the preset model, and other information. At the same time, the backend converts this command information into the corresponding prompt information for the preset model.
[0149] In some embodiments, the field setting interface for custom fields is similar to or the same as that for other functional model fields.
[0150] Please refer to Figure 8, which shows a schematic flowchart of the table content generation method provided in this disclosure. As shown in Figure 8, the method of this embodiment also includes a preview process, which includes the following steps:
[0151] S501: In response to receiving a preview generation instruction for the target field, the preset model is invoked to generate the content of the corresponding number of cells for the target field based on the field setting information. This number is less than or equal to a preset number threshold.
[0152] In some embodiments, the number of cells to be previewed can be set according to the actual application, such as 2, 5, 10, etc. When the number of cells that can generate content is less than the preset number threshold, only the content corresponding to that number of cells can be generated.
[0153] In some embodiments, during the preview generation process, the content in the field settings interface can be locked to remain unchanged, i.e., the content cannot be modified, and the preview cannot be repeated when the user clicks the preview control again.
[0154] In some embodiments, users can modify the content of the corresponding cell during the preview generation process, but the content of the cell will be overwritten by the content generated in the preview later.
[0155] In some embodiments, previewing through the field settings interface in different table views will not redirect to other interfaces. The field settings interface can also be divided into a simple settings interface and a detailed settings interface. The detailed settings interface includes more controls, and previewing through the detailed settings interface will not redirect to other interfaces.
[0156] S502, keep the field setting interface on display and move it to the target area, which is a preset area that does not obscure the cells.
[0157] In some embodiments, the field setting interface is continuously displayed, and the target area can be preset, such as the left area of the cell, the right area, or the upper left area of the table.
[0158] In some embodiments, the field settings interface does not support dragging, but is compatible with sliding to prevent obscuring important information in the table.
[0159] In some application scenarios, as shown in Figure 9, a portion of the table content is displayed. The table includes pre-defined fields for Date, Priority, Multiple Choice, and Translation. The table also shows the field settings interface for the Translation field, which contains content similar to that in Figure 5 and will not be repeated here. If a user previews the generated field by triggering a preview control, the backend calls a preset model to generate the content of the corresponding number of cells for the target field based on the field settings. As shown, the generated preview content 601 includes User research, Demand analysis, Feasibility analysis, Product design, and Demo. In this case, the field settings interface is located on the left side of the cells, without obscuring the cell content, and is convenient for users to view and set the field settings, further improving the user experience.
[0160] If the user finds the preview result unsatisfactory, they can modify the content in the field settings interface and then click "Re-preview Control" to preview it again. If the user finds the preview result satisfactory, they can directly generate the content of all corresponding cells using the control.
[0161] In some application scenarios, if the number of cells corresponding to the target field exceeds a preset number (which can be set to 500, 1000, etc.), a secondary confirmation interface can be displayed. This interface can contain secondary confirmation information, such as "The current generation time is relatively long. Please confirm the preview effect before confirming generation."
[0162] In some embodiments, relevant trigger commands are set for closing or keeping the field settings interface open to further improve the user experience, as follows:
[0163] If a first preset instruction for the table is received before the content of all cells corresponding to the target field is generated, the field settings interface will be closed, and the generation of the content in the cells corresponding to the target field will be canceled. The first preset instruction includes any one of the following: switch table view instruction, switch table instruction, close field settings interface instruction, or refresh instruction.
[0164] If the first preset instruction for the table is received after all the contents of the cells corresponding to the target field have been generated, the field settings interface will be closed.
[0165] In some embodiments, if a second preset instruction for a table is received, the field settings interface will not be closed. The second preset instruction includes any one of the following: a cell modification instruction, a toolbar control trigger instruction, or a table view control trigger instruction.
[0166] In some embodiments, the second preset instruction may also include an instruction generated by clicking a cell, an instruction generated by clicking a field title, etc.
[0167] In some embodiments, the controls in the field settings interface have required input attributes or optional input attributes.
[0168] Additionally, if the user has not completed setting all controls with required input attributes, the cursor's movable range can be limited to guide the user through the configuration process, as follows:
[0169] Real-time detection of whether controls with required input attributes in the field settings interface are in an input state.
[0170] If all controls with required input attributes are in the input state, then the generated controls in the control field settings interface will be available.
[0171] If a control with a required input attribute is in an unentered state, the generated control in the control field settings interface will be unavailable, and the cursor's movable range will be a preset range based on the field settings interface.
[0172] In some embodiments, if the generated control is available, the user can trigger the generated control to execute the next step of the process; if the generated control is unavailable, the user cannot trigger the generated control to execute the next step of the process.
[0173] In some application scenarios, controls that require input attributes can be identified using asterisks (*) as shown in Figures 5 and 7, so that users know which controls must be processed.
[0174] In some application scenarios, the cursor can also be controlled to move slowly and repeatedly toward controls that require input attributes, in order to guide the user to perform the corresponding processing.
[0175] In some application scenarios, the generated control can be distinguished by color between its available and unavailable states. For example, the unavailable state can be grayed out, and the available state can be blued out, so that users can easily understand the state of the generated control.
[0176] Corresponding to the table content generation method in the embodiment shown in Figure 1 above, Figure 10 is a schematic structural diagram of the table content generation apparatus provided in this disclosure embodiment. For ease of explanation, only the parts related to this disclosure embodiment are shown. Referring to Figure 10, the apparatus 700 includes: a receiving unit 701 and a calling unit 702. Wherein,
[0177] The receiving unit 701 is configured to receive field setting information in response to a setting operation for a target field in the field setting interface. The field setting information is used at least to indicate the source of the input data acquired by the preset model and / or to indicate the output data requirements of the preset model.
[0178] Calling unit 702 is used to respond to receiving a content generation instruction for a target field by calling a preset model to generate the content of the cell corresponding to the target field based on the field setting information.
[0179] In some embodiments, the field settings interface includes a field reference control and a preset control.
[0180] The receiving unit 701 is specifically used for:
[0181] In response to a user's triggered action on a field reference control, the reference field settings interface is displayed. In response to a user's preset action on a preset control, corresponding setting information is generated. Based on the reference field information and setting information received in the reference field settings interface, field setting information is generated.
[0182] In some embodiments, the preset control includes a content constraint control. The content constraint control is used to impose constraints on the content of the cells corresponding to the target field generated by the preset model.
[0183] When receiving a preset operation performed by the user on a preset control and generating corresponding setting information, the receiving unit 701 is specifically used for:
[0184] In response to user actions on the content constraint controls in the field settings interface, the constraint information input interface is displayed. Based on the constraint information configuration received in the constraint information input interface, the corresponding constraint information is generated.
[0185] In some embodiments, the table content generation apparatus 700 further includes:
[0186] A creation unit is used to display the corresponding field creation page in response to a received field creation instruction for a target field. The field creation page includes a first field display area corresponding to the model function field and a custom field control. The first field display area includes at least one existing first field control. The content of the cell corresponding to the model function field is generated by calling a preset model. The corresponding field settings interface is displayed in response to a user's trigger operation on the existing first field control. The corresponding field settings interface is also displayed in response to a user's trigger operation on a custom field control and a custom configuration operation on the custom field.
[0187] In some embodiments, the table content generation apparatus 700 further includes:
[0188] The first modification unit is used to display the corresponding field modification page in response to receiving a field type modification instruction for a basic field in a table. The content of the cell corresponding to the basic field is not generated by calling the preset model, and the corresponding content has already been generated for the cell. The field modification page includes a first field display area corresponding to the model function field and a custom field control. The first field display area includes at least one first existing field control. In response to receiving a trigger operation performed by the user on the first existing field control, the corresponding field setting interface is displayed. In response to receiving a trigger operation performed by the user on the custom field control and a custom configuration operation on the custom field, the corresponding field setting interface is displayed.
[0189] In some embodiments, the table content generation apparatus 700 further includes:
[0190] The second modification unit is used to display the corresponding field modification page in response to receiving a field modification instruction for a target field in the table. The corresponding cell for the target field has already generated its content. The field modification page includes a second field display area corresponding to the base field and a custom field control. The second field display area includes at least one existing second field control. The content of the cell corresponding to the base field is not generated by calling a preset model. In response to receiving a trigger operation performed by the user on the existing second field control, the corresponding field settings interface is displayed. In response to receiving a trigger operation performed by the user on the custom field control and a custom configuration operation for the custom field, the corresponding field settings interface is displayed.
[0191] In some embodiments, when the first modification unit or the second modification unit displays the corresponding field setting interface in response to receiving a trigger operation performed by the user on the custom field control and a setting operation on the custom field, it is specifically used for:
[0192] In response to a user's trigger action on a custom field control, display the corresponding custom page. In response to user input in the prompt information configuration area of the custom page, generate prompt information corresponding to the preset model. In response to user input in the field attribute setting area of the custom page, generate field attribute information. In response to a command to generate a field setting interface for a custom field, display the field setting interface based on the prompt information and field attribute information.
[0193] In some embodiments, the first modification unit or the second modification unit is further configured to:
[0194] A prompt interface is displayed. This interface includes information related to field type conversion. Upon receiving a confirmation conversion instruction for the target field, the steps to display the corresponding field settings interface are executed.
[0195] In some embodiments, the controls in the field settings interface have required input attributes or optional input attributes.
[0196] The table content generation device 700 also includes:
[0197] The detection unit is used to detect in real time whether controls with required input attributes in the field setting interface are in an input state. If all controls with required input attributes are in an input state, the generated controls in the control field setting interface are made available. If any control with required input attributes is not in an input state, the generated controls in the control field setting interface are made unavailable, and the cursor's movable range is a preset range based on the field setting interface.
[0198] In some embodiments, the table content generation apparatus 700 further includes:
[0199] The preview unit, in response to a received preview generation command for a target field, calls a preset model to generate the content of a corresponding number of cells for the target field based on the field settings information. The number is less than or equal to a preset threshold. The field settings interface is kept on display and moved to the target area, which is a preset area that does not obscure the cells.
[0200] In some embodiments, the table content generation apparatus 700 further includes:
[0201] The control unit is configured to, if it receives a first preset instruction for the table before the content of all cells corresponding to the target field is generated, close the field settings interface and cancel the generation of the content in the cells corresponding to the target field. The first preset instruction includes any one of the following: a switch table view instruction, a switch table instruction, a close field settings interface instruction, or a refresh instruction. If it receives the first preset instruction for the table after the content of all cells corresponding to the target field has been generated, it closes the field settings interface.
[0202] In some embodiments, the control unit is further configured to:
[0203] If a second preset command for the table is received, the field settings interface will not be closed. The second preset command includes any one of the following: cell modification command, toolbar control trigger command, or table view control trigger command.
[0204] In some embodiments, the table content generation apparatus 700 further includes:
[0205] The content modification unit is used to respond to a received instruction to modify the content of a target field by displaying the corresponding field settings interface. It also generates new field settings information in response to user changes to the target field within the field settings interface. Finally, it calls a preset model to update the content of the cell corresponding to the target field based on the new field settings information, upon receiving a content generation instruction for the target field.
[0206] In some embodiments, the table content generation apparatus 700 further includes:
[0207] The copy unit is used to, in response to a received field copy instruction for a target field, retrieve the generated content of the corresponding cell and the field settings information corresponding to the target field. In response to a received field paste instruction for a target field, it pastes the target field into the corresponding table area based on the retrieved generated content and field settings information.
[0208] To implement the above embodiments, this disclosure also provides an electronic device.
[0209] Referring to Figure 11, a schematic diagram of the structure of an electronic device 800 suitable for implementing embodiments of the present disclosure is shown. The electronic device 800 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), portable Android devices (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 11 is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present disclosure.
[0210] As shown in Figure 11, the electronic device 800 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the electronic device 800. The processing unit 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0211] Typically, the following devices can be connected to I / O interface 805: input devices 806, including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 807, including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 808, including, for example, magnetic tapes, hard disks, etc.; and communication devices 809. Communication device 809 allows electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG11 shows electronic device 800 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 alternatively.
[0212] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by a processing device 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0213] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0214] The aforementioned computer-readable medium may be included in the aforementioned electronic device, or it may exist independently and not assembled into the electronic device.
[0215] The aforementioned computer-readable medium carries one or more programs (computer execution instructions) that, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0216] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone 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 remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0217] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0218] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0219] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0220] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0221] In a first aspect, according to one or more embodiments of this disclosure, a method for generating table content is provided, comprising:
[0222] In response to setting operations for a target field in the field settings interface, receive field setting information. The field setting information is at least used to indicate the source of input data acquired by the preset model and / or to indicate the output data requirements of the preset model.
[0223] In response to receiving a content generation instruction for a target field, the system calls a preset model to generate the content of the cell corresponding to the target field based on the field setting information.
[0224] According to one or more embodiments of this disclosure, the field setting information includes at least one of the following:
[0225] The type of the target field is used to determine the output data of the preset model; or,
[0226] The first field is a field that has already been recorded in the table; or,
[0227] Content description information is used to constrain the content generated based on the first field.
[0228] According to one or more embodiments of this disclosure, the method further includes:
[0229] In response to receiving a field creation instruction for the target field, the corresponding field creation page is displayed. The field creation page includes the first field display area corresponding to the model function field and a custom field control. The content of the cell corresponding to the model function field is generated using a preset model.
[0230] In response to receiving a command to display the settings interface for the target field, the field settings interface is displayed.
[0231] According to one or more embodiments of this disclosure, the method further includes:
[0232] In response to a received instruction to modify the field type of a basic field in a table, the corresponding field modification page is displayed. The content of the cell corresponding to the basic field is not generated using a preset model, and the basic field is a field already recorded in the table. The field modification page includes a first field display area corresponding to the model's functional field and / or a custom field control.
[0233] In response to receiving a command to display the settings interface for the first modified field, the field settings interface is displayed. The first modified field is the field after modification from the base field.
[0234] According to one or more embodiments of this disclosure, the method further includes:
[0235] In response to a received field modification instruction for a target field in the table, the corresponding field modification page is displayed. The cells corresponding to the target field have already generated their content. The field modification page includes a second field display area corresponding to the base field and / or a custom field control. The content of the cells corresponding to the base field is not generated by calling a preset model.
[0236] In response to receiving a command to display the settings interface for the second modified field, the field settings interface is displayed. The second modified field is the modified version of the target field.
[0237] According to one or more embodiments of this disclosure, the method further includes the following steps before displaying the field settings interface:
[0238] The system displays a prompt interface. This interface includes information related to field type conversion.
[0239] In response to receiving a confirmation conversion instruction for the target field, the steps to display the field settings interface are executed.
[0240] According to one or more embodiments of this disclosure, the method further includes:
[0241] In response to settings operations on custom fields within a custom page, receive custom setting information. Custom setting information includes prompts and / or field attribute information corresponding to the preset model.
[0242] In response to receiving a command to generate a field settings interface for a custom field, the corresponding field settings interface is displayed based on the custom settings information.
[0243] According to one or more embodiments of this disclosure, each control in the field setting interface has a required input attribute or a non-required input attribute.
[0244] The method also includes:
[0245] Real-time detection of whether controls with required input attributes in the field settings interface are in an input state.
[0246] If all controls with required input attributes are in the input state, then the generated controls in the control field settings interface will be available.
[0247] If a control with a required input attribute is in an unentered state, the generated control in the control field settings interface will be unavailable, and the cursor's movable range will be a preset range based on the field settings interface.
[0248] According to one or more embodiments of this disclosure, the method further includes:
[0249] In response to receiving a preview generation command for the target field, the system invokes a preset model to generate the content of the corresponding number of cells for the target field based on the field settings. The number of cells must be less than or equal to a preset threshold.
[0250] Keep the field settings interface visible and move it to the target area. The target area is a preset area that does not obscure the cells.
[0251] According to one or more embodiments of this disclosure, the method further includes:
[0252] If a first preset instruction for the table is received before the content of all cells corresponding to the target field is generated, the field settings interface will be closed, and the generation of the content in the cells corresponding to the target field will be canceled. The first preset instruction includes any one of the following: switch table view instruction, switch table instruction, close field settings interface instruction, or refresh instruction.
[0253] If the first preset instruction for the table is received after all the contents of the cells corresponding to the target field have been generated, the field settings interface will be closed.
[0254] According to one or more embodiments of this disclosure, the method further includes:
[0255] If a second preset command for the table is received, the field settings interface will not be closed. The second preset command includes any one of the following: cell modification command, toolbar control trigger command, or table view control trigger command.
[0256] According to one or more embodiments of this disclosure, after calling a preset model to generate the content of the cell corresponding to the target field based on the field setting information, the method further includes:
[0257] In response to receiving a field content modification command for the target field, the corresponding field settings interface is displayed.
[0258] In response to the user's change settings operation for the target field in the field settings interface, generate corresponding new field settings information.
[0259] In response to receiving a content generation instruction for a target field, the system calls a preset model to update the content of the cell corresponding to the target field based on the new field setting information.
[0260] According to one or more embodiments of this disclosure, after calling a preset model to generate the content of the cell corresponding to the target field based on the field setting information, the method further includes:
[0261] In response to receiving a field copy instruction for the target field, retrieve the generated content of the corresponding cell and the field settings information corresponding to the target field.
[0262] In response to receiving a field paste instruction for the target field, the target field is pasted into the corresponding table area based on the obtained generated content and field setting information.
[0263] According to one or more embodiments of this disclosure, in response to receiving a content generation instruction for a target field, a preset model is invoked to generate the content of the cell corresponding to the target field based on field setting information, including:
[0264] Get the first content of the data column corresponding to the first field, call the preset model to process the first content based on the content description information, and generate the processed second content in the corresponding cell of the data column corresponding to the target field.
[0265] According to one or more embodiments of this disclosure, the type of the target field includes a summary type.
[0266] In response to receiving a content generation instruction for a target field, the system invokes a preset model to generate the content of the cell corresponding to the target field based on the field settings, including:
[0267] Get the first content of the data column corresponding to the first field, call the preset model to summarize the first content based on the content description information, and generate the summary content in the corresponding cell of the data column corresponding to the target field.
[0268] According to one or more embodiments of this disclosure, the type of the target field includes a translation type.
[0269] In response to receiving a content generation instruction for a target field, the system invokes a preset model to generate the content of the cell corresponding to the target field based on the field settings, including:
[0270] Get the first content of the data column corresponding to the first field, call the preset model to translate the first content based on the content description information, and generate the translated content in the corresponding cell of the data column corresponding to the target field.
[0271] According to one or more embodiments of this disclosure, the type of the target field includes a classification type.
[0272] In response to receiving a content generation instruction for a target field, the system invokes a preset model to generate the content of the cell corresponding to the target field based on the field settings, including:
[0273] Get the first content of the data column corresponding to the first field, call the preset model to determine at least one tag item for the first content based on the content description information, and generate the corresponding tag item in the corresponding cell of the data column corresponding to the target field.
[0274] According to one or more embodiments of this disclosure, the type of the target field includes a content extraction type.
[0275] In response to receiving a content generation instruction for a target field, the system invokes a preset model to generate the content of the cell corresponding to the target field based on the field settings, including:
[0276] Get the first content of the data column corresponding to the first field, call the preset model to extract the target content of the first content based on the content description information, and generate the corresponding target content in the corresponding cell of the data column corresponding to the target field.
[0277] Secondly, according to one or more embodiments of this disclosure, a table content generation apparatus is provided, comprising:
[0278] The receiving unit is used to receive field setting information in response to a setting operation for a target field in the field setting interface. The field setting information is used to indicate at least the source of the input data acquired by the preset model and / or to indicate the output data requirements of the preset model.
[0279] The calling unit is used to respond to a received instruction to generate content for a target field by calling a preset model to generate the content of the cell corresponding to the target field based on the field setting information.
[0280] According to one or more embodiments of this disclosure, the field setting information includes at least one of the following:
[0281] The type of the target field is used to determine the output data of the preset model; or,
[0282] The first field is a field that has already been recorded in the table; or,
[0283] Content description information is used to constrain the content generated based on the first field.
[0284] According to one or more embodiments of this disclosure, the apparatus further includes:
[0285] The creation unit is used to respond to a field creation instruction received for a target field and display the corresponding field creation page. The field creation page includes a first field display area corresponding to the model function field and a custom field control. The content of the cell corresponding to the model function field is generated by calling a preset model.
[0286] In response to receiving a command to display the settings interface for the target field, the field settings interface is displayed.
[0287] According to one or more embodiments of this disclosure, the apparatus further includes:
[0288] The first modification unit is used to respond to a received instruction to modify the field type of a basic field in the table, and to display the corresponding field modification page. The content of the cell corresponding to the basic field is not generated by calling the preset model, and the basic field is a field already recorded in the table. The field modification page includes a first field display area corresponding to the model function field and / or a custom field control.
[0289] In response to receiving a command to display the settings interface for the first modified field, the field settings interface is displayed. The first modified field is the field after modification from the base field.
[0290] According to one or more embodiments of this disclosure, the apparatus further includes:
[0291] The second modification unit is used to respond to a received field modification instruction for a target field in the table and display the corresponding field modification page. The cells corresponding to the target field have already generated their content. The field modification page includes a second field display area corresponding to the base field and / or a custom field control. The content of the cells corresponding to the base field is not generated by calling a preset model.
[0292] In response to receiving a command to display the settings interface for the second modified field, the field settings interface is displayed. The second modified field is the modified version of the target field.
[0293] According to one or more embodiments of this disclosure, the second modification unit is further configured to:
[0294] The system displays a prompt interface. This interface includes information related to field type conversion.
[0295] In response to receiving a confirmation conversion instruction for the target field, the steps to display the field settings interface are executed.
[0296] According to one or more embodiments of this disclosure, the apparatus further includes:
[0297] Custom units are used to respond to settings operations on custom fields within a custom page, receiving custom setting information. This custom setting information includes prompts and / or field attribute information corresponding to preset models.
[0298] In response to receiving a command to generate a field settings interface for a custom field, the corresponding field settings interface is displayed based on the custom settings information.
[0299] According to one or more embodiments of this disclosure, each control in the field setting interface has a required input attribute or a non-required input attribute.
[0300] The device also includes:
[0301] The first control unit is used to detect in real time whether controls with required input attributes in the field setting interface are in an input state.
[0302] If all controls with required input attributes are in the input state, then the generated controls in the control field settings interface will be available.
[0303] If a control with a required input attribute is in an unentered state, the generated control in the control field settings interface will be unavailable, and the cursor's movable range will be a preset range based on the field settings interface.
[0304] According to one or more embodiments of this disclosure, the apparatus further includes:
[0305] The preview unit, in response to a received preview generation command for a target field, invokes a preset model to generate the content of a corresponding number of cells for the target field based on the field settings. The number is less than or equal to a preset threshold.
[0306] Keep the field settings interface visible and move it to the target area. The target area is a preset area that does not obscure the cells.
[0307] According to one or more embodiments of this disclosure, the apparatus further includes:
[0308] The second control unit is configured to close the field settings interface and cancel the generation of content in the cells corresponding to the target field if it receives a first preset instruction for the table before all the content of the cells corresponding to the target field is generated. The first preset instruction includes any one of the following: switch table view instruction, switch table instruction, close field settings interface instruction, or refresh instruction.
[0309] If the first preset instruction for the table is received after all the contents of the cells corresponding to the target field have been generated, the field settings interface will be closed.
[0310] According to one or more embodiments of this disclosure, the second control unit is further configured to:
[0311] If a second preset command for the table is received, the field settings interface will not be closed. The second preset command includes any one of the following: cell modification command, toolbar control trigger command, or table view control trigger command.
[0312] According to one or more embodiments of this disclosure, the apparatus further includes:
[0313] The content modification unit is used to display the corresponding field setting interface in response to receiving a field content modification instruction for the target field.
[0314] In response to the user's change settings operation for the target field in the field settings interface, generate corresponding new field settings information.
[0315] In response to receiving a content generation instruction for a target field, the system calls a preset model to update the content of the cell corresponding to the target field based on the new field setting information.
[0316] According to one or more embodiments of this disclosure, the apparatus further includes:
[0317] The copy unit is used to respond to a field copy instruction for a target field by obtaining the generated content of the corresponding cell and the field setting information of the target field.
[0318] In response to receiving a field paste instruction for the target field, the target field is pasted into the corresponding table area based on the obtained generated content and field setting information.
[0319] According to one or more embodiments of this disclosure, the calling unit is specifically used for:
[0320] Get the first content of the data column corresponding to the first field, call the preset model to process the first content based on the content description information, and generate the processed second content in the corresponding cell of the data column corresponding to the target field.
[0321] According to one or more embodiments of this disclosure, the type of the target field includes a summary type.
[0322] The calling unit is specifically used for:
[0323] Get the first content of the data column corresponding to the first field, call the preset model to summarize the first content based on the content description information, and generate the summary content in the corresponding cell of the data column corresponding to the target field.
[0324] According to one or more embodiments of this disclosure, the type of the target field includes a translation type.
[0325] The calling unit is specifically used for:
[0326] Get the first content of the data column corresponding to the first field, call the preset model to translate the first content based on the content description information, and generate the translated content in the corresponding cell of the data column corresponding to the target field.
[0327] According to one or more embodiments of this disclosure, the type of the target field includes a classification type.
[0328] The calling unit is specifically used for:
[0329] Get the first content of the data column corresponding to the first field, call the preset model to determine at least one tag item for the first content based on the content description information, and generate the corresponding tag item in the corresponding cell of the data column corresponding to the target field.
[0330] According to one or more embodiments of this disclosure, the type of the target field includes a content extraction type.
[0331] The calling unit is specifically used for:
[0332] Get the first content of the data column corresponding to the first field, call the preset model to extract the target content of the first content based on the content description information, and generate the corresponding target content in the corresponding cell of the data column corresponding to the target field.
[0333] Thirdly, according to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one processor and a memory.
[0334] The memory stores the instructions that the computer executes.
[0335] At least one processor executes computer execution instructions stored in memory, causing at least one processor to perform the table content generation method as described in the first aspect above and various possible designs of the first aspect.
[0336] Fourthly, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, which stores computer-executable instructions that, when executed by a processor, implement the table content generation method of the first aspect and various possible designs of the first aspect.
[0337] Fifthly, according to one or more embodiments of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the table content generation method described in the first aspect above and various possible designs of the first aspect.
[0338] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0339] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0340] Although the subject matter has been described using language specific to structural features and / or methodological logic, 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. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for generating content of a table, comprising: receiving field setting information in response to a setting operation for a target field in a field setting interface; the field setting information is used to indicate at least an input data source obtained by a preset model and / or an output data requirement of the preset model; in response to receiving a content generation instruction for the target field, invoking the preset model to generate content of a cell corresponding to the target field according to the field setting information. 2.The method of claim 1, wherein the field setting information comprises at least one of the following: a type of the target field, the type of the target field being used to determine the output data of the preset model; or a first field, the first field being a recorded field in the table; or content description information, the content description information being used to constrain the content generated based on the first field. 3.The method of claim 1, further comprising: displaying a corresponding field creation page in response to receiving a field creation instruction for the target field; the field creation page comprises a first field display area corresponding to a model function field and a custom field control, the model function field corresponding to a cell whose content is generated by invoking the preset model; displaying the field setting interface in response to receiving a setting interface display instruction for the target field. 4.The method of claim 1, further comprising: displaying a corresponding field modification page in response to receiving a field type modification instruction for a base field in the table; the base field corresponding to a cell whose content is not generated by invoking the preset model, and the base field being a recorded field in the table; the field modification page comprises a first field display area corresponding to a model function field and / or a custom field control; displaying the field setting interface in response to receiving a setting interface display instruction for a first modified field, the first modified field being a field modified from the base field. 5.The method of claim 1, further comprising: displaying a corresponding field modification page in response to receiving a field modification instruction for a target field in the table; the target field corresponding to a cell whose content has been generated; the field modification page comprises a second field display area corresponding to a base field and / or a custom field control, the base field corresponding to a cell whose content is not generated by invoking the preset model; displaying the field setting interface in response to receiving a setting interface display instruction for a second modified field, the second modified field being a field modified from the target field. 6.The method of claim 5, wherein the step of displaying the field setting interface further comprises: displaying a prompt interface; the prompt interface comprises prompt information related to a field type conversion; in response to receiving a determination conversion instruction for the target field, performing the step of displaying the field setting interface. 7.The method of claim 1, further comprising: receiving custom setting information in response to a setting operation for a custom field in a custom page; the custom setting information comprises prompt information and / or field attribute information corresponding to the preset model; the custom setting information comprises prompt information and / or field attribute information corresponding to the preset model. In response to receiving the field setting interface generation instruction for the custom field, a corresponding field setting interface is displayed according to the custom setting information.
8. The method of claim 1, wherein each control in the field setting interface has a mandatory input attribute or a non-mandatory input attribute. The method further comprises: Real-time detecting whether the control with the mandatory input attribute in the field setting interface is in an input state; If all the controls with the mandatory input attribute are in the input state, the generation control in the field setting interface is controlled to be in an available state; If there is a control with the mandatory input attribute in an un-input state, the generation control in the field setting interface is controlled to be in an unavailable state, and the movable range of the cursor is a preset range based on the field setting interface.
9. The method of claim 1, further comprising: In response to receiving a preview generation instruction for the target field, a preset model is invoked to generate content of a corresponding number of cells of the target field according to the field setting information; The number is less than or equal to a preset number threshold; The field setting interface is maintained in a display state and moved to a target area, which is a preset area that does not block the cells.
10. The method of claim 9, further comprising: If a first preset instruction for the table is received before the content of the corresponding number of cells of the target field is all generated, the field setting interface is closed and the content in the cells corresponding to the target field is cancelled; the first preset instruction includes any one of the following: a table view switching instruction, a table switching instruction, a field setting interface closing instruction, and a refreshing instruction; If a first preset instruction for the table is received after the content of the corresponding number of cells of the target field is all generated, the field setting interface is closed.
11. The method of claim 9, further comprising: If a second preset instruction for the table is received, the field setting interface is not closed; The second preset instruction includes any one of the following: a cell modification instruction, a toolbar control triggering instruction, and a table view control triggering instruction.
12. The method of claim 1, wherein after the preset model is invoked to generate the content of the cells corresponding to the target field according to the field setting information, the method further comprises: In response to receiving a field content modification instruction for the target field, a corresponding field setting interface is displayed; In response to a user's change setting operation in the field setting interface for the target field, new field setting information is generated; In response to receiving a content generation instruction for the target field, a preset model is invoked to update the content of the cells corresponding to the target field according to the new field setting information.
13. The method of claim 1, wherein after the preset model is invoked to generate the content of the cells corresponding to the target field according to the field setting information, the method further comprises: In response to receiving a field copy instruction for the target field, the generated content of the corresponding cells and the field setting information corresponding to the target field are obtained; In response to receiving the field pasting instruction for the target field, the target field is pasted in the corresponding table area according to the generated content and the field setting information.
14. The method of claim 2, wherein the generating, in response to receiving the content generation instruction for the target field, the content of the cell corresponding to the target field according to the field setting information comprises: obtaining first content of a data column corresponding to the first field, processing the first content based on the content description information by invoking the preset model, and generating second content processed in a corresponding cell of a data column corresponding to the target field.
15. The method of claim 2, wherein the type of the target field comprises a summary type; the generating, in response to receiving the content generation instruction for the target field, the content of the cell corresponding to the target field according to the field setting information comprises: obtaining first content of a data column corresponding to the first field, processing the first content based on the content description information by invoking the preset model, and generating summary content in a corresponding cell of a data column corresponding to the target field.
16. The method of claim 2, wherein the type of the target field comprises a translation type; the generating, in response to receiving the content generation instruction for the target field, the content of the cell corresponding to the target field according to the field setting information comprises: obtaining first content of a data column corresponding to the first field, processing the first content based on the content description information by invoking the preset model, and generating translation content in a corresponding cell of a data column corresponding to the target field.
17. The method of claim 2, wherein the type of the target field comprises a classification type; the generating, in response to receiving the content generation instruction for the target field, the content of the cell corresponding to the target field according to the field setting information comprises: obtaining first content of a data column corresponding to the first field, processing the first content based on the content description information by invoking the preset model, and generating a corresponding label item in a corresponding cell of a data column corresponding to the target field.
18. The method of claim 2, wherein the type of the target field comprises a content extraction type; the generating, in response to receiving the content generation instruction for the target field, the content of the cell corresponding to the target field according to the field setting information comprises: obtaining first content of a data column corresponding to the first field, processing the first content based on the content description information by invoking the preset model, and generating a corresponding target content in a corresponding cell of a data column corresponding to the target field.
19. A table content generation apparatus, comprising: a receiving unit configured to receive field setting information in response to a setting operation for a target field in a field setting interface; the field setting information is used at least to indicate an input data source obtained by a preset model and / or to indicate an output data requirement of the preset model; The calling unit is configured to, in response to receiving the content generation instruction for the target field, call the preset model to generate the content of the cell corresponding to the target field according to the field setting information.
20. An electronic device, comprising: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the processor executes the table content generation method according to any one of claims 1-18.
21. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the table content generation method according to any one of claims 1-18 is implemented.
22. A computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the table content generation method according to any one of claims 1-18.
Citation Information
Patent Citations
Image processing method and device, computer equipment, storage medium and program product
CN117193609A
Data processing method and device, equipment, storage medium and program product
CN117271514A
Business data processing method and device, computer equipment and storage medium
CN117852510A
Table content generation method and device, equipment, medium and product
CN118627485A
Automated indexing and extraction of multiple information fields in digital records
US11893048B1
Cited By
Table data processing method and device, terminal equipment and storage medium
CN122021586A