Document processing method and device, equipment and storage medium

By displaying structured fields in the document and automatically filling in its contents, the problem of users repeatedly filling in the same information is solved, improving document processing efficiency and accuracy.

CN119272730APending Publication Date: 2025-01-07ZHUHAI KINGSOFT OFFICE SOFTWARE +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310821462.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-05
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

When making documents, users need to frequently fill in the same information, such as name, ID number, contract number, etc., which leads to low efficiency in document processing and prone to errors.

Method used

By displaying structured fields in the document, obtaining their corresponding structured content, and storing them as candidate fill content for the area to be filled, the user can trigger automatic fill to reduce duplicate input.

Benefits of technology

Improve the efficiency of document filling, reduce errors caused by repeated filling, and improve the accuracy of content filling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119272730A_ABST
    Figure CN119272730A_ABST
Patent Text Reader

Abstract

The invention provides a document processing method and device, equipment and a storage medium, and the document processing method comprises the steps: displaying a first field in a document, the first field being any structured field in the document; the content editing area of the document comprises a first to-be-filled area corresponding to the first field; obtaining structured content corresponding to the first field; the structured content corresponding to the first field is stored as candidate filling content of the first to-be-filled area, and the candidate filling content of the first to-be-filled area is used for being displayed when the first to-be-filled area is triggered and automatically filled into the first to-be-filled area after being selected. According to the embodiment of the invention, the filling efficiency of the document content can be improved, and the filling accuracy of the document content can be improved.
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 document processing method, apparatus, device and storage medium. Background Art

[0002] In the daily work and study process, users often need to create corresponding documents.

[0003] When making documents such as contracts, prospectuses, and announcements, users often need to repeatedly fill in information such as name, ID number, contract number, etc. This information will be used in multiple documents. Repeated filling not only leads to low document processing efficiency, but also is prone to errors. Summary of the invention

[0004] Embodiments of the present disclosure provide a document processing method, apparatus, device, and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a document processing method is provided, the method comprising:

[0006] Displaying a first field in a document; wherein the first field is any structured field in the document; and the content editing area of ​​the document includes a first area to be filled corresponding to the first field;

[0007] Obtaining structured content corresponding to the first field;

[0008] The structured content corresponding to the first field is stored as candidate filling content of the first area to be filled; wherein the candidate filling content of the first area to be filled is used to be displayed when the first area to be filled is triggered, and is automatically filled into the first area to be filled after being selected.

[0009] In one embodiment, the method further comprises at least one of the following:

[0010] When the first function of the document is in an on state, in response to a first operation, a first setting interface provided by the first function is displayed, and the structured field is acquired through the first setting interface; wherein the first setting interface is used to set the structured field;

[0011] Structuring the entity fields obtained by performing entity extraction on the document to obtain the structured fields;

[0012] According to the document category to which the document belongs, determining a field in the document that matches the document category as the structured field;

[0013] The field matched in the preset structured field library of the document is determined as the structured field.

[0014] In one embodiment, when the first function of the document is in an on state, in response to a first operation, a first setting interface provided by the first function is displayed, and the structured field is acquired through the first setting interface, including:

[0015] When the first function of the document is in an on state, in response to an operation of selecting a keyword in the document, using the selected keyword as the first field;

[0016] Displaying a first setting interface corresponding to the first field;

[0017] In response to receiving the field parameter of the first field in the first setting interface, the first field is set as the structured field.

[0018] In one embodiment, obtaining structured content corresponding to the first field includes at least one of the following:

[0019] receiving structured content input for the first field on a second setting interface of the document, wherein the second setting interface is used to set the structured content;

[0020] The first field is matched in a preset structured database to obtain structured content corresponding to the first field; wherein the structured database stores structured content corresponding to at least one structured field.

[0021] In one embodiment, after the step of obtaining the structured content corresponding to the first field, the method further includes:

[0022] In response to an editing operation on the structured content corresponding to the first field on the second setting interface, the structured content corresponding to the first field is updated.

[0023] In one embodiment, the document further includes a second field, where the second field is a structured field different from the first field, and the method further includes:

[0024] Acquire an association rule for the first field; wherein, when the target structured content corresponding to the first field is filled into the first area to be filled, the association rule is used to instruct to fill the structured content corresponding to the second field into the second area to be filled corresponding to the second field;

[0025] The association rule of the first field is stored.

[0026] In one embodiment, after the step of storing the structured content corresponding to the first field as candidate filling content for the first to-be-filled area, the method further includes:

[0027] In response to a sharing operation of the document by a first user of the document, the document is shared with a second user.

[0028] According to a second aspect of an embodiment of the present disclosure, a document processing method is provided, the method comprising:

[0029] Acquire a document including a first field; wherein the first field is any structured field preset in the document; and the content editing area of ​​the document includes a first area to be filled corresponding to the first field;

[0030] In response to a trigger operation on the first area to be filled, displaying candidate filling contents of the first area to be filled according to the structured data corresponding to the first field;

[0031] In response to a selection operation on the candidate filling content, the target filling content selected by the selection operation is filled into the first to-be-filled area.

[0032] In one embodiment, the document further includes a second field, where the second field is a structured field different from the first field, and the method further includes:

[0033] When the target filling content is filled into the first area to be filled, according to the association rule of the first field, the structured content corresponding to the second field is filled into the second area to be filled corresponding to the second field in the document.

[0034] In one embodiment, before displaying candidate filling contents of the first to-be-filled area according to the structured data corresponding to the first field in response to the trigger operation on the first to-be-filled area, the method further includes:

[0035] Displaying a floating window containing each structured field of the document;

[0036] In response to a trigger operation on a first field in the floating window, a first to-be-filled area corresponding to the first field pointed to by the trigger operation is determined in a content editing area of ​​the document.

[0037] In one embodiment, obtaining a document containing structured fields includes:

[0038] Obtain the document shared by a first user of the document with a second user.

[0039] According to a third aspect of an embodiment of the present disclosure, there is provided a document processing device, the device comprising:

[0040] A display module is used for displaying a first field in a document; wherein the first field is any structured field in the document; and the content editing area of ​​the document includes a first area to be filled corresponding to the first field;

[0041] A first acquisition module, used to acquire structured content corresponding to the first field;

[0042] A storage module is used to store the structured content corresponding to the first field as candidate filling content of the first area to be filled; wherein the candidate filling content of the first area to be filled is used to be displayed when the first area to be filled is triggered, and is automatically filled into the first area to be filled after being selected.

[0043] According to a fourth aspect of an embodiment of the present disclosure, there is provided a document processing device, the device comprising:

[0044] An acquisition module, configured to acquire a document including a first field; wherein the first field is any structured field pre-set in the document; and the content editing area of ​​the document includes a first area to be filled corresponding to the first field;

[0045] A display module, configured to display candidate filling contents of the first area to be filled according to the structured data corresponding to the first field in response to a trigger operation on the first area to be filled;

