Table processing method and device, terminal and storage medium

By creating content fields associated with target fields in the form and automatically writing content using optical character recognition technology, the problem of low file processing efficiency in the existing technology is solved and efficient content extraction and processing is achieved.

CN118627481AActive Publication Date: 2024-09-10BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202410796312.1
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

Technical Problem

In the prior art, when processing the file content in the table, the user needs to manually check and write the content fields, which is inefficient, especially when processing multiple files, especially when the content needs to be extracted according to the content type, the processing efficiency is low.

Method used

By creating a content field in the table and configuring an association with the target field, the file content in the cell of the target field is automatically obtained and written into the corresponding content field. Optical character recognition technology is supported to identify the file content and follow the content type to write.

Benefits of technology

No manual operation is required by the user, which significantly improves the efficiency of file processing. Especially when processing multiple files, it can greatly improve the efficiency of content extraction and simplify the user operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627481A
    Figure CN118627481A
Patent Text Reader

Abstract

The invention provides a table processing method and device, a terminal and a storage medium. The table processing method comprises the steps that in response to a first operation event, one or more content fields are created in a table, the content fields are associated with content types in advance, and association relationships are configured between the content fields and target fields in the table; obtaining the content of the file in the cells of the target field, and writing the content of the file into the cells of the content field; wherein the content corresponding to the content type associated with the content field is written into the cells of the content field; the file is an attachment in a cell of the target field, or the file is a file pointed by an address recorded in the cell of the target field. The method disclosed by the invention can improve the processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a table processing method, device, terminal and storage medium. Background Art

[0002] Tables, such as tables in spreadsheet documents or tables in text documents, have fields corresponding to their cells. Fields are properties of a row or column of cells that describe the type of content that can be carried in a cell with that property. Fields are usually displayed as column names. For example, a date field indicates that the content carried in a cell with that field is a date. Summary of the invention

[0003] The present disclosure provides a table processing method, device, terminal 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 the first operation event, one or more content fields are created in the table, wherein the content fields are pre-associated with content types, and the content fields are configured with an association relationship with target fields in the table;

[0007] Acquire the content of the file in the cell of the target field, and write the content of the file into the cell of the content field;

[0008] Among them, the content corresponding to the content type associated with the content field is written in the cell of the content field; the file is the attachment in the cell of the target field, or the file is the file pointed to by the address recorded in the cell of the target field.

[0009] In some embodiments, the present disclosure provides a form processing device, including:

[0010] A creating unit, configured to create one or more content fields in the table in response to the first operation event, wherein the content fields are pre-associated with content types, and the content fields are configured with an association relationship with target fields in the table;

[0011] A control unit, configured to obtain the content of the file in the cell of the target field, and write the content of the file into the cell of the content field;

[0012] Among them, the content corresponding to the content type associated with the content field is written in the cell of the content field; the file is the attachment in the cell of the target field, or the file is the file pointed to by the address recorded in the cell of the target field.

[0013] In some embodiments, the present disclosure provides a terminal, comprising: at least one memory and at least one processor;

[0014] 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.

[0015] 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 computer, the computer is prompted to perform any of the above methods.

[0016] The table processing method provided by the embodiment of the present disclosure can identify the content of the file in the cell of the target field, and then write the content therein into the cell of the corresponding content field according to the content type. In this way, there is no need for the user to manually check the content of the file and write it into the cell of the content field, which reduces the user's operation and greatly improves the file processing efficiency. In particular, when it is necessary to extract content from multiple files according to the content type, the processing efficiency can be greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] 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.

[0018] Figure 1 It is a flowchart of the table processing method of the embodiment of the present disclosure.

[0019] Figures 2 to 15 It is a schematic diagram of a display interface of an embodiment of the present disclosure.

[0020] Fig.16 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] 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.

[0022] 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.

[0023] 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.

[0024] 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.

[0025] 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.

[0026] 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.

