Online document processing method and device and storage medium

By creating a collection table associated with the online document, the collection item content is automatically populated into the area to be filled, solving the problems of time-consuming, laborious, and error-prone document generation, and achieving efficient and accurate document generation.

CN121031545APending Publication Date: 2025-11-28TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410671538.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2025-11-28

AI Technical Summary

Technical Problem

Existing technologies for generating documents are time-consuming, labor-intensive, and prone to errors, failing to meet the needs of rapid response and large-scale applications.

Method used

By creating a collection form associated with the initial online document, the collection form includes collection items, and the areas to be filled are linked to the collection items. After the second object fills in the collection items, the content is automatically filled into the areas to be filled, thus generating the target online document.

Benefits of technology

It improves the accuracy and efficiency of document generation, meeting the needs of rapid response and large-scale application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121031545A_ABST
    Figure CN121031545A_ABST
Patent Text Reader

Abstract

The invention discloses an online document processing method and device and a storage medium, an initial online document is created in response to an online document creation operation performed by a first object, and the initial online document comprises a to-be-filled area; in response to a collection table creation operation performed by the first object, creating a collection table associated with the initial online document, the collection table including collection items, and the to-be-filled area being associated with the collection items; sending the collection table to a second object for filling in response to a release operation of the first object on the collection table; in response to a submission operation performed on the collection table by the second object after the collection item is filled in, obtaining filling content of the second object for the collection item; and filling the to-be-filled area in the initial online document with the filling content to obtain a target online document. According to the embodiment of the invention, the collection table is utilized to assist in creating the target online document, so that the accuracy of the generated document can be improved, and the requirements of quick response and large-scale application can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus and storage medium for processing online documents. Background Technology

[0002] In related technologies, various office software programs are provided to allow users to generate and write different documents according to their needs. For example, when a user needs to write a document containing multiple data points, they can first create and write an initial document. During the writing of this initial document, blanks are left for the locations where data needs to be entered. Then, the user obtains the required data and fills the blank spaces in the initial document to obtain the final document. However, this process requires the user to manually enter multiple data points into the document, which is not only time-consuming and laborious but also prone to errors, making it impossible to guarantee the accuracy of the final document. Furthermore, for scenarios requiring batch document generation, this technology cannot meet the needs of rapid response and large-scale application. Summary of the Invention

[0003] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of protection of this application.

[0004] This application provides an online document processing method, apparatus, and storage medium, which can not only reduce the time spent generating documents but also improve the accuracy of the generated documents, thereby meeting the needs of rapid response and large-scale application.

[0005] On the one hand, embodiments of this application provide a method for processing online documents, including the following steps:

[0006] In response to an online document creation operation performed by a first object, an initial online document is created, the initial online document including a region to be filled;

[0007] In response to the collection table creation operation performed by the first object, a collection table associated with the initial online document is created, the collection table including collection items, and the area to be filled is associated with the collection items;

[0008] In response to the first object's publishing operation on the collection form, the collection form is sent to the second object for completion;

[0009] In response to the submission operation of the second object to the collection form after filling in the collection items, obtain the content filled in by the second object for the collection items;

[0010] The filled content is then used to fill in the area to be filled in the initial online document to obtain the target online document.

[0011] On the other hand, embodiments of this application also provide an online document processing apparatus, including:

[0012] A document creation unit is configured to create an initial online document in response to an online document creation operation performed by a first object, the initial online document including a region to be filled.

[0013] A collection table creation unit is configured to create a collection table associated with the initial online document in response to a collection table creation operation performed by the first object. The collection table includes collection items, and the area to be filled is associated with the collection items.

[0014] The collection form publishing unit is used to send the collection form to the second object for filling in in response to the publishing operation of the first object on the collection form;

[0015] The content acquisition unit is configured to, in response to the submission operation of the second object to the collection form after filling in the collection item, acquire the content filled in by the second object for the collection item;

[0016] A content filling unit is used to fill the content to be filled into the area to be filled in the initial online document to obtain the target online document.

[0017] Optionally, the collection table creation unit is specifically used for:

[0018] Create a blank collection table;

[0019] Determine the area to be filled in the initial online document;

[0020] The collection items are generated based on the area to be filled;

[0021] The collected items are filled into the blank collection table to obtain the collection table associated with the initial online document.

[0022] Optionally, the collection table creation unit is specifically used for:

[0023] Obtain the adjacent text content of the region to be filled;

[0024] Semantic recognition is performed on the adjacent text content to obtain the textual semantic information of the adjacent text content;

[0025] Target semantic information is determined based on the text semantic information, wherein the target semantic information is the semantic information of the text content that needs to be filled into the area to be filled;

[0026] The collection items are generated based on the target semantic information.

[0027] Optionally, there are multiple areas to be filled and multiple collection items. Different areas to be filled have different area identifiers, and different collection items have different item identifiers. The area identifiers correspond one-to-one with the item identifiers. The content filling unit is specifically used for:

[0028] The project identifier of the collection item corresponding to the filled content is determined as the target identifier corresponding to the filled content;

[0029] Among the multiple region identifiers, determine the target region identifier that corresponds to the target identifier;

[0030] In the initial online document, the area to be filled corresponding to the target area identifier is determined as the target area to be filled corresponding to the content to be filled;

[0031] The filled content is then used to fill in the target area to be filled in the initial online document to obtain the target online document.

[0032] Optionally, the number of regions to be filled is multiple, and the collection table creation unit is specifically used for:

[0033] Obtain the document content of the initial online document;

[0034] The initial online document is divided into multiple document parts based on the document content, and each document part includes the area to be filled.

[0035] Based on the areas to be filled in each document section, create the collection table corresponding to each document section.

[0036] Optionally, the collection table creation unit is specifically used for:

[0037] The document content in the initial online document is divided into paragraphs to obtain multiple paragraph contents;

[0038] Extract a summary from the content of each paragraph to obtain a paragraph summary for each paragraph.

[0039] Based on the paragraph summary, the contents of multiple paragraphs are clustered to obtain multiple candidate paragraph combinations;

[0040] Among the multiple candidate paragraph combinations, multiple candidate paragraph combinations containing the area to be filled are identified, resulting in multiple document portions.

[0041] Optionally, there may be multiple second objects, and different second objects may fill in different collection forms; the content filling unit is specifically used for:

[0042] The content filled in by multiple second objects is summarized and deduplicated to obtain multiple target content;

[0043] The target content is filled into the areas to be filled in the document portions to obtain the target online document.

[0044] Optionally, the initial number of online documents is multiple, and the area to be filled has a region identifier; the collection table creation unit is specifically used for:

[0045] Obtain the region identifier of the region to be filled in the multiple initial online documents;

[0046] The region identifiers of the regions to be filled in the multiple initial online documents are summarized and deduplicated to obtain multiple target region identifiers;

[0047] Based on the regions to be filled corresponding to the multiple target region identifiers, a collection table is created that is associated with the multiple initial online documents.

[0048] Optionally, the number of collected items is multiple, different collected items have different item identifiers, and different areas to be filled have different area identifiers, with each area identifier corresponding one-to-one with the item identifier; the content filling unit is specifically used for:

[0049] Obtain the region identifier of the region to be filled in each of the initial online documents;

[0050] Among the multiple project identifiers, find the project identifier that corresponds to the region identifier of the area to be filled in each of the initial online documents to obtain multiple project identifier combinations;

[0051] The collection table is divided into multiple collection sub-tables based on multiple combinations of project identifiers, and each collection sub-table corresponds one-to-one with the initial online document;

[0052] The content to be filled in each of the collection sub-tables is then used to fill in the unfilled area of ​​the corresponding initial online document, resulting in multiple target online documents.

[0053] Optionally, the processing apparatus further includes an online document updating unit, the online document updating unit being used for:

[0054] After the content is filled into the area to be filled in the initial online document, in response to the second object refilling and submitting the collection item in the collection form, the refilled content of the second object for the collection item is obtained;

[0055] Determine the content differences between the re-entered content and the entered content;

[0056] The content of the unfilled area already filled in the target online document is updated based on the content differences to obtain the updated target online document.

[0057] Optionally, the processing apparatus further includes a collection table updating unit, the collection table updating unit being used for:

[0058] In response to the first object's modification of the area to be filled in the initial online document, the modified area to be filled is obtained, and a new collection item is generated based on the modified area to be filled;

[0059] The collection form is incrementally updated based on the new collection items, and a notification message for re-entry of the new collection items is sent to the second object.

[0060] On the other hand, embodiments of this application also provide an electronic device, including:

[0061] At least one processor;

[0062] At least one memory for storing at least one program;

[0063] When at least one of the programs is executed by at least one of the processors, the online document processing method as described above is implemented.

[0064] On the other hand, embodiments of this application also provide a computer-readable storage medium storing a processor-executable computer program, which, when executed by a processor, is used to implement the online document processing method described above.

[0065] On the other hand, embodiments of this application also provide a computer program product, including a computer program or computer instructions, which are stored in a computer-readable storage medium. The processor of an electronic device reads the computer program or computer instructions from the computer-readable storage medium and executes the computer program or computer instructions, causing the electronic device to perform the online document processing method described above.

[0066] In the technical solution provided in this application embodiment, after the first object creates an initial online document including the area to be filled, in response to the collection table creation operation performed by the first object, a collection table associated with the initial online document is created. The collection table includes collection items, and the area to be filled is associated with each collection item. By creating and publishing the collection table, which associates the collection items with the area to be filled in the initial online document, the second object can obtain the content information required for the area to be filled in the initial online document by filling in the collection items. Furthermore, since the collection items in the collection table are associated with the area to be filled in the initial online document, the compatibility between the content information filled in by the second object for the collection items and the area to be filled in the initial online document can be guaranteed. Thus, when the content filled in by the second object for the collection items is filled into the area to be filled in the initial online document, an accurate target online document can be obtained. In addition, since the content filled in by the second object for the collection items is automatically filled into the area to be filled in the initial online document, no manual input operation is required as in related technologies. Therefore, not only can the error rate of content input be reduced, but the time spent generating the target online document can also be effectively reduced, thereby effectively improving the efficiency of generating the target online document. Therefore, by using a collection table to assist in creating target online documents, the embodiments of this application can not only improve the accuracy of the generated documents, but also meet the needs of rapid response and large-scale application even in scenarios where batch document generation is required.

[0067] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the description and the accompanying drawings. Attached Figure Description

[0068] The accompanying drawings are used to provide a further understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0069] Figure 1 This is one type of system architecture diagram applied to the online document processing method according to the embodiments of this application;

[0070] Figures 2A to 2E This is a schematic diagram illustrating the application of the online document processing method of this application in an information collection scenario;

[0071] Figure 3 This is a flowchart illustrating an online document processing method provided in one embodiment of this application;

[0072] Figures 4A to 4DThis is a specific example diagram of the first object creation collection table in one embodiment of this application;

[0073] Figures 5A to 5E This is a specific example diagram of the second object submission collection form in one embodiment of this application;

[0074] Figure 6 This is a specific flowchart of creating a collection table associated with online documents, provided in one embodiment of this application;

[0075] Figure 7 This is a specific flowchart of generating collection items based on the area to be filled, provided in one embodiment of this application;

[0076] Figures 8A to 8D This is a specific example diagram illustrating the generation of collection items based on target semantic information in one embodiment of this application;

[0077] Figure 9 This is a specific flowchart of an embodiment of the present application, which shows how to fill in the content to be filled into the area to be filled in an initial online document;

[0078] Figures 10A to 10E This is a specific example diagram illustrating the acquisition of a target online document in one embodiment of this application;

[0079] Figure 11 This is a flowchart illustrating the process of creating a collection table in the case of an initial online document corresponding to multiple collection tables, provided by one embodiment of this application;

[0080] Figure 12 This is a flowchart illustrating the process of dividing an initial online document into multiple document parts based on the document content, according to one embodiment of this application.

[0081] Figure 13 This is a schematic diagram of the process of filling in an initial online document when an initial online document corresponds to multiple collection tables, provided by one embodiment of this application;

[0082] Figures 14A to 14B This is a specific example diagram illustrating the association of multiple document portions of an initial online document with a collection table in one embodiment of this application;

[0083] Figure 15 This is a schematic diagram of the process of creating a collection table in the case of multiple initial online documents corresponding to one collection table, provided by one embodiment of this application;

[0084] Figure 16 This is a schematic diagram of the process of filling in an initial online document when multiple initial online documents correspond to one collection table, provided by one embodiment of this application;

[0085] Figures 17A to 17CThis is a specific example diagram illustrating the association between initial online documents and a collection table in one embodiment of this application, where multiple initial online documents correspond to one collection table;