[0046] The filling module is used to fill the first to-be-filled area with the target filling content selected by the selection operation in response to the selection operation on the candidate filling content.

[0047] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the document processing method provided in any one of the first aspects or the document processing method provided in any one of the second aspects is implemented.

[0048] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the document processing method provided in any one of the first aspects or the document processing method provided in any one of the second aspects is implemented.

[0049] The disclosed embodiments provide a document processing method, apparatus, device and storage medium, wherein a first field is displayed in a document, and the first field is any structured field in the document; the content editing area of ​​the document includes a first area to be filled corresponding to the first field, and the structured content corresponding to the first field is obtained, and the structured content corresponding to the first field is stored as candidate filling content of the first area to be filled, wherein the candidate filling content of the first area to be filled is used to be displayed when the first area to be filled is triggered, and is automatically filled into the first area to be filled after being selected. In this way, when a user fills in content in the first area to be filled in the document, there is no need to input content in the first area to be filled, and the candidate filling content of the first area to be filled can be selected by triggering the first area to be filled, so that the selected candidate filling content is automatically filled into the first area to be filled, thereby quickly completing the filling of content in the area to be filled, improving the filling efficiency of the document content, and reducing the occurrence of content filling errors caused by repeated filling, which helps to improve the accuracy of document content filling.

[0050] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0052] Figure 1 A schematic diagram of a process flow of a document processing method provided by an embodiment of the present disclosure is shown;

[0053] Figure 2 A schematic diagram of a process flow of a document processing method provided by an embodiment of the present disclosure is shown;

[0054] Figure 3 A schematic diagram of a process flow of a document processing method provided by an embodiment of the present disclosure is shown;

[0055] Figure 4 A schematic diagram of a process flow of a document processing method provided by an embodiment of the present disclosure is shown;

[0056] Figure 5 A schematic diagram of a process flow of a document processing method provided by an embodiment of the present disclosure is shown;

[0057] Figure 6 A schematic diagram of a process flow of a document processing method provided by an embodiment of the present disclosure is shown;

[0058] Figure 7a A schematic diagram of a structured configuration interface provided by an embodiment of the present disclosure is shown;

[0059] Figure 7b A schematic diagram of a structured field setting interface 1 provided in an embodiment of the present disclosure is shown;

[0060] Figure 7c A schematic diagram of a second structured field setting interface provided by an embodiment of the present disclosure is shown;

[0061] Figure 7d A schematic diagram of displaying structured fields in a document provided by an embodiment of the present disclosure is shown;

[0062] Figure 7e A schematic diagram of an association rule setting interface for a structured field provided by an embodiment of the present disclosure is shown;

[0063] Figure 7f A schematic diagram of a document sharing interface provided by an embodiment of the present disclosure is shown;

[0064] Figure 8a A schematic diagram of displaying candidate filling contents in a document provided by an embodiment of the present disclosure is shown;

[0065] Figure 8b A schematic diagram of batch filling of content in a document provided by an embodiment of the present disclosure is shown;

[0066] Figure 9a A schematic diagram of the structure of a document processing device provided by an embodiment of the present disclosure is shown;

[0067] Figure 9b A schematic diagram of the structure of a document processing device provided by an embodiment of the present disclosure is shown;

[0068] Fig.10 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0069] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present disclosure as detailed in the appended claims.

[0070] The terms used in the disclosed embodiments are only for the purpose of describing specific embodiments and are not intended to limit the disclosed embodiments. The singular forms of "a", "said" and "the" used in the disclosed embodiments and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0071] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the disclosed embodiments, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the disclosed embodiments, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0072] It can be understood that the description of various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0073] In the related art, when making documents such as contracts, prospectuses, and announcements, users often need to repeatedly fill in information, such as name, ID number, contract number, etc. For example, for two contract documents of the same Party A, the user may go through the following steps: (1) open Contract A; (2) fill in Party A's company name; (3) fill in Party A's company address; (4) fill in Party A's legal person identity; (5) open Contract B; (6) repeat the process of filling in Party A's company information. Repeatedly filling in information in multiple documents not only leads to low document processing efficiency, but also is prone to errors. In addition, since such key information is scattered in various documents, data management is difficult.

[0074] Figure 1 A schematic diagram of a document processing method provided by an embodiment of the present disclosure is shown. Figure 1 As shown, the method may include the following steps:

[0075] 101: Display a first field in a document; wherein the first field is any structured field in the document; and the content editing area of ​​the document includes a first to-be-filled area corresponding to the first field;

[0076] 102: Obtain structured content corresponding to the first field;

[0077] 103: storing the structured content corresponding to the first field as candidate filling content of the first area to be filled; wherein the candidate filling content of the first area to be filled is used to be displayed when the first area to be filled is triggered, and is automatically filled into the first area to be filled after being selected.

[0078] In this embodiment, the document processing method can be executed by an electronic device, which can be any device with computing capabilities, including but not limited to: a mobile phone, a tablet computer, a personal digital assistant, a laptop computer, a desktop computer or a document processor.

[0079] In some examples, the execution subject of the document processing method may be a first terminal, which may be, for example, a terminal of a first user, who may be, for example, a creator of the document.

[0080] In some examples, the document may be a document in text format, such as a contract, a prospectus, an announcement document, etc. This embodiment does not limit the specific content and format of the document.

[0081] In this embodiment, the structured field may be a field with a standardized field name in the document.

[0082] For example, the structured fields in a contract document may be, but are not limited to: Party A, Party A's address, Party A's contact person, Party B, Party B's address, Party B's contact person, supply category, supply price, supply quantity, etc.

[0083] It should be noted that there may be one or more structured fields in a document, and any structured field may be processed using the technical solution provided in the embodiments of the present disclosure.

[0084] In some examples, a first to-be-filled area corresponding to the first field is highlighted in the content editing area of ​​the document.

[0085] In some examples, in the above step 101, according to a trigger operation of a user on a structured field in a document, the structured field targeted by the trigger operation may be determined as the first field.

[0086] The structured content corresponding to the first field may be text content having a corresponding relationship with the first field.

[0087] The first field may correspond to one or more structured contents, and each structured content may be stored as candidate filling content of the first area to be filled.

[0088] For example, the first field is "Party A", and the structured content corresponding to the first field can be "Zhuhai XX Construction Co., Ltd." or "Shanghai XX Furniture Co., Ltd.".

[0089] In some examples, in the above step 102, the structured content corresponding to the first field can be obtained from a historical document (for example, a historical contract document) containing the first field; or, the structured content corresponding to the first field can be obtained based on the user's input operation on the structured content corresponding to the first field; or, the first field can be used to search in a preset structured database, and the structured content corresponding to the first field can be obtained based on the search results. Of course, other methods can also be used to obtain the structured content corresponding to the first field, and this embodiment does not specifically limit this.