[0027] The solution provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0028] like Figure 1 As shown, Figure 1 It is a flowchart of the table processing method of the embodiment of the present disclosure, which includes the following steps.

[0029] S11. In response to a first operation event, create one or more content fields in a table.

[0030] In some embodiments, the executor of the method proposed in the present disclosure may be a terminal, a server, etc. The terminal may be, for example, a mobile phone, a computer, etc. The first operation event may include one or more operations. The table may be a table in a tabular document or a table in a non-tabular document (such as a text document). The tabular document or the non-tabular document may be a local document or an online document. A field is an attribute of a cell, which generally describes the type of content stored in the cell. The field is generally displayed as a column name, indicating that all cells in the column have the field as an attribute. The content field is pre-associated with a content type, and the content field is configured with an association relationship with a target field in the table. One or more content fields are created in the table through the first operation event, and the target field is also determined.

[0031] S12. Obtain the content of the file in the cell of the target field, and write the content of the file into the cell of the content field.

[0032] In some embodiments, the file is an attachment in a cell of the target field, that is, the cell of the target field can be used to store the file itself, or the file is a file pointed to by an address recorded in a cell of the target field, that is, the file in the cell of the target field refers to a file found by the address stored in the cell of the target field. The content corresponding to the content type associated with the content field is written in the cell of the content field. The content in the file can be identified by optical character recognition technology, and then the identified content of the file is written into the cell of the content field according to the content type, and the content written in the cell of the content field is the content corresponding to the content type associated with the content field. For example, if the content type associated with the content field is an invoice header, the specific content of the invoice header in the content of the file is written in the cell of the content field. If the content type associated with another content field is an invoice number, the specific content of the invoice number in the content of the file is written in the cell of the content field. In some embodiments, the cells of the target field are also in the table, and the content of the file is written into the cells of the content field of the same record as the file. For example, one row is one record, and the content of the file is written into the cells of the content field of the same row as the file. The cells of the target field can be multiple and can be located in multiple different records. There may be questions in multiple cells. At this time, step S12 will be executed for the files in multiple cells of the target field to identify the content in multiple files and write them into the cells of the content field in the records where they are located. In some embodiments, when creating a content field, the content field managed by the required content type can be selected. At this time, the content of the file does not need to be written into the cells of the content field. There may be some content in the file that is not written into the cells of the content field. Of course, the content field corresponding to each content type can also be selected. At this time, the content of each content type in the content of the file will be written into the corresponding content field cells respectively. In addition, the content type associated with the content field is not limited to one. A content field can correspond to one or more content types. In this way, in a cell of the content field, the content of multiple content types can be written, which is convenient for processing highly related content in the same cell. In some embodiments, the content type associated with the content field may be pre-set, and may be related to the content type of the file. For example, when the file is an invoice, the content type associated with the content field may be the invoice title, invoice amount, etc.

[0033] In some embodiments of the present disclosure, a table processing method is proposed, which can identify the content of a file in a cell of a target field, and then write the content therein into the cell of a corresponding content field according to the content type. In this way, there is no need for a user to manually check the content of the file and write it into the cell of the content field, which reduces the user's operation and greatly improves the file processing efficiency. In particular, when it is necessary to extract content from files in multiple different records according to the content type, the processing efficiency can be greatly improved.

[0034] In some embodiments of the present disclosure, one or more content fields include at least one of the following: a content field associated with multiple content types, or a content field associated with one content type. In some embodiments, multiple content fields can be created in a table, one of which can be associated with multiple or even all content types, and other content fields can be associated with only one content type. In this way, in a cell of a content field, content corresponding to multiple content types in a file can be written, while in other content fields, content corresponding to only one content type can be written. For details, please refer to Figure 8 , the document in the cell of the target field is an invoice, Figure 8 In the figure, "Invoice" and the fields from "Invoice Heading" to "Payee" on its right are all content fields, among which the "Invoice" field is associated with fields of all content types in the invoice. At this time, after the content in the file is recognized, the content of the file can be written into the cells of the invoice field, and can be written in Json format or XML format to facilitate subsequent processing. Other fields only write the content corresponding to one content type. For example, the "Invoice Heading" field only writes the content of the invoice header in the file. In some embodiments, the content of the cell associated with a field of one content type can be a cell from a field associated with multiple or all content types. In this way, the synchronization of the contents of the two cells can be guaranteed.

