Common editing document annotation processing method and device, equipment and medium

By acquiring the editing scope and group hierarchy of online documents, generating editing permissions, collecting and extracting text summaries, and forming a content summary table, the problem of low efficiency in collaborative document editing in group enterprises is solved, and efficient annotation processing and information summarization are achieved.

CN121919904APending Publication Date: 2026-04-24CHINA MERCHANTS FINANCE HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA MERCHANTS FINANCE HLDG CO LTD
Filing Date
2025-12-29
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

In large corporations, the efficiency of annotation processing for collaboratively edited documents is low. Existing technologies lack the accuracy of annotation processing and information summarization, resulting in low collaborative editing efficiency.

Method used

By acquiring online documents and editing scope from the target group, group levels are defined, editing permissions are generated, text summaries are collected and extracted, a content summary table is formed, and intelligent correction of online documents is performed to ensure format standardization and opinion integration.

Benefits of technology

It achieves format validation and precise permission control, avoids information leakage, improves the efficiency and security of collaborative document editing, and reduces manual integration costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121919904A_ABST
    Figure CN121919904A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent decision making, and discloses an annotation processing method, device and equipment for commonly editing documents and a medium, and the method comprises the steps: obtaining online documents commonly edited by a target group to be preset, and obtaining the editing ranges of different individuals in the target group on the online documents; performing hierarchical division on the target group according to the size of the editing range to obtain group hierarchies of the target group; generating editing permissions corresponding to different individuals in the target group according to the group hierarchy and the editing range; collecting editing texts of each individual in the target group according to the size of the editing permission, and extracting a text abstract of each editing text; paragraph content corresponding to each text abstract is extracted from the online document, each text abstract and the paragraph content are stored in an associated mode, and a content summary sheet is obtained; and correcting the online document according to the content summary table to obtain a corrected document. The comment processing efficiency of the co-edited document can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent decision-making technology, and in particular to a method, apparatus, device, and medium for annotation processing of collaboratively edited documents. Background Technology

[0002] In the process of deepening digital transformation, cross-level and cross-regional collaborative work has become a core model for enterprise operations. Collaborative document editing, as a key carrier of information sharing and consensus-building, is widely used in business scenarios such as rule and regulation formulation, project plan review, and contract clause revision. Especially in group enterprises, rules and regulations, as the core carrier of corporate governance, directly affect the efficiency of cross-level collaboration and the ability to manage compliance risks.

[0003] When large corporations collaborate on editing and annotating policy documents, they typically need to involve multiple levels of stakeholders, including headquarters, subsidiaries, departments, and positions. Annotations cover various aspects such as compliance, business suitability, and standardized wording. Some companies use a process of distributing drafts via email, manually filling in comments, and then summarizing feedback at each level. Participants must manually download the document, fill in annotations, and send back emails, followed by a dedicated person compiling and comparing each document. Some companies have attempted to introduce general-purpose shared document tools for online annotation, supporting simultaneous online editing and annotation by multiple stakeholders, but none have been customized for enterprise-level collaboration needs.

[0004] In summary, existing technologies lack the precision for annotation processing and information summarization, resulting in low efficiency in annotating collaboratively edited documents. Summary of the Invention

[0005] This invention provides a method, apparatus, device, and medium for annotation processing of collaboratively edited documents, in order to solve the technical problem of low efficiency in annotation processing of collaboratively edited documents.

[0006] Firstly, a method for handling annotations in collaboratively edited documents is provided, including: The system acquires an online document to be collaboratively edited by a target group, and also acquires the editing scope of the online document by different individuals within the target group. The target group is hierarchically divided according to the size of the editing range to obtain the group hierarchy of the target group; Based on the group hierarchy and the editing scope, edit permissions are generated for different individuals within the target group; Collect the edited text of the online document by each individual in the target group according to the specified editing permissions, and extract the text summary of each edited text; Extract the paragraph content corresponding to each text summary from the online document, associate and store each text summary with the paragraph content to obtain a content summary table; The online document is revised based on the summary table to obtain the revised document.

[0007] Secondly, an annotation processing device for collaborative document editing is provided, including: The editing scope acquisition module is used to acquire online documents to be jointly edited by a preset target group, and to acquire the editing scope of the online documents by different individuals within the target group; The group hierarchy division module is used to divide the target group into hierarchical levels according to the size of the editing range, so as to obtain the group hierarchy of the target group; An editing permission generation module is used to generate editing permissions for different individuals within the target group based on the group hierarchy and the editing scope. The text summary extraction module is used to collect the edited text of the online document by each individual in the target group according to the size of the editing permission, and extract the text summary of each edited text; The content summary table generation module is used to extract the paragraph content corresponding to each text summary from the online document, associate and store each text summary with the paragraph content, and obtain a content summary table; The online document correction module is used to correct the online document according to the content summary table to obtain a corrected document.

[0008] Thirdly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described annotation processing method for jointly editing documents.

[0009] Fourthly, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps of the above-described annotation processing method for jointly editing documents.