[0090] In some examples, in the above step 103, when the structured content corresponding to the first field is stored as candidate filling content of the first to-be-filled area, the structured content corresponding to the first field may be stored in a local database, a remote database or a cloud server.

[0091] The disclosed embodiment provides a document processing method, which includes displaying a first field in a document, where the first field is any structured field in the document; a content editing area of ​​the document includes a first area to be filled corresponding to the first field, and obtaining structured content corresponding to the first field, and storing the structured content corresponding to the first field as candidate filling content of the first area to be filled, wherein the candidate filling content of the first area to be filled is used to be displayed when the first area to be filled is triggered, and is automatically filled into the first area to be filled after being selected. In this way, when a user fills in content in the first area to be filled in the document, there is no need to input content in the first area to be filled, and the candidate filling content of the first area to be filled can be selected by triggering the first area to be filled, so that the selected candidate filling content is automatically filled into the first area to be filled, thereby quickly completing the filling of content in the area to be filled, improving document processing efficiency, and reducing the occurrence of content filling errors caused by repeated filling, which helps to improve the accuracy of document content filling.

[0092] In one embodiment, Figure 2 As shown, based on Figure 1 , the method may further include:

[0093] 201: Get the structured fields in the document.

[0094] In some examples, in step 201, obtaining structured fields in a document includes at least one of the following methods:

[0095] Mode 1: When the first function of the document is in an on state, in response to a first operation, a first setting interface provided by the first function is displayed, and a structured field is obtained through the first setting interface; wherein the first setting interface is used to set the structured field;

[0096] Method 2: Structuring the entity fields obtained by entity extraction of the document to obtain structured fields;

[0097] Method 3: According to the document category to which the document belongs, the field in the document that matches the document category is determined as a structured field;

[0098] Method 4: The fields matched in the preset structured field library of the document are determined as structured fields.

[0099] In the present disclosure, the first function of the document may be used to implement structured processing of fields in the document.

[0100] The working state of the first function of the document may include an on state and a off state. For example, when receiving an on instruction triggered by a user for the first function of the document, the first function of the document may be controlled to enter an on state; when receiving a off instruction triggered by a user for the first function of the document, the first function of the document may be controlled to enter a off state.

[0101] In some examples, the first function of the document can be called a "word insertion function."

[0102] In some examples, the first operation can be a trigger operation for a preset shortcut key, or it can be a click operation on a preset button in a shortcut menu bar of a document. Of course, the first operation can also be other operations that can trigger the electronic device to display the first setting interface, and this embodiment does not specifically limit this.

[0103] In this embodiment, by displaying the first setting interface provided by the first function and acquiring the structured field through the first setting interface, the user's personalized setting needs for the structured field can be met, thereby improving the user experience.

[0104] In some examples, in the above steps, the entity fields obtained by entity extraction of the document are structured to obtain structured fields, which may include:

[0105] Entity fields are identified from documents using an entity recognition model or a rule-based template, and the identified entity fields are processed into structured fields.

[0106] It can be understood that before identifying entity fields from a document, pre-processing of the document is also included, such as word segmentation processing and / or stop word processing.

[0107] The above-mentioned entity fields may include, for example, fields including Party A information, Party B information, company address, and the like.

[0108] The structural processing of the entity fields mentioned above refers to converting the entity fields into fields with structural characteristics so as to facilitate further processing.

[0109] In this embodiment, by performing structural processing on the entity fields obtained by performing entity extraction on the document to obtain structured fields, automatic processing of the structured fields of the document can be achieved, thereby improving the document processing efficiency.

[0110] In some examples, in the above steps, according to the document category to which the document belongs, determining the field in the document that matches the document category as a structured field may include:

[0111] According to the document category to which the document belongs, the fields in the document are matched with the preset structured fields corresponding to the document category to obtain the fields in the document that match the document category, and the fields in the document that match the document category are determined as structured fields.

[0112] In some examples, the document category to which the document belongs may be determined by performing text semantic recognition on the document.

[0113] In some examples, text category features may be extracted from multiple texts contained in a document respectively, a category feature vector may be obtained by fusing the text category features of the multiple texts, and the category feature vector may be processed by a classification model to determine the document category to which the document belongs.

[0114] In some examples, document categories may be divided according to document usage, for example, a text category may include contracts, prospectuses, announcements, and the like.

[0115] In this embodiment, by determining the fields in the document that match the document category as structured fields according to the document category to which the document belongs, automatic processing of the structured fields of the document can be achieved, thereby improving document processing efficiency.

[0116] In some examples, in the above steps, determining the fields matched in the document in the preset structured field library as structured fields may include:

[0117] Each field in the document is matched in the preset structured field library, and the matched field is determined as the structured field.

[0118] In some examples, the preset structured field library includes a plurality of preset structured fields, and the plurality of preset structured fields may be structured fields generated by structuring a sample document using preset structured rules.

[0119] Here, the sample document may include a plurality of documents of different categories.

[0120] In this embodiment, by determining the fields matched in the document in the preset structured field library as structured fields, automatic processing of the structured fields of the document can be achieved, thereby improving the document processing efficiency.

[0121] It is understandable that the structured fields in the document may be obtained by a combination of one or more of the above-mentioned methods 1 to 4, and this embodiment does not specifically limit this.

[0122] In one embodiment, when the first function of the document is in an on state, in response to a first operation, displaying a first setting interface provided by the first function, and acquiring the structured field through the first setting interface may include:

[0123] When the first function of the document is in an on state, in response to an operation of selecting a keyword in the document, the selected keyword is used as the first field;

[0124] Displaying a first setting interface corresponding to the first field, wherein the first setting interface is used to receive an operation of setting the first field as a structured field;

[0125] In response to receiving a field parameter of a first field in a first setting interface, the first field is set as a structured field.

[0126] Here, the first setting interface corresponding to the first field is a setting interface only used to set the first field as a structured field.

[0127] In some examples, the field parameter of the first field is the relevant attribute content of the first field, for example, including but not limited to: the name and type of the first field, etc. For example, the name of the first field is "Party A", and the type of the first field is text type.

[0128] In this embodiment, when the first function of the document is in the turned-on state, if the user selects a field in the document, the first setting interface for setting the first field as a structured field will be displayed. This allows the user to quickly set the field parameters of the structured field, helping to improve the user experience.

[0129] In one embodiment, in the above step 102, obtaining the structured content corresponding to the first field may include at least one of the following steps:

[0130] 1021: receiving structured content input for a first field on a second setting interface of the document, wherein the second setting interface is used to set the structured content;

[0131] 1022: Match the first field in a preset structured database to obtain structured content corresponding to the first field; wherein the structured database stores structured content corresponding to at least one structured field.

[0132] In some examples, in step 1021, in response to the user's input operation on the first field in the second setting interface, the structured content corresponding to the first field is received. For example, when there are multiple structured contents, the input operation can be inputting the multiple structured contents one by one, or can also be batch importing the multiple structured contents.