[0035] In some embodiments of the present disclosure, in response to a first operation event, one or more content fields are created in a table in response to the first operation event, including: in response to the first operation event, one or more content fields are created in the table, and one of the content fields is determined as a target field.

[0036] In some embodiments, the target field may be one of the content fields, and in this case, the target field cell has two field attributes. The target field cell stores both the file and the content corresponding to its associated content type. Figure 4 As shown, Figure 4 The table in the example is a table, and the file is an invoice. Click the box with a plus sign to the right of "Date" to trigger a new field, and then the following is displayed: Figure 4The field interface shown in the figure has a control for selecting a field shortcut in the field interface. When the control is triggered, the lower-level interface can be displayed. In the lower-level interface, a field can be selected. The field in the lower-level interface is a special field that encapsulates the processing logic and can be used to process the content in the cells of other fields according to the encapsulated processing logic and write it into the cells under the field. That is, the content field in the table of the present disclosure can be Figure 4 In the OCR (Optical Character Recognition) invoice recognition, this field is used to recognize the content in the invoice through OCR technology and write it into the cell of the content field according to the content type. After selecting this field, Figure 7 As shown in the figure, the field interface changes, the title is Invoice (this field is the target field), and other content fields that can be selected (invoice header, etc.) are displayed. Then click OK to display the following Figure 8 The table with the content field added is shown, where the invoice field is used as a content field and also as a target field, which can store invoices (files) and the corresponding target type of content. Figure 8 The cells under the Invoice field in the Add Invoice field can be selected, such as Fig.12 As shown, after adding an invoice, the invoice icon will be displayed in the cell, and then Fig.13 , the content in the invoice will be recognized and filled into the cells of other content fields in the same record. By continuing to trigger the cells under the invoice field, such as Fig.14 As shown, the invoice preview of the invoice already in the cell can be displayed, and you can continue to add invoices. If two or more files are added to a cell, the contents of these two or more files can be displayed separately in the cells of other content fields.

[0037] In some embodiments of the present disclosure, in response to the first operation event, one or more content fields are created in the table, including: in response to the first operation event, one or more content fields are created in the table, and a field different from the content field is determined as a target field. In some embodiments of the present disclosure, the target field may be another field different from the content field, and the cell of the content field may be used only to store the content in the file, but not to store the file.

[0038] In some embodiments of the present disclosure, in response to a first operation event, one or more content fields are created in a table, and a field different from the content field is determined as a target field, including: in response to the first operation event, one or more content fields are created in a table, and a field existing in the table is selected as the target field, or, in response to the first operation event, one or more content fields are created in a table, and the target field is created.

[0039] In some embodiments, when the cell of the content field cannot store the file, the file needs to be stored through the cell of other fields. At this time, in some embodiments, an existing field can be selected. Figure 2 As shown, the table displays the following by triggering the control of the newly created field: Figure 2 The field interface and sub-interface shown in the figure, select "OCR Invoice Recognition" to make the field interface as follows Figure 3 As shown in the figure, there is a configuration area, in which you can select an existing field as the OCR recognition source. The OCR recognition source is also the target field. Here, select the "Invoice Source" field as the OCR recognition source, and then click OK. Figure 6 As shown in FIG. 1 , a new content field is added to the table. In some other embodiments, a new field may be created as a target field, such as Figure 4 As shown, there is no "Invoice Source" field at this time, that is, there is no cell storage file with existing fields. After selecting "OCR Invoice Recognition", Figure 5 As shown, you can select Create a new field as the target field in the configuration area. After clicking OK, Figure 6 As shown, a target field and a content field will be created in the table. Therefore, in this embodiment, when the cell of the content field cannot store a file, the file can be stored through the cell of other existing or newly created fields. Figure 6 You can add an invoice to the cell of the target field "Invoice Source" as shown, and then Fig. 9 As shown, the invoice contents will be recognized in the cells of the "Invoice", "Invoice Header" and other content fields.