[0086] Figure 18 This is another flowchart illustrating an online document processing method according to one embodiment of this application;

[0087] Figure 19 This is another flowchart illustrating an online document processing method according to one embodiment of this application;

[0088] Figure 20 This is a block diagram of an online document processing apparatus according to an embodiment of the present application;

[0089] Figure 21 This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0090] The present application will be further described below with reference to the accompanying drawings and specific embodiments. The described embodiments should not be considered as limitations on the present application, and all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the present application.

[0091] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0092] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0093] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0094] Online documents refer to electronic documents created, edited, stored, and shared via a network, such as official documents, contracts, and reports. Online documents can be accessed on multiple devices and platforms, facilitating user collaboration and management. In this application embodiment, online documents specifically refer to documents distinct from online forms (online sheets), such as doc and pdf type documents.

[0095] Collection Form: A form used to collect information from users. It can contain various question types, such as multiple choice, multiple selection, and fill-in-the-blank questions. Collection forms can be used for scenarios such as data collection and feedback.

[0096] Template pre-filled field: A special field in the online document proposed in this application embodiment, used to identify areas to be filled in the online document. Users can insert the template pre-filled field at any position in the online document to facilitate automatic data filling.

[0097] Field mapping refers to associating the content entered in the collection form with pre-populated fields in the online document, so as to automatically populate the corresponding fields in the online document with the data from the collection form. Field mapping can improve data consistency and reduce the workload of manual input and data synchronization.

[0098] Permission settings: Used to control access permissions to online documents. Users can set different access permissions according to their actual needs, such as setting online documents to be visible only to the collection form administrator, or setting online documents to be visible only to the collection form filler by default with administrator privileges.

[0099] In related technologies, when a user needs to create a document containing multiple types of data, they can first create and write an initial document. During the writing of this initial document, blanks are left for the areas where data needs to be entered. Then, the required data is collected and filled into the blank spaces in the initial document to obtain the final document. However, this process requires the user to manually enter multiple types of data into the document, which is not only time-consuming and laborious but also prone to errors, making it impossible to guarantee the accuracy of the final document. Furthermore, for scenarios requiring batch document generation, this technology cannot meet the needs of rapid response and large-scale application.

[0100] To reduce the time required to generate documents and improve the accuracy of the generated documents, embodiments of this application provide an online document processing method, an online document processing apparatus, an electronic device, a computer-readable storage medium, and a computer program product. After a first object creates an initial online document including a region to be filled, in response to a collection table creation operation performed by the first object, a collection table associated with the initial online document is created. The collection table includes collection items, and the region to be filled is associated with the collection items. By creating and publishing the collection table, which associates the collection items with the region to be filled in the initial online document, a second object can obtain the content information required for the region to be filled in the initial online document by filling in the collection items in the collection table. Moreover, since the collection items in the collection table are associated with the region to be filled in the initial online document, the compatibility between the content information filled in by the second object for the collection items and the region to be filled in the initial online document can be guaranteed. Thus, when the content filled in by the second object for the collection items is filled into the region to be filled in the initial online document, an accurate target online document can be obtained. Furthermore, since the content filled in by the second object for the collected items is automatically filled into the unfilled area of ​​the initial online document, eliminating the need for manual input as in related technologies, it not only reduces the error rate of content entry but also effectively reduces the time spent generating the target online document, thereby significantly improving the efficiency of generating the target online document. Therefore, this application embodiment, by utilizing a collection table to assist in creating the target online document, not only improves the accuracy of the generated document but also meets the needs of rapid response and large-scale application, even in scenarios requiring batch document generation.

[0101] Figure 1 This is a system architecture diagram of one type applied to the online document processing method according to an embodiment of this application. The system architecture includes multiple terminals 140, the Internet 130, a gateway 120, multiple servers 110, etc.

[0102] Terminal 140 is a device used to display the content of online documents and / or collection forms. Terminal 140 may include, but is not limited to, smartphones, tablets, computers, smart voice interaction devices, smart home appliances, vehicle terminals, aircraft, etc. Furthermore, terminal 140 can be a single device or a collection of multiple devices. For example, multiple desktop computers connected to each other via a local area network, sharing a single monitor to work collaboratively, constitute a single terminal 140. Terminal 140 can communicate with the Internet 130 via wired or wireless means to exchange data, thereby displaying the content of online documents or collection forms sent by server 110.

[0103] In one embodiment, server 110 refers to a computer system capable of providing online documents and collection forms to terminal 140. Server 110 can be a standalone physical server, or a server cluster or distributed system composed of multiple physical servers. For example, it can be a single high-performance computer in a network platform, a cluster of multiple high-performance computers, a portion of a single high-performance computer (e.g., a virtual machine), or a combination of portions of multiple high-performance computers (e.g., virtual machines). Server 110 can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0104] Server 110 may include a document creation unit, a collection table creation unit, a collection table publishing unit, a content acquisition unit, and a content filling unit. It should be noted that the document creation unit is used to create an initial online document in response to an online document creation operation performed by a first object, wherein the initial online document includes areas to be filled; the collection table creation unit is used to create a collection table associated with the initial online document in response to a collection table creation operation performed by the first object, the collection table including collection items, and the areas to be filled are associated with the collection items; the collection table publishing unit is used to send the collection table to a second object for filling in response to a publishing operation performed by the first object; the content acquisition unit is used to acquire the content filled in by the second object for the collection items in response to a submission operation performed by the second object on the collection table after filling in the collection items; the content filling unit is used to fill in the content filled into the areas to be filled in the initial online document to obtain the target online document. The generation of online documents and collection forms can include, but is not limited to, the creation of online documents, the creation of collection forms, and the association of online documents and collection forms. It can be used to enable remote work, education, and team collaboration. It can combine collection form filling with approval processes, electronic signatures, and other functions to achieve an integrated automated process from data collection to document generation, approval, and signing.

[0105] Gateway 120, also known as an internetwork connector or protocol converter, is a computer system or device that enables network interconnection at the transport layer and acts as a translator. It bridges the gap between two systems using different communication protocols, data formats, languages, or even completely different architectures. Gateway 120 also provides filtering and security functions. Messages sent from terminal 140 to server 110 must pass through gateway 120 to reach the corresponding server 110. Messages sent from server 110 to terminal 140 must also pass through gateway 120 to reach the corresponding terminal 140.

[0106] The embodiments of this application can be applied in various scenarios, see below. Figures 2A to 2E The embodiments shown illustrate corresponding application scenarios using a computer as an example for terminal 140.

[0107] Reference Figure 2A In one application scenario, when a first object needs to collect information, it can initiate a creation operation for an online document through terminal 140. For example, the creation operation can be triggered through the online document application interface on terminal 140. The first object can create the online document by clicking the create button in the online document application interface. The online document can be official documents, contracts, reports, etc. (See reference...) Figure 2B At this point, terminal 140 responds to the first object's creation operation for the online document, generating the online document. After the online document is generated, the first object can input document content into the created online document and insert template pre-filled fields into the document content to form areas to be filled, i.e., areas where the second object needs to fill in the content, thus obtaining the initial online document. Specifically, in this embodiment, the template pre-filled fields can be displayed in the online document in the form of blank underscores, parentheses, wavy lines, etc. Figure 2B Taking the blank underline method as an example, the terminal 140 can display the initial online document with the area to be filled set to the first object, and can accept various operations input by the user, such as deleting the template pre-filled field of the online document to delete the area to be filled, adding the template pre-filled field of the online document to add the area to be filled, etc., realizing personalized adjustments to the online document. (Refer to...) Figure 2C After creating the initial online document, the first user clicks the relevant controls to create a collection table, generating one or more collection tables corresponding to the initial online document. At this point, collection tables associated with the initial online document can be created based on the areas to be filled. Specifically, all areas to be filled in the initial online document are extracted, and collection items are generated based on these extracted areas. These generated collection items are then added to the collection tables, forming the question items in the collection tables, ensuring that the collection tables include collection items corresponding to the areas to be filled. (Refer to...) Figure 2D The first object then sends the collection form to one or more second objects for completion. This can be done by sharing a webpage link, URL, or other methods. At this time, terminal 140 can display the collection form page to the second objects. If the second object has editing permissions for the collection form, it can fill in the collection items to obtain the required content for the areas to be filled in the online document. Editing permissions refer to the permission to fill in the collection items in the collection form. (See reference...) Figure 2EAfter the second user fills out the collection form, they submit it via an interactive control. Since the collection items in the form are correlated with the areas to be filled in the online document, the system can directly retrieve the user's input for each item and automatically fill it into the areas to be filled in the online document. At this point, the terminal 140 can display the filled online document to the first user, enabling them to collect the required information. Because the entire content filling process is automated, no manual input is required, thus reducing the error rate of content entry.

[0108] It should be noted that in this embodiment, the first object is the information collection user, and the second object is the user participating in information filling. The online document can be created by the first user in a document application, which can be a web application or a client. The online document can include multiple information items, such as name, address, workplace, etc. The collection form can be shared with multiple second objects, and each second object can perform an information filling operation in the collection form. Each second object performing the information collection operation can open the information collection form, enter the content to be filled in for the collection items, and finally submit the collection form through interactive controls. Since the collection items in the collection form are correlated with the areas to be filled in the online document, the collection result of the collection form includes the response content entered by each second object for the areas to be filled.

[0109] Optionally, after the second object submits the collection form, the terminal 140 can display a statistics page. This statistics page is used to display descriptive information about the collection results of the collection form. The descriptive information about the collection results can include summary information about the collection results, such as the submission time, the name of the object who filled in the collection form, the submission location, etc., so that the first object can determine which object(s) filled in the collection form through the statistics page, thus avoiding the situation of missing information.

[0110] In another application scenario, when a first party needs to collect information, they can create a target online document by selecting an online document template from an online document template library. That is, the first party can first choose an online document template that meets their requirements, and then make adaptive modifications to the template, such as adding areas to be filled, adjusting the position of those areas, deleting paragraphs, and modifying headings, to meet their needs. Then, a collection form is created based on the modified online document and sent to one or more second parties. Second parties with editing permissions can fill in the collection items in the form, allowing the library to determine the content needed for the areas to be filled in the online document. This content is then filled into the corresponding areas, resulting in the target online document required by the first party. The online template library provides pre-designed document templates that users can use directly, eliminating the need to create a document from scratch and requiring only minor adjustments, thus saving significant time.

[0111] Specifically, when the online document is a leave application form, the first recipient is the group leader, and the second recipient is the group members. To facilitate group members in easily creating leave applications when needed, the group leader can first select candidate leave application templates from the online document template library, such as company leave application templates, school leave application templates, etc. Since leave applications require filling in specific information such as the applicant's name, reason for leave, leave time, and affiliated unit, the group leader can adjust the pre-designed candidate leave application template, setting corresponding areas to be filled in (e.g., underlining the areas to be filled) where the applicant's name, reason for leave, leave time, and affiliated unit are required, thus obtaining the desired target leave application template. After creating the target leave application template, the group leader creates a leave collection form associated with the target leave application template via mobile phone or computer and sends it to the group members via a web link for them to fill out when needed. After receiving the web link, group members can click it to access a leave request form when they need to request leave. Once they confirm they have the necessary permissions, they fill in the required information and submit it via the interactive controls on their mobile phones or computers. Since the information in the leave request form is linked to the pop-up areas in the target leave request template, the submitted information will automatically populate the template, generating the final leave request. The group leader can then directly approve the final leave request to determine whether to grant the member's leave request.

[0112] from Figures 2A to 2EAs can be seen from the above processing procedure shown, in this embodiment of the application, a collection table is created that is associated with the initial online document, and the areas to be filled in the initial online document are associated with the collection items in the collection table. This allows the second object to obtain the content information required for the areas to be filled in the initial online document by filling in the collection items in the collection table. This ensures the compatibility between the content information filled in by the second object for the collection items and the areas to be filled in the initial online document. The content information can be filled into the areas to be filled in the initial online document without performing a download and export operation. This saves the power consumption required for repeatedly downloading the collection table, the storage space occupied by exporting the table, and the operation time for entering the content filled in the collection table into the initial online document. This not only reduces the error rate of content entry, but also effectively reduces the time spent generating the target online document, thereby effectively improving the efficiency of generating the target online document.

[0113] Understandably, in related technologies, when information needs to be collected, a collection form is typically generated and sent to the corresponding users for completion. After the users complete the form, the information is collected and summarized into an online table. All collected information is then displayed in this online table, allowing multiple people to simultaneously edit and view it, enabling real-time collaboration and facilitating data editing and updates among team members. However, in this embodiment, the collection form is used to assist in creating an online document. The information from the collection form is automatically filled into the unfilled areas of the online document, rather than simply displaying the information. Therefore, this design allows users to easily generate personalized online documents after completing the collection form, thereby improving work efficiency.