[0010] In the aforementioned method, apparatus, device, and medium for annotating collaboratively edited documents, the client can obtain online documents for collaborative editing by the target group and the editable scope of each member. Group levels are defined based on the size of the editable scope, and individual editing permissions are generated by combining the levels and scopes. Edited text from each member is collected according to their permissions, and text summaries are extracted. These summaries are then associated with corresponding paragraphs in the online document and stored as a content summary table. The online document is intelligently corrected based on the content summary table, resulting in a structurally sound and fully integrated revised document. In this invention, collaborative online documents are generated through format validation. Group levels are defined based on the editable scope, and precise permissions are configured. This avoids formatting issues, permission violations, and sensitive information leaks. It also enables automated collection of edited text, structured summary extraction, and precise association with document paragraphs. The content summary table centrally processes opinions and performs closed-loop corrections, significantly improving the efficiency of collaborative online document editing. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a schematic diagram of an application environment for a collaborative document annotation processing method according to an embodiment of the present invention; Figure 2 This is a flowchart illustrating a method for processing annotations in a collaboratively edited document according to an embodiment of the present invention; Figure 3 yes Figure 2 A flowchart illustrating a specific implementation method of step S3; Figure 4 yes Figure 2 A flowchart illustrating a specific implementation of step S4; Figure 5 This is a schematic diagram of a joint document editing annotation processing device according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of a computer device according to an embodiment of the present invention; Figure 7 This is another structural schematic diagram of a computer device according to one embodiment of the present invention. Detailed Implementation

[0013] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0014] The annotation processing method for collaboratively edited documents provided in this embodiment of the invention can be applied to, for example... Figure 1 In this application environment, the client communicates with the server via a network. The server can use the client to perform pre-processing document format verification and accurately define the individual editing scope, thereby avoiding formatting issues and information leaks; divide the group into hierarchical levels according to the editing scope, clarify collaborative roles, and improve cross-level collaboration efficiency; configure editing permissions based on hierarchy and scope to achieve refined permission control; collect edited text and extract summaries according to permissions to ensure input validity and reduce manual integration costs; generate summary tables by associating summaries with document paragraphs, clearly presenting the correlation of opinions and facilitating conflict identification; and correct and verify the document based on the summary table, improving the efficiency of collaborative online document editing. The client can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server can be implemented using a standalone server or a server cluster consisting of multiple servers. The following detailed description of specific embodiments further illustrates this invention.

[0015] Please see Figure 2 As shown, Figure 2 A flowchart illustrating a collaborative document annotation processing method provided in an embodiment of the present invention includes the following steps: S1. Obtain an online document to be jointly edited by a target group, and obtain the editing scope of the online document by different individuals within the target group.

[0016] In this embodiment of the invention, the target group refers to a collection of multiple entities that need to participate in the collaborative editing of an online document, which can be flexibly defined through dynamic process configuration. For example, in an enterprise organizational structure, it refers to a collection of multiple individual members or departments participating in policy consultation. These individuals are typically distributed across different levels (such as headquarters, subsidiaries, and departments) and functional areas (such as finance, human resources, and security), and their responsibility is to provide modification suggestions or approval opinions during the policy formulation process. The online document refers to a digital document that supports collaborative editing by the target group. It is available for multiple users to view, annotate, and edit simultaneously or at different times on a collaborative platform, achieving a collaborative document format through real-time synchronization and access control. For example, in a policy consultation scenario, Tencent Docs or Lark Docs can be used as a collaborative platform. Relevant departments can publish draft policies online and set each subsidiary to only view the relevant chapters. Subsidiary representatives fill in structured opinions in designated areas, and the system automatically records the annotator, timestamp, and modification history. The editing scope refers to the specific document area or chapter set allocated to each member of the target group during the collaborative editing process, which is dynamically configured according to functional permissions and consultation needs to achieve information isolation and access control.

[0017] In detail, by performing pre-format verification on draft documents, the scope of individual editing is clearly defined, avoiding problems such as chaotic document formatting, invalid citations, and conflicting clauses in traditional offline models. This reduces the cost of repeated revisions after document publication. By accurately defining the editing scope, the operational boundaries of different individuals are isolated, avoiding interference from irrelevant content and leakage of sensitive information. At the same time, it provides a clear basis for subsequent hierarchical division and permission configuration, improving the efficiency of collaborative editing.

[0018] In this embodiment of the invention, obtaining an online document to be collaboratively edited by a pre-defined target group includes: Select different clauses in the preset draft document one by one as target clauses, and identify the clause subject of the target clauses; Identify the clause format standards corresponding to the clause topic within a preset knowledge graph, and determine whether the target clause conforms to the clause format standards; If the draft document does not conform to the standard format, it shall be revised in accordance with the standard format and the process shall return to the step of selecting different clauses in the preset draft document as the target clauses. If the draft document meets the aforementioned format standards, it will be digitally converted to obtain an online document for collaborative editing by the target group.

[0019] In detail, the draft document (such as Word or PDF format) to be jointly edited by the target group is obtained through a document import interface. Custom parsing rules can be defined using the Python regular expression library, such as splitting the content blocks in the draft document one by one according to the "chapter-clause" hierarchical structure. Each independent unit of normative content is identified as a target clause. A keyword extraction algorithm (based on TF-IDF) is used to extract core words from the text content of each target clause. Combined with a pre-set business domain thesaurus, thematic words reflecting the core normative direction of the clause are selected and then integrated to form the clause theme of the target clause. This method avoids the problems of manual clause splitting, low theme identification efficiency, and inconsistent standards in conventional methods, ensuring the logical consistency of clause splitting and the accuracy of theme identification.