[0040] In some embodiments of the present disclosure, in response to the first operation event, one or more content fields are created in the table, including: in response to the operation of creating the content field, displaying a field interface, wherein a recommended content field is displayed in the field interface, and the recommended content field is associated with the content recorded in the file; and creating one or more of the content fields according to the selection result of the recommended content field. .

[0041] In some embodiments, Figure 3 , Figure 4 and Figure 7 As shown, when creating a content field, a recommended content field is displayed in the field interface. The recommended field can be determined based on the content recorded in the file, such as Figure 3 , Figure 4 and Figure 7As shown, if the file is an invoice, the recommended content fields are "Invoice Header", "Invoice Number", "Invoice Amount", "Total Amount", "Total Tax Amount" and "Payee". Users can select one or more of them as needed, and then click OK to create the selected recommended content fields.

[0042] In some embodiments of the present disclosure, one or more of the content fields are created based on the selection result of the recommended content field, including: in response to not selecting a recommended content field, creating a content field associated with multiple content types in the table; or, in response to selecting a recommended content field, creating a content field associated with multiple content types in the table and creating the selected recommended content field in the table.

[0043] In some embodiments, regardless of whether the recommended content field is selected, a content field associated with multiple content types will be created by default. The multiple content types associated with the field can be pre-set, which is related to the type of the file. If the recommended content field is selected, the recommended content field will be created as part of the newly created content field.

[0044] In some embodiments of the present disclosure, obtaining the content of the file in the cell of the target field and writing the content of the file into the cell of the content field includes: in response to a new file being added to the cell of the target field, the address of a new file being added to the cell of the target field, or a change to an original file in the cell of the target field, automatically executing the step of obtaining the content of the file in the cell of the target field and writing the content of the file into the cell of the content field; or, in response to a second operation event of updating the content field, executing the step of obtaining the content of the file in the cell of the target field and writing the content of the file into the cell of the content field.

[0045] In some embodiments, the content in the cell of the content field can be automatically updated or manually updated. In the case of automatic update, if Figure 6 Add the file in the cell under the target field "Invoice Source" in the table shown in the figure. Fig. 9 As shown, the content corresponding to the associated content type is automatically written into the cell of the content field. If the content of the file changes, the content of the cell of the content field will also be automatically changed. In other embodiments, the user can also manually select the content field to be updated, and then update the cell content under the content field to be updated. Specifically, Fig.10As shown, you can right-click or long-press to call out the option list of the content field, which contains an "Update Data" control. After triggering the control, the content of the file will be identified and the content of the cell under the field will be updated accordingly. Or, Fig.11 As shown, the property panel of the content field can be called out, and an "update data" control is also provided in the property interface of the content field. After the control is triggered, the content in the cell under the content field is updated. In some embodiments, Fig.11 As shown, the content in the cell of the content field associated with one content type is derived from the content in the cell of the content field associated with multiple content types. Therefore, when the content in the cell of the content field associated with one content type is updated, the content in the cell of the content field associated with multiple content types can be automatically updated to ensure the consistency of the content of the two.

[0046] In some embodiments of the present disclosure, the process further includes: in response to a third operation event on the content field, changing the content field to a field of another field type. Fig.11 As shown, in the property interface of any content field, there is a control for selecting the field type, through which the field type of the content field can be changed. By triggering the control, such as Fig.15 As shown, optional fields of different field types will be displayed. Select a field from them and click OK. Then the content field will be changed to a field of the selected field type.