[0114] It should be noted that in various specific embodiments of this application, when processing is required based on data related to the characteristics of an object (such as a user's attribute information or a set of attribute information), the object's permission or consent will be obtained first. Furthermore, the collection, use, and processing of this data will comply with relevant laws, regulations, and standards. In addition, when embodiments of this application need to obtain the attribute information of an object, separate permission or consent from the object will be obtained through pop-ups or redirection to a confirmation page. Only after obtaining the object's separate permission or consent will the necessary object-related data for the proper functioning of the embodiments of this application be obtained.

[0115] Figure 3 This is a flowchart illustrating an online document processing method provided in an embodiment of this application. This method can be executed by a terminal, a server, or a combination of both. In the following embodiments, the method is described using server execution as an example. (Refer to...) Figure 3The processing method may include, but is not limited to, steps 310 to 350.

[0116] Step 310: In response to the online document creation operation performed by the first object, an initial online document is created, which includes the area to be filled.

[0117] In some embodiments, the first object refers to the object for which information needs to be collected. The first object can create online documents and collection forms, and perform content editing. The first object can create an initial online document on a terminal. The type and format of the initial online document can be selected according to the needs of the first object. The types of initial online documents include official documents, employment contracts, investigation reports, leave requests, business trip forms, etc.; the formats of initial online documents include PDF (Portable Document Format), DOC (Word Document), TXT (Text File), etc. After creating the initial online document, the first object can also edit the content of the online document, adjusting the areas to be filled according to the information it needs, thereby determining the specific information to be collected in the initial online document. The areas to be filled refer to the areas in the online document that await information to be filled. When the areas to be filled in the online document are filled with the corresponding content, the content of the online document becomes complete. The first user can either create their own initial online document, completing all content and inserting areas to be filled (i.e., areas containing the information to be collected) where necessary. Alternatively, the first user can create an initial online document using an online document template library. When creating a template, the user selects one that closely matches their requirements. In this case, the document content and areas to be filled are pre-edited, allowing the user to make minor adjustments such as deleting or adding content, changing or deleting areas. This enables the user to set areas to be filled at any point in the created initial online document, allowing for personalized adjustments and expanding the application scenarios of online documents.

[0118] It should be noted that the first object can create an initial online document through the online document application interface. The online document application interface is used to display the content of the online document. Specifically, the first object can click on the buttons or controls related to creating a new online document in the online document application interface to realize the creation of the initial online document. After the first object performs the creation of the initial online document, the online document application interface can directly display the successfully created initial online document, or it can pop up a prompt box for the first object to confirm whether to continue creating the initial online document. This embodiment does not impose specific limitations.

[0119] It is understood that the online documents in this application embodiment can be official reports, electronic contracts, written reports, leave requests, business trip forms, etc. The first object can set different areas to be filled according to different types of online documents. For example, when the online document is an official report, the area to be filled can include the document name, document number, date of issuance, etc.; when the online document is a product contract, the area to be filled can include the product name, purchaser's signature, contract validity period, etc.; when the online document is a leave request, the area to be filled can include the applicant's name, reason for leave, duration of leave, etc. This application embodiment does not impose specific restrictions on the type of online document.

[0120] Step 320: In response to the collection table creation operation performed by the first object, a collection table associated with the initial online document is created. The collection table includes collection items, and the areas to be filled are associated with the collection items.

[0121] In some embodiments, after the first object creates an initial online document, the initial online document includes at least one area to be filled. At this time, the first object can perform a collection table creation operation on the terminal to obtain the collection table. The created collection table includes collection items, and the areas to be filled in the initial online document are associated with the collection items in the collection table. That is, the areas to be filled correspond to the collection items. Subsequently, the content to be filled in the areas to be filled in the initial online document can be directly obtained through the collection items on the collection table, ensuring the compatibility between the areas to be filled in the initial online document and the collection items in the collection table.

[0122] It should be noted that the first object can create the collection form through the online document application interface. For example, it can click the button or control related to creating a new collection form in the online document application interface to create the collection form. After the first object creates the collection form, the online document application interface can directly display the successfully created collection form, or it can pop up a prompt box for the first object to confirm whether to continue creating the collection form. This embodiment does not impose specific limitations.

[0123] Specifically, refer to Figures 4A to 4DSome specific embodiments shown provide an implementation of the first object creation collection table.

[0124] In some embodiments, when the first object is in an online document application interface that has created an initial online document, the first object triggers the creation of a collection table through a control on the online document application interface. After the first object clicks the control to create the collection table once or multiple times, in response to the collection table creation operation performed by the first object, the terminal can directly generate and display the collection table after the first object triggers the control.

[0125] In some embodiments, reference Figure 4A When the first object exits the online document application interface, it triggers the creation of a collection form by clicking a control on the collection form application interface. In response to this collection form creation operation, a blank collection form can be created and displayed in the collection form application interface. Specifically, after the first object clicks the control for creating a collection form on the collection form application interface, refer to... Figure 4B The application interface of the collection form can pop up a prompt box to ask the first object whether it is associated with an existing initial online document. The prompt box can be equipped with multiple button controls for the first object to select. Figure 4B Taking a prompt box with "Yes" and "No" controls as an example, when the first object clicks "Yes", refer to... Figure 4C The system will display existing initial online documents via pop-ups or page redirects, allowing the first user to select the initial online document they wish to associate with. At this point, there may be one or more initial online documents associated with the collection form. (Reference) Figure 4D Once the first object selects one or more initial online documents, a collection table corresponding to the selected initial online documents is generated based on the initial online documents selected by the first object.

[0126] It should be understood that there are many ways to implement the method for creating a collection table for the first object, and it is not limited to the specific embodiments described above.

[0127] Step 330: In response to the first object's publishing operation on the collection form, the collection form is sent to the second object for completion.

[0128] In some embodiments, the second object is a user participating in information entry. After creating the initial online document and collection form, the first object needs to send the collection form to a designated person for completion. At this time, the first object can trigger the publication operation of the collection form through the relevant controls in the corresponding application interface. In response to the first object's publication operation of the collection form, the collection form is sent to the second object for completion. The second object can view and fill in the collection form through the terminal, enabling the first object to collect the information required for the initial online document through the collection form.

[0129] It should be noted that the first object can publish the collection form through the corresponding application interface (online document application interface or collection form application interface). For example, it can be triggered by clicking the send button or control in the corresponding application interface. After the first object publishes the collection form, it can publish the collection form directly, or a prompt box can pop up for the first object to confirm whether to publish the collection form. This embodiment does not impose specific restrictions.

[0130] Understandably, during the process of publishing the collection form, the first object can choose to publish it to all second objects, or it can set publishing conditions to publish the collection form to specific second objects.

[0131] Step 340: In response to the submission operation of the second object to the collection form after filling in the collection items, obtain the content filled in by the second object for the collection items.

[0132] In some embodiments, after the second object receives the collection form, the terminal displays the collection form to the second object. The collection form includes at least one collection item, which can be displayed as multiple-choice questions, as an answer area, or as fill-in-the-blank questions. When the collection item is a multiple-choice question, each question has multiple options, and the second object can directly select the relevant option to answer. When the collection item has an answer area, there is a blank area below or after each question, where the second object can fill in information. When the collection item is a fill-in-the-blank question, there is an underline or parentheses below each question, where the second object can fill in the answer on the underline or in the parentheses. After the second object fills in the collection items, it submits the completed collection form by triggering the relevant controls on the application interface. At this time, the server responds to the submission operation of the collection form by the second object after filling in the collection items, and obtains the content filled in by the second object for each collection item. Because of the correlation between the area to be filled and the collection items, after the second object fills in the collection items and submits the collection form, it can obtain the content to be filled into the area to be filled in the initial online document.

[0133] It should be noted that the collection form may contain items that the second participant must complete (i.e., mandatory fields, such as name, contact information, address, etc.) and items that the second participant can choose to complete (i.e., optional fields, such as birthday, gender, remarks, etc.). After the second participant completes the collection form, there may be instances where a mandatory field is omitted. If the second participant then submits the collection form, a corresponding prompt will appear to remind them of any unfilled collection items. This process will be explained in detail below.

[0134] Specifically, refer to Figures 5A to 5E Some specific embodiments shown provide an implementation of a second object submission collection table.

[0135] Reference Figure 5A The application interface for the collection form has a submit button. After the second person fills out the collection form, to submit the completed form, they click the submit button. (See reference...) Figure 5B At this point, a prompt box appears in the application interface asking the second person whether to submit the collection form. The prompt box has two selection buttons: "Yes" and "No". When the second person clicks "Yes", because there are required collection items that have not been filled in, the following will be displayed: Figure 5C The other prompt box shown indicates that the second subject has not filled in any necessary collection items. The second subject needs to return to the collection form display page to view and fill in the missing required fields. After the second subject fills in the collection items, click the submit button again. At this time, the collection form application interface will pop up again as shown. Figure 5B The prompt box shown asks the second party whether to submit the collection form. If the second party clicks "Yes," and there are no required fields left blank on the collection form, the following will appear: Figure 5D The submission success page shown confirms that the second object was submitted successfully.

[0136] It is worth noting that after the second subject clicks the "Confirm Submission" button, if there are any unfilled optional fields in the collection form, this embodiment of the application can directly jump to the submission success page without prompting the second subject to fill in the optional fields.

[0137] Understandably, if the second person clicks the "Confirm Submission" button and there are unfilled required fields in the collection form, in addition to popping up a prompt indicating that the second person has unfilled required fields, the unfilled required fields can also be directly identified in the collection form, and corresponding prompts can be displayed next to the required fields (see [reference]). Figure 5E (As shown), to indicate the specific location of any required fields that have not been filled in for the second object.

[0138] It should be understood that there are many ways to implement the method of submitting the collection form by the second object, and it is not limited to the specific embodiments mentioned above.

[0139] Step 350: Fill the fields to be filled in the initial online document to obtain the target online document.

[0140] In some embodiments, data and documents in related technologies are typically independent entities, requiring users to manually maintain relationships between them. Once data is collected, users need to manually populate it into document templates. This method is not only slow but also prone to errors when processing large amounts of data, especially when collecting structured data. The accuracy of manual input is difficult to guarantee, increasing workload and potentially leading to data inconsistencies and synchronization issues. This lack of correlation is particularly problematic when dealing with multiple related documents and datasets, significantly reducing efficiency and accuracy. To address these issues, this embodiment, after obtaining the input content from the second object for the collection items, leverages the correlation between the collection items in the collection table and the areas to be filled in the initial online document. This allows for the automatic filling of the initial online document without the need for manual input, reducing the error rate of data entry and significantly decreasing the time required to generate the target online document, thus improving efficiency. Therefore, even in scenarios requiring batch document generation, the technical solution provided by this embodiment can meet the needs of rapid response and large-scale application.

[0141] Reference Figure 6 In one embodiment, the process of creating a collection table associated with the online document in step 320 may include, but is not limited to, steps 610 to 640.

[0142] Step 610: Create a blank collection table.

[0143] In some embodiments, in response to a collection table creation operation triggered by a first object, a blank collection table is created, thereby enabling the structure and content of the collection table to be customized according to the specific needs and objectives of the first object, making the collected information more targeted and effective.

[0144] Step 620: Determine the areas to be filled in the initial online document.

[0145] In some embodiments, the first object can adjust the initial online document in real time; for example, the first object can insert areas to be filled at any position in the online document. The initial online document is divided into areas to be filled and text areas. The areas to be filled are the areas where the first object needs to collect information, and the text areas are the areas in the initial online document where text content has already been filled. This application embodiment determines the areas to be filled in the initial online document, thereby determining which areas in the initial online document need to be filled and which do not, thus enabling selective information collection, ensuring the accuracy of the collected information, and improving work efficiency.

[0146] In some embodiments, the present application can determine the area to be filled in the initial online document in the following two ways, which are described in detail below.

[0147] In some embodiments, the area to be filled has attribute information, which differs from the attribute information of other text areas. During the process of determining the initial online document, attribute detection is first performed on all content of the initial online document. If the attribute information of the currently detected content is a text attribute, it indicates that the currently detected content is the text body (i.e., a text area) in the initial online document and does not require user input. If the attribute information of the currently detected content is not a text attribute, it indicates that the currently detected content is an area to be filled. By identifying different areas of the online document, information can be collected in a targeted manner.

[0148] In some embodiments, the present application can also perform text recognition on the initial online document to determine the white space between characters in each line of text in the initial online document. When there is a white space between adjacent characters, the white space between the characters is determined as the area to be filled.

[0149] Specifically, in this embodiment of the application, white space between text can be identified using OCR (Optical Character Recognition). The initial online document is scanned and recognized using OCR technology, and the text identified in the initial online document is converted into computer-editable text. Then, the recognized text is segmented by detecting line breaks or analyzing the spacing between text, separating each segment of text. After that, each segment of text is analyzed to detect white space between text. Finally, the detected white space is determined as the area to be filled, that is, these areas are identified as the locations where content needs to be filled.

[0150] It should be noted that, in the process of detecting the white space between characters, consecutive blank pixels in the text line can be detected to determine the white space between characters; alternatively, the bounding box of each character can be detected and the distance between adjacent characters can be calculated to determine the white space. This application embodiment does not impose specific limitations.

[0151] Step 630: Generate collection items based on the area to be filled.

[0152] In some embodiments, different types of initial online documents require different information to be filled in, and the initial online document may have one or more areas to be filled in, with the information required for each area potentially being the same or different. To better determine the information required for each area to be filled, this embodiment of the application generates collection items based on the specific semantic context of the area to be filled. For example, when the area to be filled is a name-related area, the collection item needs to collect the name or nickname of the second object; when the area to be filled is a location-related area, the collection item needs to collect the work location or address of the second object, etc., thereby improving the accuracy and efficiency of filling in the areas to be filled and enhancing the reliability of information collection.

[0153] Step 640: Fill the blank collection form with the collected items to obtain the collection form associated with the initial online document.

[0154] In some embodiments, after generating collection items in step 630, since each collection item is independent and has no order, this embodiment will fill all collection items into a blank collection table. During the process of filling the blank collection table, this embodiment can also number each collection item to determine the display order of the collection items. The first object can number the collection items according to the order of the areas to be filled in the initial online document, or according to the importance of the collection items. The numbered collection items are then organized and displayed in the blank collection table, resulting in a collection table associated with the initial online document. This allows for better organization and management of collection items, avoids omissions, and facilitates subsequent filling of collection items by the second object through the collection table.

[0155] Reference Figure 7 In some embodiments, the process of generating collection items based on the area to be filled in step 630 may include, but is not limited to, the following steps 710 to 740.

[0156] Step 710: Obtain the adjacent text content of the area to be filled.

[0157] In some embodiments, the initial online document may have one or more regions to be filled, and the information required for each region to be filled may be the same or different. In order to better determine the information required for the regions to be filled, embodiments of this application obtain the adjacent text content of the regions to be filled, wherein the adjacent text content includes the text content located on the left and right sides and / or the top and bottom sides of the regions to be filled, thereby enabling a better understanding of the context of the regions to be filled.

[0158] Step 720: Perform semantic recognition on adjacent text content to obtain the text semantic information of adjacent text content.

[0159] In some embodiments, different types of initial online documents require different information to be filled in. To improve the accuracy of filling in the areas to be filled, this application embodiment can perform semantic recognition on the extracted adjacent text content using natural language processing technology. Specifically, the adjacent text content is first segmented into words or phrases to improve the accuracy of semantic recognition. Then, the part of speech of the segmented words or phrases is identified, such as nouns, verbs, adjectives, etc. After that, named entities in the adjacent text content are identified, such as personal names, place names, organizations, etc. Finally, the sentence structure and grammatical relationships in the adjacent text content are analyzed, such as subject-verb-object relationships, attributive relationships, adverbial relationships, etc. Based on the analyzed meaning and context, the textual semantic information of the adjacent text content is obtained, thereby enabling the extraction of key information from the adjacent text content, such as keyword information, contextual information, etc., which can improve the accuracy and efficiency of filling in the areas to be filled.

[0160] Step 730: Determine the target semantic information based on the text semantic information. The target semantic information is the semantic information of the text content that needs to be filled into the area to be filled.

[0161] In some embodiments, after obtaining the semantic information of the adjacent text content, the semantic environment of the area to be filled can be determined, that is, the keyword information, contextual information, topic information, etc. of the paragraph in which the area to be filled is located can be determined. Based on the understanding of the semantic information, the semantic information of the text content to be filled into the area to be filled can be determined, thereby improving the accuracy of information filling, better understanding the intention and needs of the first object, improving the reliability of information collection, and providing more personalized services.

[0162] Specifically, textual semantic information can be salutation information, location information, time information, etc. Taking salutation information as an example, when the textual semantic information is a salutation such as "Hello, Ms. / Mr. XX", "Dear Ms. / Mr. XX", or "Dear Ms. / Mr. XX", the target semantic information is determined to be the name information; when the textual semantic information is a location such as "Address: XX", "Work location is XX", or "Office location is XX", the target semantic information is determined to be the address information; when the textual semantic information is a time such as "Date: XX", "Years of service are XX", or "Year XX Month XX Day", the target semantic information is determined to be the date information. This embodiment will not list them all.

[0163] Step 740: Generate collection items based on target semantic information.

[0164] In some embodiments, after determining the semantic information of the text content to be filled into the area to be filled, the specific text content to be filled is first determined based on the semantic information of the text content, that is, the text content to be filled corresponding to the target semantic information is determined. Then, based on the determined text content, corresponding questions are generated, and the answering method is set according to the questions to generate collection items. This allows the second object to directly answer the collection items to determine the content required for the area to be filled, improving the accuracy and consistency of questions and answers, and also significantly improving the efficiency of the data collection process and user experience.

[0165] Specifically, the embodiments of this application can generate collection items in the following two ways, as referred to Figures 8A to 8D Some specific embodiments shown provide an implementation method for generating collection items based on target semantic information.

[0166] In some embodiments, the collected items can be one or a combination of multiple-choice, single-answer, multiple-select, and fill-in-the-blank questions. When the collected items are fill-in-the-blank questions, a corresponding answer area needs to be generated for each question, for example, referring to... Figure 8A The answer area will be generated in the blank space below each question, or refer to the image. Figures 5A to 5E An answer area is generated in the blank space after each question, so that the second person can fill in the answer to the question. At this time, the second person can directly click on the input box corresponding to the question to answer.

[0167] It is understood that the embodiments of this application can constrain the display ratio of the answer area. For example, a maximum number of characters or words can be set according to the expected length of the fill-in-the-blank content, thereby ensuring that the size of the answer area matches the length of the fill-in-the-blank text and avoiding answer areas that are too long or too short. Alternatively, a fixed answer area size or ratio can be set to ensure that the answer areas of all fill-in-the-blank questions are visually consistent. For example, it can be specified that the answer area of ​​each fill-in-the-blank question occupies a fixed proportion of the entire question, or the width and height of each answer area can be specified.

[0168] refer to Figure 8B In the case of collecting multiple-choice questions, this embodiment of the application will also generate multiple answer options for multiple-choice questions based on the target semantic information, and then provide multiple options for the second object to select the correct answer. The multiple options can be marked with letter characters such as "A, B, C, D" or number characters such as "1, 2, 3, 4". This embodiment of the application does not impose specific limitations.

[0169] Optionally, the collected items can be single-choice or multiple-choice questions, for example, in Figure 8CIn the first collection item, "Department" is a single-choice question, and the second person can select their specific department by clicking the option. In the second collection item, "Travel Method" is a multiple-choice question, and the second person can select one or more options to indicate their travel method.

[0170] refer to Figure 8D The collection form can include a combination of open-ended questions, single-choice questions, and multiple-choice questions. For example, the questions for the collection items "Name" and "Contact Information" are open-ended questions, the questions for the collection item "Intended Travel Method" are multiple-choice questions, and the questions for the collection item "Department" are single-choice questions.

[0171] It should be understood that there are many ways to implement the methods for setting the answer format, and it is not limited to the specific embodiments mentioned above.

[0172] In some embodiments, there are multiple areas to be filled and multiple collection items. Different areas to be filled have different area identifiers, and different collection items have different item identifiers. The area identifiers correspond one-to-one with the item identifiers. Specifically, the area identifiers of different types of areas to be filled are different. If the information to be filled in the areas to be filled is the same, the area identifiers of multiple areas to be filled with the same information can be set to the same identifier. For example, if the names of participants need to be filled in the first and last lines of the initial online document, the area identifiers of the first and last lines of the initial online document to be filled can be set to the same identifier. Then, after the second object fills in the collection item corresponding to the first line of the area to be filled, the content of the collection item can also be directly filled into the last line of the area to be filled without the second object having to fill it in again, saving time and effort. The filling process is described in detail below.

[0173] Reference Figure 9 When there are multiple areas to be filled and multiple items to be collected, the process of filling the content into the areas to be filled in the initial online document in step 350 may include, but is not limited to, the following steps 910 to 940.

[0174] Step 910: Determine the project identifier of the collection project corresponding to the filled content as the target identifier corresponding to the filled content.

[0175] In some embodiments, during the process of generating the target online document, the project identifier of the collection project corresponding to the content to be filled can be determined first, and then the project identifier of the collection project can be used as the target identifier corresponding to the content to be filled, so that the content to be filled can be directly associated with the area to be filled in in subsequent steps, thereby improving the accuracy and efficiency of filling the content in the area to be filled.

[0176] Step 920: Among multiple area identifiers, determine the target area identifier that corresponds to the target identifier.

[0177] In some embodiments, there is a one-to-one correspondence between region identifiers and project identifiers. Therefore, after determining the target identifier corresponding to the content to be filled, the region to be filled corresponding to the target identifier can be determined in the initial online document. This embodiment of the application iterates through the region identifiers of all regions to be filled and determines the target region identifier corresponding to the target identifier among multiple region identifiers, thereby achieving accurate searching of the target region identifier and improving the accuracy of content filling. By clearly defining the relationship between project identifiers and region identifiers, it can be ensured that the content to be filled into the collected items can be accurately filled into the specified position in the initial online document, avoiding situations where the content in the initial online document is chaotic or incorrectly filled.

[0178] Specifically, taking three areas to be filled and three collection items as an example, firstly, this embodiment assigns an area identifier to each area to be filled. For example, the area identifier for area 1 is A1, the area identifier for area 2 is A2, and the area identifier for area 3 is A3. Similarly, an item identifier is assigned to each collection item. For example, the item identifier for collection item 1 is B1, the item identifier for collection item 2 is B2, and the item identifier for collection item 3 is B3. Then, the area identifiers and item identifiers are bound together to obtain a one-to-one correspondence between A1 and B1, A2 and B2, and A3 and B3. When the second object fills in collection item 2, the item identifier B2 of collection item 2 corresponding to the filled content is used as the target identifier corresponding to the filled content. Then, based on the three binding relationships determined above, all area identifiers of the areas to be filled are traversed to determine the target area identifier corresponding to B2, which is A2, thus realizing the search and determination of the target area identifier corresponding to the target identifier.

[0179] Step 930: In the initial online document, the area to be filled corresponding to the target area identifier is determined as the target area to be filled for the content to be filled.

[0180] In some embodiments, the initial online document includes multiple areas to be filled. After determining the target area identifier, the initial online document is traversed to determine the areas to be filled corresponding to the target area identifier, and these areas are then designated as the target areas to be filled corresponding to the content to be filled. Specifically, there may be multiple target areas to be filled corresponding to the content to be filled in the initial online document. In particular, in this embodiment, areas of the same category may have the same area identifier. For example, three areas in the initial online document may require filling in the name of the person filling in, and two areas may require filling in the date of filling in, etc. In this case, the three areas requiring the name of the person filling in, and the two areas requiring the date of filling in, may have the same area identifier. After determining the target identifier, the target area identifier corresponding to the target identifier is determined from among the multiple area identifiers. At this time, the target area identifier may correspond to multiple areas to be filled. In this embodiment, all areas corresponding to the target area identifier are designated as the target areas to be filled corresponding to the content to be filled, thereby achieving accurate identification of the target areas to be filled and reducing the time spent manually searching and marking areas to be filled.

[0181] Step 940: Fill the target area to be filled in the initial online document with the entered content to obtain the target online document.

[0182] In some embodiments, different types of areas to be filled have different area identifiers. Step 930 can determine the area to be filled corresponding to the target area identifier and use the area to be filled corresponding to the target area to be filled as the target area to be filled for the content to be filled. Then, the content to be filled is filled into the target area to be filled in the initial online document. This embodiment of the application can automatically fill the content to the target area to be filled in the initial online document, so that the target online document with accurate content can be obtained without the need for manual input operations in related technologies. Therefore, it can not only reduce the error rate of content input, but also effectively reduce the time spent generating the target online document, thereby effectively improving the efficiency of generating the target online document.

[0183] Specifically, the target online document can be obtained in the following manner, referring to the embodiments of this application. Figures 10A to 10E The examples shown provide one way to obtain a target online document.

[0184] Reference Figure 10A When there are multiple areas to be filled and multiple collection items, different categories of areas to be filled have different area identifiers, and different collection items have different item identifiers. Figure 10AThe initial online document uses an example where the areas to be filled include "Name," "Purchase Date," "Contact Information," and "Purchase Amount." The area identifier for "Name" is set to F1, "Purchase Date" to G1, "Contact Information" to H1, and "Purchase Amount" to E1. In the initial online document, there are two instances of the "Name" area with the same area identifier. Then, a collection item is generated for each area to be filled. (Refer to...) Figure 10B The process involves obtaining collection item A corresponding to the "Name" area, collection item B corresponding to the "Purchase Date" area, collection item C corresponding to the "Contact Information" area, and collection item D corresponding to the "Purchase Amount" area. Then, all collection items are filled into a blank collection table to create a collection table associated with the initial online document. Collection items A, B, C, and D all contain open-ended questions; that is, input boxes are placed below the questions for collection items A through D, allowing the second user to enter answers for each item. All collection items A through D are mandatory. The item identifiers for collection items A, B, C, and D are set as F2, G2, H2, and E2, respectively. F1 and F2, G1 and G2, H1 and H2, and E1 and E2 are then linked, resulting in the correspondences of F1-F2, G1-G2, H1-H2, and E1-E2.

[0185] refer to Figure 10C After the second person enters their name in the input box corresponding to collection item A, the date in the input box corresponding to collection item B, and their contact information in the input box corresponding to collection item C, they click the submit button located above the collection form. A pop-up dialog box (not shown) appears to ask the second person to confirm whether to submit the form. When the second person clicks the "Yes" button, since the content in collection item D of the current collection form is empty, a pop-up dialog box appears reminding the second person that collection item D cannot be empty. (Reference) Figure 10D After filling in collection item D (not shown) in the second object, click the submit button set above the collection form again. At this time, a page showing successful submission will be displayed.

[0186] After the second object submits the collection form, this embodiment of the application obtains the filled content of each collection item in the collection form and determines the item identifier of the collection item corresponding to the filled content. The item identifier for collection item A corresponding to "Zhang San" is determined to be F2, the item identifier for collection item B corresponding to "October 7, 2023" is determined to be G2, the item identifier for collection item C corresponding to "124401121990" is determined to be H2, and the item identifier for collection item D corresponding to "20,000" is determined to be E2. Then, the process iterates through all unfilled areas in the initial online document. Domain identifiers, that is, traversing F1, G1, H1, and E1, determine the target region identifiers corresponding to the target identifiers. Specifically, determine that the target region identifier corresponding to F2 is F1, the target region identifier corresponding to G2 is G1, the target region identifier corresponding to H2 is H1, and the target region identifier corresponding to E2 is E1. Then, in the initial online document, determine the first region with target region identifier F1, the second region with target region identifier G1, the third region with target region identifier H1, and the fourth region with target region identifier E1, respectively. Then, refer to... Figure 10E As shown, fill "Zhang San" into the first area, "October 7, 2023" into the second area, "124401121990" into the third area, and "20,000" into the fourth area to obtain the target online document.

[0187] In related technologies, data and documents are usually independent entities, requiring users to manually maintain the relationship between them. That is, users need to manually fill these data into the document template. However, in this application embodiment, after the second object fills in the content to be filled in the collection project into the area to be filled in the initial online document, the target online document with accurate content can be obtained without the manual input operation in related technologies. Therefore, it can not only reduce the error rate of content input, but also complete the whole process automatically without the need for manual input, thereby reducing the error rate of content input.

[0188] In some embodiments, after creating a collection form associated with an initial online document, the first object can adjust the relevant permissions of the initial online document, such as whether to allow everyone to view the online document, whether to allow everyone to modify the online document, etc. Specifically, the first object can choose whether to add the collection form filler as an administrator by default, giving them administrator privileges. If the first object chooses to add this setting, the collection form filler will have default access to the online document and can directly open it. If the first object chooses not to add this setting, the online document will only be visible to the collection form administrator. For example, after the first object sends the collection form to the second object for completion, if the first object chooses to grant the collection form filler default access to the online document, the second object can directly open and view the online document after completing and submitting the collection form. If the first object does not set permission for the collection form filler to obtain online document access, the second object cannot open the online document. By setting the relevant permissions for the online document, users can flexibly set document permissions according to actual needs, ensuring data security.

[0189] Reference Figure 11 In some embodiments, in certain scenarios, multiple collection tables may need to be associated with an online document. In the case where an initial online document corresponds to multiple collection tables, the process of creating a collection table associated with the initial online document in step 320 may include, but is not limited to, the following steps 1110 to 1130.

[0190] Step 1110: Obtain the document content of the initial online document.

[0191] In some embodiments, when an initial online document corresponds to multiple collection tables, obtaining the document content of the initial online document can better understand the structure and content of the online document. In the process of obtaining the document content, it is necessary to consider various document formats and layout methods, so as to comprehensively extract all the document content of the online document, which is convenient for subsequent classification of the online document.

[0192] Step 1120: Divide the initial online document into multiple document parts according to the document content. Each document part includes areas to be filled.

[0193] In some embodiments, after obtaining the document content of an online document, the document content is first analyzed to determine the subject, structure, and logical relationship of the initial online document, thereby determining the category of the initial online document. For example, the initial online document may be a financial contract, leave application, questionnaire, etc., and paragraphs on different topics are divided into different document parts, so that multiple document parts can be divided according to different document content. Furthermore, this embodiment of the application also determines whether there are areas to be filled in multiple document parts. For multiple document parts with areas to be filled in, the areas to be filled in each document part are obtained, that is, the areas in each document part where the second object needs to fill in information, so as to facilitate the subsequent creation of collection forms for different document parts. The specific process of dividing into multiple document parts will be described later, and this embodiment of the application will not repeat it here.

[0194] Step 1130: Create a collection table for each document section based on the areas to be filled in each document section.

[0195] In some embodiments, after multiple document parts are obtained through step 1120, each document part includes a region to be filled. By analyzing the semantic environment of the region to be filled, a collection table corresponding to each document part is created. This enables the generation of multiple collection tables corresponding to the document parts based on an initial online document, realizing a one-to-many association between an initial online document and multiple collection tables, so as to meet the data integration needs in different scenarios.

[0196] In some embodiments, during the creation of a collection table corresponding to each document section, a blank collection table is first created for each document section. The first object can adjust any document section in real time, that is, the first object can insert attribute fields at any position in the document section. Therefore, this embodiment needs to determine the areas to be filled in each document section, so as to determine which areas in the document section need to be filled and which areas do not need to be filled. Then, for each document section, collection items are generated according to the specific semantic environment of the areas to be filled, thereby improving the accuracy and efficiency of filling in the areas to be filled and improving the reliability of information collection. Finally, all collection items of the document section are filled into the pre-created blank collection table to obtain the collection table associated with the document section. This process is repeated until all collection tables corresponding to all document sections are created.

[0197] Specifically, embodiments of this application can determine the areas to be filled by performing attribute detection on each document portion. That is, attribute detection is performed on all content of the document portion. If the detected content's attribute information is text, it means that the currently detected content is the text body (i.e., text area) in the initial online document, and no user input is required. If the currently detected content's attribute information is not text, it means that the currently detected content is the area to be filled, allowing for targeted information collection. Alternatively, OCR can be used to identify white space between text. OCR technology is used to scan and recognize the document portion, converting the recognized text into computer-editable text. Then, by detecting line breaks or analyzing the spacing between text, the recognized text is segmented, separating each segment. Each segment is then analyzed to detect white space between text. Finally, the detected white space is determined as the area to be filled, i.e., these areas are identified as locations where content needs to be filled. The specific process of determining the area to be filled in the document is the same as the specific process of determining the area to be filled in the initial online document. Please refer to the specific description of steps 610 to 640. In addition, the process of generating collection items based on the specific semantic environment of the area to be filled can be referred to the specific description of steps 710 to 740. The embodiments of this application will not be repeated here.

[0198] Reference Figure 12 In some embodiments, when an initial online document includes multiple areas to be filled and an initial online document corresponds to multiple collection tables, the process of dividing the initial online document into multiple document parts according to the document content in step 1120 may include, but is not limited to, the following steps 1210 to 1230.

[0199] Step 1210: Divide the document content in the initial online document into paragraphs to obtain multiple paragraphs.

[0200] In some embodiments, after obtaining the document content of an online document, the document content is first analyzed to determine the subject, structure, and logical relationships of the initial online document, thereby determining the category of the initial online document. For example, the initial online document may be a financial contract, a leave application form, a questionnaire, etc. Then, in this embodiment, the document content can be divided into multiple paragraphs according to its logical structure and semantic relationships. Specifically, this embodiment can divide the content based on topic transitions, content relevance, or logical order between paragraphs. For example, a paragraph may contain an introduction to a topic, while the next paragraph further expands on that topic or introduces a new topic. The start and end of paragraphs can also be identified according to the document format. In text documents, paragraphs are usually separated by blank lines. For example, in HTML or XML formats, paragraphs may be separated by specific tags (such as...). The document is first defined, and then paragraphs are divided based on their tag values. Next, the divided paragraphs are categorized, grouping those with similar themes or related content together. This allows for better organization of the document content and facilitates subsequent processing and analysis.

[0201] The logical structure of the initial online document refers to the organization and layout of the document content. This logical structure includes, but is not limited to, titles and subheadings, paragraphs, headers, footers, etc. Accordingly, titles correspond to the main parts of the initial online document, subheadings to the secondary parts, and paragraphs to the natural sections. Each paragraph typically contains a theme or viewpoint; for example, the first paragraph might provide a brief introduction to the product, the second paragraph might describe the product's specific functions, and the third paragraph might outline after-sales support. The semantic relationships of the initial online document refer to the semantic connections between words, sentences, and paragraphs within the document content. Semantic relationships include, but are not limited to, logical connectors, referential relationships, and attributive relationships. Logical connectors can be words like "therefore" or "however" used to connect sentences or paragraphs; referential relationships can be pronouns like "the above" or "the former"; and attributive relationships can be adjectives like "dear" or "respected."

[0202] Step 1220: Extract a summary from each paragraph to obtain a paragraph summary for each paragraph.

[0203] In some embodiments, after obtaining multiple paragraph contents, the intentions expressed by each paragraph content may be the same or different. There may also be cases where two paragraph contents have highly similar specific sentences but different keywords. To determine the main viewpoint and main intention expressed by each paragraph content, this application embodiment will extract a summary of each paragraph content. Specifically, this application embodiment first cleans the text of each paragraph content, removing irrelevant characters and punctuation marks to reduce noise during the analysis process, thereby improving the accuracy of text analysis. Then, it extracts key features from each paragraph content, such as keywords, phrases, sentences, etc., and evaluates the importance of the extracted key features. This evaluation can be based on the frequency of keyword occurrence, the richness of noun phrases in sentences, etc. Finally, based on the importance of the key features, key sentences are selected to construct paragraph summaries, resulting in paragraph summaries for each paragraph content. This allows users to quickly understand the main content of each paragraph, saving reading time and further accelerating the efficiency of generating collection tables.

[0204] Specifically, since sentences in certain positions may have higher informational value, such as the opening and closing sentences, it is necessary to determine the position of each sentence in the text. Then, the importance of each sentence is assessed by matching keywords within the sentence with the document's topic or a predefined keyword list. In this embodiment, different weights can be assigned based on the sentence's position, the frequency of keyword occurrence, or the richness of noun phrases. These weights are then combined to assign a score to each sentence, thus determining its importance. The sentences are then ranked according to their scores. Sentences with higher scores are considered more important, and the highest-scoring sentences are selected as the paragraph summary for each paragraph, based on the word count requirement.

[0205] It is understood that the embodiments of this application can identify keywords in text through methods such as word frequency statistics and word frequency-inverse document frequency.

[0206] Step 1230: Cluster the content of multiple paragraphs based on paragraph summaries to obtain multiple candidate paragraph combinations.

[0207] In some embodiments, the initial online document can be a text-heavy document such as an official contract, financial contract, or risk report. In such documents, multiple paragraphs may contain similar content, for example, product descriptions or precautions. To make the generated document more concise, this embodiment combines paragraphs with similar content or themes. Specifically, it measures the similarity of paragraph summaries to determine the semantic similarity between paragraphs. Then, it selects a clustering algorithm to cluster the paragraphs. Specifically, it selects one or more initial cluster centers, which can be randomly selected paragraph summaries or predefined themes. Based on the similarity calculation results, each paragraph summary is assigned to the most similar category. Then, based on the assigned paragraph summaries, the center of each cluster is recalculated, typically using the average or median of all paragraph summaries in the cluster. This assignment is repeated until a stopping condition is met, which can be that the cluster centers no longer change significantly or a preset number of iterations is reached. Finally, based on the clustering results, paragraphs belonging to the same category are considered as a candidate paragraph group, resulting in multiple candidate paragraph groups. Through clustering, information can be effectively extracted and organized from paragraph content, improving the efficiency and effectiveness of information processing and providing users with richer and more useful content.

[0208] It is understood that the embodiments of this application can measure similarity using methods such as cosine similarity and Jaccard similarity, and can cluster paragraphs using clustering algorithms such as K-means clustering, hierarchical clustering, and density clustering.

[0209] Step 1240: Among multiple candidate paragraph combinations, identify multiple candidate paragraph combinations that contain the area to be filled, thus obtaining multiple document parts.

[0210] In some embodiments, the initial online document includes multiple areas to be filled. Some candidate paragraph combinations do not require obtaining the filling information from a second object, and therefore do not have areas to be filled, such as product descriptions in a contract or helpful tips in a document. Other candidate paragraph combinations require obtaining the filling information from a second object, and therefore have areas to be filled, such as electronic signatures in contracts or reasons for leave on leave applications. To ensure the accuracy and comprehensiveness of information collection, embodiments of this application identify multiple candidate paragraph combinations containing areas to be filled, resulting in multiple document parts. This allows for the determination of which parts of the document need further supplementation or editing, maintaining the consistency of the document content.

[0211] refer to Figure 13 In some embodiments, the second object is the user who participates in filling in the information. There can be multiple second objects, and different second objects fill in different collection forms. In the case that there are multiple collection forms corresponding to one initial online document and different second objects fill in different collection forms, the process of filling the content into the area to be filled in the initial online document in step 350 may include, but is not limited to, the following steps 1310 to 1320.

[0212] Step 1310: Summarize and deduplicate the content filled in by multiple second objects to obtain multiple target content.

[0213] In some embodiments, an initial online document can be divided into multiple document parts, and each document part includes an area to be filled. Different document parts create corresponding collection forms. A first object can send different collection forms to different second objects for completion. After the second objects have filled out the collection forms, for each collection form, the content filled out by the second objects is obtained. The content filled out by multiple second objects is summarized to collect the content filled out by all second objects for different collection forms. Since different collection forms may have the same question items, for example, each collection form has question items such as "gender" and "group". Second objects of the same gender will fill out the same content for the "gender" question item, and similarly, second objects of the same group will fill out the same content for the "group" question item. To avoid data redundancy and repeated collection of the same information, this embodiment of the application will also perform deduplication processing on the content filled out in the collection forms. For example, duplicate content can be identified and deleted by deduplication algorithms, or deduplication can be performed based on methods such as exact matching or semantic similarity matching. By removing duplicate information from the filled content, multiple target filled content can be obtained, thereby ensuring that the dataset does not contain duplicate information, improving data quality, and avoiding wasting resources such as storage space, processing time and human resources on duplicate data.

[0214] Step 1320: Fill the multiple target content into the areas to be filled in the multiple document sections to obtain the target online document.

[0215] In some embodiments, different regions to be filled in have different region identifiers, different document parts correspond to different collection tables, and the collection items in the collection tables have different item identifiers. After creating a collection table corresponding to each document part, the region identifiers are bound to the item identifiers in the collection table corresponding to each document part, resulting in a one-to-one correspondence between the region identifiers and item identifiers of the document parts. Since the initial online document is split into multiple document parts, the information required by different document parts may be different or partially the same. After obtaining multiple target fill-in contents after deduplication, the target fill-in contents need to be filled into the regions to be filled in their corresponding document parts. Specifically, the item identifier of the collection item corresponding to the target fill-in contents is used as the item identifier corresponding to the fill-in contents. Then, among the multiple region identifiers, the region identifier corresponding to the item identifier is determined according to the previously set binding relationship. In the document part, the region to be filled in corresponding to the second identifier is determined as the target region to be filled in corresponding to the fill-in contents. Finally, the target fill-in contents are filled into the target region to be filled in the document part to obtain the target online document. This application embodiment can automatically fill the filled content into the target areas to be filled in different parts of the initial online document, thus obtaining an accurate target online document without the need for manual input operations as in related technologies. Therefore, it can not only reduce the error rate of content input, but also effectively reduce the time spent generating the target online document, thereby effectively improving the efficiency of generating the target online document.

[0216] Specifically, in the case where an initial online document corresponds to multiple collection forms, and different second objects fill in different collection forms, the specific process of filling in the multiple target entries into the unfilled areas included in multiple document parts to obtain the target online document can refer to the specific process of steps 910 to 940 above, and refer to 10A to Figure 10E The embodiments shown are some of the more specific ones, and the embodiments of this application will not be described again here.

[0217] Specifically, refer to Figures 14A to 14B In one embodiment, a process is provided in which multiple document portions of an initial online document correspond to a collection table.

[0218] refer to Figure 14A After obtaining the content of the online document, the first step is to analyze the content to determine the initial main body, structure, and logical relationships of the online document. Then, based on this information, the document content is divided into multiple paragraphs. Figure 14A The text lists paragraphs A, B, C, D, E, and F. It then extracts a summary from each paragraph to analyze the intent expressed, resulting in a paragraph summary. Finally, it clusters multiple paragraphs, considering paragraphs belonging to the same category as a candidate paragraph combination. For example, assuming paragraph summaries of A, B, and E belong to the same category, and paragraph summaries of C and D belong to the same category, the resulting candidate paragraph combination A includes paragraphs A, B, and E; candidate paragraph combination B includes paragraphs C and D; and candidate paragraph combination C includes paragraph F.

[0219] refer to Figure 14B Candidate paragraph combinations A and B have areas to be filled, while candidate paragraph combination C does not. This means that candidate paragraph combinations A and B require information filled in by the second object, while candidate paragraph combination C does not. Therefore, candidate paragraph combinations A and B are treated as different document parts. For each document part in the initial online document, a collection table (Collection Table 1 and Collection Table 2) is generated. The areas to be filled in the document part are associated with the collection items in their corresponding collection tables. After associating the document part with the collection tables, Collection Table 1 and Collection Table 2 are sent to different second objects for filling. After the second objects fill in and submit the received collection tables, since different collection tables may contain the same question items, the content filled in by multiple second objects is summarized and deduplicated to obtain multiple target filling contents. Finally, based on the one-to-one correspondence between the area identifiers and item identifiers of the document parts, the multiple target filling contents are filled into the areas to be filled in the multiple document parts, resulting in the target online document.

[0220] refer to Figure 15 In some embodiments, when there are multiple initial online documents and multiple initial online documents correspond to one collection table, the area to be filled has a region identifier. The process of creating a collection table associated with the initial online documents in step 320 may include, but is not limited to, the following steps 1501 to 1503.

[0221] Step 1501: Obtain the region identifiers of the regions to be filled in multiple initial online documents.

[0222] In some embodiments, there are multiple initial online documents, and each initial online document may be of the same or different types or formats. For example, the types of initial online documents include official documents, employment contracts, investigation reports, and leave requests; the formats of initial online documents include PDF, DOC, TXT, etc. If it is desired to collect the required information from all initial online documents through a collection table, the area to be filled in each initial online document needs to be determined before creating the collection table. Specifically, embodiments of this application can perform attribute detection on all content of the initial online documents, and determine the content with non-text attributes as the area to be filled in the initial online documents; alternatively, text recognition can be performed on the initial online documents to determine the white space between characters in each line of text in the initial online documents. When there is a white space between adjacent characters, the white space between characters is determined as the area to be filled. For a detailed description of the process, please refer to step 620, which will not be repeated here. Next, semantic analysis is performed on the regions to be filled to determine the semantic environment of the regions to be filled in each initial online document. Then, the same or different region identifiers are assigned according to the semantic environment of the regions to be filled. Specifically, the region identifiers of regions to be filled in the same semantic environment are set to the same identifier, and the region identifiers of regions to be filled in different semantic environments are set to different identifiers. Then, the region identifiers of the regions to be filled in multiple initial online documents are obtained, thus obtaining the region identifiers of the regions to be filled in different initial online documents.

[0223] It is understood that the area identifiers for different types of areas to be filled in the initial online documents in this application embodiment are different, and the area identifiers for areas of the same type to be filled are the same. Similarly, in different initial online documents, the area identifiers for areas of the same type to be filled are the same. For example, if the first and last lines of an initial online document require the names of participants to be filled, the area identifiers for the first and last lines of the initial online document to be filled can be set to the same identifier. Then, after the second object fills in the collection item corresponding to the first line to be filled, the content of the collection item can also be filled into the last line to be filled. As another example, if the first lines of initial online documents A and B require the names of participants to be filled, the area identifiers for the areas corresponding to the names of participants in the two initial online documents can be set to the same identifier. Then, after the second object fills in the collection item corresponding to initial online document A, the content of the collection item can also be filled into the corresponding area to be filled in initial online document B.

[0224] Specifically, when multiple regions to be filled in an initial online document are in the same semantic environment, it is determined that the multiple regions to be filled in the initial online document belong to the same type. In this case, the region identifiers of the multiple regions to be filled are the same. Similarly, when there are multiple initial online documents, the information required for regions to be filled in the same semantic environment in different initial online documents is the same. In this case, the region identifiers of regions to be filled in different initial online documents are also the same. That is, the region identifiers of regions to be filled in the same semantic environment in different initial online documents are the same.

[0225] Step 1502: Summarize and deduplicate the region identifiers of the areas to be filled in multiple initial online documents to obtain multiple target region identifiers.

[0226] In some embodiments, since there are multiple initial online documents, different initial online documents may require the same information. For example, initial online documents A, B, and C may all require collecting the name of a second object, while initial online documents A and D may require collecting the home address of a second object. Because the region identifiers for the same semantic environment to be filled are the same in different initial online documents, duplicate region identifiers may occur, leading to a large number of duplicate entries in the collection table and wasting data resources. Therefore, this embodiment needs to summarize the region identifiers of the regions to be filled in multiple initial online documents to avoid omissions and achieve comprehensive statistics on the region identifiers of multiple initial online documents. Simultaneously, the region identifiers are deduplicated to remove duplicates, resulting in multiple different target region identifiers. Each target region identifier corresponds to a different collection item, thereby avoiding data redundancy and repeated collection of the same information, ensuring that the dataset does not contain duplicate information, improving data quality, and avoiding wasting resources such as storage space, processing time, and human resources on duplicate data.

[0227] It is understood that the embodiments of this application can identify and delete duplicate filled content through deduplication algorithms, or can perform deduplication based on exact matching or semantic similarity matching. The embodiments of this application do not impose specific limitations.

[0228] Step 1503: Create a collection table associated with multiple initial online documents based on the areas to be filled corresponding to the multiple target area identifiers.

[0229] In some embodiments, after summarizing and deduplicating the region identifiers, multiple different target region identifiers are obtained, and each target region identifier corresponds to a different region to be filled. This application embodiment can identify the corresponding regions to be filled based on multiple target regions. Specifically, according to the specific needs and target of the first object, the structure and content of the collection table are customized, and a blank collection table is created. In order to better determine the information required for the regions to be filled, this application embodiment obtains the adjacent text content of the regions to be filled in the initial online documents to which they belong. The adjacent text content includes the text content located on the left and right sides and / or the top and bottom sides of the regions to be filled. Then, semantic recognition is performed on the adjacent text content to obtain the text semantic information of the adjacent text content, thereby enabling the extraction of key information from the adjacent text content. Then, the semantic information of the text content to be filled into the regions to be filled is determined based on the text semantic information. Finally, collection items corresponding to the regions to be filled are generated based on the semantic information, and the collection items are filled into the blank collection table to obtain a collection table associated with multiple initial online documents. Thus, the information required by multiple initial online documents can be collected through a single collection table, which facilitates the unified management of the collection table. When there are collection needs for multiple online documents, the information collection process is simplified, the workload of creating and maintaining multiple collection tables is reduced, and the information required by each online document can be automatically collected, reducing data duplication and redundancy and lowering storage and management costs.

[0230] It should be noted that the specific process of step 1503 can be referred to the specific description of steps 610 to 640 and steps 710 to 740, and will not be repeated here in the embodiments of this application.

[0231] refer to Figure 16 In some embodiments, when there are multiple initial online documents and multiple initial online documents correspond to one collection table, there are multiple collection items, and different collection items have different item identifiers. The area to be filled has an area identifier, and the area identifier corresponds one-to-one with the item identifier. The process of filling the content into the area to be filled in the initial online document in step 350 may include, but is not limited to, the following steps 1601 to 1604.

[0232] Step 1601: Obtain the region identifier of the region to be filled in each initial online document.

[0233] In some embodiments, there are multiple initial online documents, and each initial online document may be of the same or different types or formats. If it is desired to collect the required information of all initial online documents through a collection table, the area to be filled in each initial online document needs to be determined before creating the collection table. The detailed process of determining the area to be filled can be referred to the specific description of step 620 or step 1501, which will not be repeated here in this embodiment. Then, semantic analysis is performed on the area to be filled to determine the semantic environment of the area to be filled in each initial online document. Then, the same or different area identifiers are assigned according to the semantic environment of the area to be filled. Specifically, the area identifiers of the areas to be filled in the same semantic environment are set to the same identifier, and the area identifiers of the areas to be filled in different semantic environments are set to different identifiers. Then, the area identifiers of the areas to be filled in multiple initial online documents are obtained, thereby obtaining the area identifiers of the areas to be filled in different initial online documents.

[0234] It is understood that the area identifiers for different types of areas to be filled in the initial online documents in this application embodiment are different, and the area identifiers for areas of the same type to be filled are the same. Similarly, in different initial online documents, the area identifiers for areas of the same type to be filled are the same. For example, if the first and last lines of an initial online document require the names of participants to be filled, the area identifiers for the first and last lines of the initial online document to be filled can be set to the same identifier. Then, after the second object fills in the collection item corresponding to the first line to be filled, the content of the collection item can also be filled into the last line to be filled. As another example, if the first lines of initial online documents A and B require the names of participants to be filled, the area identifiers for the areas corresponding to the names of participants in the two initial online documents can be set to the same identifier. Then, after the second object fills in the collection item corresponding to initial online document A, the content of the collection item can also be filled into the corresponding area to be filled in initial online document B.

[0235] Specifically, when multiple regions to be filled in an initial online document are in the same semantic environment, it is determined that the multiple regions to be filled in the initial online document belong to the same type. In this case, the region identifiers of the multiple regions to be filled are the same. Similarly, when there are multiple initial online documents, the information required for regions to be filled in the same semantic environment in different initial online documents is the same. In this case, the region identifiers of regions to be filled in different initial online documents are also the same. That is, the region identifiers of regions to be filled in the same semantic environment in different initial online documents are the same.

[0236] Step 1602: Among multiple project identifiers, find the project identifier that corresponds to the area identifier of the area to be filled in each initial online document, and obtain multiple project identifier combinations.

[0237] In some embodiments, there is a one-to-one correspondence between region identifiers and item identifiers. Since the region identifiers for the areas to be filled in each initial online document may be different—for example, the region identifiers for initial online document A are a1, a2, and a3; for initial online document B, they are b1, b2, and b3; for initial online document C, they are c1 and c2, and so on—this embodiment of the application needs to determine the region identifiers for the areas to be filled in each initial online document and find the item identifiers corresponding to the region identifiers for the areas to be filled in each initial online document. For example, in the item identifiers, find g1 corresponding to a1, a2, and a3 in initial online document A. The project identifiers g2 and g3 are identified. Then, the corresponding identifiers f1, f2, and f3 in the initial online document B are found. Similarly, the corresponding identifiers h1 and h2 in the initial online document C are found. All project identifiers for each initial online document are then aggregated to obtain multiple project identifier combinations. Each project identifier combination corresponds one-to-one with all area identifiers in an initial online document. This ensures that the content of the collected projects is accurately placed in the designated locations within the initial online documents, preventing content chaos or errors in the initial online documents.

[0238] Step 1603: Divide the collection table according to the combination of multiple project identifiers to obtain multiple collection sub-tables, and each collection sub-table corresponds one-to-one with the initial online document.

[0239] In some embodiments, the collection table created in step 1503 is a complete form, and all collection items corresponding to the initial online documents are on the collection table. Since each item identifier combination corresponds to its own initial online document, in order to avoid information filling errors, this embodiment of the application can divide the collection table according to multiple item identifier combinations to obtain collection sub-tables that correspond one-to-one with the initial online documents, thereby ensuring the compatibility between the content information filled in by the second object for the collection sub-table and the area to be filled in the initial online document.

[0240] Step 1604: Fill the fields to be filled in each collection sub-table into the corresponding fields to be filled in the initial online document to obtain multiple target online documents.

[0241] In some embodiments, step 1603 determines a collection sub-table that corresponds one-to-one with the initial online document. Since the item identifiers in the collection sub-tables correspond one-to-one with the area identifiers in the initial online document, the content to be filled in the collection sub-tables corresponds one-to-one with the areas to be filled in the corresponding initial online document. By obtaining the content to be filled in each collection sub-table and filling the content into the areas to be filled in the corresponding initial online document, multiple target online documents with accurate content can be obtained. This embodiment of the application can automatically fill the content to be filled in the collection sub-tables into the areas to be filled in the corresponding initial online documents without the need for manual input operations in related technologies. Therefore, it can not only reduce the error rate of content input, but also effectively reduce the time spent generating target online documents, thereby effectively improving the efficiency of generating target online documents.

[0242] Specifically, refer to Figures 17A to 17B In one embodiment, a process is provided for associating initial online documents with a collection table when multiple initial online documents correspond to a single collection table.

[0243] refer to Figure 17A The first object can be an initial online document of any format for association, such as PDF, DOC, TXT, etc. Specifically, Figure 17A The dataset includes three initial online documents: Initial Online Document 1, Initial Online Document 2, and Initial Online Document 3. Initial Online Document 1 and Initial Online Document 2 are in DOC format, and Initial Online Document 3 is in PDF format. The region identifiers of the areas to be filled in the above three initial online documents are obtained. The region identifiers in Initial Online Document 1 include a1, b1, and f1; the region identifiers in Initial Online Document 2 include a1, c1, and f1; and the region identifiers in Initial Online Document 3 include a1 and e1. Since there are duplicates among Initial Online Documents 1, 2, and 3, in order to avoid duplicate information filling in the second object, the region identifiers of the three initial online documents are deduplicated, and the target region identifiers are determined to be a1, b1, c1, e1, and f1.

[0244] refer to Figure 17B A collection table is created based on the areas to be filled corresponding to the target area identifiers, as well as multiple initial online documents. This collection table includes collection items 1 through 5, each with a different item identifier. The area identifiers correspond one-to-one with the item identifiers. For example, collection item 1 has the item identifier a2, corresponding to area identifier a1; collection item 2 has the item identifier b2, corresponding to area identifier b1; collection item 3 has the item identifier c2, corresponding to area identifier c1; collection item 4 has the item identifier e2, corresponding to area identifier e1; and collection item 5 has the item identifier f2, corresponding to area identifier f1. After the second object fills in the content for collection items 1 through 5 in the collection table, the corresponding information can be simultaneously filled into the corresponding areas to be filled in for initial online documents 1, 2, and 3. This allows for the generation of multiple target online documents at once, improving the efficiency of generating multiple online documents.

[0245] Furthermore, in the case where there are multiple second objects, refer to Figure 17C As shown, the collection form can also be split into multiple sub-collection forms for different second-party entities to fill out. For example... Figure 17C In the process, among multiple project identifiers, the project identifier corresponding to the region identifier of the area to be filled in each initial online document is identified, resulting in three project identifier combinations. Specifically, the project identifier combination corresponding to the region identifier in initial online document 1 is obtained, which includes identifiers a2, b2, and f2. Similarly, the combination a2, c2, and f2 corresponding to the region identifier in initial online document 2, and the combination a2 and e2 corresponding to the region identifier in initial online document 3 are obtained. Then, the collection table is split according to the multiple project identifier combinations to obtain three collection sub-tables, namely collection sub-table 1, collection sub-table 2, and collection sub-table 3. At this time, these collection sub-tables can be sent to different second objects for filling. After each second object has filled in collection sub-table 1, collection sub-table 2, and collection sub-table 3, the content filled in each collection sub-table is filled into the area to be filled in the corresponding initial online document, resulting in three target online documents.

[0246] refer to Figure 18 In some embodiments, the online document processing method may include, but is not limited to, the following steps 1801 to 1803.

[0247] Step 1801: After filling in the fields to be filled in the initial online document, in response to the second object refilling and submitting the collection items in the collection form, obtain the refilled content of the second object for the collection items.

[0248] In some embodiments, after the second object fills out and submits the collection form, the entered content is automatically filled into the unfilled area of ​​the initial online document. At this point, the second object may discover errors or omissions in the entry. This triggers an update operation on the collection form. Specifically, the second object re-enters the collection items in the collection form by triggering relevant controls. After identifying the collection items that need to be re-entered, the second object updates the content of those items. After re-entering the collection items, the second object submits the re-entered items using the submit control. Then, the re-entered content of the collection items by the second object is retrieved again to determine if any content updates have occurred.

[0249] Understandably, when a second party discovers an error in a collection item on the collection form, they can only correct the incorrectly filled item without changing the content of other collection items. This reduces the workload of the second party, avoids accidentally changing or deleting other correct data while correcting a few errors, and improves the flexibility of filling in online documents.

[0250] Step 1802: Determine the differences between the re-entered content and the entered content.

[0251] In some embodiments, after a second object submits a re-entered collection item, the content of the re-entered collection item may be identical to the content of the current collection item; that is, the second object continues to maintain the content of the current collection item. This application embodiment determines the content difference between the re-entered content and the entered content. The re-entered content is the content submitted by the second object after re-entering the collection item, while the entered content is the current content of the area to be filled in the initial online document. This ensures the accuracy of the filled content, avoids character omissions, and prevents duplicate entry of the same content, reducing unnecessary work.

[0252] In some embodiments, during the process of determining the content differences between the re-entered content and the filled content, the re-entered content and the filled content are cleaned to remove irrelevant characters, punctuation marks, etc., and the re-entered content and the filled content are processed to standardize the text format to make the re-entered content and the filled content more standardized. Then, a text comparison tool or a script is written to compare the differences between the re-entered content and the filled content, and the differences between the two contents are marked to obtain the content differences between the two.

[0253] Step 1803: Update the content of the unfilled areas already filled in the target online document according to the content differences to obtain the updated target online document.

[0254] In some embodiments, after determining the content difference between the re-entered content and the entered content, the embodiments of this application can update the content of the unfilled area already filled in the target online document to the content difference, thereby realizing the automatic update of the entered content, obtaining the updated target online document, realizing the real-time update of the target online document, and ensuring the accuracy and reliability of the data.

[0255] refer to Figure 19 In some embodiments, the online document processing method may also include, but is not limited to, the following steps 1901 to 1902.

[0256] Step 1901: In response to the modification made by the first object to the area to be filled in the initial online document, obtain the modified area to be filled, and generate a new collection item based on the modified area to be filled.

[0257] In some embodiments, after the first object publishes the collection form, there may be a situation where the first object wants to change the area to be filled, such as adding an area to be filled, deleting an area to be filled, changing the position of the area to be filled, etc. At this time, the first object triggers the corresponding control to trigger the change operation of the area to be filled. In response to the modification made by the first object to the area to be filled in the initial online document, the modified area to be filled is obtained. Since the area to be filled has changed, in order to ensure the accuracy of the content of the area to be filled in the initial online document, it is necessary to generate new collection items based on the modified area to be filled, so that the second object can fill in the new collection items, thereby ensuring the compatibility between the content information filled in by the second object for the collection items and the area to be filled in the initial online document.

[0258] Step 1902: Incrementally update the collection form according to the new collection items, and send a notification to the second object to re-fill out the new collection items.

[0259] In some embodiments, if the second object still fills in the original collection items in the collection table after the area to be filled in the initial online document is modified, it will lead to information entry errors. Therefore, after generating new collection items based on the modified area to be filled, this embodiment of the application will incrementally update the collection table, that is, update the corresponding collection items in the collection table according to the new collection items. By incrementally updating the collection table, it is ensured that the collection items therein are consistent with the modified online document area to be filled, effectively avoiding entry errors. After the update is completed, a notification message for re-entering the new collection items is sent to the second object to remind the second object to re-enter the new collection items, ensuring that all collection items are up-to-date and accurate, and further ensuring that the information provided by the second object is accurate.

[0260] It should be understood that the processing of online documents in the embodiments of this application can be implemented in various ways, including, but not limited to, the specific embodiments described above.

[0261] Reference Figure 20 This application also provides an online document processing apparatus 2000, comprising:

[0262] The document creation unit 2010 is used to create an initial online document in response to an online document creation operation performed by the first object. The initial online document includes a region to be filled.

[0263] Collection table creation unit 2020 is used to create a collection table associated with the initial online document in response to the collection table creation operation performed by the first object. The collection table includes collection items, and the areas to be filled are associated with the collection items.

[0264] The collection form publishing unit 2030 is used to send the collection form to the second object for filling in in response to the publishing operation of the first object on the collection form;

[0265] The content acquisition unit 2040 is used to acquire the content filled in by the second object for the collection items in response to the submission operation of the second object to the collection form after filling in the collection items.

[0266] The content filling unit 2050 is used to fill the content to be filled into the unfilled area of ​​the initial online document to obtain the target online document.

[0267] In some embodiments, the collection table creation unit 2020 is specifically used for:

[0268] Create a blank collection table;

[0269] Identify the areas to be filled in the initial online document;

[0270] Generate collection items based on the area to be filled;

[0271] Fill the blank collection form with the collected items to obtain the collection form associated with the initial online document.

[0272] In some embodiments, the collection table creation unit 2020 is specifically used for:

[0273] Get the text content adjacent to the region to be filled;

[0274] Semantic recognition is performed on adjacent text content to obtain the textual semantic information of adjacent text content;

[0275] The target semantic information is determined based on the text semantic information. The target semantic information is the semantic information of the text content that needs to be filled into the area to be filled.

[0276] Collect items are generated based on target semantic information.

[0277] In some embodiments, there are multiple areas to be filled and multiple collection items. Different areas to be filled have different area identifiers, and different collection items have different item identifiers. The area identifiers and item identifiers correspond one-to-one. The content filling unit 2050 is specifically used for:

[0278] The project identifier of the collection project corresponding to the filled content is determined as the target identifier corresponding to the filled content;

[0279] Among multiple region identifiers, determine the target region identifier that corresponds to the target identifier;

[0280] In the initial online document, the area to be filled corresponding to the target area identifier is identified as the target area to be filled for the content to be filled.

[0281] Fill the target area in the initial online document with the entered content to obtain the target online document.

[0282] In some embodiments, the number of regions to be filled is multiple, and the collection table creation unit 2020 is specifically used for:

[0283] Retrieve the document content of the initial online document;

[0284] The initial online document is divided into multiple document parts based on its content, and each document part includes areas to be filled.

[0285] Create a collection table for each document section based on the areas to be filled in each document section.

[0286] In some embodiments, the collection table creation unit 2020 is specifically used for:

[0287] The document content in the initial online document is divided into paragraphs to obtain multiple paragraphs.

[0288] Extract a summary from each paragraph to obtain a paragraph summary.

[0289] Clustering of multiple paragraphs based on paragraph summaries yields multiple candidate paragraph combinations.

[0290] Among multiple candidate paragraph combinations, identify those containing the area to be filled, thus obtaining multiple document sections.

[0291] In some embodiments, the number of second objects is multiple, and different second objects fill different collection forms; the content filling unit 2050 is specifically used for:

[0292] The content filled in by multiple second objects is summarized and deduplicated to obtain multiple target content;

[0293] The content to be filled in by multiple targets is used to fill in the areas to be filled in the document sections, resulting in the target online document.

[0294] In some embodiments, the initial number of online documents is multiple, and the area to be filled has an area identifier; the collection table creation unit 2020 is specifically used for:

[0295] Retrieve the region identifiers of the areas to be filled in multiple initial online documents;

[0296] The region identifiers of the areas to be filled in multiple initial online documents are summarized and deduplicated to obtain multiple target region identifiers;

[0297] Create a collection table associated with multiple initial online documents based on the regions to be filled corresponding to multiple target region identifiers.

[0298] In some embodiments, the number of collection items is multiple, different collection items have different item identifiers, and different areas to be filled have different area identifiers, with a one-to-one correspondence between area identifiers and item identifiers; the content filling unit 2050 is specifically used for:

[0299] Obtain the region identifier of the area to be populated in each initial online document;

[0300] Among multiple project identifiers, find the project identifier that corresponds to the region identifier of the area to be filled in each initial online document, and obtain multiple project identifier combinations;

[0301] The collection table is divided into multiple collection sub-tables based on multiple project identifier combinations, and each collection sub-table corresponds one-to-one with the initial online document;

[0302] The content entered in each collection sub-table is used to fill in the unfilled area in the corresponding initial online document, resulting in multiple target online documents.

[0303] In some embodiments, the processing apparatus further includes an online document updating unit, which is used for:

[0304] After the content is filled into the unfilled area in the initial online document, in response to the second object refilling and submitting the collection items in the collection form, the refilled content of the second object for the collection items is obtained.

[0305] Identify the differences between the re-entered content and the entered content;

[0306] The content of the unfilled areas already filled in the target online document is updated based on the content differences, resulting in the updated target online document.

[0307] In some embodiments, the processing apparatus further includes a collection table updating unit, the collection table updating unit being configured to:

[0308] In response to the first object's modification of the area to be filled in the initial online document, the modified area to be filled is obtained, and a new collection item is generated based on the modified area to be filled.

[0309] The collection form is incrementally updated based on the new collection items, and a notification message for re-entry of the new collection items is sent to the second object.

[0310] Reference Figure 21 This application also discloses an electronic device, the electronic device 2100 comprising:

[0311] At least one processor 2101;

[0312] At least one memory 2102 is used to store at least one program;

[0313] When at least one program is executed by at least one processor 2101, the online document processing method described above is implemented.

[0314] This application also discloses a computer-readable storage medium storing a processor-executable computer program, which, when executed by a processor, implements the online document processing method described above.

[0315] This application also discloses a computer program product, including a computer program or computer instructions, which are stored in a computer-readable storage medium. The processor of an electronic device reads the computer program or computer instructions from the computer-readable storage medium and executes the computer program or computer instructions, causing the electronic device to perform the online document processing method described above.

[0316] The terms "first," "second," "third," "fourth," etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatuses.

[0317] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0318] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through some interfaces, apparatuses, or units, and may be electrical, mechanical, or other forms.