[0133] In some examples, in step 1022, the first field may be matched in a preset structured database, and the matched content may be determined as the structured content corresponding to the first field.

[0134] In some examples, a preset structured database may store structured data from a preset business system.

[0135] In some examples, content matched to the first field in a preset structured database may be displayed to the user, so that the user can determine the structured content corresponding to the first field from the displayed content.

[0136] In one embodiment, after step 102, the method may further include:

[0137] In response to an editing operation on the structured content corresponding to the first field on the second setting interface, the structured content corresponding to the first field is updated.

[0138] In some examples, the editing operation may include: deleting, adding, or modifying the structured content corresponding to the first field, or adjusting the display order of the structured content corresponding to the first field on the second setting interface.

[0139] In some examples, the display order of the structured content corresponding to the first field on the second setting interface can be used to determine the display order of the candidate filling content of the first to-be-filled area when the first to-be-filled area is triggered.

[0140] It should be noted that if the structured content corresponding to the first field is updated, the candidate filling content of the first to-be-filled area will be updated accordingly.

[0141] In one embodiment, the document further includes a second field, which is a structured field different from the first field, such as Figure 3 As shown, based on Figure 1 , the method may further comprise the steps of:

[0142] 301: Acquire an association rule for a first field; wherein, when the target structured content corresponding to the first field is filled into the first region to be filled, the association rule is used to instruct to fill the structured content corresponding to the second field into the second region to be filled corresponding to the second field;

[0143] 302: Store the association rule of the first field.

[0144] In some examples, the association rule of the first field may include a filling condition of the second area to be filled and a filling content of the second area to be filled, and when the filling condition of the second area to be filled is met, the filling content of the second area to be filled is filled into the second area to be filled. The filling condition may include: the target structured content corresponding to the first field is filled into the first area to be filled corresponding to the first field.

[0145] In some examples, the target structured content corresponding to the first field may be the target filling content among the candidate filling contents of the first area to be filled; or, the target structured content corresponding to the first field may be the structured content corresponding to the first field filled in by the user into the first area to be filled.

[0146] In some examples, in the above step 301, a third setting interface may be provided to the user, and an association rule of the first field input by the user in the third setting interface may be received.

[0147] In some examples, the first field has an association relationship with the second field, and the structured content corresponding to the second field indicated by the association rule of the first field can be found from the associated document of the target structured content corresponding to the first field.

[0148] Exemplarily, the first field is "Contract Number", and the target structured content corresponding to the first field is "SS / X-XXX-001"; the structured content corresponding to the second field can be found in the contract document with "Contract Number" as "SS / X-XXX-001", for example, the second field may be "Party B", and the structured content corresponding to the second field in the contract document is "XX Stationery".

[0149] In some examples, in the above step 302, the association rule of the first field may be stored in a local database, a remote database, or a cloud server.

[0150] It is understandable that there may be multiple second fields. When the target structured content corresponding to the first field is filled into the first area to be filled, the association rule can be used to fill the structured content corresponding to each second field into the second area to be filled corresponding to each second field.

[0151] In some examples, step 301 may be performed after step 102 or simultaneously with step 102, and step 302 may be performed before step 103 or simultaneously with step 102. This embodiment does not limit the specific execution order.

[0152] In the disclosed embodiment, by obtaining the association rule of the first field and storing the association rule, when filling in a document, the user only needs to fill in the content of the to-be-filled area corresponding to the first field in the document, and then the association rule of the first field can be used to automatically fill in the content in the to-be-filled area corresponding to the second field in the document. That is, the user does not need to fill in the content of the to-be-filled areas corresponding to other structured fields in the document one by one, thereby realizing batch filling of document content, greatly reducing the workload of users in filling in document content, thereby further improving document processing efficiency.

[0153] In one embodiment, Figure 4 As shown, based on Figure 1 , the method may further include:

[0154] 401: In response to a trigger operation on a first area to be filled, display candidate filling contents of the first area to be filled according to structured data corresponding to a first field;

[0155] 402: In response to a selection operation on a candidate filling content, fill the first to-be-filled area with the target filling content selected by the selection operation.

[0156] In some examples, the trigger operation may be a user clicking on the first area to be filled, or a user selecting the first area to be filled, or a user editing the first area to be filled, etc. This embodiment does not specifically limit this.

[0157] In some examples, in step 401 above, when the user who inputs the trigger operation has editing authority over the document, in response to the trigger operation on the first area to be filled, candidate filling contents for the first area to be filled are displayed according to the structured data corresponding to the first field.

[0158] For example, whether the user who inputs the trigger operation has the editing authority may be determined based on whether the user who inputs the trigger operation is a designated user with the editing authority.

[0159] In this embodiment, the structured data corresponding to the first field is pre-stored as candidate filling content for the first area to be filled. In this way, for the trigger operation of the first area to be filled, the structured data corresponding to the first field queried from the database can be displayed as candidate filling content for the first area to be filled.

[0160] For example, candidate filling contents of the first area to be filled are displayed for the user to select by clicking or dragging to fill in the first area to be filled.

[0161] In some examples, candidate filling contents of the first to-be-filled area may be displayed in a floating window.

[0162] In the embodiment of the present disclosure, the user can select candidate filling content for the first area to be filled by triggering the first area to be filled, thereby enabling the user to quickly complete the content filling of the area to be filled, improving document processing efficiency, and reducing the occurrence of content filling errors caused by repeated filling, which helps to improve the accuracy of document content filling.

[0163] In some examples, before step 402 is performed, the method may further include:

[0164] Displaying a floating window containing each structured field of the document;

[0165] In response to a trigger operation on a first field in the floating window, a first to-be-filled area corresponding to the first field pointed to by the trigger operation is determined in a content editing area of ​​the document.

[0166] In some examples, the display order of any structured field of the document in the floating window is related to the order in which the structured field appears in the document. For example, if the appearance order of a structured field in the document is higher, the display order of the structured field in the floating window is higher.

[0167] In some examples, the trigger operation for the first field may be a click operation, a double-click operation, or a long press operation.

[0168] In this embodiment, a floating window containing various structured fields of the document is displayed. In this way, the user only needs to select a structured field in the floating window to accurately locate the area to be filled corresponding to the corresponding structured field in the content editing area of ​​the document, thereby facilitating the user to quickly fill in the content in the area to be filled, thereby improving document processing efficiency.

[0169] In one embodiment, Figure 5 As shown, based on Figure 3 , the method may further include:

[0170] 501: When the target filling content in the first area to be filled is filled into the first area to be filled, according to the association rule of the first field, the structured content corresponding to the second field is filled in the second area to be filled corresponding to the second field in the document.

[0171] In some examples, the target filling content of the first to-be-filled area may be content selected by a user from candidate filling contents of the first to-be-filled area.