[0047] In order to better illustrate the method proposed in the present disclosure, a specific usage scenario is proposed below. In this usage scenario, the file is an invoice. Create a table to manage invoices. The table may already have an "invoice source" field as the target field. The cells under the target field are used to store the invoice itself or the address of the invoice. The user selects the shortcut of creating a new "OCR invoice recognition" field, such as Figure 3 In the field interface, you can select an existing field as the target field (of course, you can also create a new field as the target field). In the field interface, recommended content fields are displayed, and users can select one or more recommended content fields. The recommended content field can correspond to a content type, and then Figure 8 , will create the pre-set fields that associate multiple content types and the selected recommended content fields as content fields. Fig. 9, if there is a file or the address of a file in the cell of the target field, the file will be automatically identified and its content will be written into the cell of the content field in the same record, wherein the content field associated with multiple content types uses the Json format to store the content of each content type, and the cell of the content field stores the content corresponding to its associated content type. When updating a file, the content in the cell of the content field can be automatically updated, or the user can choose to update it manually. For the content field, the user can choose to change its field type to a field of another field type, such as changing it to a single-choice field. In this embodiment, the content of the file in the cell under the target field can be identified and written into the cell of the content field. There can be multiple cells under the target field, and different files are located in different records (rows). Then, the content of the files in each record will be written into different records respectively, so that batch file identification can be completed quickly and processing efficiency can be improved. The user only needs to transfer the files to be processed to the cells of the target field.

[0048] The present disclosure also provides a table processing device, including:

[0049] A creating unit, configured to create one or more content fields in the table in response to the first operation event, wherein the content fields are pre-associated with content types, and the content fields are configured with an association relationship with target fields in the table;

[0050] A control unit, configured to obtain the content of the file in the cell of the target field, and write the content of the file into the cell of the content field;

[0051] Among them, the content corresponding to the content type associated with the content field is written in the cell of the content field; the file is the attachment in the cell of the target field, or the file is the file pointed to by the address recorded in the cell of the target field.

[0052] In some embodiments, the one or more content fields include at least one of the following: a content field associated with multiple content types, or a content field associated with one content type.

[0053] In some embodiments, in response to the first operation event, creating one or more content fields in the table includes: in response to the first operation event, creating one or more content fields in the table, and determining one of the content fields as a target field; or,

[0054] In response to the first operation event, one or more content fields are created in the table, and a field different from the content field is determined as a target field.

[0055] In some embodiments, in response to a first operation event, one or more content fields are created in a table, and a field different from the content field is determined as a target field, including: in response to the first operation event, one or more content fields are created in a table, and a field already in the table is selected as the target field, or, in response to the first operation event, one or more content fields are created in a table, and the target field is created.

[0056] In some embodiments, in response to a first operation event, one or more content fields are created in a table, including: in response to the operation of creating a content field, a field interface is displayed, wherein a recommended content field is displayed in the field interface, and the recommended content field is associated with the content recorded in the file; based on the selection result of the recommended content field, one or more of the content fields are created.

[0057] In some embodiments, one or more of the content fields are created based on the selection result of the recommended content field, including: in response to not selecting a recommended content field, creating a content field associated with multiple content types in the table; or, in response to selecting a recommended content field, creating a content field associated with multiple content types in the table and creating the selected recommended content field in the table.

[0058] In some embodiments, obtaining the contents of the file in the cells of the target field and writing the contents of the file into the cells of the content field includes: in response to a new file being added to the cells of the target field, the address of a new file being added to the cells of the target field, or a change to an existing file in the cells of the target field, automatically executing the steps of obtaining the contents of the file in the cells of the target field and writing the contents of the file into the cells of the content field; or, in response to a second operation event of updating the content field, executing the steps of obtaining the contents of the file in the cells of the target field and writing the contents of the file into the cells of the content field.

[0059] In some embodiments, the control unit is further configured to: in response to a third operation event on the content field, change the content field to a field of another field type.

[0060] 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.

