Table data processing method and device, equipment and storage medium
By responding to the operation of field controls in the form page, field components are determined and generated, which solves the inefficiency problem caused by complex user editing and achieves efficient form data processing without code configuration.
Patent Information
- Application Number
- CN202410797889.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-19
AI Technical Summary
When users use forms, they need to edit the generated target fields to implement functions such as text processing and date and time calculations, which results in a complicated process and high learning costs, which reduces usage efficiency.
By responding to the operation of the field control in the form page, the field interface is displayed, the field component and the first field are determined, and the second field is generated in the form page based on these components and fields. The field type of the second field is determined by the component, eliminating the need for Users write it themselves, which improves usage efficiency.
Users do not need to write code. They only need to select the target component among the preset components to generate fields and implement corresponding functions, which significantly improves the efficiency of table data processing.
Smart Images

Figure CN118627486A
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the technical field of computers, and in particular, to a table data processing method, apparatus, device, and storage medium. Background Art
[0002] Users can store and manage data through tables. A table can be an online database in the form of a table to store, analyze and visualize data. A table can include at least one field. A field can be used to determine that the entire column of data in the column where the field is located has the same data attributes to ensure that the format of the content filled in the column is standardized.
[0003] Currently, when using a table, if users want to generate a target field to achieve a target function, such as text processing and extraction, date and time calculation, format conversion, etc., they need to configure the target field by editing it themselves.
[0004] In actual application, the user's own editing process is relatively complicated and has a high learning cost, resulting in low user efficiency. Summary of the invention
[0005] The embodiments of the present disclosure provide a table data processing method, apparatus, device and storage medium to solve the problem that when a user uses a table, the editing process is relatively complicated and has a high learning cost, resulting in low user efficiency.
[0006] In a first aspect, an embodiment of the present disclosure provides a table data processing method, including:
[0007] In response to a triggering operation on a field control in a table page, a field interface is displayed;
[0008] In the field interface, determining a field component and a first field;
[0009] According to the field component and the first field, a second field is displayed in the table page, and second data is generated in the data column corresponding to the second field, wherein the second data is based on the first data in the data column corresponding to the first field and is generated using the field component; the field type of the second field is determined based on the field component.
[0010] In a second aspect, an embodiment of the present disclosure provides a table data processing device, including:
[0011] A display module, used for displaying a field interface in response to a trigger operation on a field control in a table page;
[0012] A determination module, used for determining a field component and a first field in the field interface;
[0013] A processing module is used to display a second field in the table page according to the field component and the first field, and generate second data in the data column corresponding to the second field, wherein the second data is based on the first data in the data column corresponding to the first field and is generated using the field component; the field type of the second field is determined based on the field component.
[0014] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
[0015] The memory stores computer-executable instructions;
[0016] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the table data processing method described in the first aspect and various possible designs of the first aspect.
[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the table data processing method described in the first aspect and various possible designs of the first aspect is implemented.
[0018] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the table data processing method described in the first aspect and various possible designs of the first aspect.
[0019] The table data processing method, device, equipment and storage medium provided in this embodiment, in response to the triggering operation of the field control in the table page, displays the field interface, determines the field component and the first field in the field interface, displays the second field in the table page according to the field component and the first field, and generates the second data in the data column corresponding to the second field, the second data is based on the first data in the data column corresponding to the first field, and is generated by using the field component; the field type of the second field is determined based on the field component. In this way, the user does not need to write it by himself, but only needs to select the target component from multiple preset components to generate a field for realizing the corresponding function, thereby improving the user's usage efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;
[0022] Figure 2 A flowchart of a table data processing method provided by an embodiment of the present disclosure;
[0023] Figure 3 A schematic diagram of a field control provided in an embodiment of the present disclosure;
[0024] Figure 4 A schematic diagram of a field interface provided by an embodiment of the present disclosure;
[0025] Figure 5 A schematic diagram of another table data processing method provided by an embodiment of the present disclosure;
[0026] Figure 6 A schematic diagram of a component selection control provided in an embodiment of the present disclosure;
[0027] Figure 7 A schematic diagram of a field selection control provided in an embodiment of the present disclosure;
[0028] Figure 8 A schematic diagram of another table data processing method provided by an embodiment of the present disclosure;
[0029] Fig. 9 A schematic diagram of another table data processing method provided by an embodiment of the present disclosure;
[0030] Fig.10 A schematic diagram of another table page provided in an embodiment of the present disclosure;
[0031] Fig.11 A schematic diagram of the structure of a table data processing device provided in an embodiment of the present disclosure;
[0032] Fig.12 A schematic diagram of the hardware structure of the information display device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0034] To facilitate understanding, the concepts involved in the embodiments of the present disclosure are explained below.
[0035] Table: An online database in the form of a table used to store and manage data.
[0036] Table page: can be used to display data in a table to users.
[0037] Field: It is the "column" of the table. Different field types can be set in the table to ensure the format of each column. Field types can include general types, business types and advanced types. General types can include text types, attachment types, formula types, etc.; business types can include process types, automatic numbering, progress types, etc.; advanced types can include bidirectional association types, unidirectional association types, etc.
[0038] Field data: A field data is a row of data filled in the column where the field is located. The data type of at least one field data is the same as the field type of the field where it is located. For example, if the field type is an attachment type field, the field data corresponding to the field is an attachment of the file type that supports upload.
[0039] Next, combine Figure 1 , an example is given to illustrate the application scenario of the embodiment of the present disclosure.
[0040] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present disclosure. Figure 1 , including a table page. The table page includes a formula field and an editing component for editing the formula field. In the editing component, the user can enter a calculation formula. The formula field can calculate the field according to the calculation formula edited by the user to obtain the calculation result to achieve the corresponding function.
[0041] In the related art, when using a table, if a user wants to generate a target field for realizing a target function, such as text processing and extraction, date and time calculation, format conversion, etc., the user needs to configure the target field by editing it himself.
[0042] In actual application, the user's own editing process is relatively complicated and has a high learning cost, resulting in low user efficiency.
[0043] In order to solve the technical problems in the related art, the embodiment of the present disclosure provides a table data processing method, which determines a field component and a first field in a field interface, displays a second field in a table page according to the field component and the first field, and generates second data in a data column corresponding to the second field. In this way, the user does not need to write by himself, but only needs to select a target component from multiple preset components to generate a field for realizing the corresponding function, thereby improving the user's usage efficiency.
[0044] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0045] refer to Figure 2 , Figure 2 A flowchart of a table data processing method provided by an embodiment of the present disclosure. The execution subject of the embodiment of the present disclosure may be a terminal device, or a table data processing device provided in the terminal device. The table data processing device may be implemented according to software, or may be implemented according to a combination of software and hardware, which is not limited by the embodiment of the present disclosure. The table data processing method includes:
[0046] S201. In response to a triggering operation on a field control in a table page, a field interface is displayed.
[0047] A form page can include field controls.
[0048] The field control can be used to add new fields. By clicking the field control, a field interface can be generated. The field interface can be used to configure the newly added fields to add new fields.
[0049] The triggering operation can be an interaction between the user and the field control through a mouse click, touch screen or other input device.
[0050] Next, combine Figure 3 , describe the field control.
[0051] Figure 3 A schematic diagram of a field control provided in an embodiment of the present disclosure. Figure 3 , including: field controls.
[0052] The field control may be represented by the icon “+” or other icons, which are not limited here.
[0053] The field interface can be used to configure the newly added fields.
[0054] The field interface may include a component selection control, a field selection control, a field name editing window, and the like.
[0055] In response to a trigger operation on a field control in a table page, the background code corresponding to the field control may be run to display the field interface.
[0056] Optionally, the table page may be displayed in response to a user's start operation on the table.
[0057] Optionally, a table list may be displayed, the table list including at least one table, and in response to a user selecting operation on any table in the table list, a table page corresponding to the table is displayed.
[0058] It should be noted that the terminal device can display the table page according to any feasible implementation method, and the embodiments of the present disclosure are not limited to this.
[0059] S202. In the field interface, determine the field component and the first field.
[0060] Field components can be used to implement target functions, such as text processing and extraction, date and time calculation, format conversion, etc.
[0061] The first field may be a field that already exists on the field interface and needs to be processed.
[0062] Next, combine Figure 4 , an example is given to illustrate the field interface.
[0063] Figure 4 A schematic diagram of a field interface provided by an embodiment of the present disclosure. Figure 4 , including: field interface.
[0064] The field interface may include one or more of a field name editing window, a component selection control, a field selection control, a cancel control, and an OK control.
[0065] The Field Name Edit window can be used to edit the name of a field.
[0066] The component selector can be used to identify a field component from among several preset components.
[0067] The field selection control may be used to determine a first field in at least one field of the field interface, and the first field may be a field that needs to be processed by a field component.
[0068] The Cancel control can be used to end the field interface.
[0069] The determination control may be used to determine the user's selection operation on each control and / or the editing operation on the editing window.
[0070] The user can determine the configuration information corresponding to the field based on the editing operation of each control or editing window in the field interface, and the configuration information includes the first field and the field component.
[0071] For example, the first field may be a date type field or an attachment type field.
[0072] The field component and the first field may be determined in response to a user triggering operation on each control in the field interface.
[0073] S203: Display the second field in the table page according to the field component and the first field, and generate second data in the data column corresponding to the second field.
[0074] The second field can be used to record data generated by the field component processing, and the field type of the second field is determined based on the field component.
[0075] The second field can also be used to record second data generated by processing the first data in the first field through the field component.
[0076] The second data may be data generated by using a field component based on the first data in the data column corresponding to the first field.
[0077] In response to the field component and the first field selected by the user, a second field may be generated, the second field may be displayed in the table page, and second data may be generated in a data column corresponding to the second field.
[0078] The disclosed embodiment provides a table data processing method, which displays a field interface in response to a trigger operation on a field control in a table page, determines a field component and a first field in the field interface, displays a second field in the table page according to the field component and the first field, and generates second data in a data column corresponding to the second field, wherein the second data is data generated by using the field component based on the first data in the data column corresponding to the first field, and the field type of the second field is determined based on the field component. In this way, the user does not need to write by himself, but only needs to select a target component from a plurality of preset components to generate a field for realizing a corresponding function, thereby improving the user's usage efficiency.
[0079] exist Figure 2 Based on the embodiment shown below, combined with Figure 5 , the process (S202) of determining the field component and the first field in the field interface is described in detail.
[0080] Figure 5 This is a schematic diagram of another table data processing method provided by an embodiment of the present disclosure. Figure 5 The method flow may include:
[0081] S501. In response to a user input operation on a component selection control, determine the selected component as a field component.
[0082] The component selection control can be used to display multiple preset components to the user, so that the user can select one of the preset components as the field component.
[0083] Multiple preset components can be used to implement different functions. The preset components can implement text processing, extraction or separation, date and time calculation or statistics, format conversion or display, etc., which are not limited here.
[0084] For example, multiple preset components and the function corresponding to each preset component can be represented by Table 1.
[0085] Table 1
[0086] Preset Components Function Date conversion component You can convert date data into corresponding week number data Generate parent place name component You can convert a place name into the parent place name of the place name Word case conversion component Can convert lowercase words to uppercase words Extract name components Can extract name information from text data
[0087] The input operation can be a user selecting one of multiple preset components, or a user entering a component name in a component selection control, and the component selection control matches a component with the same component name from multiple preset components based on the input component name and performs a selection operation.
[0088] In response to the user's input operation on the component selection control, the component selection control can determine the field component corresponding to the input operation from multiple preset components, and run the background code corresponding to the field component.
[0089] Optionally, in response to the user's input operation on the component selection control, the selected component is determined as a field component, and the background code corresponding to the field component is run to display multiple configuration controls corresponding to the field component. The multiple configuration controls may include one or more of a field selection control and a conversion format selection control.
[0090] Next, combine Figure 6 , an example is given for the component selection control.
[0091] Figure 6 A schematic diagram of a component selection control provided by an embodiment of the present disclosure. Figure 6 , including component selection controls.
[0092] Please refer to interface 601 . Interface 601 may include a component selection control and a control title corresponding to the component selection control. The user may click on the component selection control to make the display screen display interface 602 .
[0093] Please refer to interface 602. The component selection control in interface 602 can display multiple preset components to the user, and the user can select a field component from the multiple preset components.
[0094] Please refer to interface 603. In interface 603, in response to the user's click operation on the field component, the background code corresponding to the field component can be run to display the field selection control to the user.
[0095] Optionally, in response to a user clicking operation on a field component, a background code corresponding to the field component may be executed to display a field selection control and a format conversion selection control to the user.
[0096] S502: In response to an operation input to a field selection control, a first field is selected from at least one field in a field interface.
[0097] The field selection control can be used to display at least one field in the field interface to the user, so that the user can select one of the fields as the first field.
[0098] The input operation may be a user selecting one of the at least one fields, or a user inputting an input field in a field selection control, and the field selection control matches a field consistent with the input field in at least one field as the first field based on the input field.
[0099] In response to the user's input operation on the field selection control, the field selection control can determine a selected field corresponding to the input operation in at least one field of the field interface, and determine the selected field as the first field.
[0100] Next, combine Figure 7 , which gives an example of a field selection control.
[0101] Figure 7 A schematic diagram of a field selection control provided in an embodiment of the present disclosure. Figure 7 , including field selection controls.
[0102] Please refer to interface 701 . Interface 701 may include a field selection control, a control title corresponding to the field selection control, and a confirmation control. The user may click the field selection control to display interface 702 on the display screen.
[0103] Please refer to interface 702. The field selection control in interface 702 can display to the user the selection sub-control corresponding to at least one field in the field interface. The user can select a target sub-control from the selection sub-control corresponding to at least one field, and can determine the field corresponding to the target sub-control as the first field.
[0104] The implementation content of each step in the embodiment of the present disclosure can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0105] The disclosed embodiment provides a table data processing method, which determines the selected component as a field component in response to the user's input operation on the component selection control, and selects the first field in at least one field on the table page in response to the input operation on the field selection control. In this way, the user does not need to write by himself, but only needs to select the target component from multiple preset components to generate a field for realizing the corresponding function, thereby improving the user's usage efficiency.
[0106] exist Figure 2 Based on the embodiment shown below, combined with Figure 8 , a process (S203) of displaying the second field in the table page according to the field component and the first field is described in detail.
[0107] refer to Figure 8 , Figure 8 A schematic diagram of another table data processing method provided by an embodiment of the present disclosure. The field interface also includes a field name editing window and a confirmation control, and the table data processing method includes:
[0108] S801. Obtain the target name entered in the field name editing window.
[0109] The field name edit window can be used to edit the field name of the second field.
[0110] The target name can be the name entered by the user in the field name edit window.
[0111] Optionally, in response to a user's input operation on the field name editing window, the target name input in the field name editing window may be acquired.
[0112] Optionally, a preset name corresponding to the field component can be determined in the field name editing window based on the field component, and a target name entered in the field name editing window can be determined based on the preset name.
[0113] For example, the target name is Date to Week Number.
[0114] S802: In response to a click operation on a confirmation control, generate a second field according to a target name.
[0115] The name of the second field is the target name.
[0116] In response to a click operation on the confirmation control, the background code of the field interface may be run to generate a second field according to the target name.
[0117] S803: Create a binding relationship between the field component, the first field, and the second field, and display the second field in the table page, so that the field component generates the second data according to the first data.
[0118] The binding relationship may include a first binding relationship between a first field and a field component and a second binding relationship between a second field and a field component.
[0119] The first binding relationship may be to use the first data in the first field as input data of the field component.
[0120] The second binding relationship may be to use the output data of the field component as the second data in the second field.
[0121] A first binding relationship between the first field and the field component and a second binding relationship between the second field and the field component may be created so that the field component generates second data according to the first data.
[0122] Optionally, the second field may be displayed in the table page in the following manner: in the table page, a new column is created after the column where the first field is located; and the field of the new column is set as the second field.
[0123] The newly added column may be a newly added column of data, and the newly added column may be created in one or more columns after the column where the first field is located on the table page.
[0124] For example, if the newly added column is the 5th column, the field corresponding to the 5th column can be set as the second field.
[0125] The implementation content of each step in the embodiment of the present disclosure can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0126] The disclosed embodiment provides a table data processing method, which obtains the target name input in the field name editing window, generates a second field according to the target name in response to a click operation on a confirmation control, creates a binding relationship between a field component, a first field and a second field, and displays the second field in a table page, so that the field component generates the second data according to the first data. In this way, the user does not need to write by himself, but only needs to select a target component from a plurality of preset components to generate a field for realizing a corresponding function, thereby improving the user's use efficiency.
[0127] exist Figure 2 Based on the embodiment shown below, combined with Fig. 9 , the process (S203) of generating the second data in the data column corresponding to the second field is described in detail.
[0128] refer to Fig. 9 , Fig. 9 A schematic diagram of another table data processing method provided in an embodiment of the present disclosure. The data processing method includes:
[0129] S901. Determine a target data format corresponding to the second field.
[0130] The target data format may be preset or determined by the user, and is not limited here.
[0131] Optionally, a preset data format corresponding to the field component may be determined, and based on the preset data format, a target data format corresponding to the second field may be determined.
[0132] Optionally, the field interface may further include a format selection control, which may be used to provide the user with multiple preset data formats corresponding to the field component, and the user may select a target data format from the multiple preset data formats to make the data format of the second field the target data format.
[0133] S902. Generate second data corresponding to the first data through field components according to the target data format.
[0134] The data format of the second data is the target data format.
[0135] Each first data may be converted into corresponding second data through a field component, and the second data may be formatted according to a target data format to obtain processed second data.
[0136] Optionally, second data corresponding to the first data can be generated by a field component according to the target data format in the following manner: input the first data into the formula data corresponding to the field component, and output output data corresponding to the formula data; according to the target data format, convert the output data into second data.
[0137] Formula data can be stored in the field component in the form of code. The formula data can include preset formulas.
[0138] S903: Display the second data corresponding to the first data in the table page.
[0139] The second data may be located in the column where the second field is located.
[0140] For any first data, the second data corresponding to the first data is displayed in the field interface, the first data and the second data are located in the same row, the first data is located in the column where the first field is located, and the second data is located in the column where the second field is located.
[0141] The implementation content of each step in the embodiment of the present disclosure can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0142] The disclosed embodiment provides a table data processing method, by determining the target data format corresponding to the second field, generating the second data corresponding to the first data through the field component according to the target data format, the data format of the second data is the target data format, and displaying the second data corresponding to the first data in the table page. In this way, the user does not need to write by himself, but only needs to select the target component from multiple preset components to generate a field for realizing the corresponding function, thereby improving the user's usage efficiency.
[0143] Next, combine Fig.10 , the process of S901-S903 is illustrated with examples.
[0144] Fig.10 A schematic diagram of another table page provided by an embodiment of the present disclosure. Assume that the first field is a date field, the second field is a date conversion field, and the field component is a date conversion component. Fig.10 , including: date fields and date conversion fields.
[0145] Assume that 2024 / 04 / 01 is entered in the second row of the date field;
[0146] Determine the target data format corresponding to the date conversion field as [····year]·week;
[0147] According to the target data format, the date conversion component converts the "2024 / 04 / 01" entered in the second row of the date field into "
[2024] Week 14";
[0148] The second row in the column where the date conversion field is located displays "
[2024] Week 14".
[0149] The implementation content of each step in the embodiment of the present disclosure can refer to the description of the corresponding steps or operations in the above method embodiment, and repeated content will not be repeated.
[0150] Fig.11 This is a schematic diagram of the structure of a table data processing device provided by an embodiment of the present disclosure. Fig.11 The table data processing device 1100 includes a display module 1101, a determination module 1102 and a processing module 1103, wherein:
[0151] Display module 1101, for displaying a field interface in response to a triggering operation on a field control in a table page;
[0152] A determination module 1102, configured to determine a field component and a first field in the field interface;
[0153] Processing module 1103 is used to display a second field in the table page according to the field component and the first field, and generate second data in the data column corresponding to the second field, wherein the second data is based on the first data in the data column corresponding to the first field and is generated using the field component; the field type of the second field is determined based on the field component.
[0154] In one embodiment of the present disclosure, formula data is configured in the field component, and the field component processes the first data based on the formula data to generate the second data.
[0155] In one embodiment of the present disclosure, the field interface includes a component selection control and a field selection control; the determination module 1102 is specifically used to:
[0156] In response to a user input operation on the component selection control, determining the selected component as the field component;
[0157] In response to an operation input to the field selection control, the first field is selected from at least one field of the form page.
[0158] In one embodiment of the present disclosure, the field interface further includes a field name editing window and a confirmation control, and the processing module 1103 is specifically used to:
[0159] Get the target name entered in the field name editing window;
[0160] In response to a click operation on the confirmation control, generating a second field according to the target name, wherein the name of the second field is the target name;
[0161] A binding relationship is created among the field component, the first field, and the second field, and the second field is displayed in the table page, so that the field component generates the second data according to the first data.
[0162] In one embodiment of the present disclosure, the processing module 1103 is specifically used to:
[0163] In the table page, a new column is created after the column where the first field is located;
[0164] The field of the newly added column is set to the second field.
[0165] In one embodiment of the present disclosure, the processing module 1103 is specifically used to:
[0166] determining a target data format corresponding to the second field;
[0167] According to the target data format, generating second data corresponding to the first data through the field component, wherein the data format of the second data is the target data format;
[0168] The second data corresponding to the first data is displayed in the table page.
[0169] In one embodiment of the present disclosure, the processing module 1103 is specifically used to:
[0170] Input the first data into the formula data corresponding to the field component, and output the output data corresponding to the formula data;
[0171] The output data is converted into second data according to the target data format.
[0172] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0173] In order to implement the above embodiment, the embodiment of the present disclosure also provides an electronic device.
[0174] refer to Fig.12 , Fig.12 The hardware structure diagram of the information display device provided in the embodiment of the present disclosure is shown in FIG. 1 , where the electronic device 1200 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.12 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0175] like Fig.12As shown, the electronic device 1200 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage device 1208 to a random access memory (RAM) 1203. Various programs and data required for the operation of the electronic device 1200 are also stored in the RAM 1203. The processing device 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0176] Typically, the following devices may be connected to the I / O interface 1205: input devices 1206 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 1207 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1208 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1209. The communication device 1209 may allow the electronic device 1200 to communicate with other devices wirelessly or by wire to exchange data. Although Fig.12 The electronic device 1200 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0177] 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 the network through the communication device 1209, or installed from the storage device 1208, or installed from the ROM 1202. When the computer program is executed by the processing device 1201, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0178] 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.
[0179] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0180] 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 shown in the above embodiment.
[0181] 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 an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0182] 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.
[0183] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0184] 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.
[0185] 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.
[0186] In a first aspect, according to one or more embodiments of the present disclosure, a table data processing method is provided, comprising:
[0187] In response to a triggering operation on a field control in a table page, a field interface is displayed;
[0188] In the field interface, determining a field component and a first field;
[0189] According to the field component and the first field, a second field is displayed in the table page, and second data is generated in the data column corresponding to the second field, wherein the second data is based on the first data in the data column corresponding to the first field and is generated using the field component; the field type of the second field is determined based on the field component.
[0190] According to one or more embodiments of the present disclosure, formula data is configured in the field component, and the field component processes the first data based on the formula data to generate the second data.
[0191] According to one or more embodiments of the present disclosure, the field interface includes a component selection control and a field selection control; in the field interface, determining a field component and a first field includes:
[0192] In response to a user input operation on the component selection control, determining the selected component as the field component;
[0193] In response to an operation input to the field selection control, the first field is selected from at least one field of the form page.
[0194] According to one or more embodiments of the present disclosure, the field interface further includes a field name editing window and a confirmation control, and displaying a second field in the table page according to the field component and the first field includes:
[0195] Get the target name entered in the field name editing window;
[0196] In response to a click operation on the confirmation control, generating a second field according to the target name, wherein the name of the second field is the target name;
[0197] A binding relationship is created among the field component, the first field, and the second field, and the second field is displayed in the table page, so that the field component generates the second data according to the first data.
[0198] According to one or more embodiments of the present disclosure, displaying the second field in the table page includes:
[0199] In the table page, a new column is created after the column where the first field is located;
[0200] The field of the newly added column is set to the second field.
[0201] According to one or more embodiments of the present disclosure, generating second data in a data column corresponding to the second field includes:
[0202] determining a target data format corresponding to the second field;
[0203] According to the target data format, generating second data corresponding to the first data through the field component, wherein the data format of the second data is the target data format;
[0204] The second data corresponding to the first data is displayed in the table page.
[0205] According to one or more embodiments of the present disclosure, generating second data corresponding to the first data through the field component according to the target data format includes:
[0206] Input the first data into the formula data corresponding to the field component, and output the output data corresponding to the formula data;
[0207] The output data is converted into second data according to the target data format.
[0208] In a second aspect, according to one or more embodiments of the present disclosure, there is provided a table data processing apparatus, comprising:
[0209] A display module, used for displaying a field interface in response to a trigger operation on a field control in a table page;
[0210] A determination module, used for determining a field component and a first field in the field interface;
[0211] A processing module is used to display a second field in the table page according to the field component and the first field, and generate second data in the data column corresponding to the second field, wherein the second data is based on the first data in the data column corresponding to the first field and is generated using the field component; the field type of the second field is determined based on the field component.
[0212] According to one or more embodiments of the present disclosure, formula data is configured in the field component, and the field component processes the first data based on the formula data to generate the second data.
[0213] According to one or more embodiments of the present disclosure, the field interface includes a component selection control and a field selection control; the determination module is specifically used to:
[0214] In response to a user input operation on the component selection control, determining the selected component as the field component;
[0215] In response to an operation input to the field selection control, the first field is selected from at least one field of the form page.
[0216] According to one or more embodiments of the present disclosure, the field interface further includes a field name editing window and a confirmation control, and the processing module is specifically used to:
[0217] Get the target name entered in the field name editing window;
[0218] In response to a click operation on the confirmation control, generating a second field according to the target name, wherein the name of the second field is the target name;
[0219] A binding relationship is created among the field component, the first field, and the second field, and the second field is displayed in the table page, so that the field component generates the second data according to the first data.
[0220] According to one or more embodiments of the present disclosure, the processing module is specifically used to:
[0221] In the table page, a new column is created after the column where the first field is located;
[0222] The field of the newly added column is set to the second field.
[0223] According to one or more embodiments of the present disclosure, the processing module is specifically used to:
[0224] determining a target data format corresponding to the second field;
[0225] According to the target data format, generating second data corresponding to the first data through the field component, wherein the data format of the second data is the target data format;
[0226] The second data corresponding to the first data is displayed in the table page.
[0227] According to one or more embodiments of the present disclosure, the processing module is specifically used to:
[0228] Input the first data into the formula data corresponding to the field component, and output the output data corresponding to the formula data;
[0229] The output data is converted into second data according to the target data format.
[0230] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor and a memory;
[0231] The memory stores computer-executable instructions;
[0232] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the table data processing method described in the first aspect and various possible designs of the first aspect.
[0233] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the table data processing method described in the first aspect and various possible designs of the first aspect is implemented.
[0234] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the table data processing method described in the first aspect and various possible designs of the first aspect is implemented.
[0235] 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.
[0236] 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.
[0237] 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 method for processing tabular data, It is characterized in that include: In response to a triggering operation on a field control in a table page, a field interface is displayed; In the field interface, determining a field component and a first field; According to the field component and the first field, a second field is displayed in the table page, and second data is generated in the data column corresponding to the second field, wherein the second data is data generated by the field component based on the first data in the data column corresponding to the first field; A field type of the second field is determined based on the field component.
2. The method according to claim 1, It is characterized in that The field component is configured with formula data, and the field component processes the first data based on the formula data to generate the second data.
3. The method according to claim 1 or 2, It is characterized in that The field interface includes a component selection control and a field selection control; in the field interface, determining a field component and a first field includes: In response to a user input operation on the component selection control, determining the selected component as the field component; In response to an operation input to the field selection control, the first field is selected from at least one field of the form page.
4. The method according to any one of claims 1 to 3, It is characterized in that The field interface also includes a field name editing window and a confirmation control, and according to the field component and the first field, displaying the second field in the table page includes: Get the target name entered in the field name editing window; In response to a click operation on the confirmation control, generating a second field according to the target name, wherein the name of the second field is the target name; A binding relationship is created among the field component, the first field, and the second field, and the second field is displayed in the table page, so that the field component generates the second data according to the first data.
5. The method according to claim 4, It is characterized in that Displaying the second field in the table page includes: In the table page, a new column is created after the column where the first field is located; The field of the newly added column is set to the second field.
6. The method according to any one of claims 1 to 5, It is characterized in that Generating second data in a data column corresponding to the second field includes: determining a target data format corresponding to the second field; According to the target data format, generating second data corresponding to the first data through the field component, wherein the data format of the second data is the target data format; The second data corresponding to the first data is displayed in the table page.
7. The method according to claim 6, It is characterized in that Generating second data corresponding to the first data through the field component according to the target data format includes: Input the first data into the formula data corresponding to the field component, and output the output data corresponding to the formula data; The output data is converted into second data according to the target data format.
8. A table data processing device, It is characterized in that include: A display module, used for displaying a field interface in response to a trigger operation on a field control in a table page; A determination module, used for determining a field component and a first field in the field interface; a processing module, configured to display a second field in the table page according to the field component and the first field, and generate second data in a data column corresponding to the second field, wherein the second data is data generated by using the field component based on the first data in the data column corresponding to the first field; A field type of the second field is determined based on the field component.
9. An electronic device, It is characterized in that include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the table data processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the table data processing method according to any one of claims 1 to 7 is implemented.
11. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method for processing table data according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
An information batch processing method and device
CN109885541A
Configuration page generation method and device, electronic device and readable storage medium
CN110673847A
Page generation method and device, equipment and storage medium
CN114003843A
Table data processing method and device, terminal and storage medium
CN115034175A
Cited By
RAG-based table data processing method and system
CN120354833A
Rag-based table data processing method and system
CN120354833B
Table data processing method and apparatus, and device and storage medium
WO2025260767A1
Table data processing method and apparatus, and device and storage medium
WO2025261228A1