[0020] Specifically, a pre-defined knowledge graph query interface can be invoked, using the identified target clause theme as search keywords. This is then matched against the clause format standards (including chapter numbering rules, font and paragraph requirements, and expression specifications) stored in the graph for the corresponding business type (e.g., finance, human resources, security). A text comparison algorithm compares the target clause's format information (numbering format, font, paragraph spacing, expression structure, etc.) with the retrieved clause format standards item by item. If all format dimensions match, the clause is deemed compliant; otherwise, it is deemed non-compliant. The knowledge graph represents and stores knowledge in a graph structure. It uses entities (e.g., "group system," "external regulations," "clauses," etc.) as nodes, relationships between entities (e.g., "reference," "inclusion," "receive," etc.) as edges, and combines attribute information (e.g., system ID, effective date, reference timestamp, etc.) to construct a structured, visualized graph of domain knowledge and its relationships.

[0021] Furthermore, if the target clause does not conform to the format standard, the system automatically generates a format correction instruction based on the corresponding format standard returned by the knowledge graph. For example, it unifies non-standard chapter numbers (such as "1," "I,") into a hierarchical structure of "Chapter 1 - Article 1," adjusts the font (headings in bold, size 4; body text in Song, size 4) and paragraph spacing (20 points) according to the standard, and standardizes the expression structure. Then, the correction instruction is executed through the text editing interface to batch or individually correct the target clauses in the draft document that do not meet the requirements, generating a corrected draft document. The document is then parsed and the clauses are selected again, and the clauses in the corrected draft document are selected one by one as target clauses. The steps of clause subject identification and format standard comparison are repeated until all target clauses conform to the format standard.