[0319] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0320] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0321] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0322] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0323] The step numbers in the above method embodiments are set only for ease of explanation and do not impose any restrictions on the order of the steps. The execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.

Claims

1. A method for processing online documents, characterized in that, Includes the following steps: In response to an online document creation operation performed by a first object, an initial online document is created, the initial online document including a region to be filled; In response to the collection table creation operation performed by the first object, a collection table associated with the initial online document is created, the collection table including collection items, and the area to be filled is associated with the collection items; In response to the first object's publishing operation on the collection form, the collection form is sent to the second object for completion; In response to the submission operation of the second object to the collection form after filling in the collection items, obtain the content filled in by the second object for the collection items; The filled content is then used to fill in the area to be filled in the initial online document to obtain the target online document.

2. The method according to claim 1, characterized in that, The creation of the collection table associated with the online document includes: Create a blank collection table; Determine the area to be filled in the initial online document; The collection items are generated based on the area to be filled; The collected items are filled into the blank collection table to obtain the collection table associated with the initial online document.

3. The method according to claim 2, characterized in that, The step of generating the collection item based on the area to be filled includes: Obtain the adjacent text content of the region to be filled; Semantic recognition is performed on the adjacent text content to obtain the textual semantic information of the adjacent text content; Target semantic information is determined based on the text semantic information, wherein the target semantic information is the semantic information of the text content that needs to be filled into the area to be filled; The collection items are generated based on the target semantic information.