[0061] 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 a terminal and a storage medium, which are described below.

[0062] Reference below Fig.16 , 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.

[0063] like Fig.16 As shown, 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.

[0064] 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.

[0065] 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.

[0066] 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.

[0067] 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.

[0068] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0069] 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.

[0070] 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).

[0071] 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.

[0072] 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.

[0073] 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.

[0074] 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.

[0075] According to one or more embodiments of the present disclosure, a table processing method is provided, including:

[0076] In response to the first operation event, one or more content fields are created in the table, wherein the content fields are pre-associated with content types, and the content fields are configured with an association relationship with target fields in the table;

[0077] Acquire the content of the file in the cell of the target field, and write the content of the file into the cell of the content field;

[0078] Among them, the content corresponding to the content type associated with the content field is written in the cell of the content field; the file is the attachment in the cell of the target field, or the file is the file pointed to by the address recorded in the cell of the target field.

[0079] According to one or more embodiments of the present disclosure, a table processing method is provided, wherein one or more of the content fields includes at least one of the following: a content field associated with multiple content types, or a content field associated with one content type.

[0080] According to one or more embodiments of the present disclosure, a table processing method is provided, which creates one or more content fields in a table in response to a first operation event, including:

[0081] In response to the first operation event, one or more content fields are created in the table, and one of the content fields is determined as a target field; or,

[0082] In response to the first operation event, one or more content fields are created in the table, and a field different from the content field is determined as a target field.

[0083] According to one or more embodiments of the present disclosure, a table processing method is provided, which, in response to a first operation event, creates one or more content fields in a table, and determines a field different from the content field as a target field, including:

[0084] In response to the first operation event, one or more content fields are created in the table, and an existing field in the table is selected as the target field, or,

[0085] In response to the first operation event, one or more content fields are created in the table, and the target field is created.

[0086] According to one or more embodiments of the present disclosure, a table processing method is provided, which creates one or more content fields in a table in response to a first operation event, including:

[0087] In response to the operation of creating a content field, a field interface is displayed, wherein a recommended content field is displayed in the field interface, and the recommended content field is associated with the content recorded in the file;

[0088] One or more content fields are created according to the selection result of the recommended content fields.

[0089] According to one or more embodiments of the present disclosure, a table processing method is provided, which creates one or more content fields according to the selection result of the recommended content field, including:

[0090] In response to not selecting the recommended content field, creating a content field in the table that is associated with a plurality of content types; or,

[0091] In response to selecting a recommended content field, a content field associated with a plurality of content types is created in the table, and the selected recommended content field is created in the table.

[0092] According to one or more embodiments of the present disclosure, a table processing method is provided, which obtains the content of the file in the cell of the target field and writes the content of the file into the cell of the content field, including:

[0093] In response to a new file being added to a cell of the target field, an address of a new file being added to a cell of the target field, or a change being made to an existing file in a cell of the target field, automatically executing the steps of obtaining the content of the file in the cell of the target field and writing the content of the file into a cell of the content field;

[0094] Alternatively, in response to the second operation event of updating the content field, the steps of acquiring the content in the file in the cell of the target field and writing the content of the file into the cell of the content field are performed.

[0095] According to one or more embodiments of the present disclosure, a table processing method is provided, further comprising:

[0096] In response to a third operation event on the content field, the content field is changed to a field of another field type.

[0097] According to one or more embodiments of the present disclosure, there is provided a table processing device, comprising:

[0098] A creating unit, configured to create one or more content fields in the table in response to the first operation event, wherein the content fields are pre-associated with content types, and the content fields are configured with an association relationship with target fields in the table;

[0099] A control unit, configured to obtain the content of the file in the cell of the target field, and write the content of the file into the cell of the content field;

[0100] Among them, the content corresponding to the content type associated with the content field is written in the cell of the content field; the file is the attachment in the cell of the target field, or the file is the file pointed to by the address recorded in the cell of the target field.