[0022] Furthermore, once all target terms meet the format standards, the document format conversion interface is invoked to convert the revised draft document into a digital format that supports online collaborative editing (such as a document format adapted to the group's OA system or a dedicated collaborative platform). At the same time, a unique document ID is assigned to the document (format such as "ZD-2024-XXXX"), and the document is stored in a distributed file storage system. Basic permissions for online access and editing are configured to create an online document that the target group can edit together.

[0023] In this embodiment of the invention, the relevance of each individual to the online document content can be queried and determined based on the role attributes (such as headquarters functional positions, subsidiary business positions, and grassroots operational positions), department, and business scope of different individuals within the target group. Combined with the chapter and item division of the document, the specific area that each individual can view is clarified. For example, subsidiary business positions can only operate on chapters related to their own business, while headquarters functional positions can view all chapters, forming the editing scope corresponding to each individual, and storing it in association with the individual ID and document ID.

[0024] S2. Divide the target group into hierarchical levels according to the size of the editing range to obtain the group hierarchy of the target group.

[0025] In this embodiment of the invention, the group hierarchy refers to a hierarchical sequence divided according to the editing scope of different individuals within the target group and the characteristics of the organizational structure, such as the consultation hierarchy of headquarters, subsidiaries, departments, and positions. It is usually divided into core decision-making level, middle execution level, and grassroots operation level. The higher the level, the wider the editing scope, which is the core basis for realizing hierarchical collaboration and refined control of permissions.

[0026] In detail, by dividing the group hierarchy by the size of the editing scope, the collaborative roles and permission levels of different individuals within the target group are clearly defined, avoiding the problems of inefficient collaboration and disordered decision-making caused by hierarchical confusion. This provides a hierarchical basis for the precise configuration of subsequent editing permissions, ensuring that permission allocation matches individual responsibilities and operational scope, and improving the rationality of permission control.

[0027] Specifically, the editing scope is determined based on the coverage dimension criteria. For example, full chapter coverage is "broad coverage," specific business chapter coverage is "medium coverage," and single item or partial module coverage is "narrow coverage." Through a data statistics interface, the editing scope information of all individuals within the target group is extracted. Each individual's editing scope is then categorized and labeled according to the aforementioned criteria. The drag-and-drop configuration interface provided by the Flowable workflow engine can be used. Combined with the target group's organizational structure data (such as the affiliation of headquarters, subsidiaries, departments, and positions), individuals labeled "broad coverage" are mapped to the "core decision-making level," "medium coverage" to the "middle execution level," and "narrow coverage" to the "grassroots operation level," forming a group hierarchy. Each group level is configured with a unique identifier (e.g., the core decision-making level identifier "ZJ-001"). After workflow configuration, a unique workflow instance ID in the format "ZD-ZXYJ-XXXX-XXXX" is automatically generated, and the group level, individual ID, and editing scope are stored together.

[0028] S3. Generate editing permissions for different individuals within the target group based on the group hierarchy and the editing scope.

[0029] In this embodiment of the invention, the editing permission refers to the individual's permission to operate on online documents, determined based on the group hierarchy and editing scope of different individuals within the target group. This includes viewing permission, modification permission (supplementation, deletion, modification), and access permission for sensitive content.

[0030] In the embodiments of the present invention, see Figure 3 As shown, the step of generating editing permissions for different individuals within the target group based on the group hierarchy and the editing scope includes: S31. Obtain the hierarchical division information within the target group, and query the hierarchical permissions corresponding to different individuals within the target group in the preset hierarchical permission mapping table based on the hierarchical division information. S32. Generate the range permissions corresponding to different individuals within the target group based on the edit range; S33. The intersection of the hierarchical permissions and the scope permissions is used as the editing permissions for different individuals within the target group.

[0031] In detail, a preset hierarchical permission mapping table can be obtained. This table records the hierarchical information corresponding to different individuals within the target group. For example, when the target group is an enterprise, the hierarchical permission mapping table can be used to query the online document hierarchical permissions for the core decision-making level (such as directors, supervisors, and senior management): full chapter viewing permission, full modification permission (including supplementation, deletion, and modification), and access to sensitive content. The hierarchical permissions for the middle execution level (such as department heads) are: viewing the corresponding business area chapters, limited modification permission (including supplementation and modification, but excluding deletion of core clauses), and no access to sensitive content. The hierarchical permissions for the grassroots operation level (such as frontline employees) are: viewing the corresponding specific item, only providing supplementary opinions (excluding modification and deletion of core content), and no access to sensitive content. Through a data association algorithm, the group level of each individual is matched with the above basic permissions to generate the hierarchical permissions for each individual, which are then associated and stored with the individual ID and group level. This method avoids the problems of mismatched levels and permissions and chaotic permission allocation in conventional permission configuration, improving the efficiency of permission configuration.

[0032] Specifically, through a permission boundary definition algorithm, the editing scope is transformed into specific document operation permission boundaries. This means that individuals are only allowed to view and perform corresponding operations on chapters or entries within their own editing scope. Content outside this scope has no access or operation permissions. This forms a second set of editing permissions, including the individual ID, the operable chapters / entries, and the corresponding operation type (view, supplement, modify, delete), ensuring that each individual's operation permissions are strictly limited to their editing scope. This method avoids the problems of cross-regional editing and interference from irrelevant content caused by ambiguous permission scopes, ensuring the accuracy of permission scope and improving the security and targeting of collaborative editing.

[0033] Furthermore, logical operations are performed on the first and second editing permissions of each individual, and the common permission portion of the two is extracted as the final editing permission. For example, if the first editing permission of a core decision-making layer individual is to modify the entire chapter, and the second editing permission is also to modify the entire chapter, then the cross permission is to modify the entire chapter. If the first editing permission of a mid-level execution layer individual is to modify the corresponding domain chapter, and the second editing permission is "Chapter 3 - Fund Approval", then the cross permission is to modify "Chapter 3 - Fund Approval". The final editing permissions are stored in the permission management database to generate a chapter editing permission matrix, clearly defining the final operation permission permission granted to each individual.

[0034] S4. Collect the edited text of the online document by each individual in the target group according to the specified editing permissions, and extract the text summary of each edited text.

[0035] In this embodiment of the invention, the edited text refers to the text content submitted by each member of the target group in their exclusive editing page assigned by the system according to their editing permissions, targeting specific chapters or entries that they can operate on, through input, annotation, or modification. The content includes suggestions for modifying document clauses, supplementary explanations, deletion opinions, or format adjustments.

[0036] In detail, the scope of text collection is controlled by editing permissions, which avoids invalid editing beyond the scope of permissions and ensures the validity of the edited text.

[0037] In the embodiments of the present invention, see Figure 4 As shown, the step of collecting the edited text of the online document by each individual within the target group according to the specified editing permissions includes: S41. Locate the editing area of ​​each individual within the target group in the online document according to the size of the editing permissions; S42. Collect the initial edited text of each individual within the target group in the edit area; S43. Standardize the format of the initial edited text to generate edited texts for each individual within the target group.

[0038] In detail, the final editing permission information for each individual is obtained from the chapter editing permission matrix. The scope of operable chapters and entries is extracted, and then, through the regional positioning interface of the online document editing platform, a dedicated editing page with isolated permissions is generated for each individual based on the operable scope information. Only the chapter or entry content corresponding to their editing permissions is displayed on this dedicated editing page, while irrelevant content and sensitive information exceeding their permissions are hidden, achieving precise positioning of the editing area. This method avoids the problems of conventional shared document editing where all individuals can see the entire document, which can easily lead to interference and leakage of sensitive information, ensuring the independence of the editing area.

[0039] Specifically, the operation behavior of each individual's dedicated editing page is monitored in real time through the text collection interface of the online document editing platform. When an individual enters, submits modification suggestions, or adds supplementary content in the editing area, the text data is automatically captured as the initial editing text. At the same time, the submitting individual's ID, submission timestamp, group level, and other related information are recorded.

[0040] Furthermore, the initial edited text is formatted according to the format standardization rule library, including unifying font styles, adjusting paragraph spacing, standardizing expression structure, and correcting typos and punctuation errors. The formatted text data is then used as the edited text for each individual within the target group and associated with information such as individual ID, submission timestamp, and associated chapter / entry ID.

[0041] In this embodiment of the invention, the text summary refers to a set of key information extracted from the edited text, such as the associated clause ID, modification type, core comments, submitting individuals, group levels, etc.

[0042] In this embodiment of the invention, extracting the text summary of each edited text includes: Identify the modification information of the target clause in the online document in each edited text; Extract the contextual semantics of the modified clause information in the edited text; The modified clause information and the contextual semantics are associated to generate a text summary for each edited text.

[0043] In detail, each edited text in the edited text database is structurally parsed. Based on the business domain dictionary (including clause ID, modification type, and business scenario), the modification information related to the online document clauses in the edited text is accurately identified and extracted. This includes key information such as the associated clause ID (e.g., "Chapter 1 - Article 3"), modification type (supplement, deletion, modification, retention), and core modification content (e.g., "supplementing the scenario of subsidiary on-site office"), forming the modified clause information.

[0044] Specifically, the BERT model can be used to perform contextual semantic analysis on the edited text, capturing the logical connections between the modified clause information and other expressions in the edited text, such as the semantic connection between "subsidiary on-site office" and "scope of application," and the background explanation for the proposed modification. Furthermore, the BiLSTM model can be used to bidirectionally capture sequence dependencies, strengthening the logical connection between "clause ID, modification content, and reason for modification," clarifying the semantic direction and applicable scenarios of the modified clause information, and ensuring an accurate understanding of the modification intent. The BERT model is a pre-trained language model based on the Transformer architecture. Its core structure includes a multi-layer bidirectional Transformer encoder, with each layer containing a self-attention mechanism and a feedforward neural network module, enabling it to capture deep semantic features of the text through bidirectional contextual encoding. The above methods avoid the problems of misunderstanding intent and association bias caused by only extracting the modified clause information while ignoring the context, improving the accuracy of understanding the modification intent, and providing semantic support for the accurate association between subsequent text summarization and document paragraphs.

[0045] Furthermore, the extracted modification information (clause ID, modification type, core modification content) is associated with the parsed contextual semantics (reason for modification, applicable scenarios, etc.), supplemented with associated information such as submitting individual ID, group level, and submission timestamp. This information is then integrated into a text summary for each edited text according to a preset structured format (e.g., "Clause ID: XXX, Modification Type: XXX, Core Content: XXX, Reason for Modification: XXX, Submitting Individual: XXX, Level: XXX"). The generated text summary is then associated and stored with the corresponding edited text and individual ID. This method achieves the fusion of modification information and contextual semantics, generating standardized structured text summaries that replace traditional unstructured opinion records. This facilitates subsequent association with online document paragraphs, hierarchical summarization, and conflict identification, improving the efficiency of document correction.

[0046] S5. Extract the paragraph content corresponding to each text summary from the online document, associate and store each text summary with the paragraph content to obtain a content summary table.

[0047] In this embodiment of the invention, paragraph content refers to specific chapters, entries, or sentence fragments in an online document that are related to the text summary, and is the modification object corresponding to the text summary. The content summary table is a structured data table formed by integrating the text summary and the corresponding paragraph content according to preset fields (such as paragraph ID, paragraph original text, text summary, submitting individual, group level, conflict marker, etc.). It is a data carrier that centrally presents editorial opinions and related document content, and supports hierarchical summarization and conflict identification.

[0048] In detail, by generating a structured content summary table, the editorial comments are presented in a centralized and hierarchical manner, which facilitates subsequent conflict identification and document correction, provides clear and centralized data support for document correction, and improves decision-making efficiency.

[0049] In this embodiment of the invention, extracting the paragraph content corresponding to each text summary from the online document includes: Identify the target clause title in the text summary and determine whether the target clause title exists in the online document; If it exists, extract the document fragment corresponding to the title of the target clause in the online document, and use the document fragment as the paragraph content corresponding to the text summary; If it does not exist, the similarity between the text summary and the summaries of each chapter in the online document is calculated, and the chapter summary with the highest similarity is selected as the paragraph content corresponding to the text summary.

[0050] In detail, keyword retrieval is performed on each text summary in the text summary database, and the clause title information contained therein (such as "Chapter 1 - Article 3" "1.2 Fund Management") is extracted as the target clause title. The existence of the target clause title is then checked in the chapter title system of the online document. If a completely matching title record exists in the index database, it is determined to exist; otherwise, it is determined not to exist.

[0051] Specifically, if the target clause title exists in the online document, the content retrieval interface of the online document is called. Using the target clause title as the search keyword, the complete chapter, item, or sentence fragment (including clause title, body text, etc.) corresponding to the title in the online document is located. The document fragment is completely extracted, irrelevant and redundant information is removed, and it is used as the paragraph content corresponding to the text summary. The paragraph content is then associated with and stored with the text summary and the target clause title.

[0052] Furthermore, if the target clause title does not exist, based on the TF-IDF (Term Frequency-Inverse Document Frequency) algorithm, keywords are extracted from each chapter of the online document and core sentences are integrated to generate a structured chapter summary. An improved cosine similarity algorithm is used to load a preset business domain stop word list before text vectorization to filter high-frequency words such as "regulations," "methods," and "systems" that have no actual semantic distinction. Then, the text summary and each chapter summary are segmented and vectorized, and the cosine similarity between the two is calculated. The similarity values ​​are sorted from high to low, and the complete chapter content corresponding to the chapter summary with the highest similarity (and above a preset threshold of 80%) is selected as the paragraph content corresponding to the text summary. The paragraph content, similarity value, and text summary are associated and stored.

[0053] Next, the associated data between text summaries and paragraph content is categorized and stored. For example, a MySQL relational database is used to store structured data, including fields such as paragraph ID, original paragraph text, text summary ID, modification type, core content, submitter ID, group level, and submission timestamp. A Neo4j graph database is used to store the relationships between "online document - paragraph content - text summary - submitter," for example, "Document ID: WD-2024-001 - Contains - Paragraph ID: DL-003 - Associated - Summary ID: ZY-123 - Submitted - Individual ID: U-089." Then, the associated data is hierarchically aggregated according to the group level of "core decision-making layer, middle execution layer, and basic operation layer." A semantic comparison algorithm identifies conflicting opinions on the same paragraph content (e.g., individual A suggests supplementation, individual B suggests deletion), labels them with "conflict," and counts the number of individuals supporting conflicting opinions. Finally, a structured summary table is formed, containing fields such as paragraph ID, original paragraph text, text summary list, submission level distribution, conflict markers, and the number of supporting / opposing opinions.

[0054] S6. Correct the online document according to the content summary table to obtain the corrected document.

[0055] In this embodiment of the invention, the corrected document refers to the final online document formed after compliance verification and format optimization based on the valid editing comments in the content summary table.

[0056] In this embodiment of the invention, the step of correcting the online document according to the content summary table to obtain a corrected document includes: According to the preset adoption rules, each text content in the content summary table is marked with an adoption tag, and based on the text content marked as adoptable, the corresponding clauses in the online document are revised to obtain a preliminary revised document; Extract the updated clauses from the preliminary revised document and obtain the updated clause subject corresponding to the updated clauses; Within the knowledge graph, query the clause format standard corresponding to the topic of the updated clause, and determine whether the updated clause conforms to the clause format standard; If it does not conform to the stated terms format standard, the preliminary revised document shall be revised in accordance with the stated terms format standard, and the process shall return to the step of extracting the updated terms from the preliminary revised document; If the document meets the aforementioned terms and conditions format standards, the preliminary revised document will be determined as the final revised document.

[0057] In detail, a pre-defined adoption rule library is invoked. A rule matching algorithm is used to verify each text summary in the content summary table. Items conforming to the rules in the adoption rule library are marked "adoptable," while those not conforming are marked "unadoptable," and the reason for non-adoption is recorded (e.g., "conflict with XX regulations" or "no reasonable business scenario"). The adoption rule library includes criteria such as compliance with internal and external regulations, no conflict with existing documents, support for reasonable business scenarios, and whether the proportion of supporting opinions in conflicting opinions exceeds a preset threshold. Based on the text summaries labeled "adoptable," targeted document correction instructions are generated, including supplementary content (adding supplementary information from the edited text to the corresponding paragraph), modified content (replacing the original wording of the corresponding paragraph with the modification suggestions from the edited text), and deleted content (deleting specified content of the corresponding paragraph after review according to permission levels; opinions from the core decision-making level take effect directly, while opinions from middle and lower levels require review by the core level). The correction instructions are executed through the document editing interface to batch or individually correct the corresponding clauses in the online document, generating a preliminary corrected document and recording the correction trajectory (including original content, corrected content, adoption basis, operator ID, and modification timestamp).

[0058] Specifically, by comparing the content differences between the preliminary revised document and the original online document, clauses that have undergone supplementation, modification, deletion, or other changes are extracted as updated clauses. Core keywords are extracted from the text content of each updated clause and integrated to form the updated clause theme corresponding to each updated clause.

[0059] Furthermore, the query interface of the knowledge graph is invoked, and the topic of the updated clause is used as the search keyword to match the corresponding clause format standards (chapter numbering rules, font and paragraph requirements, expression specifications, etc.) in the graph. Through text comparison algorithms, the format information of the updated clause is compared with the retrieved format standards item by item. At the same time, the validity of the regulations cited by the clause is checked (by querying the effective status of the cited regulations through the graph) and the conflict of clauses is checked (by comparing existing clauses through an improved cosine similarity algorithm). The updated clause is comprehensively judged to meet the conditions of "format standards, compliance requirements, and no conflicts". If all conditions are met, it is judged as compliant; if any condition is not met, it is judged as non-compliant.

[0060] Next, after determining that the updated clauses do not meet the requirements, a comprehensive correction instruction is automatically generated based on the format standards and compliance verification results returned by the knowledge graph. This includes adjusting non-standard formats, replacing invalid references, and modifying conflicting expressions. The updated clauses in the preliminary correction document are then specifically corrected, and a revised preliminary correction document is generated. The document comparison and clause extraction algorithm is called again to extract the updated clauses from the revised preliminary correction document. The steps of topic identification and condition verification for updated clauses are repeated until all updated clauses meet the requirements.

[0061] Furthermore, after confirming that all updated terms meet the conditions, the document solidification interface is invoked to convert the preliminary revised document into the final revised document, synchronously updating the document version number and index information, retaining the entire process revision trajectory data (including the original document version, revision content at each stage, adoption results, reasons for non-adoption, compliance basis, operator ID, timestamp, etc.), generating a PDF format revision traceability report (including timestamps of all traceable content and operator signatures), and storing the revised document and traceability report together in the final document database, supporting retrieval and query by document ID or batch number.

[0062] As can be seen, in the above solution, the target group, group level, and operation time limit are flexibly defined through dynamic process configuration, thereby obtaining the target group and its editing scope. The system intelligently matches and generates isolated to-do pages based on permissions and levels, ensuring that each member can only operate within the authorized scope, effectively improving information security. The system collects the edited text and extracts structured text summaries, intelligently associates and stores the summaries with the corresponding paragraphs in the online document, forming a content summary table, effectively avoiding errors and inefficiencies in manual summarization. Based on the content summary table, the online document is automatically corrected, significantly improving the annotation processing efficiency of collaboratively edited documents.

[0063] In one embodiment, an annotation processing apparatus for collaboratively edited documents is provided, which corresponds one-to-one with the annotation processing methods for collaboratively edited documents described in the above embodiments. For example... Figure 5 As shown, the annotation processing device 100 for collaborative document editing includes an editing scope acquisition module 101, a group hierarchy division module 102, an editing permission generation module 103, a text summary extraction module 104, a content summary table generation module 105, and an online document correction module 106. Detailed descriptions of each functional module are as follows: The editing scope acquisition module 101 is used to acquire online documents to be jointly edited by a preset target group, and to acquire the editing scope of the online documents by different individuals within the target group; The group hierarchy division module 102 is used to divide the target group into hierarchical levels according to the size of the editing range, so as to obtain the group hierarchy of the target group; The editing permission generation module 103 is used to generate editing permissions corresponding to different individuals within the target group based on the group hierarchy and the editing scope. The text summary extraction module 104 is used to collect the edited text of the online document by each individual in the target group according to the size of the editing permission, and extract the text summary of each edited text; The content summary table generation module 105 is used to extract the paragraph content corresponding to each text summary from the online document, associate and store each text summary with the paragraph content, and obtain a content summary table. The online document correction module 106 is used to correct the online document according to the content summary table to obtain a corrected document.

[0064] In one embodiment, the editing scope acquisition module 101, when acquiring an online document to be jointly edited by a preset target group, is used to: Select different clauses in the preset draft document one by one as target clauses, and identify the clause subject of the target clauses; Identify the clause format standards corresponding to the clause topic within a preset knowledge graph, and determine whether the target clause conforms to the clause format standards; If the draft document does not conform to the standard format, it shall be revised in accordance with the standard format and the process shall return to the step of selecting different clauses in the preset draft document as the target clauses. If the draft document meets the aforementioned format standards, it will be digitally converted to obtain an online document for collaborative editing by the target group.

[0065] In one embodiment, the editing permission generation module 103, when generating editing permissions for different individuals within the target group based on the group hierarchy and the editing scope, is used to: Obtain the hierarchical division information within the target group, and query the hierarchical permissions corresponding to different individuals within the target group in a preset hierarchical permission mapping table based on the hierarchical division information; Generate the scope permissions corresponding to different individuals within the target group based on the edit scope; The intersection of the hierarchical permissions and the scope permissions is used as the editing permissions for different individuals within the target group.

[0066] In one embodiment, the text summarization extraction module 104, when collecting edited text of the online document from each individual within the target group according to the specified editing permissions, is used to: Based on the level of editing permissions, locate the editing area of ​​each individual within the target group in the online document; Collect the initial edited text of each individual within the target group in the editing area; The initial edited text is formatted and standardized to generate edited texts for each individual within the target group.

[0067] In one embodiment, the text summarization extraction module 104, when performing the extraction of text summaries for each edited text, is used to: Identify the modification information of the target clause in the online document in each edited text; Extract the contextual semantics of the modified clause information in the edited text; The modified clause information and the contextual semantics are associated to generate a text summary for each edited text.

[0068] In one embodiment, the content summary table generation module 105, when extracting the paragraph content corresponding to each text summary from the online document, is used to: Identify the target clause title in the text summary and determine whether the target clause title exists in the online document; If it exists, extract the document fragment corresponding to the title of the target clause in the online document, and use the document fragment as the paragraph content corresponding to the text summary; If it does not exist, the similarity between the text summary and the summaries of each chapter in the online document is calculated, and the chapter summary with the highest similarity is selected as the paragraph content corresponding to the text summary.

[0069] In one embodiment, the online document correction module 106, when performing correction of the online document according to the content summary table to obtain a corrected document, is configured to: According to the preset adoption rules, each text content in the content summary table is marked with an adoption tag, and based on the text content marked as adoptable, the corresponding clauses in the online document are revised to obtain a preliminary revised document; Extract the updated clauses from the preliminary revised document and obtain the updated clause subject corresponding to the updated clauses; Within the knowledge graph, query the clause format standard corresponding to the topic of the updated clause, and determine whether the updated clause conforms to the clause format standard; If it does not conform to the stated terms format standard, the preliminary revised document shall be revised in accordance with the stated terms format standard, and the process shall return to the step of extracting the updated terms from the preliminary revised document; If the document meets the aforementioned terms and conditions format standards, the preliminary revised document will be determined as the final revised document.

[0070] This invention provides an annotation processing device for collaboratively edited documents. It acquires the target group and its editing scope, divides the group into hierarchical levels and generates precise editing permissions, achieving intelligent matching of permissions and levels. This ensures that each member can only operate within their authorized scope, improving information security. The device collects the edited text and extracts a structured text summary, intelligently associating and storing the summary with corresponding paragraphs in the online document to form a content summary table. This effectively avoids errors and inefficiencies from manual summarization. Based on the content summary table, the device automatically corrects the online document, significantly improving the annotation processing efficiency of collaboratively edited documents.

[0071] Specific limitations regarding the annotation processing device for collaboratively edited documents can be found in the limitations of the annotation processing method for collaboratively edited documents described above, and will not be repeated here. Each module in the aforementioned annotation processing device for collaboratively edited documents can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0072] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile and / or volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface is used to communicate with external clients via a network connection. When executed by the processor, the computer program implements server-side functions or steps for a collaborative document editing annotation processing method.