[0172] In some examples, a field different from the first field indicated by the association rule of the first field may be determined as the second field. The second field may be one or more, and when the target structured content corresponding to the first field is filled into the first area to be filled, if the second field may be multiple, the association rule may be used to fill the structured content corresponding to each second field into the second area to be filled corresponding to each second field.

[0173] In some examples, the method for obtaining the structured content corresponding to the second field may refer to the method for obtaining the structured content corresponding to the first field in the aforementioned embodiment, which will not be described in detail here.

[0174] In the disclosed embodiment, when the target filling content of the first area to be filled is filled into the first area to be filled, according to the association rule of the first field, the structured content corresponding to the second field is filled in the second area to be filled corresponding to the second field in the document, so that the content filling of the area to be filled can be automatically completed, and batch filling of document content is realized, thereby improving document processing efficiency, and can reduce the occurrence of content filling errors caused by repeated filling, which helps to improve the accuracy of document content filling.

[0175] In one embodiment, after step 103 is performed, the method may further include the steps of:

[0176] In response to a sharing operation of the first user on the document, the document is shared with the second user.

[0177] In some examples, the first user of the document may be the creator of the document, and the first user may perform a configuration operation of a structured field on the document when creating the document.

[0178] In some examples, a first user of a document may perform a configuration operation on a structured field of the document before sharing the document. In this example, the first user may not be the creator of the document.

[0179] In some examples, there may be one or more second users who receive the document shared by the first user.

[0180] In some examples, in response to a sharing operation of the first user of the document, the document can be shared with the second user via instant messaging tools or email, or document identification information such as the document link address or document number can be shared with the second user so that the second user's terminal can request the server to obtain the document based on the document identification information.

[0181] In some examples, the sharing operation on the document may include a setting operation on the access rights of the document, wherein the access rights of the document may include: allowing the second user to edit the document, or not allowing the second user to edit the document.

[0182] In some examples, the first terminal of the first user may share the document with the second user by establishing point-to-point communication with the second terminal of a second user, or by establishing multicast communication with the second terminals of multiple second users.

[0183] In this embodiment, the first user shares the document with the second user. When the first area to be filled in the document is triggered by the second user, the candidate filling contents of the first area to be filled in can be displayed for the second user to select the content to be filled in the first area to be filled in. In this way, while realizing collaborative document processing, the efficiency of the second user in filling in the document content can be effectively improved.

[0184] Figure 6 A schematic diagram of a document processing method provided by an embodiment of the present disclosure is shown. Figure 6 As shown, the method may include the following steps:

[0185] 601: Acquire a document including a first field; wherein the first field is any structured field preset in the document, and the content editing area of ​​the document includes a first to-be-filled area corresponding to the first field;

[0186] 602: In response to a trigger operation on a first area to be filled, display candidate filling contents of the first area to be filled according to structured data corresponding to the first field;

[0187] 603: In response to a selection operation on a candidate filling content, fill the first to-be-filled area with the target filling content selected by the selection operation.

[0188] In this embodiment, the document processing method can be executed by an electronic device, which can be any device with computing capabilities, including but not limited to: a mobile phone, a tablet computer, a personal digital assistant, a laptop computer, a desktop computer or a document processor.

[0189] In some examples, the document processing method is executed by a second terminal. The second terminal may be a terminal of a second user, and the second user may be a user who receives the document shared by the first user through the first terminal. The first user may be, for example, the creator of the document.

[0190] In some examples, the relevant contents of the first field, structured field, etc. can refer to the foregoing embodiments. Figure 1 The relevant description will not be repeated here.

[0191] In some examples, the trigger operation may be a user clicking on the first area to be filled, or a user selecting the first area to be filled, or a user editing the first area to be filled, etc., without specific limitation.

[0192] In some examples, the implementation process of the above step 602 can refer to the implementation process of step 401 in the aforementioned embodiment, which will not be repeated here.

[0193] In some examples, the implementation process of the above step 603 can refer to the implementation process of step 402 in the aforementioned embodiment, which will not be repeated here.

[0194] In some examples, before step 602 is performed, the method may further include:

[0195] Displaying a floating window containing each structured field of the document;

[0196] In response to a trigger operation on a first field in the floating window, a first to-be-filled area corresponding to the first field pointed to by the trigger operation is determined in a content editing area of ​​the document.

[0197] In some examples, the display order of any structured field of the document in the floating window is related to the order in which the structured field appears in the document. For example, if the appearance order of a structured field in the document is higher, the display order of the structured field in the floating window is higher.

[0198] In some examples, the triggering operation for the first field may be a click operation.

[0199] In this embodiment, by displaying a floating window of each structured field of the document, the user only needs to select structuring in the floating window to accurately locate the to-be-filled area corresponding to the corresponding structured field in the content editing area of ​​the document, thereby facilitating the user to quickly fill in the content in the to-be-filled area and improving document processing efficiency.

[0200] In one embodiment, the document further includes a second field, where the second field is a structured field different from the first field, and the method may further include:

[0201] When the target filling content of the first to-be-filled area is filled into the first to-be-filled area, the structured content corresponding to the second field is filled into the second to-be-filled area corresponding to the second field in the document according to the association rule of the first field.

[0202] In some examples, the implementation process of this step can refer to the implementation process of step 501 in the aforementioned embodiment, which will not be repeated here.

[0203] In one embodiment, before step 601 is performed, the method may further include:

[0204] When the first function of the document is in an on state, in response to a first operation, a first setting interface provided by the first function is displayed; and according to the field parameters of the first field received on the first setting interface, the first field is set as a structured field.

[0205] In one embodiment, when the first function of the document is in an on state, in response to a first operation, displaying a first setting interface provided by the first function may include:

[0206] When the first function of the document is in an on state, in response to a first operation of selecting the first field in the document, a first setting interface provided by the first function is displayed.

[0207] In this embodiment, the implementation process of setting the first field as a structured field can refer to the above embodiment. Figure 2 The relevant content description will not be repeated here.

[0208] In one embodiment, after the step of setting the first field as a structured field, the method may further include:

[0209] Obtain structured content corresponding to the first field, and store the structured content corresponding to the first field as candidate filling content for the first area to be filled; wherein the candidate filling content for the first area to be filled is provided to the user for selection to be filled into the first area to be filled when the first area to be filled is triggered.

[0210] In this embodiment, the implementation process of obtaining the structured content corresponding to the first field and storing it as the candidate filling content of the first to-be-filled area can refer to the above embodiment. Figure 1 The relevant content description will not be repeated here.

[0211] In one embodiment, the method may further include:

[0212] Acquire and store the association rule of the first field; wherein, when the target structured content corresponding to the first field is filled into the first area to be filled, the association rule is used to instruct to fill the structured content corresponding to the second field into the second area to be filled corresponding to the second field.

[0213] In this embodiment, the process of obtaining and storing the association rule of the first field can refer to the above embodiment. Figure 3 The relevant content description will not be repeated here.