4. The method according to claim 1, characterized in that, There are multiple regions to be filled and multiple collection items. Different regions to be filled have different region identifiers, and different collection items have different item identifiers. The region identifiers and item identifiers correspond one-to-one. The step of filling the input content into the area to be filled in the initial online document to obtain the target online document includes: The project identifier of the collection item corresponding to the filled content is determined as the target identifier corresponding to the filled content; Among the multiple region identifiers, determine the target region identifier that corresponds to the target identifier; In the initial online document, the area to be filled corresponding to the target area identifier is determined as the target area to be filled corresponding to the content to be filled; The filled content is then used to fill in the target area to be filled in the initial online document to obtain the target online document.

5. The method according to claim 1, characterized in that, The number of regions to be filled is multiple, and the creation of a collection table associated with the initial online document includes: Obtain the document content of the initial online document; The initial online document is divided into multiple document parts based on the document content, and each document part includes the area to be filled. Based on the areas to be filled in each document section, create the collection table corresponding to each document section.

6. The method according to claim 5, characterized in that, The step of dividing the initial online document into multiple document parts based on the document content includes: The document content in the initial online document is divided into paragraphs to obtain multiple paragraph contents; Extract a summary from the content of each paragraph to obtain a paragraph summary for each paragraph. Based on the paragraph summary, the contents of multiple paragraphs are clustered to obtain multiple candidate paragraph combinations; Among the multiple candidate paragraph combinations, multiple candidate paragraph combinations containing the area to be filled are identified, resulting in multiple document portions.