[0073] In one embodiment, a computer device is provided, which may be a client, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with an external server via a network connection. When executed by the processor, the computer program implements client-side functions or steps of a collaborative document editing annotation processing method.

[0074] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps: The system acquires an online document to be collaboratively edited by a target group, and also acquires the editing scope of the online document by different individuals within the target group. The target group is hierarchically divided according to the size of the editing range to obtain the group hierarchy of the target group; Based on the group hierarchy and the editing scope, edit permissions are generated for different individuals within the target group; Collect the edited text of the online document by each individual in the target group according to the specified editing permissions, and extract the text summary of each edited text; Extract the paragraph content corresponding to each text summary from the online document, associate and store each text summary with the paragraph content to obtain a content summary table; The online document is revised based on the summary table to obtain the revised document.

[0075] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor: The system acquires an online document to be collaboratively edited by a target group, and also acquires the editing scope of the online document by different individuals within the target group. The target group is hierarchically divided according to the size of the editing range to obtain the group hierarchy of the target group; Based on the group hierarchy and the editing scope, edit permissions are generated for different individuals within the target group; Collect the edited text of the online document by each individual in the target group according to the specified editing permissions, and extract the text summary of each edited text; Extract the paragraph content corresponding to each text summary from the online document, associate and store each text summary with the paragraph content to obtain a content summary table; The online document is revised based on the summary table to obtain the revised document.