[0214] In one embodiment, in the above step 601, obtaining a document containing a structured field may include:

[0215] Get a document that a first user of the document shares with a second user.

[0216] In some examples, the first user of the document may be the creator of the document, and the first user may perform a configuration operation of a structured field on the document when creating the document.

[0217] In some examples, a first user of a document may perform a configuration operation on a structured field of the document before sharing the document. In this example, the first user may not be the creator of the document.

[0218] In some examples, there may be one or more second users who receive the document shared by the first user.

[0219] In some examples, the first user may specify the access rights of the second user to the document, wherein the access rights of the second user to the document may include: allowing the second user to edit the document, or not allowing the second user to edit the document.

[0220] In some examples, the second user can receive the document shared by the first user through instant messaging tools, emails, etc., or can also receive the link address, document number and other document identification information of the document shared by the first user. The document identification information is used for the second user's terminal to request the server to obtain the document.

[0221] In some examples, the second terminal of the second user can receive the document shared by the first user by establishing point-to-point communication or multicast communication with the first terminal of the first user.

[0222] In this embodiment, the document shared by the first user is received by the second user. When the first area to be filled in the document is triggered by the second user, the candidate filling contents of the first area to be filled in can be displayed for the second user to select the content to be filled in the first area to be filled in. In this way, while realizing collaborative processing of the document, the efficiency of the second user in filling in the document content can be effectively improved.

[0223] It should be noted that those skilled in the art can understand that the method provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.

[0224] In order to further explain any embodiments of the present disclosure, some specific embodiments are provided below.

[0225] The disclosed embodiment provides a document processing method, which structures the key information in the document and saves it in a structured form to a database. When filling in the key information of the document later, the corresponding information can be directly extracted from the database, and the key information can be quickly filled in, thereby assisting enterprises or users to perform structured management of document information and complete the standardized entry, filling, storage and management of document information.

[0226] The document processing method provided by the embodiment of the present disclosure may include: structuring the content of the document, quickly inserting the structured preset content, and batch matching and filling the structured content.

[0227] Exemplarily, the document may be, for example but not limited to: a single document, multiple documents, a folder, an enterprise document library, an enterprise knowledge base, and other text-related carriers.

[0228] The document processing method provided by the embodiment of the present disclosure may include the following steps:

[0229] Step 1: Enable the word insertion function in the structured configuration interface of the document (eg, the first function in the aforementioned embodiment).

[0230] like Figure 7a As shown, Figure 7a A schematic diagram of a structured configuration interface provided by an embodiment of the present disclosure. A button for a word-marking insertion function is displayed in the structured configuration interface of a document, and the button for the word-marking insertion function can be triggered to turn the word-marking insertion function of the document from an off state to an on state, or vice versa.

[0231] Step 2: Receive the user's operation of marking a word to select the desired content area in the document.

[0232] When the word-marking and insertion function of the document is turned on, the user can receive an operation of marking and selecting a desired content area in the document.

[0233] Step 3: Receive the name and type of the structured field set by the user in the pop-up window.

[0234] Step 4: Receive the user's confirmation operation and save the structured field.

[0235] like Figure 7b As shown, Figure 7b A schematic diagram of a structured field setting interface 1 provided by an embodiment of the present disclosure is shown. When the word insertion function of a document is turned on, a user can select a first field to be set as a structured field in the document (ie, select the first field by word insertion).

[0236] In response to the selection operation on the first field in the document, a window (ie, a first setting interface provided by the word insertion function) pops up for the user to input field parameters required for the structured field, such as the name and type of the first field.

[0237] In response to a field parameter of the first field input by the user in the pop-up window, the first field is set as a structured field.

[0238] For example, if the user needs to set "Party A" in the document as a structured field, the user can select "Party A" in the content area of ​​the document where "Party A" is located, and a window will pop up. In the pop-up window, the user can set the field name to "Party A" and the field type to "Text". Among them, the field label and field permissions displayed in the pop-up window are optional. The user can directly use the default setting parameters, or set them according to actual needs, for example, set the field permissions to be editable by specific users or editable by everyone.

[0239] Step 5: After all the required content is structured, receive the user's operation of closing the "select word" function.

[0240] Step 6: Display the second setting interface to receive the user's operation of setting the preset input item of the field.

[0241] Continue to see Figure 7a After at least one field in the document is set as a structured field, each structured field and a management button corresponding to each structured field can be displayed in the structured configuration interface. The management button corresponding to each structured field includes a setting button and a delete button.

[0242] See also Figure 7c , Figure 7c FIG. 2 shows a schematic diagram of a second structured field setting interface provided by an embodiment of the present disclosure. Figure 7c When the button pointed to by the arrow A in the figure is triggered, the attribute parameter interface of the structured field can be displayed. The attribute parameter interface is used to display the parameter values ​​of the attribute parameters of the structured field. For example, the attribute parameters may include: field ID, field name, field type, content preset; in addition, the attribute parameters may also include: field label, associated field and field permission. At least one of them.