[0101] According to one or more embodiments of the present disclosure, there is provided a terminal, including: at least one memory and at least one processor;

[0102] 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.

[0103] 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 computer, the computer is prompted to execute any one of the above methods.

[0104] 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.

[0105] 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.

[0106] 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 the first operation event, one or more content fields are created in the table, wherein the content fields are pre-associated with content types, and the content fields are configured with an association relationship with target fields in the table; Acquire the content of the file in the cell of the target field, and write the content of the file into the cell of the content field; Wherein, writing content corresponding to the content type associated with the content field into the cell of the content field; The file is an attachment in a cell of the target field, or the file is a file pointed to by an address recorded in a cell of the target field.

2. The method according to claim 1, characterized in that The one or more content fields include at least one of the following: a content field associated with multiple content types, or a content field associated with one content type.

3. The method according to claim 1, characterized in that In response to the first operation event, one or more content fields are created in the table, including: In response to the first operation event, one or more content fields are created in the table, and one of the content fields is determined as a target field; or, In response to the first operation event, one or more content fields are created in the table, and a field different from the content field is determined as a target field.

4. The method according to claim 3, characterized in that In response to the first operation event, one or more content fields are created in the table, and a field different from the content field is determined as a target field, including: In response to the first operation event, one or more content fields are created in the table, and an existing field in the table is selected as the target field, or, In response to the first operation event, one or more content fields are created in the table, and the target field is created.

5. The method according to claim 1, characterized in that In response to the first operation event, one or more content fields are created in the table, including: In response to the operation of creating a content field, a field interface is displayed, wherein a recommended content field is displayed in the field interface, and the recommended content field is associated with the content recorded in the file; One or more content fields are created according to the selection result of the recommended content fields.

6. The method according to claim 5, characterized in that According to the selection result of the recommended content field, one or more content fields are created, including: In response to not selecting the recommended content field, creating a content field in the table that is associated with a plurality of content types; or, In response to selecting a recommended content field, a content field associated with a plurality of content types is created in the table, and the selected recommended content field is created in the table.

7. The method according to claim 1, characterized in that Acquiring the content of the file in the cell of the target field, and writing the content of the file into the cell of the content field, comprises: In response to a new file being added to a cell of the target field, an address of a new file being added to a cell of the target field, or a change being made to an existing file in a cell of the target field, automatically executing the steps of obtaining the content of the file in the cell of the target field and writing the content of the file into a cell of the content field; or, In response to the second operation event of updating the content field, the steps of acquiring the content in the file in the cell of the target field and writing the content of the file into the cell of the content field are performed.

8. The method according to claim 1, characterized in that Also includes: In response to a third operation event on the content field, the content field is changed to a field of another field type.

9. A table processing device, characterized in that: include: A creating unit, configured to create one or more content fields in the table in response to the first operation event, wherein the content fields are pre-associated with content types, and the content fields are configured with an association relationship with target fields in the table; A control unit, configured to obtain the content of the file in the cell of the target field, and write the content of the file into the cell of the content field; Wherein, writing content corresponding to the content type associated with the content field into the cell of the content field; The file is an attachment in a cell of the target field, or the file is a file pointed to by an address recorded in a cell of the target field.

10. A terminal, comprising: 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 8.

11. A computer-readable storage medium, the computer-readable storage medium being used to store program code, wherein when the program code is executed by a computer, the computer is prompted to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Service field configuration method

    CN106779576A

  • Field content identification method, system and device and computer readable storage medium

    CN112699871A

  • Character recognition method and device, machine readable medium and equipment

    CN114155536A

  • Spreadsheet file import method and device, equipment, medium and program product

    CN116303719A

  • Information processing method and device, electronic equipment and storage medium

    CN116955860A

Cited By

  • Information processing method and device and electronic equipment

    CN119357483A

  • Information processing methods, devices and electronic equipment

    CN119357483B

  • Table processing method and apparatus, and terminal and storage medium

    WO2025260912A1