[0076] It should be noted that the functions or steps that can be implemented by the computer-readable storage medium or computer device described above can be referred to the relevant descriptions on the server side and client side in the foregoing method embodiments. To avoid repetition, they will not be described one by one here.

[0077] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0078] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0079] It should be noted that if any software tools or components not belonging to our company appear in the embodiments of this application, they are merely for illustrative purposes and do not represent actual use.

[0080] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method for processing annotations in collaboratively edited documents, characterized in that, include: The system acquires an online document to be collaboratively edited by a target group, and also acquires the editing scope of the online document by different individuals within the target group. The target group is hierarchically divided according to the size of the editing range to obtain the group hierarchy of the target group; Based on the group hierarchy and the editing scope, edit permissions are generated for different individuals within the target group; Collect the edited text of the online document by each individual in the target group according to the specified editing permissions, and extract the text summary of each edited text; Extract the paragraph content corresponding to each text summary from the online document, associate and store each text summary with the paragraph content to obtain a content summary table; The online document is revised based on the summary table to obtain the revised document.

2. The annotation processing method for collaboratively edited documents as described in claim 1, characterized in that, The acquisition of online documents for collaborative editing by the target group to be pre-defined includes: Select different clauses in the preset draft document one by one as target clauses, and identify the clause subject of the target clauses; Identify the clause format standards corresponding to the clause topic within a preset knowledge graph, and determine whether the target clause conforms to the clause format standards; If the draft document does not conform to the standard of the draft document, the draft document shall be revised in accordance with the standard of the draft document and the process shall return to the step of selecting different clauses in the preset draft document as the target clauses one by one. If the draft document meets the aforementioned format standards, it will be digitally converted to obtain an online document for collaborative editing by the target group.