[0243] Upon receiving a trigger action preset for the content of any structured field (for example, clicking Figure 7c When the button pointed to by the arrow B in the figure is clicked, a second setting interface can be provided to the user for the user to set the preset input item of the structured field (that is, the structured content corresponding to the structured field).

[0244] Continue to see Figure 7c When presetting the content of the structured field "Party B", the user can set the parameter value of the content presetting of the structured field "Party B" to "Yes" in the second setting interface, and enter the presetting input items of the structured field "Party B". For example, the presetting input items can be: XX stationery, XX mahogany, XXX mahogany.

[0245] It should be noted that in the embodiments of the present disclosure, XX stationery does not refer to certain stationery suppliers in general, but refers to a specific stationery supplier; XX rosewood does not refer to certain rosewood suppliers in general, but refers to a specific rosewood supplier; XXX rosewood does not refer to certain rosewood suppliers in general, but refers to a specific rosewood supplier; and XX rosewood is a supplier different from XXX rosewood.

[0246] It is understandable that one or more corresponding structured contents may be set for any structured field in the second setting interface.

[0247] Step 7: Display the third setting interface to receive the user's operation of setting the batch fill items of the field.

[0248] See also Figure 7d , Figure 7d FIG. 1 is a schematic diagram showing a structured field in a document provided by an embodiment of the present disclosure. The structured fields pre-set in the document are “Party B (catering provider)”, “Party B (address)”, and “Party B (contact person)”. Figure 7d The contents of the dotted box in .

[0249] Continue to see Figure 7a After completing the setting of structured fields for the document, the user can click the "Batch Fill" button in the structured configuration interface to enter the third setting interface and set the association rules of the structured fields in the third setting interface. The association rules include the filling conditions and filling contents of the batch filling items.

[0250] See also Figure 7e , Figure 7e A schematic diagram of an association rule setting interface for a structured field provided by an embodiment of the present disclosure is shown. The filling condition in a certain association rule is: [Party B] = "Guangdong XX Co., Ltd.", and the filling content is: [Address] = "No. XX, Xiyang Road, Yuexiu District, Guangdong City"; [Contact Person] = "Mr. Chen". The association rule indicates that when the filling content of the to-be-filled area corresponding to the field "Party B" in the document is "Guangdong XX Co., Ltd.", the filling content "No. XX, Xiyang Road, Yuexiu District, Guangdong City" is filled into the to-be-filled area corresponding to the address of the field "Party B" in the document, and the filling content "Mr. Chen" is filled into the to-be-filled area corresponding to the contact person of the field "Party B" in the document.

[0251] The user can edit or delete the association rule of the structured field in the third setting interface.

[0252] For example, triggering the editing operation in the third setting interface can set the filling conditions and filling content of the structured field. The filling conditions may include fields and field values ​​that need to meet the conditions; the filling content may include fields and field values ​​that are filled in batches when the conditions are met.

[0253] Step 8: In response to the sharing operation, the document is shared with other users for filling.

[0254] After completing setting preset input items and / or batch filling items for structured fields in a document, the user can share the document as a shared user with other users for filling.

[0255] See also Figure 7f , Figure 7f A schematic diagram of a document sharing interface provided by an embodiment of the present disclosure is shown. When sharing a document, the sharing user can specify the shared user and the shared user's editing authority over the document, wherein the sharing user refers to the user who shares the document with other users, and the shared user refers to other users who receive the document shared by the sharing user.

[0256] Step 9: When other users click on the structured field area, preset fill-in items are displayed for other users to select content to fill in.

[0257] After other users who are shared users receive the document shared by the sharing user, the shared user can click on the to-be-filled area corresponding to the structured field in the document, and directly select content from the preset filling items (i.e., the candidate filling content in the aforementioned embodiment) for filling.

[0258] See also Figure 8a , Figure 8a A schematic diagram of displaying candidate filling contents in a document provided by an embodiment of the present disclosure is shown. When the shared user clicks on the to-be-filled area corresponding to "Party B (supplier)" in the document, preset filling items will be displayed for selection by the shared user. Preset filling items include, for example: XX stationery, XX mahogany, XXX mahogany. For example, when the shared user clicks on XX stationery, XX stationery can be directly filled into the to-be-filled area corresponding to "Party B (supplier)".

[0259] Step 10: When the content is filled in as specified, other structured fields are automatically filled with matching content.

[0260] When the content is filled with specified content, the to-be-filled areas corresponding to other structured fields in the document can be automatically filled with matching content according to the association rules of the structured fields.

[0261] See also Figure 8b , Figure 8b A schematic diagram of batch filling of content in a document provided by an embodiment of the present disclosure is shown. When the shared user fills in "XX stationery" in the area to be filled corresponding to "Party B (supplier)", the content "XX Building, Yinhua Road, Xiangzhou District" can be automatically filled in the area to be filled corresponding to "Party B (address)" according to the association rule of "Party B (supplier)", and the content "Mr. Zhao" can be automatically filled in the area to be filled corresponding to "Party B (contact person)", and the content "xxx cake pie" can be automatically filled in the area to be filled corresponding to "supply category", and the content "5 yuan / bag" can be automatically filled in the area to be filled corresponding to "supply price".

[0262] In summary, the document processing method provided by the embodiments of the present disclosure can significantly reduce the workload of users repeatedly filling in similar information and reduce the possibility of errors and omissions in the document collaboration process; in addition, it can also form data assets for valuable information in the document; and for ordinary users, when editing documents, the learning cost is low and personalized configuration can be achieved.

[0263] Figure 9a A schematic diagram of the structure of a document processing device provided by an embodiment of the present disclosure is shown. The document processing device is applied to a first terminal, such as Figure 9a As shown, the document processing device 100 may include:

[0264] The display module 110 is used to display a first field in the document; wherein the first field is any structured field pre-set in the document; and the content editing area of ​​the document includes a first area to be filled corresponding to the first field;

[0265] A first acquisition module 120, configured to acquire structured content corresponding to the first field;

[0266] The storage module 130 is used to store the structured content corresponding to the first field as candidate filling content of the first area to be filled; wherein the candidate filling content of the first area to be filled is used to be displayed when the first area to be filled is triggered, and is automatically filled into the first area to be filled after being selected.

[0267] In one embodiment, the apparatus further includes a second acquisition module, wherein the second acquisition module is configured to perform at least one of the following:

[0268] When the first function of the document is in an on state, in response to a first operation, a first setting interface provided by the first function is displayed, and the structured field is acquired through the first setting interface; wherein the first setting interface is used to set the structured field;

[0269] Structuring the entity fields obtained by performing entity extraction on the document to obtain the structured fields;

[0270] According to the document category to which the document belongs, determining a field in the document that matches the document category as the structured field;

[0271] The field matched in the preset structured field library of the document is determined as the structured field.

[0272] In one embodiment, the second acquisition module is used to:

[0273] When the first function of the document is in an on state, in response to an operation of selecting a keyword in the document, using the selected keyword as the first field;

[0274] Displaying a first setting interface corresponding to the first field;

[0275] In response to receiving the field parameter of the first field in the first setting interface, the first field is set as the structured field.

[0276] In one embodiment, the first acquisition module 120 is configured to perform at least one of the following:

[0277] Receiving structured content input for the first field on a second setting interface of the document; wherein the second setting interface is used to set the structured content;

[0278] The first field is matched in a preset structured database to obtain structured content corresponding to the first field; wherein the structured database stores structured content corresponding to at least one structured field.

[0279] In one embodiment, the apparatus further comprises:

[0280] An updating module is used to update the structured content corresponding to the first field in response to an editing operation on the structured content corresponding to the first field on the second setting interface.

[0281] In one embodiment, the document further includes a second field, the second field being a structured field different from the first field;

[0282] The first acquisition module 120 is further used for:

[0283] Acquire an association rule for the first field; wherein, when the target structured content corresponding to the first field is filled into the first area to be filled, the association rule is used to instruct to fill the structured content corresponding to the second field into the second area to be filled corresponding to the second field;

[0284] The storage module 130 is further configured to store the association rule of the first field.

[0285] In one embodiment, the apparatus further comprises:

[0286] The sharing module is used to share the document with a second user in response to a sharing operation of the document by a first user of the document.

[0287] Regarding the document processing device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the corresponding method embodiment, and will not be elaborated here.

[0288] Figure 9b A schematic diagram of the structure of a document processing device provided by an embodiment of the present disclosure is shown. Figure 9b As shown, the document processing device 200 may include:

[0289] The acquisition module 210 is used to acquire a document including a first field; wherein the first field is any structured field pre-set in the document, and the content editing area of ​​the document includes a first area to be filled corresponding to the first field;

[0290] A display module 220, configured to display candidate filling contents of the first area to be filled according to the structured data corresponding to the first field in response to a trigger operation on the first area to be filled;

[0291] The filling module 230 is configured to, in response to a selection operation on the candidate filling content, fill the first to-be-filled area with the target filling content selected by the selection operation.

[0292] In one embodiment, the document further includes a second field, where the second field is a structured field different from the first field, and the filling module 230 is further configured to:

[0293] When the target filling content of the first area to be filled is filled into the first area to be filled, the structured content corresponding to the second field is filled in the second area to be filled corresponding to the second field according to the association rule of the first field.

[0294] In one embodiment, the apparatus further comprises a determination module;

[0295] The display module 220 is further used to display a floating window containing each structured field of the document;

[0296] The determination module is used to determine, in response to a trigger operation on a first field in the floating window, a first to-be-filled area corresponding to the first field pointed to by the trigger operation in the content editing area of ​​the document.

[0297] In one embodiment, the acquisition module 210 is used to:

[0298] Obtain the document shared by a first user of the document with a second user.

[0299] Regarding the document processing device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the corresponding method embodiment, and will not be elaborated here.

[0300] An embodiment of the present disclosure further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the document processing method provided by any embodiment of the present disclosure when executing the program.

[0301] The device may be, but is not limited to: a terminal and / or a server. The terminal may be, but is not limited to, a mobile phone, a tablet computer, a computer, a wearable device, etc.; the server may be various types of servers; for example, the server may be, but is not limited to, a cloud server or a local server, etc.

[0302] The memory may include various types of storage media, which are non-transitory computer storage media that can continue to memorize information stored thereon after the communication device loses power.

[0303] The processor may be connected to the memory via a bus or the like, and is used to read an executable program stored in the memory, for example, to implement the document processing method provided by any embodiment of the present disclosure.

[0304] An embodiment of the present disclosure further provides a computer-readable storage medium, which stores an executable program. When the executable program is executed by a processor, the document processing method provided by any embodiment of the present disclosure is implemented.

[0305] Fig.10 A block diagram of an electronic device 800 is shown according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a document processor, a computer, a tablet device, a personal digital assistant, etc. Fig.10, the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0306] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0307] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0308] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0309] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0310] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0311] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0312] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0313] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0314] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0315] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0316] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the claims.

