Table processing method and device, electronic equipment and storage medium
By encapsulating the shortcut field of data processing logic in the form, the problem of plug-in and formula function conversion in the existing technology is solved, and the operation efficiency and processing simplicity are improved.
Patent Information
- Application Number
- CN202410797354.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology is difficult to efficiently process and convert functions such as plug-ins and formulas into fields in tables, resulting in users needing to manually write complex logic and operating efficiency is low.
By determining and encapsulating the target shortcut field with data processing logic when creating or changing fields in the form, automatic conversion and processing of plug-ins, formulas and other functions are realized, simplifying user operations.
It improves the efficiency and ease of operation of table processing. Users do not need to manually write complex logic and can quickly perform complex data processing tasks.
Smart Images

Figure CN118627484A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a table processing method, device, electronic device and storage medium. Background Art
[0002] Tables, such as tables in spreadsheet documents or tables in text documents, have fields in their cells. Fields are properties of cells that describe the type of content displayed in cells with that property. Fields are usually displayed as column names. For example, a date field indicates that the content displayed in the cells of that field is a date. Summary of the invention
[0003] The present disclosure provides a table processing method, device, electronic device and storage medium.
[0004] The present disclosure adopts the following technical solutions.
[0005] In some embodiments, the present disclosure provides a form processing method, including:
[0006] In response to a first operation event of creating a new field or changing an existing first field in a table, determining a target shortcut field, wherein the target shortcut field is a field encapsulating data processing logic;
[0007] Create the target shortcut field in the table, or replace the first field in the table with the target shortcut field.
[0008] In some embodiments, the present disclosure provides a form processing device, including:
[0009] a determining unit, configured to determine a target shortcut field in response to a first operation event of creating a new field or changing an existing first field in a table, wherein the target shortcut field is a field encapsulating data processing logic;
[0010] The control unit is used to create the target shortcut field in the table, or replace the first field in the table with the target shortcut field.
[0011] In some embodiments, the present disclosure provides an electronic device, comprising: at least one memory and at least one processor;
[0012] The memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method.
[0013] In some embodiments, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to perform the above method.
[0014] The table processing method provided by the embodiment of the present disclosure can add a shortcut field in the table or change the first field into a shortcut field. The shortcut field is a field that encapsulates the processing logic. Through the encapsulated processing logic, the ability to convert plug-ins, formulas and other functions into fields can be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0016] Figure 1 It is a flowchart of the table processing method of the embodiment of the present disclosure.
[0017] Figure 2 It is a flowchart of the table processing method of the embodiment of the present disclosure.
[0018] Figures 3 to 9 It is a schematic diagram of a display interface of an embodiment of the present disclosure.
[0019] Fig.10 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0021] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0022] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0023] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0024] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0025] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0026] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed in sequence and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0027] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0028] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0029] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as “one or more” unless otherwise clearly indicated in the context.
[0030] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0031] The solution provided by the embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0032] like Figure 1 As shown, Figure 1It is a flowchart of the table processing method of the embodiment of the present disclosure, which includes the following steps.
[0033] S11. In response to a first operation event of creating a new field or changing an existing first field in a table, determining a target shortcut field.
[0034] In some embodiments, a table is a table, which can be a table in a table document or a table in a non-table document (such as a text document). A table can have fields, which are attributes of cells in the table, and are usually displayed in the form of column names. For example Figure 3 The table in is a table, in which "task description", "business line" and "progress status" are all fields. A new field can be created in the table. The new field can be created by adding a column and using the name of the new field as the column name. At this time, it is necessary to know what kind of field is created. A first field that already exists in the table can be changed. At this time, it is necessary to know what kind of field is changed. Therefore, in the first operation event, it is necessary to know the target shortcut field, which is the field that needs to be created or changed. The first operation event may include one or more operations, for example, it includes a new field operation and a target shortcut field selection operation, or it may include a field modification operation and a target shortcut field selection operation. The shortcut field encapsulates the processing logic, and can be defined with or without configurable items. The target shortcut field may be one or more selected shortcut fields, so the target shortcut field encapsulates the processing logic. Some fields without processing logic can be pre-defined as basic fields. The shortcut field is a field obtained by executing processing logic on a basic field. The processing logic may be a processing method including one or more processing operations. The configurable items may set other fields based on it, the parameters required to be input in the specific processing logic, and / or the output format. For example, a text field can be used as a basic field, a translation field is a field for translating a specified text field into a specified language, a translation field is a shortcut field, data processing logic is translation, and configurable items may include the type of language to be translated, or may include a specified text field. In some embodiments of the present disclosure, the processing logic is encapsulated in a shortcut field, so that a user can directly call the shortcut field to quickly execute complex processing logic without the need for the user to write the processing logic themselves.
[0035] In some embodiments, in response to a first operation event of creating a new field or changing an existing first field in a table, determining a target shortcut field includes: in response to the operation of creating a new field or changing an existing first field, displaying a field interface, wherein the field type in the field interface includes a shortcut field; and determining the target shortcut field from the shortcut fields in the field interface. Specifically, when the first operation event is executed, the operation of creating a new field may be executed first, and at this time, the field interface (such as Figure 4 As shown). The field types in the field interface include shortcut fields, and may also include basic fields that are not shortcut fields. The shortcut field is a field that encapsulates data processing logic, and the target field shortcut can be one of the field shortcuts. In other embodiments, in response to a first operation event of creating a new field or changing an existing first field in a table, determining the target shortcut field includes: in response to receiving input information for creating a new field or changing an existing first field, determining the target shortcut field from the input information. Specifically, there may be an information input area in the table (such as a session area of an artificial intelligence program), and the user may write input information in the information input area. The input information may tell where to create which target shortcut field or which field to change to the target shortcut field, and then (for example, an artificial intelligence program) will parse the content in the input information to determine the target shortcut field.
[0036] S12: Create a new target shortcut field in the table, or replace the first field in the table with the target shortcut field.
[0037] In some embodiments, after the target shortcut field is determined, step S12 may be executed after the generation control is triggered. If the first operation event is an operation event for creating a new field, a new target shortcut field will be created in the table. Specifically, a new column of cells may be added to the table, and the field properties of the cells in the column may be set to the target shortcut field. In another embodiment, the first operation event is an operation event for changing the first field, and the first field will be changed to the target shortcut field. Specifically, the field properties of the column where the first field is located may be changed to the target shortcut field. In this case, there is no need to add or delete cells in the table. Fields are usually displayed as column names, and cells in the column all have the field as an attribute.
[0038] In order to better illustrate the method proposed in the present disclosure, some embodiments of the present disclosure are specifically described in conjunction with the accompanying drawings. In some embodiments of the present disclosure, the table is a table in an online table document, and there may be multiple tables in the online table document. Figure 3 The table shown is a table, which has three fields, "Task Description", "Business Line" and "Progress Status". These three fields are displayed in the form of column names. The cells in the column where the column names are located have field attributes corresponding to the column names, which describe the content types that can be recorded in the cells in the column. For example, the cells in the "Task Description" column can record task descriptions. In this embodiment, the first operation event includes a new field operation and a target shortcut field selection operation. Specifically, the user clicks the control for creating a new field in the table ( Figure 3 Click the box with a plus sign in the upper right corner of the table to create a new field. After the control is triggered, the following is displayed: Figure 4In the field interface shown in the figure, you can click the "Select a shortcut field" icon in the field interface to Figure 5 The shortcut field interface is shown as shown, in which you can select the recommended shortcut field. In this embodiment, the "Translation" shortcut field is selected as the target shortcut field, and then Figure 6 As shown in the figure, the configuration area is displayed in the field interface. In the configuration area, you need to select the field "Task Description" of the source content to be translated, and select the language "English" to be translated. After confirming these contents, click Generate, and then Figure 7 As shown, a new column of cells is added to the table, and the field attribute of the column of cells is the target shortcut field, that is, "Translation". The cells under the "Translation" field are the contents after the cells under "Task Description" are translated into "English". If there is no content in the cells under "Task Description", no error will be reported in the cells under "Translation", that is, when the cells under the target shortcut field lack the content that needs to execute the processing logic, no error will be reported but the cell will be left blank, because the field attribute itself is a property that limits the type of content that can be recorded in the cell.
[0039] In some embodiments of the present disclosure, after the target shortcut field is determined in the shortcut field in the field shortcut, before creating a new target shortcut field in the table or replacing the first field in the table with the target shortcut field, it also includes: displaying a preview control in the field interface. After the preview control is triggered, the field interface will not disappear, and a preview interface will be generated around the field interface, and a preview effect of the target field shortcut will be generated in the preview interface. Alternatively, after the preview control is triggered, the field interface will not disappear, and a target field shortcut will be generated in the table to display the preview effect. If the target shortcut field is cancelled in the field interface, the target field shortcut will not be created in the table and will not replace the first field. In some embodiments, such as Figure 6 As shown, the target shortcut field is translation, and there is a preview control "Generate first 5 rows" in the field interface. If the preview control is triggered, a separate preview interface can be generated to display the effect of creating the translation field, and the contents of the first 5 rows of the task description field are translated and displayed in the cells of the translation field. At this time, the field interface will not disappear. Or after the preview control is triggered, a translation field will be created in the table, and the contents of the first 5 rows of the task description field will be translated and displayed in the cells of the translation field. The field interface will not disappear. In this way, users can view the preview effect after creating the target shortcut field through the preview control. The preview effect is displayed temporarily and will disappear after the Generate control or Cancel control in the field interface is triggered.
[0040] In some embodiments of the present disclosure, the data processing logic encapsulated in the target shortcut field includes: based on the first content corresponding to the second field in the table, generating the second content in the target shortcut field or the third field. In some embodiments, the data processing logic is encapsulated in a field rather than a cell, so that the same field attributes can be given to all cells under the field through the field. The first content corresponding to the second field may refer to the content in the cell of the second field, and the second content is generated into the cell of the target shortcut field or the cell of the third field, and the first content and the second content are in the same record (usually a row of data). The data processing logic encapsulated in the target shortcut field may be to process the first content in the cell under the second field in the same record to obtain the second content, and write the second content into the cell under the shortcut field or the third field in the same record. For example Figure 7 As shown, the target shortcut field is translation, the second field is task description, and the user survey in the cell under the task description is translated into English as the second content and written into the cell under the translation field in the same row of records. The third field is a field different from the first field and the second field. The content under the second field can be processed and written into the cell of the third field through the target shortcut field. This can achieve cross-field processing instead of writing the second content into the cell of the target shortcut field and then copying it, thereby improving operation efficiency.
[0041] In some embodiments, if the data processing logic encapsulated in the target shortcut field is AI logic, the first content corresponding to the second field in the table is processed by the large model, and the second content is generated in the target shortcut field or the third field. In some embodiments, the AI logic is artificial intelligence logic, which indicates that the data is processed by artificial intelligence. When the encapsulated processing logic is AI logic, the large model bound to the encapsulated AI logic is called to process the first content under the second field.
[0042] In some embodiments, if the data processing logic encapsulated in the target shortcut field is formula logic, the first content corresponding to the second field in the table is processed by the formula, and the second content is generated in the target shortcut field or the third field. In some embodiments, the formula logic is logic for processing data by a preset formula, and when the encapsulated data processing logic is formula logic, the preset formula is called to process the first content.
[0043] In some embodiments, if the data processing logic encapsulated in the target shortcut field is API logic, the API is called to obtain data based on the first content corresponding to the second field in the table, and the second content is generated in the target shortcut field or the third field based on the obtained data. In some embodiments, an API (Application Programming Interface) logic is pre-set, and the API is an interface without a specific implementation. The API logic calls the API to process the data, and the specific processing is performed by searching for a method that implements the API interface according to the API. In this way, there is no need to define the specific method of the API being called at the beginning, only the API being called needs to be specified. Later, the processing logic can be modified by modifying the method that implements the API interface, thereby decoupling the specific processing logic from the API.
[0044] In some embodiments, the target shortcut field includes a summary field, and the method further includes: obtaining the first content of the data column corresponding to the second field in the table, and generating a second content after summarizing the first content in the data column corresponding to the target shortcut field or the data column corresponding to the third field. In some embodiments, the data processing logic encapsulated in the summary field may be AI logic, and the processing logic of the summary field is to summarize the content. If the cell of the second field has the first content, the first content will be obtained, and a summary of the first content will be generated as the second content, and then the second content will be written into the cell of the same row record under the summary field or the third field. The method of summarizing may be to send the first content to a neural network model for generating a summary to generate a summary, and the summary may be an extraction and generalization of the first content, rather than a shortened information of the first content. It may be that after the target shortcut field is determined, the configuration area of the field interface selects the second field, and the user can enter prompt information in the configuration area. When the summary is generated, the second field is determined according to the configuration area and the prompt information entered by the user can be displayed on the shortcut field or the third field.
[0045] In some embodiments, the target shortcut field includes a translation field, and the method further includes: obtaining the first content of the data column corresponding to the second field in the table, and generating the second content translated from the first content in the data column corresponding to the target shortcut field or the data column corresponding to the third field. In some embodiments, the data processing logic encapsulated by the translation field can be AI logic, and the processing logic of the translation field is to translate the content under the specified field. In the case where the target shortcut field is a translation field, if the cell of the second field has the first content, the first content will be obtained, the first content will be translated to obtain the second content, and then the second content will be written to the cell of the same row record under the translation field or the third field. When the target shortcut field is a translation field, the second field can be selected in the configuration area of the field interface, and the user can enter prompt information in the configuration area. When the translation is generated, the second field is determined according to the configuration area and the prompt information entered by the user can be displayed on the target shortcut field or the third field.
[0046] In some embodiments, the target shortcut field includes a classification field, and the method further includes: obtaining the first content of the data column corresponding to the second field in the table, and generating a type label of the first content in the data column corresponding to the target shortcut field or the data column corresponding to the third field. In some embodiments, the data processing logic encapsulated by the classification field can be AI logic. At this time, the target shortcut field can send the first content to a large model for classification, and the large model can assign a corresponding type label to the first content, and then write the type label into a cell of the target shortcut field or the third field in the same record. For example, the type label can be divided into a positive label and a negative label, so that the target shortcut field can be used to determine whether the first content is positive or negative. The classification field can also be used to divide the scenery into natural and artificial buildings, or to divide the photos of people into male photos and female photos. However, it is not limited to this, and all content that needs to be classified can be processed using the classification field.
[0047] In some embodiments, the target shortcut field includes an extraction field, and the method further includes: obtaining the first content of the data column corresponding to the second field in the table, and generating the second content extracted from the first content in the data column corresponding to the target shortcut field or the data column corresponding to the third field. In some embodiments, the data processing logic encapsulated in the extraction field may be AI logic. At this time, the target shortcut field may send the first content to a large model for extraction, and the large model may extract the first content. The extracted content may be a type of content pre-set in the target shortcut field, for example, the content such as the telephone number and the amount in the first content may be extracted. In this way, the extraction field may be used to extract specific types of content in the file, which is suitable for scenarios where specific content is extracted in batches. For example, the amounts in the invoices may be extracted in batches, the invoices may be stored in the cells of the second field, and the specific types of content in the invoices may be written in the data column of the target shortcut field or the third field.
[0048] In some embodiments, the target shortcut field includes a field encapsulated with a formula, and the method further includes: obtaining the first content of the data column corresponding to the second field in the table, processing the first content through the formula, and generating the second content containing the formula processing result in the data column corresponding to the shortcut field or the data column corresponding to the third field. In some embodiments, the field encapsulated with the formula uses the pre-set formula as the capability of the field itself, and the user does not need to write the formula. If the cell of the second field has the first content, the first content will be obtained, the first content will be processed according to the formula to obtain the second content, and then the second content will be written into the cell of the same row record under the target shortcut field or the third field. The formula itself is encapsulated in the field, not in the cell. The cells under the target shortcut field can uniformly apply the formula because they have the field attributes. This is different from the way of defining the formula in the cell. The formula can be used uniformly through the field and there is no need to set the formula for each cell separately.
[0049] In some embodiments, the target shortcut field includes a field encapsulated with an API, and the method further includes: obtaining the first content of the data column corresponding to the second field in the table, processing the first content through the API, and generating a second content containing the API processing result in the data column corresponding to the target shortcut field or the data column corresponding to the third field. In some embodiments, for a field encapsulated with an API, a developer can write code on the field capability and call a local or third-party API to process the data. The API can be a data query API, and the first content can be a search content for data query. The first content is sent to the API for data query, and then the content obtained by the query is written into the data column corresponding to the target shortcut field or the third field, thereby completing the batch writing of data. For example, the third-party API can be an API for querying company information, so that the company can be queried by the company name by using the first content as the company name, and the relevant information such as the registered address, legal person, business, etc. obtained by the query is written into the data column of the target shortcut field or the third field.
[0050] In some embodiments of the present disclosure, determining a target shortcut field from a shortcut field in a field interface includes: displaying a shortcut field search control, a shortcut field center entrance, and one or more recommended shortcut fields in the field interface or a subordinate interface of the field interface; using a shortcut field searched and selected through the shortcut field search control as the target shortcut field, or, in response to triggering the shortcut field center entrance to display the shortcut field center, using the shortcut field selected in the shortcut field center as the target shortcut field, or using the selected recommended shortcut field as the target shortcut field.
[0051] In some embodiments, Figure 2 and 3 As shown, click Figure 3 The control of the newly created field to the right of "Progress Status" will display the following Figure 4 The field interface shown in the figure shows a title box in which you can enter the title of the new field, a field type box in which you can select the type of the new field, and recommended fields. The field type box shows an entry for selecting a shortcut field ( Figure 4 ), after the entry is triggered by clicking, etc. Figure 5 As shown in the figure, the shortcut field interface as a subordinate interface is displayed on the left side of the field interface. If it is the first time to display the entrance to select the shortcut field, a guide interface can be displayed. After the guide interface is triggered, the description document of the shortcut field can be displayed to help users understand the shortcut field. Figure 5As shown, the shortcut field search control is displayed in the shortcut field interface (top), through which the shortcut field can be searched. The shortcut field center entrance ( Figure 5 Click the "+ Shortcut Field Center >" in the shortcut field interface to enter the shortcut field center. The shortcut field center contains existing shortcut fields, from which you can select a shortcut field as the target shortcut field. The shortcut field interface also displays recommended shortcut fields ( Figure 5 ), you can select the recommended shortcut field as the target shortcut field by clicking it.
[0052] In some embodiments of the present disclosure, the target shortcut field corresponds to a basic field. After the target shortcut field is determined, the target shortcut field and its corresponding basic field are displayed on the field interface; if the target shortcut field occurs, the basic field corresponding to the displayed target shortcut field is changed accordingly. In some embodiments, the shortcut field corresponds to a basic field, such as Figure 4 As shown in the figure, "Text" and "Select a shortcut field" are displayed in the area below the field type. Here, "Text" is the basic field displayed. After selecting the target shortcut field through "Select a shortcut field", the basic field will be changed to the basic field corresponding to the target shortcut field, such as Figure 6 As shown in the figure, because the basic field corresponding to "Translation" is "Text", Figure 6 After determining the target shortcut field, you need to click the Generate control to generate the target shortcut field in the table or change the first field to the target shortcut field. Before that, you can change the target shortcut field, for example, Figure 6 If you change the "Translation" field selected in the shortcut field to another shortcut field, the base field will automatically change accordingly if the target shortcut field changes. The base field corresponding to the shortcut field is usually the type of content that can be displayed in the cell of the shortcut field.
[0053] In some embodiments of the present disclosure, recommended shortcut fields are displayed in groups according to shortcut field types; in response to the number of shortcut fields under a shortcut field type exceeding a preset number, a first identifier is displayed in the group corresponding to the shortcut field type, and the first identifier is used to enter the shortcut field center and locate the shortcut field list of the shortcut field type.
[0054] In some embodiments, Figure 5 As shown, groups are displayed in the shortcut field interface, for example Figure 5"AI AutoFill" and "Content Conversion" are the names of the groups, and the recommended shortcut fields are displayed in groups according to the shortcut field type. Each recommended shortcut field is displayed under the group according to the shortcut field type. For example, under the "AI AutoFill" group, there are four recommended shortcut fields: "Summary", "Translation", "Classification", and "Extraction". When the number of shortcut fields under a shortcut field type exceeds the preset number (for example, 4 or 6, etc.), it cannot be fully displayed on the shortcut field interface. At this time, a first mark will be displayed under the group in the shortcut field interface (for example, the "All" mark can be displayed under the group). The first mark can be triggered by clicking, etc. After the first mark is triggered, you will enter the shortcut field center and locate the shortcut field list of the shortcut field type, so that all shortcut fields under the shortcut field type can be viewed.
[0055] In some embodiments of the present disclosure, Figure 4 As shown, the field interface displays recommended fields, such as Figure 4 "Introduce the product in one sentence", "Translate the details", etc. in the table. The user can select the recommended field by clicking, etc., so that the selected recommended field will be newly created in the table. In some embodiments, the recommended field is generated based on the name of the table and / or the existing fields in the table. Specifically, the recommended field can be generated by a neural network model, by obtaining the metadata of the table without reading the content in the specific cells therein, so that the name of the table and the existing fields therein can be read through the metadata without reading the specific cell content in the table, thereby avoiding information leakage. The name of the table and the existing fields can be input into the large language model, and the large voice model generates a certain number of recommended fields, so that the recommended fields are more relevant to the content of the table itself, and irrelevant fields are not recommended. In some embodiments, the recommended field is a field different from the existing fields in the table, so as to avoid duplication caused by recommending existing fields in the table. In some embodiments, the recommended fields include: shortcut fields, and / or fields that are not shortcut fields. The recommended fields may include both shortcut fields and non-shortcut fields. Optionally, the number of shortcut fields in the recommended fields is less than the number of non-shortcut fields. For example, the recommended fields may be 4, one of which is a shortcut field, and the non-shortcut fields may be basic fields.
[0056] In some embodiments of the present disclosure, after determining the target shortcut field, creating a new target shortcut field in the table, or before replacing the first field in the table with the target shortcut field, it also includes: in response to the target shortcut field defining configurable items, displaying the configuration area of the target shortcut field, wherein the configuration area of the target shortcut field is used to set the configurable items of the target shortcut field; in response to the configuration operation of the configurable items of the target shortcut field in the configuration area, determining the configuration content of the configurable items of the target shortcut field.
[0057] In some embodiments, after determining the target shortcut field, it can be determined whether the target shortcut field has configurable items. If the target shortcut field does not have configurable items, there is no need to configure it, and a new target shortcut field is directly created in the table. If the target shortcut field has configurable items, it means that the configurable items need to be configured using the target shortcut field, such as Figure 6 As shown, the configuration area can be displayed in the field interface ( Figure 6 In the configuration area, you can configure the configurable items of the target shortcut field, for example Figure 6 The target shortcut field in is "Translation". The configurable items include the fields to be translated and the language to be translated. By configuring the configurable items in the configuration area, the configuration content of the configurable items, that is, the value of the configuration items, is determined. In this way, the target shortcut field is generated according to the configuration content of the configuration type. After the target shortcut field is determined, the shortcut field interface will be collapsed, and the field type in the field interface and the content of the configuration area will automatically change to the content corresponding to the target shortcut field.
[0058] In some embodiments of the present disclosure, there is an entrance to the shortcut field center in the shortcut field interface, and the shortcut field center can be entered through the entrance. Figure 8 A schematic diagram of the shortcut field center is shown schematically. The shortcut field center displays all shortcut fields. Users can select shortcut fields in the shortcut field center to add them to the table.
[0059] In some embodiments of the present disclosure, the shortcut field center displays introduction information of the shortcut field, for example, the introduction information of the shortcut field is displayed in the form of a banner on the homepage of the shortcut field center, which describes what the shortcut field is so that the user can understand the shortcut field. In some embodiments, the introduction information displays the instructions for using the shortcut field after being triggered, which describes how to create and use the shortcut field in a more detailed manner.
[0060] In some embodiments of the present disclosure, a shortcut field type is displayed in the center of the shortcut field, and after the shortcut field type is triggered, a shortcut field belonging to the triggered shortcut field type is displayed. Figure 8 As shown, shortcut field types are displayed on the left side of the shortcut field center, including "Featured", "AI Autofill", "General", "Business", etc. By triggering a shortcut field type, shortcut fields belonging to the shortcut field type will be displayed. For example Figure 8 If "Featured" is selected in the search box, the shortcut fields under "Featured" will be displayed, so that users can quickly select shortcut fields.
[0061] In some embodiments, the shortcut field displayed in the center of the shortcut field includes one or more of: an icon, a name, description information, and source information. Figure 8 As shown in the figure, four shortcut fields, namely "Countdown", "Ranking", "Translation" and "Map", are displayed, wherein the icon, name and description information of the shortcut field are displayed, and the source of the shortcut field can be displayed, for example, whether the shortcut field is created by the current user or by other users. In some embodiments, Figure 8 As shown, when the control mark hovers over the shortcut field, a control for using the shortcut field may be displayed, and the shortcut field may be selected as the target shortcut field by triggering the control.
[0062] In some embodiments, a search control is provided in the center of the shortcut field, and the shortcut field can be searched in the search control so as to quickly find the shortcut field required by the user.
[0063] In some embodiments of the present disclosure, a shortcut field creation control is displayed in the center of the shortcut field; after the shortcut field creation control is triggered, a custom shortcut field is created in the center of the shortcut field. Figure 8 As shown, the shortcut field center displays the user shortcut field creation field ( Figure 8 "Add shortcut field" in the lower left corner). Users can create shortcut fields by clicking on the control. When creating shortcut fields, they can customize other fields, processing logic, and configurable items based on the shortcut fields, so as to implement specific functions according to user needs. Users can implement plug-in functions in the form of fields. When creating shortcut fields, you can customize the icon of the shortcut field. You can generate the icon of the shortcut field by combining the provided logo library and the provided colors.
[0064] In some embodiments of the present disclosure, the field type in the field interface also includes a basic field, and the basic field is a field preset in the table, and the shortcut field is a field obtained after the ability to encapsulate new fields based on the basic field is opened. In some embodiments, basic fields are preset in the table, such as text fields, number fields, etc. These basic fields serve as the basis of shortcut fields. The processing logic encapsulated by the shortcut field can be the processing logic for processing the basic fields. The ability to encapsulate new fields based on the basic fields is opened in the embodiments of the present disclosure, and the shortcut field is obtained after processing according to the encapsulated processing logic. For example, in the translation field, the basic field it is based on is text, and the encapsulated processing logic is conversion, so that new shortcut fields can be customized as needed. For the specified language. The object of the encapsulated processing logic is the field instead of the cell, which is different from the processing method in the table formula.
[0065] In some embodiments of the present disclosure, after creating a target shortcut field in a table, or replacing the first field in the table with the target shortcut field, the process further includes: displaying an icon of the field in the cell where the target shortcut field is located in the table, and displaying the icon of the shortcut field when the control mark hovers over the cell where the target shortcut field is located. In some embodiments, after creating the target shortcut field, the icon of the field can be displayed in the cell where the target shortcut field is located ( Figure 7 ), which indicates that the target shortcut field is a field. Specifically, the icon of the underlying field on which it is based (such as a text icon) can be displayed. When the control indicator hovers over the target shortcut field, such as Fig. 9 As shown, the identifier of the shortcut field can be displayed to indicate that the field is not an ordinary field but a shortcut field.
[0066] The present disclosure also provides a table processing device, comprising:
[0067] a determining unit, configured to determine a target shortcut field in response to a first operation event of creating a new field or changing an existing first field in a table, wherein the target shortcut field is a field encapsulating data processing logic;
[0068] The control unit is used to create the target shortcut field in the table, or replace the first field in the table with the target shortcut field.
[0069] In some embodiments, the data processing logic encapsulated in the target shortcut field includes: generating second content in the target shortcut field or the third field based on the first content corresponding to the second field in the table.
[0070] In some embodiments, the control unit is used to process the first content corresponding to the second field in the table through a large model if the data processing logic encapsulated in the target shortcut field is AI logic, and generate the second content in the target shortcut field or the third field.
[0071] In some embodiments, the control unit is used to process the first content corresponding to the second field in the table through a formula if the data processing logic encapsulated in the target shortcut field is a formula logic, and generate the second content in the target shortcut field or the third field.
[0072] In some embodiments, the control unit is used to call the API to obtain data based on the first content corresponding to the second field in the table if the data processing logic encapsulated in the target shortcut field is API logic, and generate second content in the target shortcut field or the third field based on the obtained data.
[0073] In some embodiments, the target shortcut field includes a summary field, and the control unit is also used to: obtain the first content of the data column corresponding to the second field in the table, and generate the second content summarizing the first content in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0074] In some embodiments, the target shortcut field includes a translation field, and the control unit is also used to: obtain the first content of the data column corresponding to the second field in the table, and generate the second content translated from the first content in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0075] In some embodiments, the target shortcut field includes a category field, and the control unit is further configured to:
[0076] The first content of the data column corresponding to the second field in the table is obtained, and a type label of the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0077] In some embodiments, the target shortcut field includes an extraction field, and the control unit is further configured to:
[0078] The first content of the data column corresponding to the second field in the table is obtained, and the second content extracted from the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0079] In some embodiments, the target shortcut field includes a field encapsulating a formula, and the control unit is also used to: obtain the first content of the data column corresponding to the second field in the table, process the first content through the formula, and generate the second content containing the formula processing result in the data column corresponding to the shortcut field or the data column corresponding to the third field.
[0080] In some embodiments, the target shortcut field includes a field encapsulating an API, and the control unit is further configured to:
[0081] The first content of the data column corresponding to the second field in the table is obtained, the first content is processed through the API, and the second content including the API processing result is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0082] In some embodiments, in response to a first operation event of creating a new field or changing an existing first field in a table, a target shortcut field is determined, including: in response to the operation of creating a new field or changing an existing first field, displaying a field interface, the field types in the field interface including shortcut fields; determining the target shortcut field from the shortcut fields in the field interface; or, in response to receiving input information of creating a new field or changing an existing first field, determining the target shortcut field from the input information.
[0083] In some embodiments, determining a target shortcut field from the shortcut field in the field interface includes: displaying a shortcut field search control, a shortcut field center entrance, and one or more recommended shortcut fields in the field interface or in a subordinate interface of the field interface; using the shortcut field searched and selected by the shortcut field search control as the target shortcut field, or, in response to triggering the shortcut field center entrance to display the shortcut field center, using the shortcut field selected in the shortcut field center as the target shortcut field, or using the recommended shortcut field that is selected as the target shortcut field.
[0084] In some embodiments, the target shortcut field corresponds to a basic field, and the control unit is also used to: after determining the target shortcut field, display the target shortcut field and its corresponding basic field on the field interface; if the target shortcut field occurs, the basic field corresponding to the displayed target shortcut field changes accordingly.
[0085] In some embodiments, the recommended shortcut fields are displayed in groups according to shortcut field types; the control unit is also used to: in response to the number of shortcut fields under a shortcut field type exceeding a preset number, display a first identifier in the group corresponding to the shortcut field type, and the first identifier is used to enter the shortcut field center and locate the shortcut field list of the shortcut field type.
[0086] In some embodiments, recommended fields are displayed in the field interface and satisfy at least one of the following conditions: the recommended fields are generated based on the name of the table and / or existing fields in the table; the recommended fields are fields different from the existing fields in the table; the recommended fields include: shortcut fields, and / or fields that are not shortcut fields.
[0087] In some embodiments, after determining the target shortcut field, the target shortcut field is newly created in the table, or before replacing the first field in the table with the target shortcut field, the control unit is further used to: in response to the target shortcut field defining configurable items, display a configuration area of the target shortcut field, wherein the configuration area of the target shortcut field is used to set the configurable items of the target shortcut field;
[0088] In response to a configuration operation on a configurable item of the target shortcut field in the configuration area, a configuration content of the configurable item of the target shortcut field is determined.
[0089] In some embodiments, one or more of the following conditions are satisfied: all the shortcut fields are displayed in the shortcut field center; the shortcut field center displays introduction information of the shortcut field, and the introduction information displays instructions for using the shortcut field after being triggered; the shortcut field type is displayed in the shortcut field center, and the shortcut field belonging to the triggered shortcut field type is displayed after the shortcut field type is triggered; the shortcut field displayed in the shortcut field center includes: one or more of: icon, name, description information and source information; the shortcut field center displays a search control.
[0090] In some embodiments, a shortcut field creation control is displayed in the center of the shortcut field; after the shortcut field creation control is triggered, a custom shortcut field is created in the center of the shortcut field.
[0091] In some embodiments, the field types in the field interface further include basic fields, where the basic fields are fields preset in the table, and the shortcut fields are fields obtained by opening up the ability to encapsulate new fields based on the basic fields.
[0092] For the embodiments of the device, since they basically correspond to the method embodiments, the relevant parts refer to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separation modules may or may not be separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present embodiment. Those of ordinary skill in the art can understand and implement without paying creative work.
[0093] The method and device of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides an electronic device and a computer-readable storage medium, which are described below.
[0094] Reference below Fig.10, which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 800 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in the figure is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present disclosure.
[0095] The electronic device 800 may include a processing device (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. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0096] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 800 with various devices is shown in the figure, 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.
[0097] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0098] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0099] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0100] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0101] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.
[0102] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0103] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0104] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0105] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0106] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0107] According to one or more embodiments of the present disclosure, a table processing method is provided, including:
[0108] In response to a first operation event of creating a new field or changing an existing first field in a table, determining a target shortcut field, wherein the target shortcut field is a field encapsulating data processing logic;
[0109] Create the target shortcut field in the table, or replace the first field in the table with the target shortcut field.
[0110] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the data processing logic encapsulated in the target shortcut field includes: generating second content in the target shortcut field or a third field based on the first content corresponding to the second field in the table.
[0111] According to one or more embodiments of the present disclosure, a table processing method is provided, comprising at least one of the following: if the data processing logic encapsulated in the target shortcut field is AI logic, processing the first content corresponding to the second field in the table by a large model, and generating the second content in the target shortcut field or the third field; or
[0112] If the data processing logic encapsulated in the target shortcut field is a formula logic, the first content corresponding to the second field in the table is processed by the formula to generate the second content in the target shortcut field or the third field; or
[0113] If the data processing logic encapsulated in the target shortcut field is API logic, the API is called to obtain data based on the first content corresponding to the second field in the table, and the second content is generated in the target shortcut field or the third field based on the obtained data.
[0114] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the target shortcut field includes a summary field, and the method further includes:
[0115] The first content of the data column corresponding to the second field in the table is obtained, and the second content summarizing the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0116] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the target shortcut field includes a translation field, and the method further includes:
[0117] The first content of the data column corresponding to the second field in the table is obtained, and the second content translated from the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0118] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the target shortcut field includes a classification field, and the method further includes:
[0119] The first content of the data column corresponding to the second field in the table is obtained, and a type label of the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0120] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the target shortcut field includes an extraction field, and the method further includes:
[0121] The first content of the data column corresponding to the second field in the table is obtained, and the second content extracted from the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0122] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the target shortcut field includes a field encapsulating a formula, and the method further includes:
[0123] The first content of the data column corresponding to the second field in the table is obtained, the first content is processed by the formula, and the second content including the formula processing result is generated in the data column corresponding to the shortcut field or the data column corresponding to the third field.
[0124] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the target shortcut field includes a field encapsulated with an API, and the method further includes:
[0125] The first content of the data column corresponding to the second field in the table is obtained, the first content is processed through the API, and the second content including the API processing result is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
[0126] According to one or more embodiments of the present disclosure, a table processing method is provided, which determines a target shortcut field in response to a first operation event of creating a new field or changing an existing first field in a table, including: in response to the operation of creating a new field or changing an existing first field, displaying a field interface, the field types in the field interface including shortcut fields; determining the target shortcut field from the shortcut fields in the field interface; or, in response to receiving input information of creating a new field or changing an existing first field, determining the target shortcut field from the input information.
[0127] According to one or more embodiments of the present disclosure, a table processing method is provided, which determines a target shortcut field from the shortcut field in the field interface, including:
[0128] Displaying one or more of a shortcut field search control, a shortcut field center entrance, and a recommended shortcut field in the field interface or in a subordinate interface of the field interface;
[0129] The shortcut field searched and selected by the shortcut field search control is used as the target shortcut field, or, in response to triggering the shortcut field center entrance to display the shortcut field center, the shortcut field selected in the shortcut field center is used as the target shortcut field, or the recommended shortcut field that is selected is used as the target shortcut field.
[0130] According to one or more embodiments of the present disclosure, a table processing method is provided, further comprising:
[0131] The target shortcut field corresponds to a basic field. After the target shortcut field is determined, the target shortcut field and its corresponding basic field are displayed in the field interface; if the target shortcut field occurs, the basic field corresponding to the displayed target shortcut field is changed accordingly.
[0132] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the recommended shortcut fields are displayed in groups according to shortcut field types;
[0133] In response to the number of shortcut fields under a shortcut field type exceeding a preset number, a first identifier is displayed in the group corresponding to the shortcut field type, wherein the first identifier is used to enter the shortcut field center and locate the shortcut field list of the shortcut field type.
[0134] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the field interface displays recommended fields and satisfies at least one of the following conditions:
[0135] The recommended fields are generated based on the name of the table and / or existing fields in the table;
[0136] The recommended field is a field different from the existing fields in the table;
[0137] The recommended fields include: shortcut fields, and / or fields that are not shortcut fields.
[0138] According to one or more embodiments of the present disclosure, a table processing method is provided, which, after determining a target shortcut field, creates a new target shortcut field in the table, or before replacing a first field in the table with the target shortcut field, further comprises:
[0139] In response to the target shortcut field defining configurable items, displaying a configuration area of the target shortcut field, wherein the configuration area of the target shortcut field is used to set the configurable items of the target shortcut field;
[0140] In response to a configuration operation on a configurable item of the target shortcut field in the configuration area, a configuration content of the configurable item of the target shortcut field is determined.
[0141] According to one or more embodiments of the present disclosure, a table processing method is provided, which satisfies one or more of the following conditions:
[0142] All the shortcut fields are displayed in the shortcut field center;
[0143] The center of the shortcut field displays introduction information of the shortcut field, and the introduction information displays instructions for using the shortcut field after being triggered;
[0144] A shortcut field type is displayed in the center of the shortcut field, and after the shortcut field type is triggered, a shortcut field belonging to the triggered shortcut field type is displayed;
[0145] The shortcut field displayed in the shortcut field center includes: one or more of: icon, name, description information and source information;
[0146] A search control is displayed in the center of the shortcut field.
[0147] According to one or more embodiments of the present disclosure, a form processing method is provided, wherein a shortcut field creation control is displayed in the center of the shortcut field;
[0148] After being triggered, the shortcut field creation control creates a custom shortcut field in the center of the shortcut field.
[0149] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein the field types in the field interface also include basic fields, the basic fields are fields preset in the table, and the shortcut fields are fields obtained by opening up the ability to encapsulate new fields based on the basic fields.
[0150] According to one or more embodiments of the present disclosure, there is provided a table processing device, comprising:
[0151] a determining unit, configured to determine a target shortcut field in response to a first operation event of creating a new field or changing an existing first field in a table, wherein the target shortcut field is a field encapsulating data processing logic;
[0152] The control unit is used to create the target shortcut field in the table, or replace the first field in the table with the target shortcut field.
[0153] According to one or more embodiments of the present disclosure, there is provided an electronic device, including: at least one memory and at least one processor;
[0154] The at least one memory is used to store program codes, and the at least one processor is used to call the program codes stored in the at least one memory to execute any one of the above methods.
[0155] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to execute the above method.
[0156] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0157] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0158] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A table processing method, characterized in that: include: In response to a first operation event of creating a new field or changing an existing first field in a table, determining a target shortcut field, wherein the target shortcut field is a field encapsulating data processing logic; Create the target shortcut field in the table, or replace the first field in the table with the target shortcut field.
2. The method according to claim 1, characterized in that The data processing logic encapsulated in the target shortcut field includes: generating second content in the target shortcut field or the third field based on the first content corresponding to the second field in the table.
3. The method according to claim 2, characterized in that Include at least one of the following If the data processing logic encapsulated in the target shortcut field is AI logic, the first content corresponding to the second field in the table is processed by the large model to generate the second content in the target shortcut field or the third field; or If the data processing logic encapsulated in the target shortcut field is a formula logic, the first content corresponding to the second field in the table is processed by the formula to generate the second content in the target shortcut field or the third field; or If the data processing logic encapsulated in the target shortcut field is API logic, the API is called to obtain data based on the first content corresponding to the second field in the table, and the second content is generated in the target shortcut field or the third field based on the obtained data.
4. The method according to claim 1, characterized in that: The target shortcut field includes a summary field, and the method further includes: The first content of the data column corresponding to the second field in the table is obtained, and the second content summarizing the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
5. The method according to claim 1, characterized in that The target shortcut field includes a translation field, and the method further includes: The first content of the data column corresponding to the second field in the table is obtained, and the second content translated from the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
6. The method according to claim 1, characterized in that The target shortcut field includes a classification field, and the method further includes: The first content of the data column corresponding to the second field in the table is obtained, and a type label of the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
7. The method according to claim 1, characterized in that The target shortcut field includes an extraction field, and the method further includes: The first content of the data column corresponding to the second field in the table is obtained, and the second content extracted from the first content is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
8. The method according to claim 1, characterized in that The target shortcut field includes a field encapsulating a formula, and the method further includes: The first content of the data column corresponding to the second field in the table is obtained, the first content is processed by the formula, and the second content including the formula processing result is generated in the data column corresponding to the shortcut field or the data column corresponding to the third field.
9. The method according to claim 1, characterized in that: The target shortcut field includes a field encapsulating an API, and the method further includes: The first content of the data column corresponding to the second field in the table is obtained, the first content is processed through the API, and the second content including the API processing result is generated in the data column corresponding to the target shortcut field or the data column corresponding to the third field.
10. The method according to claim 1, characterized in that In response to a first operation event of creating a new field or changing an existing first field in a table, determining a target shortcut field includes: In response to an operation of creating a new field or changing an existing first field, displaying a field interface, wherein the field types in the field interface include shortcut fields; determining a target shortcut field from the shortcut fields in the field interface; or, In response to receiving input information for creating a new field or changing an existing first field, a target shortcut field is determined from the input information.
11. The method according to claim 10, characterized in that Determining a target shortcut field from the shortcut fields in the field interface includes: Displaying one or more of a shortcut field search control, a shortcut field center entrance, and a recommended shortcut field in the field interface or in a subordinate interface of the field interface; The shortcut field searched and selected by the shortcut field search control is used as the target shortcut field, or, in response to triggering the shortcut field center entrance to display the shortcut field center, the shortcut field selected in the shortcut field center is used as the target shortcut field, or the recommended shortcut field that is selected is used as the target shortcut field.
12. The method according to claim 10, characterized in that Also includes: The target shortcut field corresponds to a basic field. After the target shortcut field is determined, the target shortcut field and its corresponding basic field are displayed on the field interface; If the target shortcut field occurs, the basic field corresponding to the displayed target shortcut field is changed accordingly.
13. The method according to claim 11, characterized in that The recommended shortcut fields are displayed in groups according to shortcut field types; In response to the number of shortcut fields under a shortcut field type exceeding a preset number, a first identifier is displayed in the group corresponding to the shortcut field type, wherein the first identifier is used to enter the shortcut field center and locate the shortcut field list of the shortcut field type.
14. The method according to claim 11, characterized in that The field interface displays recommended fields and satisfies at least one of the following conditions: The recommended fields are generated based on the name of the table and / or existing fields in the table; The recommended field is a field different from the existing fields in the table; The recommended fields include: shortcut fields, and / or fields that are not shortcut fields.
15. The method according to claim 1, characterized in that After determining the target shortcut field, creating the target shortcut field in the table, or before replacing the first field in the table with the target shortcut field, the method further includes: In response to the target shortcut field defining configurable items, displaying a configuration area of the target shortcut field, wherein the configuration area of the target shortcut field is used to set the configurable items of the target shortcut field; In response to a configuration operation on a configurable item of the target shortcut field in the configuration area, a configuration content of the configurable item of the target shortcut field is determined.
16. The method according to claim 11, characterized in that Satisfy one or more of the following: All the shortcut fields are displayed in the shortcut field center; The center of the shortcut field displays introduction information of the shortcut field, and the introduction information displays instructions for using the shortcut field after being triggered; A shortcut field type is displayed in the center of the shortcut field, and after the shortcut field type is triggered, a shortcut field belonging to the triggered shortcut field type is displayed; The shortcut field displayed in the shortcut field center includes: one or more of: icon, name, description information and source information; A search control is displayed in the center of the shortcut field.
17. The method according to claim 11, characterized in that A shortcut field creation control is displayed in the center of the shortcut field; After being triggered, the shortcut field creation control creates a custom shortcut field in the center of the shortcut field.
18. The method according to claim 10, characterized in that The field types in the field interface also include basic fields, which are fields preset in the table, and the shortcut fields are fields obtained by opening the ability to encapsulate new fields based on the basic fields.
19. A table processing device, characterized in that: include: a determining unit, configured to determine a target shortcut field in response to a first operation event of creating a new field or changing an existing first field in a table, wherein the target shortcut field is a field encapsulating data processing logic; The control unit is used to create the target shortcut field in the table, or replace the first field in the table with the target shortcut field.
20. An electronic device, characterized in that: include: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 18.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and when the program codes are executed by a processor, the processor is prompted to perform the method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Information processing method and device, electronic equipment and storage medium
CN115983244A
Information processing method and device, electronic equipment and storage medium
CN116151203A
Replacing contiguous breakpoints with control words
US20140075418A1
Cited By
Table processing method and apparatus, and electronic device and storage medium
WO2025261255A1