3. The annotation processing method for collaboratively edited documents as described in claim 1, characterized in that, The step of generating editing permissions for different individuals within the target group based on the group hierarchy and the editing scope includes: Obtain the hierarchical division information within the target group, and query the hierarchical permissions corresponding to different individuals within the target group in a preset hierarchical permission mapping table based on the hierarchical division information; Generate the scope permissions corresponding to different individuals within the target group based on the edit scope; The intersection of the hierarchical permissions and the scope permissions is used as the editing permissions for different individuals within the target group.

4. The annotation processing method for collaboratively edited documents as described in claim 1, characterized in that, The step of collecting the edited text of the online document by each individual within the target group according to the specified editing permissions includes: Based on the level of editing permissions, locate the editing area of ​​each individual within the target group in the online document; Collect the initial edited text of each individual within the target group in the editing area; The initial edited text is formatted and standardized to generate edited texts for each individual within the target group.

5. The annotation processing method for collaboratively edited documents as described in claim 1, characterized in that, The extraction of the text summary for each edited text includes: Identify the modification information of the target clause in the online document in each edited text; Extract the contextual semantics of the modified clause information in the edited text; The modified clause information and the contextual semantics are associated to generate a text summary for each edited text.

6. The annotation processing method for collaboratively edited documents as described in claim 1, characterized in that, The step of extracting the paragraph content corresponding to each text summary from the online document includes: Identify the target clause title in the text summary and determine whether the target clause title exists in the online document; If it exists, extract the document fragment corresponding to the title of the target clause in the online document, and use the document fragment as the paragraph content corresponding to the text summary; If it does not exist, the similarity between the text summary and the summaries of each chapter in the online document is calculated, and the chapter summary with the highest similarity is selected as the paragraph content corresponding to the text summary.