7. The method according to claim 5, characterized in that, The number of the second objects is multiple, and different second objects fill in different collection forms; the step of filling the filled content into the unfilled area in the initial online document to obtain the target online document includes: The content filled in by multiple second objects is summarized and deduplicated to obtain multiple target content; The target content is filled into the areas to be filled in the document portions to obtain the target online document.

8. The method according to claim 1, characterized in that, The initial number of online documents is multiple, and the area to be filled has a region identifier; the creation of a collection table associated with the initial online documents includes: Obtain the region identifier of the region to be filled in the multiple initial online documents; The region identifiers of the regions to be filled in the multiple initial online documents are summarized and deduplicated to obtain multiple target region identifiers; Based on the regions to be filled corresponding to the multiple target region identifiers, a collection table is created that is associated with the multiple initial online documents.

9. The method according to claim 8, characterized in that, The number of collection items is multiple, and different collection items have different item identifiers. Different areas to be filled have different area identifiers, and the area identifiers correspond one-to-one with the item identifiers. The step of filling the input content into the area to be filled in the initial online document to obtain the target online document includes: Obtain the region identifier of the region to be filled in each of the initial online documents; Among the multiple project identifiers, find the project identifier that corresponds to the region identifier of the area to be filled in each of the initial online documents to obtain multiple project identifier combinations; The collection table is divided into multiple collection sub-tables based on multiple combinations of project identifiers, and each collection sub-table corresponds one-to-one with the initial online document; The content to be filled in each of the collection sub-tables is then used to fill in the unfilled area of ​​the corresponding initial online document, resulting in multiple target online documents.