[0317] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A document processing method, characterized in that: The method comprises: Displaying a first field in a document; wherein the first field is any structured field in the document; and the content editing area of ​​the document includes a first area to be filled corresponding to the first field; Obtaining structured content corresponding to the first field; The structured content corresponding to the first field is stored as candidate filling content of the first area to be filled; wherein the candidate filling content of the first area to be filled is used to be displayed when the first area to be filled is triggered, and is automatically filled into the first area to be filled after being selected.

2. The method according to claim 1, characterized in that The method further comprises at least one of the following: When the first function of the document is in an on state, in response to a first operation, a first setting interface provided by the first function is displayed, and the structured field is obtained through the first setting interface; wherein the first setting interface is used to set the structured field; Structuring the entity fields obtained by performing entity extraction on the document to obtain the structured fields; According to the document category to which the document belongs, determining a field in the document that matches the document category as the structured field; The field matched in the preset structured field library of the document is determined as the structured field.

3. The method according to claim 2, characterized in that When the first function of the document is in an on state, in response to a first operation, a first setting interface provided by the first function is displayed, and the structured field is acquired through the first setting interface, including: When the first function of the document is in an on state, in response to an operation of selecting a keyword in the document, using the selected keyword as the first field; Displaying a first setting interface corresponding to the first field; In response to receiving the field parameter of the first field in the first setting interface, the first field is set as the structured field.

4. The method according to claim 1, characterized in that: The obtaining of structured content corresponding to the first field includes at least one of the following: receiving structured content input for the first field on a second setting interface of the document, wherein the second setting interface is used to set the structured content; The first field is matched in a preset structured database to obtain structured content corresponding to the first field; wherein the structured database stores structured content corresponding to at least one structured field.

5. The method according to claim 4, characterized in that After the step of obtaining the structured content corresponding to the first field, the method further includes: In response to an editing operation on the structured content corresponding to the first field on the second setting interface, the structured content corresponding to the first field is updated.

6. The method according to claim 1, characterized in that The document further includes a second field, where the second field is a structured field different from the first field, and the method further includes: Acquire an association rule for the first field; wherein, when the target structured content corresponding to the first field is filled into the first area to be filled, the association rule is used to instruct to fill the structured content corresponding to the second field into the second area to be filled corresponding to the second field; The association rule of the first field is stored.

7. A document processing method, characterized in that: The method comprises: Acquire a document including a first field; wherein the first field is any structured field in the document, and the content editing area of ​​the document includes a first to-be-filled area corresponding to the first field; In response to a trigger operation on the first area to be filled, displaying candidate filling contents of the first area to be filled according to the structured data corresponding to the first field; In response to a selection operation on the candidate filling content, the target filling content selected by the selection operation is filled into the first to-be-filled area.

8. The method according to claim 7, characterized in that The document further includes a second field, where the second field is a structured field different from the first field, and the method further includes: When the target filling content of the first area to be filled is filled into the first area to be filled, the structured content corresponding to the second field is filled in the second area to be filled corresponding to the second field according to the association rule of the first field.

9. The method according to claim 7, characterized in that: Before displaying candidate filling contents of the first to-be-filled area according to the structured data corresponding to the first field in response to the triggering operation on the first to-be-filled area, the method further includes: Displaying a floating window containing each structured field of the document; In response to a trigger operation on a first field in the floating window, a first to-be-filled area corresponding to the first field pointed to by the trigger operation is determined in a content editing area of ​​the document.

10. A document processing device, characterized in that: The device comprises: A display module, configured to display a first field in a document; wherein the first field is any structured field in the document; and the content editing area of ​​the document includes a first area to be filled corresponding to the first field; A first acquisition module, used to acquire structured content corresponding to the first field; A storage module is used to store the structured content corresponding to the first field as candidate filling content of the first area to be filled; wherein the candidate filling content of the first area to be filled is used to be displayed when the first area to be filled is triggered, and is automatically filled into the first area to be filled after being selected.

11. A document processing device, characterized in that: The device comprises: An acquisition module, configured to acquire a document including a first field; wherein the first field is any structured field pre-set in the document; and the content editing area of ​​the document includes a first area to be filled corresponding to the first field; A display module, configured to display candidate filling contents of the first area to be filled according to the structured data corresponding to the first field in response to a trigger operation on the first area to be filled; The filling module is used to fill the first to-be-filled area with the target filling content selected by the selection operation in response to the selection operation on the candidate filling content.

12. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the document processing method according to any one of claims 1 to 6 or claims 7 to 9 is implemented.

13. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the document processing method according to any one of claims 1 to 6 or claims 7 to 9 is implemented.