7. The annotation processing method for collaboratively edited documents as described in claim 1, characterized in that, The step of correcting the online document based on the content summary table to obtain a corrected document includes: According to the preset adoption rules, each text content in the content summary table is marked with an adoption tag, and based on the text content marked as adoptable, the corresponding clauses in the online document are revised to obtain a preliminary revised document; Extract the updated clauses from the preliminary revised document and obtain the updated clause subject corresponding to the updated clauses; Within the knowledge graph, query the clause format standard corresponding to the topic of the updated clause, and determine whether the updated clause conforms to the clause format standard; If it does not conform to the stated terms format standard, the preliminary revised document shall be revised in accordance with the stated terms format standard, and the process shall return to the step of extracting the updated terms from the preliminary revised document; If the document meets the aforementioned terms and conditions format standards, the preliminary revised document will be determined as the final revised document.

8. An annotation processing device for collaborative document editing, characterized in that, include: The editing scope acquisition module is used to acquire online documents to be jointly edited by a preset target group, and to acquire the editing scope of the online documents by different individuals within the target group; The group hierarchy division module is used to divide the target group into hierarchical levels according to the size of the editing range, so as to obtain the group hierarchy of the target group; An editing permission generation module is used to generate editing permissions for different individuals within the target group based on the group hierarchy and the editing scope. The text summary extraction module is used to collect the edited text of the online document by each individual in the target group according to the size of the editing permission, and extract the text summary of each edited text; The content summary table generation module is used to extract the paragraph content corresponding to each text summary from the online document, associate and store each text summary with the paragraph content, and obtain a content summary table. The online document correction module is used to correct the online document according to the content summary table to obtain a corrected document.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the annotation processing method for jointly edited documents as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the annotation processing method for collaboratively edited documents as described in any one of claims 1 to 7.