10. The method according to claim 1, characterized in that, The method further includes: After the content is filled into the area to be filled in the initial online document, in response to the second object refilling and submitting the collection item in the collection form, the refilled content of the second object for the collection item is obtained; Determine the content differences between the re-entered content and the entered content; The content of the unfilled area already filled in the target online document is updated based on the content differences to obtain the updated target online document.

11. The method according to claim 1, characterized in that, The method further includes: In response to the first object's modification of the area to be filled in the initial online document, the modified area to be filled is obtained, and a new collection item is generated based on the modified area to be filled; The collection form is incrementally updated based on the new collection items, and a notification message for re-entry of the new collection items is sent to the second object.

12. An online document processing apparatus, characterized in that, include: A document creation unit is configured to create an initial online document in response to an online document creation operation performed by a first object, the initial online document including a region to be filled. A collection table creation unit is configured to create a collection table associated with the initial online document in response to a collection table creation operation performed by the first object. The collection table includes collection items, and the area to be filled is associated with the collection items. The collection form publishing unit is used to send the collection form to the second object for filling in in response to the publishing operation of the first object on the collection form; The content acquisition unit is configured to, in response to the submission operation of the second object to the collection form after filling in the collection item, acquire the content filled in by the second object for the collection item; A content filling unit is used to fill the content to be filled into the area to be filled in the initial online document to obtain the target online document.

13. An electronic device, characterized in that, include: At least one processor; At least one memory for storing at least one program; The online document processing method as described in any one of claims 1 to 11 is implemented when at least one of the programs is executed by at least one of the processors.

14. A computer-readable storage medium, characterized in that, It contains a processor-executable computer program, which, when executed by a processor, is used to implement the online document processing method as described in any one of claims 1 to 11.

15. A computer program product, comprising a computer program or computer instructions, characterized in that, The computer program or the computer instructions are stored in a computer-readable storage medium, and the processor of the electronic device reads the computer program or the computer instructions from the computer-readable storage medium. The processor executes the computer program or the computer instructions, causing the electronic device to perform the online document processing method as described in any one of claims 1 to 11.