Data processing method, device and equipment

By using automatic review and revision markup processing in the Word environment, the problem of low efficiency in the contract revision process has been solved, achieving a seamless process from review to revision and improving the accuracy and efficiency of contract revision.

CN121787374APending Publication Date: 2026-04-03ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-03
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing technologies suffer from high time costs, low efficiency, and poor accuracy in the manual revision process after contract review. Especially when there are multiple revisions, a seamless process from review to revision cannot be achieved, leading to information silos and workflow interruptions.

Method used

By receiving review requests, the system automatically reviews contracts based on review requirements, identifies clauses and text blocks to be revised, and performs revision marking and replacement processing in the Word environment to generate a target contract containing revision marks, ensuring the integrity of the document structure and the consistency of the format.

Benefits of technology

It achieves a seamless closed loop from review to revision, improving the accuracy and efficiency of contract revision. Users can operate directly in the familiar Word environment, avoiding information silos and workflow interruptions, and ensuring the reliability of revision results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121787374A_ABST
    Figure CN121787374A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides various data processing methods, devices and equipment, and the data processing method comprises the steps: receiving an auditing request for a target contract, responding to the auditing request, based on an auditing demand corresponding to the target contract, auditing the target contract, obtaining an auditing opinion for the target contract, and sending the auditing opinion to the target contract according to the auditing opinion. Determining a target term to be revised based on the auditing opinion, determining a target character block related to the target term in the character blocks corresponding to the target contract, revising and marking the target character block based on the auditing opinion to obtain a marked target character block, and revising and marking the target character block based on the marked target character block. And performing replacement processing on the target character block in the target contract to obtain the target contract containing the revision mark.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a data processing method, apparatus, and device. Background Technology

[0002] Contract review is a crucial part of corporate legal work. With the continuous development of computer technology, artificial intelligence technology can be used to automatically review contracts while protecting data security, thereby improving the efficiency of contract review.

[0003] However, after receiving review comments on the contract, it is still necessary to revise the contract manually based on the review comments. When there is a lot of content to be modified, the time cost of manual revision is high, and the revision efficiency and accuracy are low. There is a need to provide a faster and more reliable contract revision solution to improve the efficiency and accuracy of contract revision. Summary of the Invention

[0004] The purpose of the embodiments in this specification is to provide a faster and more reliable contract revision scheme to improve the efficiency and accuracy of contract revision.

[0005] To achieve the above technical solution, the embodiments in this specification are implemented as follows: This specification provides a data processing method comprising: receiving an audit request for a target contract; responding to the audit request, auditing the target contract based on audit requirements corresponding to the target contract, and obtaining audit opinions for the target contract; based on the audit opinions, determining target clauses to be revised, and determining target text blocks related to the target clauses in the text blocks corresponding to the target contract; based on the audit opinions, marking the target text blocks for revision, and obtaining marked target text blocks; and based on the marked target text blocks, replacing the target text blocks in the target contract to obtain a target contract containing the revision marks.

[0006] This specification provides a data processing method comprising: receiving a revision request for target data; in response to the revision request, obtaining revision information corresponding to the target data; determining a target text block in the target data corresponding to the revision information; copying the characters and format of the target text block, and marking the copied target text block according to the revision information to obtain a marked target text block; and replacing the target text block in the target data based on the marked target text block to obtain target data containing the revision mark.

[0007] This specification provides a data processing apparatus comprising: a first receiving module for receiving a review request for a target contract; a contract review module for responding to the review request and reviewing the target contract based on the review requirements corresponding to the target contract to obtain review opinions for the target contract; a first determining module for determining, based on the review opinions, a target clause to be revised, and determining a target text block related to the target clause in the text block corresponding to the target contract; a first revision module for marking the target text block with revision based on the review opinions to obtain a marked target text block; and a first replacement module for replacing the target text block in the target contract based on the marked target text block to obtain a target contract containing the revision mark.

[0008] This specification provides a data processing apparatus comprising: a second receiving module for receiving a revision request for target data; an information acquisition module for acquiring revision information corresponding to the target data in response to the revision request; a second determining module for determining a target text block in the target data corresponding to the revision information; a second revision module for copying the characters and format of the target text block and marking the copied target text block according to the revision information to obtain a marked target text block; and a second replacement module for replacing the target text block in the target data based on the marked target text block to obtain target data containing the revision mark.

[0009] This specification provides an embodiment of a data processing device, comprising: a processor; and a memory arranged to store computer-executable instructions, wherein the executable instructions, when executed, cause the processor to: receive an audit request for a target contract; in response to the audit request, audit the target contract based on audit requirements corresponding to the target contract, and obtain audit opinions for the target contract; based on the audit opinions, determine target clauses to be revised, and determine target text blocks related to the target clauses in the text blocks corresponding to the target contract; based on the audit opinions, mark the target text blocks for revision, and obtain marked target text blocks; based on the marked target text blocks, replace the target text blocks in the target contract to obtain a target contract containing the revision marks.

[0010] This specification provides an embodiment of a data processing device, comprising: a processor; and a memory arranged to store computer-executable instructions, wherein the executable instructions, when executed, cause the processor to: receive a revision request for target data; in response to the revision request, acquire revision information corresponding to the target data; determine a target text block in the target data corresponding to the revision information; copy the characters and format of the target text block, and mark the copied target text block according to the revision information to obtain a marked target text block; and replace the target text block in the target data based on the marked target text block to obtain target data containing the revision mark.

[0011] This specification also provides a storage medium for storing computer-executable instructions. When executed by a processor, the executable instructions implement the following process: receiving an audit request for a target contract; responding to the audit request, auditing the target contract based on the audit requirements corresponding to the target contract, and obtaining audit opinions for the target contract; based on the audit opinions, determining the target clauses to be revised, and determining the target text blocks related to the target clauses in the text blocks corresponding to the target contract; based on the audit opinions, marking the target text blocks with revisions, and obtaining marked target text blocks; based on the marked target text blocks, replacing the target text blocks in the target contract to obtain a target contract containing the revision marks.

[0012] This specification also provides a storage medium for storing computer-executable instructions. When executed by a processor, the executable instructions implement the following process: receiving a revision request for target data; in response to the revision request, obtaining revision information corresponding to the target data; determining a target text block in the target data corresponding to the revision information; copying the characters and format of the target text block, and marking the copied target text block according to the revision information to obtain a marked target text block; and replacing the target text block in the target data based on the marked target text block to obtain target data containing the revision mark.

[0013] This specification also provides a computer program product, including a computer program that, when executed by a processor, implements the following process: receiving an audit request for a target contract; responding to the audit request, auditing the target contract based on the audit requirements corresponding to the target contract, and obtaining audit opinions for the target contract; based on the audit opinions, determining target clauses to be revised, and determining target text blocks related to the target clauses in the text blocks corresponding to the target contract; based on the audit opinions, marking the target text blocks for revision, and obtaining marked target text blocks; based on the marked target text blocks, replacing the target text blocks in the target contract to obtain a target contract containing the revision marks.

[0014] This specification also provides a computer program product, including a computer program that, when executed by a processor, implements the following process: receiving a revision request for target data; in response to the revision request, obtaining revision information corresponding to the target data; determining a target text block in the target data corresponding to the revision information; copying the characters and format of the target text block, and marking the copied target text block according to the revision information to obtain a marked target text block; and replacing the target text block in the target data based on the marked target text block to obtain target data containing the revision mark. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Figure 1 This is a schematic diagram illustrating the implementation environment of one data processing method described in this specification. Figure 2 This is a schematic diagram illustrating the processing procedure of one data processing method described in this specification; Figure 3 This is a schematic diagram illustrating the marking process of a target text block as described in this specification; Figure 4 This is a schematic diagram illustrating the process of determining a target text block as described in this specification; Figure 5 This is a schematic diagram illustrating the process of determining one of the target clauses in this specification; Figure 6 This is a schematic diagram of a target text block as described in this specification; Figure 7This is a schematic diagram of a contract processing system described in this specification; Figure 8 This is a schematic diagram illustrating the processing procedure of another data processing method described in this specification. Figure 9 This is a schematic diagram of a data processing device described in this specification; Figure 10 This is a schematic diagram of yet another data processing device described in this specification; Figure 11 This is a schematic diagram of a data processing device described in this specification. Detailed Implementation

[0016] This specification provides various data processing methods, apparatuses, and devices through its embodiments.

[0017] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0018] This specification provides various technical solutions for improving the efficiency and accuracy of contract revision through its embodiments. Contract review is a crucial part of corporate legal work. With the continuous development of computer technology, artificial intelligence (AI) can be used to automate contract review while protecting data security, thus improving efficiency. However, after receiving review comments, manual revision is still necessary. When there is a large amount of content to modify, manual revision is time-consuming, inefficient, and inaccurate. In practical applications, AI can also generate independent reports containing review comments. For example, a detailed review report can be output as a PDF or webpage, listing all issues in the contract. Alternatively, review comments can be displayed in a sidebar, such as showing the original contract on the left and the review comments as a list on the right in a web interface. Review comments can also be displayed through text highlighting or annotation, such as highlighting the original contract text or adding non-editable annotation bubbles in the web interface. This allows users to visually see the content requiring revision on the webpage. However, web-based review and desktop Word editing are two completely separate processes. Because the workflow is completely fragmented, users must switch back and forth between the two applications, resulting in extremely low information transfer efficiency and a huge cognitive load. Furthermore, the methods described above cannot directly manipulate the source document. Since these systems essentially create a "rendered copy" of the document in the web environment, they cannot directly modify the user's local original Word version of the contract file. Moreover, because highlighting or annotations on the web are HTML / CSS rendering effects, not native Word attributes, when the user downloads the contract document back to their local machine, this information is either completely lost or becomes static, unmanageable colors or text boxes, unrecognizable by Word's review functions (i.e., accept or reject revisions), thus negating the purpose of collaboration. In practical applications, contract revisions can be performed using Word plugins or VBA macros that provide dependency search and replace functions. However, because Word's search function is based on plain text strings, it cannot handle cross-text blocks. That is, when the text to be searched or replaced is split into multiple text blocks due to different formatting, the search operation will fail because the continuous string cannot be found in the underlying structure. Even if text within a single text block is found and replaced, the new text usually loses its original formatting and reverts to the default style. To preserve the original formatting, extremely complex and fragile code needs to be written to read all formatting attributes one by one, resulting in high operational complexity. Furthermore, because this approach only understands the document structure superficially and cannot handle text in complex layouts such as tables, text boxes, headers, footers, and footnotes, the program is prone to crashing or producing incorrect results when encountering documents with non-standard paragraphs, exhibiting poor robustness.Alternatively, user actions such as mouse clicks and keyboard input can be simulated in Word via pre-set software or programming to revise contracts. However, because pre-set software operates as a "black box," relying on the pixel coordinates, window handles, and control IDs of the UI, even minor environmental changes—such as Office version updates, screen resolution changes, system font adjustments, or even a sudden pop-up dialog box—can cause the entire automated process to fail. Furthermore, simulating keyboard and mouse operations is far slower than calling programmatic APIs, especially when dealing with long documents and extensive modifications, where the slow execution is noticeably visibly slow. Additionally, because pre-set software cannot truly "understand" the document content and lacks context awareness, it merely executes pre-set mechanical actions, unable to perform complex logical judgments, resulting in high implementation costs and unreliability. Moreover, as an external simulation, pre-set software cannot guarantee the atomicity and transactionality of its operations; unexpected interruptions during complex modifications may result in a corrupted or partially modified document, compromising document integrity. In summary, all the aforementioned technical solutions suffer from workflow disruption, meaning the analytical capabilities of artificial intelligence are disconnected from the human editing toolchain, leading to information silos and significant efficiency losses. Furthermore, at the DOCX level, the complexity of cross-text block modifications, lossless preservation of complex formats, and the structural integrity of the entire document package mean that negligence in any step can result in revisions that do not meet expectations. Moreover, they all lack native integration, failing to directly generate native revision traces that can be fully accepted and managed by the Word ecosystem. Therefore, this specification provides several technical solutions to improve the efficiency and accuracy of contract revisions. On the one hand, because the output is a target contract containing revision marks, users can complete the review with a single click within their familiar Word operating environment, achieving a seamless closed loop from review to revision and solving the information silo problem of report-based solutions. On the other hand, it can quickly and accurately locate target text blocks related to the target clauses based on review comments, enabling precise modifications through revision marks and replacement processing of the target text blocks, ensuring the accuracy of contract revisions, and avoiding the low efficiency of manual revisions. In other words, it can improve revision efficiency while ensuring accuracy. Specific processing details can be found in the following embodiments.

[0019] The data processing methods described in one or more embodiments of this specification are applicable to the data processing implementation environment, such as... Figure 1 As shown, the implementation environment includes at least: Client 100 and server 200. Furthermore, server 200 can be configured with various network models and algorithms, among which: Client 100 can run on terminal devices, which can be mobile phones, personal computers, tablets, e-book readers, wearable devices, devices that interact with information based on AR (Augmented Reality) and VR (Virtual Reality), and laptop computers, etc. Client 100 can be installed on terminal devices, and Client 100 can be an application, a browser, or a subroutine embedded in an application, etc.

[0020] Server 200 can run on a server, which can be one or more servers, a server cluster consisting of several servers, or a cloud server on a cloud computing platform. Server 200 can be installed on the server. Server 200 can be an application or a subroutine embedded in an application. Various network models and algorithms can be integrated into server 200, or server 200 can call one or more of various network models and algorithms to perform corresponding operations.

[0021] In addition, it may include a database 300, which may be set up on the server on which the server 200 runs, or outside the server on which the server 200 runs. The database 300 may store data such as contracts to be reviewed, review requirements for different types of contracts, and contracts with revision marks.

[0022] In this implementation environment, server 200 can receive a review request for a target contract sent by client 100. In response to the review request, server 200 can review the target contract based on the review requirements corresponding to the target contract, obtain review comments on the target contract, determine the target clauses to be revised based on the review comments, and determine the target text blocks related to the target clauses in the text blocks corresponding to the target contract. Based on the review comments, the target text blocks are marked for revision, resulting in marked target text blocks. Based on the marked target text blocks, the target text blocks in the target contract are replaced to obtain a target contract containing the revision marks. Then, server 200 can return the target contract containing the revision marks to client 100.

[0023] like Figure 2 As shown in the embodiments of this specification, a data processing method is provided. The execution subject of this method can be a server, which can be a single independent server or a server cluster composed of multiple servers. The server can be a backend server for services such as financial transactions or online shopping, or a backend server for an application. This embodiment uses a server as the execution subject for detailed explanation, and the method specifically includes the following steps: In step S202, an audit request for the target contract is received.

[0024] The target contract can be any business-related contract. For example, the target contract can be a contract related to resource transfer business, video viewing business, permission change business, online shopping business, transaction business, etc. Specifically, the target contract can be a goods purchase and sale contract, which can be used to limit the obligations of both parties in the goods transaction process. Alternatively, the target contract can also be a service contract, which can be used to limit the service obligations and payment obligations of both parties in the service provision process.

[0025] In practice, the server can identify target contracts such as those for pre-defined business transactions awaiting signing or those requiring renewal upon expiration. For example, the server can designate a resource transfer business contract awaiting signing as a target contract. Alternatively, the server can also receive user-triggered review requests for target contracts.

[0026] In step S204, in response to the audit request, the target contract is audited based on the audit requirements corresponding to the target contract, and audit opinions are obtained for the target contract.

[0027] The review requirements can include risk identification, clause classification, and rule comparison. Risk identification can be the requirement to identify clauses in the contract that may have legal risks, unfairness, or omissions. Clause classification can be the requirement to automatically break down the contract and classify it into a standard clause library (such as clauses on confidentiality, jurisdiction, and liability for damages). Rule comparison can be the requirement to compare the contract clauses with the company's internal preset templates or preset rules and find the differences.

[0028] In implementation, the server can determine the review requirements corresponding to the target contract based on the type of business to which the target contract belongs. For example, if the target contract belongs to the resource transfer business, then the review requirements corresponding to the target contract may include risk identification requirements and rule comparison requirements. If the target contract belongs to the video viewing business, then the review requirements corresponding to the target contract may include clause classification requirements and rule comparison requirements, etc.

[0029] Furthermore, the specific content and determination method of the review requirements corresponding to the target contract can also be varied and may differ depending on the actual application scenario. This specification does not specifically limit this in the embodiments.

[0030] Once the review requirements for the target contract are determined, the target contract can be reviewed based on these requirements. For example, the server can send the review requirements and the target contract to a preset reviewer and receive the review comments obtained by the preset reviewer based on the review requirements. Alternatively, the server can use a review model built based on deep learning algorithms, such as a large language model, to review the target contract based on the review requirements and obtain review comments for the target contract.

[0031] The review comments may include the type of revision operation, the contract to be revised, the revised contract, the contract marked with a revision mark, the revision mode, the content of the risk warning, the content of the new clauses, the location of the new clauses, and the user information of the reviser.

[0032] Taking the use of an audit model for audit processing as an example, in order to improve the audit accuracy of the audit model, the server can verify the accuracy of the audit model based on the contract to be revised, the revised contract, and the contract with revision mark in the audit comments. Based on the verification results, the parameters of the audit model are tuned. If the audit model passes the accuracy verification, the audit comments output by the audit model are determined as the audit comments for the target contract.

[0033] In step S206, based on the review comments, the target clauses to be revised are determined, and the target text blocks related to the target clauses in the text blocks corresponding to the target contract are identified.

[0034] In implementation, taking a target contract file of type DOCX (Office Open XML) as an example, a DOCX file is not a single file, but a compressed file format based on XML, with the standard being Office Open XML (OOXML). A `.docx` file is essentially a ZIP archive, which, after decompression, yields a directory structure containing multiple folders and XML files. The core content can be located in the ` / word / document.xml` file, which can define the document's main content, paragraphs, tables, images, and other elements in XML format.

[0035] The server can input the target DOCX contract into the audit model and obtain audit comments in JSON data format. Each JSON object represents an independent audit comment. For example, audit comments in JSON data format may include: JSON object 1: { "authorName": User 1, "filePath": " / users / aaa / target contract.docx" "originTerm": "11.2 Any dispute arising during the performance of this contract shall be settled amicably through negotiation between the parties. If the negotiation fails, the dispute shall be submitted to Department 1 for handling." "Revised Term": "Any dispute arising during the performance of this contract shall be resolved through negotiation between the parties. If the negotiation fails, the dispute shall be submitted to Department 2 for handling." “riskWarning”: “Reason for revision:...", "type": "REVISE", "updatePattern":" <del>11.2< / del> Any dispute arising during the performance of this contract shall be settled amicably through negotiation between the parties. If the negotiation fails, the dispute shall be submitted to the relevant authorities. <del> Department 1< / del> <add> Department 2< / add> deal with" } JSON object 2: { "authorName": User 1, "filePath": " / users / aaa / target contract.docx" "originTerm": "17.2 This Contract shall be effective from the date specified in this Contract and the term selected by Party A..." "riskWarning": "Risk warning: Recommendation..." "type": "WARN" } JSON object 3: { "addedLocation": "INSERT_AFTER", "addedTerm": "Term 1, service fees are borne by..." "authorName": User 1, "filePath": " / users / aaa / target contract.docx" “originTerm”: “Term 1” “riskWarning”: “Reason for revision: ...”, "type": "ADD" } JSON object 4: { "authorName": User 1, “originTerm”:“Term 2”, "type": "DELETE" } The meanings of each field in the JSON object are shown in Table 1 below.

[0036] Table 1

[0037] Based on the aforementioned JSON objects, the server can quickly determine the target clause to be revised. For example, the server can use libraries such as Aspose to load the target contract in DOCX format and parse it completely into an in-memory Document Object Model (DOM). Then, the server can determine the corresponding paragraph object in the target contract as the target clause based on the `originTerm` field in each JSON object. Furthermore, based on the `updatePattern` field in each JSON object, the server can parse the length of the text block to be revised and its starting index within the target clause.

[0038] The server can use a string matching algorithm to find the target character targetText in the target clause. Then, the server can calculate which text blocks (i.e., Run nodes) the target clause covers based on the start and end character indices (start, end) of the target character targetText, and calculate the specific character offsets in the start and end Runs, resulting in a list of tuples containing the Run object, the start offset, and the end offset.

[0039] Among them, the text block Run is in the core markup language of DOCX (WordprocessingML), which is... <w:r>The tags indicate paragraphs (by) <w:p>A Run object is the smallest unit of text within a text block (represented by a tag). A Run object represents a continuous block of text with identical formatting attributes (such as font, font size, color, bold, italics, etc.). Because a text block is the smallest indivisible unit of text, text block-level operations can maintain the structural consistency of a document.

[0040] Aspose, a document processing API library, provides developers with a high-level API for programmatically creating, reading, and modifying Word documents. It abstracts the complex DOCX file structure into an easy-to-manipulate Document Object Model (DOM). Developers can modify documents by manipulating objects such as Document, Paragraph, and Run without dealing with the underlying XML. However, Aspose itself does not provide the logic for "translating modification intentions into a series of 'Run' operations and injecting revision traces."

[0041] In step S208, based on the review comments, the target text block is revised and marked to obtain the marked target text block.

[0042] In implementation, the server can add revision tags based on review comments. These revision tags are defined by specific XML tags within the DOCX XML structure and are used to visually record all changes to the document. For example, a text block containing newly added text can be wrapped in an XML tag. <w:ins> ...< / w:ins> Within the tag. Deleted text is not removed from the file; instead, the text block it contains can be wrapped in a `` tag. <w:del> ...< / w:del> The tag contains a <w:deltext>Elements. Annotation information can be accessed through... <w:commentrangestart>and <w:commentrangeend>The tag associates the raw text with separate comment information stored in / word / comments.xml.

[0043] In step S210, based on the marked target text block, the target text block in the target contract is replaced to obtain a target contract containing the revision mark.

[0044] In practice, after atomic revision markup operations, the marked target text block can be obtained. Then, the server can convert these in-memory revision marks into native revision tags that conform to the OOXML specification.

[0045] For example, for a target text block labeled "to be deleted", an API call can be made (such as Aspose's run.IsDeleteRevision=true;) to allow the library to handle the underlying XML generation, i.e., using... <w:del>The tag wraps the target text block.

[0046] For the target text block to be inserted, you can call the API (e.g., run.IsInsertRevision=true;) to generate the text block. <w:ins>The target text block enclosed by the tag.

[0047] For "comment" operations, you can create a comment object and then associate that comment object with the target text block. The Aspose library can handle this automatically. <w:commentrangestart>Generate and associate complex tags.

[0048] After all revision instructions (i.e., replacement processing) have been executed, the in-memory DOM with revision marks can be saved as a new DOCX file, serving as the target contract containing the revision marks. Since the entire process is completed using a library API that strictly adheres to the OOXML specification, the generated document is structurally complete, formatted intact, and fully compatible with mainstream editors such as Word. Therefore, the resulting target contract containing revision marks can be recognized and managed by Word's review tools (such as "Accept Revision" and "Reject Revision"), enabling seamless integration with the user's workflow. In other words, when a user opens the target contract containing revision marks, they will see a document with native revision traces (or annotations) that can be directly reviewed.

[0049] This specification provides a data processing method that receives a review request for a target contract, responds to the review request, reviews the target contract based on the review requirements corresponding to the target contract, obtains review comments on the target contract, determines the target clauses to be revised based on the review comments, identifies the target text blocks related to the target clauses within the corresponding text blocks of the target contract, marks the target text blocks for revision based on the review comments, obtains the marked target text blocks, and replaces the target text blocks in the target contract based on the marked target text blocks, resulting in a target contract containing revision marks. In this way, on the one hand, since the output is a target contract containing revision marks, users can complete the review with one click in their familiar Word environment, achieving a seamless closed loop from review to revision and solving the information silo problem of report-based solutions. On the other hand, it can quickly and accurately locate the target text blocks related to the target clauses based on the review comments, and achieve precise modification through the revision marks and replacement processing of the target text blocks, ensuring the accuracy of contract revision and avoiding the low revision efficiency problem of manual revision. In other words, it can improve revision efficiency while ensuring revision accuracy.

[0050] In practical applications, the target text block is marked for revision based on the review comments in step S208 above. The specific processing methods for the marked target text block can vary. The following provides one optional method for determining this: Figure 3 As shown, the specific process may include the following steps S2082 to S2084.

[0051] In step S2082, the characters and format of the target text block are copied.

[0052] In implementation, the server can copy (i.e. clone) the characters and format of the target text block. During the copying process, the format of the target text block needs to be inherited without loss. The copied target text block needs to be deeply cloned to include all format attributes of the original target text block (e.g., copying a Run.Font object in Aspose can include all format information such as font, size, color, bold, italics, etc.).

[0053] In step S2084, the target text block obtained by copying is marked with a revision mark according to the revision operation type in the review comments, resulting in a marked target text block.

[0054] The revision operation type can include one or more of the following: character deletion type, character insertion type, clause deletion type, clause insertion type, and annotation insertion type.

[0055] During implementation, based on the review comments, the copied target text blocks are marked for revision. This can ensure a high degree of visual consistency in the document through a lossless copying mechanism.

[0056] In practical applications, in step S2084 above, the target text block obtained by copying is marked with revisions based on the review comments. The specific processing methods for the marked target text block can be varied. The following provides an optional determination method, which may include the processing of step A1.

[0057] In step A1, if the revision operation type corresponding to the target clause is determined to be the clause deletion type based on the review comments, the copied target text block is marked with a deletion revision mark to obtain the marked target text block.

[0058] In practice, if the revision operation type corresponding to the target clause is determined to be the clause deletion type based on the review comments, the clause to be deleted can be identified as the target clause, and the text block corresponding to the target clause can be identified as the target text block.

[0059] Then, the server can delete revision marks on the copied target text block to obtain the marked target text block.

[0060] For example, assuming the target text block obtained by copying is Run(a), then the base of the marked target text block can be... <w:del>Run(a) <w:del>This means that the target text block obtained by copying can be wrapped with a preset deletion mark to obtain a target text block with deletion revision marks, that is, a marked target text block.

[0061] In practical applications, step S206 above, based on the review comments, identifies the target clauses to be revised and determines the text blocks corresponding to the target contract. The specific handling of the target text blocks related to the target clauses can vary. The following provides one optional method for determination, such as... Figure 4 As shown, the specific process may include the following steps S2062 to S2064.

[0062] In step S2062, if the revision operation type corresponding to the target clause is determined to be the clause insertion type based on the audit comments, the clause to be inserted corresponding to the audit comments is determined as the target clause, and the first insertion position corresponding to the target clause in the target contract is determined based on the audit comments.

[0063] In practice, if the revision operation type corresponding to the target clause is determined to be a clause insertion type based on the audit comments, the server can determine the clause to be inserted based on the addedTerm field in the audit comments, and determine the first insertion position corresponding to the target clause (i.e., the clause to be inserted) based on the addedLocation field.

[0064] In step S2064, based on the first insertion position, the target text block related to the target clause in the text block corresponding to the target contract is determined.

[0065] In practice, the server can determine the text block related to the first insertion position as the target text block. For example, assuming the first insertion position is before (or after) a preset character such as "clause 1", the server can determine the text block corresponding to the characters "clause 1" as the target text block.

[0066] In practical applications, in step S2084 above, the target text block obtained by copying is marked with revisions based on the review comments. The specific processing methods for the marked target text block can be varied. The following provides an optional determination method, which may include the processing of step B1.

[0067] In step B1, a first text block corresponding to the clause to be inserted is generated, and based on the first insertion position, an insertion revision mark is applied to the first text block and the copied target text block to obtain the marked target text block.

[0068] In practice, assuming the target text block obtained by copying is Run(a), the first text block corresponding to the clause to be inserted is Run(b), and the first insertion position of the clause to be inserted is before the character corresponding to the target text block, then the target text block after inserting the revision mark based on this first insertion position can be: <w:ins>Run(b) <w:ins>Run(a) can wrap the first text block with a preset insertion mark, and insert the first text with the insertion mark into the target text block obtained by copying according to the first insertion position, so as to obtain the target text block with deletion revision mark, that is, the marked target text block.

[0069] In practical applications, the specific handling method for determining the target clauses to be revised based on the audit comments in step S206 above can vary. The following provides one optional method for determination, such as... Figure 5 As shown, the specific process may include the following steps, S2066.

[0070] In step S2066, if the revision operation type corresponding to the target clause is determined to be the annotation insertion type based on the audit comments, the clause corresponding to the annotation information in the audit comments is determined as the target clause.

[0071] In practice, the server can determine the annotation information to be inserted based on the riskWarning field in the audit comments, and determine the clauses in the target contract that are associated with the annotation information based on the annotation information, so as to use the determined clauses as the target clauses.

[0072] In practical applications, annotation information can include content risk information obtained by performing risk detection on the target contract based on the review requirements of the target contract using a pre-defined large language model. That is, the server can use a pre-defined large language model to perform risk detection on the target contract based on the review requirements, and determine the obtained content risk information as annotation information. This content risk information can include the risk type, the reason for the judgment, and the relevant rules.

[0073] In practical applications, in step S2084 above, the target text block obtained by copying is marked with revisions based on the review comments. The specific processing methods for the marked target text block can be varied. The following provides an optional determination method, which may include the processing of step C1.

[0074] In step C1, a second text block corresponding to the annotation information is generated, and the second text block and the target text block are associated with a revision mark to obtain the marked target text block.

[0075] In implementation, the server can associate the second text block with the target text block using a revision tag to obtain the tagged target text block. That is, the tagged target text block can include the second text block with the associated revision tag and the target text block.

[0076] In practical applications, in step S2084 above, the target text block obtained by copying is marked with revisions based on the review comments. The specific processing methods for the marked target text block can be varied. The following provides an optional determination method, which may include the processing of steps D1 to D2.

[0077] In step D1, if the revision operation type corresponding to the target clause is determined to be a character insertion type based on the review comments, the character to be inserted and the second insertion position of the character to be inserted in the target clause are determined based on the review comments.

[0078] In step D2, a third text block corresponding to the character to be inserted is generated, and based on the second insertion position, an insertion revision mark is applied to the third text block and the copied target text block to obtain the marked target text block.

[0079] In practice, if the second insertion position is the beginning or end of the target clause, the server can insert revision marks on the third text block and the copied target text block based on the second insertion position to obtain the marked target text block.

[0080] If the second insertion position is the middle of the target clause, the server can split the copied target text block based on the second insertion position to obtain a fourth text block and a fifth text block corresponding to the character to be inserted. Then, the server can insert revision marks on the fifth text block and the third text block, and reorganize the marked text block and the fourth text block to obtain the marked target text block.

[0081] For example, assuming the target text block corresponding to the target clause is Run (abcd), if the second insertion position is the beginning or end position of the target clause, that is, the second insertion position is before a or after d, then the server can insert revision marks on the third text block and the copied Run (abcd) based on the second insertion position to obtain the marked target text block.

[0082] If the second insertion position is in the middle of the target clause, that is, between a and b (or between b and c, c and d, etc.), then the server can split the copied target text block to obtain a fourth text block and a fifth text block corresponding to the character to be inserted. For example, the fourth text block can be Run(a), and the fifth text block can be Run(bcd), meaning the second insertion position is between a and b.

[0083] Then, the server can insert revision marks into the fifth text block Run(bcd) and the third text block, and reorganize the marked text block and the fourth text block Run(a) to obtain the marked target text block.

[0084] In practical applications, in step S2084 above, the target text block obtained by copying is marked with revisions based on the review comments. The specific processing methods for the marked target text block can be varied. The following provides an optional determination method, which may include the processing steps E1 to E3.

[0085] In step E1, if the revision operation type corresponding to the target clause is determined to be a character deletion type based on the audit comments, the character to be deleted and its position information in the target clause are determined based on the audit comments.

[0086] In step E2, based on the location information, the copied target text block is split to obtain a first text block and a second text block corresponding to the character to be deleted.

[0087] In step E3, the second character block is marked with a deletion revision mark, and the marked target character block is obtained based on the first character block and the marked second character block.

[0088] In implementation, the server can split the copied target text block based on the position information of the character to be deleted in the target clause, obtaining a first text block and a second text block corresponding to the character to be deleted, for example, as follows: Figure 6 As shown, the server can determine the first block position loc1 corresponding to the keyword start position and the second block position loc2 corresponding to the keyword end position in the target text block based on the keyword start position and keyword end position of the character to be deleted in the target clause in the position information. Then, based on the first block position loc1 and the second block position loc2, the copied target text block can be split to obtain the first block and the second block corresponding to the first block position loc1 and the second block position loc2.

[0089] Specifically, assuming the target text block obtained by copying is Run("ABCDE"), and the character to be deleted corresponds to "BCD" in the target text block, then the server can split the target text block obtained by copying into the first text block Run("A"), the second text block Run("E"), and the third text block Run("BCD").

[0090] Then, the server can add a deletion revision mark to the second block Run("BCD"). Finally, the second block Run("BCD"), the first block Run("A"), and the first block Run("E") with the deletion revision mark can be recombined to obtain the marked target block.

[0091] Finally, the server can remove the original target text block from the paragraph's DOM and re-insert the new Run sequence (i.e., the marked target text block) after splitting, marking, and adding into the DOM tree in the correct order.

[0092] In this way, to address the problem that visually continuous text is segmented into multiple text blocks in the document structure due to formatting changes, intelligent matching and positioning can be performed in the concatenated plain text using context. Then, through the reverse mapping algorithm, the complete Run sequence spanned by the target clause and its offset in the first and last Runs can be accurately identified. This breaks through the fundamental limitation of the single string matching method, improves the accuracy of positioning and adaptability to complex documents.

[0093] A contract processing system can be built based on the above data processing methods, such as... Figure 7 As shown, the system can include several functional modules: an input layer, an auditing layer, a parsing and positioning engine, a text block operation module, a revision trace injection module, and an output layer.

[0094] Users can upload the DOCX document of the target contract to be reviewed to the input layer. The contract processing system can perform preliminary verification on the received target contract (such as basic format verification, outlier verification, etc.), and after the verification is passed, input the target contract into the review layer to use artificial intelligence models such as large language models to review the target contract and output structured review opinions (such as JSON data format).

[0095] The Parsing & Localization Engine loads the structured DOM of the review comments and accurately locates the target text blocks based on the context. The Run Operation Core then uses core algorithms such as matching, splitting, cloning, and recombining to obtain the marked target text blocks. The Revision Injection Module encapsulates the marked target text blocks into native revision tags (such as w:ins, w:del, w:comment, etc.). Finally, the output layer outputs a new DOCX document with remaining revision traces and lossless formatting (i.e., the target contract containing revision tags), providing users with online viewing, modification, and download capabilities.

[0096] In this way, the complex contract review task can be decoupled into two independent but collaborative parts through the above contract processing system: 1. Intelligent Review Section: Responsible for "thinking," that is, performing natural language understanding, risk identification, logical reasoning, and outputting its opinion on "what to change." Its output is a review opinion containing high-level, semantic modification instructions.

[0097] 2. Revision Section: Responsible for "execution," that is, receiving review comments and precisely completing the "how to change" at the underlying structure of the document. It doesn't care about the reasons for the changes, only how to complete the modification operation with the highest fidelity and efficiency.

[0098] The benefits of this decoupling include the ability for the intelligent review component to iterate independently, focusing on improving its analytical capabilities, while the revision component can serve as a general and stable infrastructure, providing powerful document execution capabilities for any AI engine, thus achieving decoupling and efficient collaboration between AI capabilities and document processing capabilities.

[0099] Because the contract processing system can obtain DOCX files containing native revision history, users can complete the review with a single click within the familiar Word environment, achieving a seamless closed loop from AI analysis to human decision-making. This overcomes workflow interruptions and solves the information silo problem of report-based solutions. Furthermore, the text block-based atomic operation algorithm addresses the issues of macro or plug-in solutions, enabling precise processing of any text spanning multiple blocks through intelligent positioning and reverse mapping, achieving accurate modifications. Simultaneously, the built-in lossless format cloning mechanism within the atomic operations ensures that even the most complex formatting is preserved during modification. Moreover, unlike fragile RPA solutions, the contract processing system operates "white-box," meaning it can operate directly at the structured data level of the document, unaffected by any external UI environment, guaranteeing stability and repeatability.

[0100] In this way, for a contract of moderate complexity, the mechanical revision work that would normally require legal personnel to spend several hours on can be completed in a short time through the aforementioned contract processing system. This can transform a large amount of professional time into economic benefits and business competitiveness.

[0101] Since human operation inevitably leads to errors due to fatigue and negligence, such as incorrect or missing corrections, formatting violations, or even the introduction of new logical loopholes, the automated and procedural execution of the contract processing system can reliably translate the AI's "intent" (such as deletion, insertion, modification, and annotation) into native revision marks that Word can recognize and manage. This achieves seamless integration of AI analysis results with the standard document collaboration ecosystem, and each revision is made according to the review comments, which can improve the quality and rigor of the final contract text.

[0102] Furthermore, artificial intelligence is no longer a detached "advisor," but rather an efficient and reliable "deputy" or "junior lawyer." After AI completes the initial draft revisions, human experts can simply use Word's powerful review function to make the final, high-value decision (accept or reject a revision), making the workflow smoother and more natural, and maximizing the respective strengths of both AI and human experts.

[0103] This specification provides a data processing method that receives a review request for a target contract, responds to the review request, reviews the target contract based on the review requirements corresponding to the target contract, obtains review comments on the target contract, determines the target clauses to be revised based on the review comments, identifies the target text blocks related to the target clauses within the corresponding text blocks of the target contract, marks the target text blocks for revision based on the review comments, obtains the marked target text blocks, and replaces the target text blocks in the target contract based on the marked target text blocks, resulting in a target contract containing revision marks. In this way, on the one hand, since the output is a target contract containing revision marks, users can complete the review with one click in their familiar Word environment, achieving a seamless closed loop from review to revision and solving the information silo problem of report-based solutions. On the other hand, it can quickly and accurately locate the target text blocks related to the target clauses based on the review comments, and achieve precise modification through the revision marks and replacement processing of the target text blocks, ensuring the accuracy of contract revision and avoiding the low revision efficiency problem of manual revision. In other words, it can improve revision efficiency while ensuring revision accuracy.

[0104] like Figure 8 As shown in the embodiments of this specification, a data processing method is provided. The execution subject of this method can be a server, which can be a single independent server or a server cluster composed of multiple servers. The server can be a backend server for services such as financial transactions or online shopping, or a backend server for an application. This embodiment uses a server as the execution subject for detailed explanation, and the method specifically includes the following steps: In step S802, a revision request for the target data is received.

[0105] The target data can be any data that needs to be reviewed and revised, such as contracts, papers, reports, etc.

[0106] In implementation, the server can obtain the business processing rules corresponding to the target data and use a preset large language model to determine whether the target data matches the business processing rules. If it is determined that the target data does not match the business processing rules, revision information corresponding to the target data is generated based on the business processing rules, and a revision request for the target data is triggered.

[0107] In step S804, in response to the revision request, revision information corresponding to the target data is obtained.

[0108] In implementation, the server can obtain the audit requirements corresponding to the target data, and audit the target data according to the audit requirements to obtain the revision information corresponding to the target data. The audit requirements may include risk identification requirements, rule comparison requirements, format matching requirements, etc.

[0109] For example, taking a paper as the target data, the review requirements corresponding to the target data may include format matching requirements and knowledge matching requirements, and the revision information may include format revision information and knowledge revision information.

[0110] In step S806, the target text block corresponding to the revision information in the target data is determined.

[0111] In practice, the method for determining the target text block corresponding to the revised information can be found in step S206 above, which describes the method for determining the target text block related to the target clause in the text block corresponding to the target contract. This will not be repeated here.

[0112] In step S808, the characters and format of the target text block are copied, and the copied target text block is marked according to the revision information to obtain the marked target text block.

[0113] In practice, the method for determining the marked target text block can be found in the specific content of step S2084 above, and will not be repeated here.

[0114] In addition, the server can also determine the first data in the target data that corresponds to the revision information, and identify the text block corresponding to the first data as the target text block.

[0115] For example, when the revision operation type is character deletion, the server can determine the first data based on the character in the target data that matches the revised data.

[0116] Alternatively, if the revision operation type is character insertion type and / or annotation insertion type, the server determines the insertion position of the revised data in the target data based on the revision information, and determines the first data in the target data corresponding to the revision information based on the insertion position.

[0117] Then, based on the revision information, the server can determine the revision operation type corresponding to the target data, as well as the revised data. The target text block is then split to obtain a first text block and a second text block related to the revised data.

[0118] Based on the revision operation type and revision data, the first text block is marked to obtain the marked first text block, and based on the marked first text block and the second text block, the marked target text block is obtained.

[0119] For example, if the revision operation type is character deletion, the server can mark the first text block as deleted to obtain the marked first text block.

[0120] Alternatively, if the revision operation type is character insertion type and / or comment insertion type, a third text block corresponding to the revision data can be generated, and the third text block and the first text block can be associated and marked to obtain the marked first text block. Then, the server can obtain the marked target text block based on the marked first text block, the third text block, and the second text block.

[0121] In step S810, based on the marked target text blocks, the target text blocks in the target data are replaced to obtain target data containing revision marks.

[0122] In implementation, the revision data corresponding to the annotation insertion type may include content risk information obtained by using the preset large language model to perform risk detection on the target data based on business processing rules.

[0123] This specification provides a data processing method that receives a revision request for target data, responds to the request by obtaining revision information corresponding to the target data, identifies the target text block in the target data corresponding to the revision information, copies the characters and format of the target text block, and marks the copied target text block according to the revision information to obtain a marked target text block. Based on the marked target text block, the target text block in the target data is replaced to obtain target data containing revision marks. In this way, on the one hand, since the output is target data containing revision marks, users can complete the review with one click in their familiar Word operating environment, achieving a seamless closed loop from review to revision and solving the information silo problem of report-based solutions. On the other hand, it can quickly and accurately locate the target text block corresponding to the revision information, and achieve precise modification through revision marking and replacement of the target text block, ensuring the accuracy of data revision and avoiding the low revision efficiency problem of manual revision. In other words, it can improve revision efficiency while ensuring revision accuracy.

[0124] The above describes the data processing method provided in the embodiments of this specification. Based on the same idea, the embodiments of this specification also provide a data processing device, such as... Figure 9 As shown.

[0125] The data processing device includes: a first receiving module 901, a contract review module 902, a first determining module 903, a first revision module 904, and a first replacement module 905, wherein: The first receiving module 901 is used to receive an audit request for the target contract; The contract review module 902 is used to respond to the review request, review the target contract based on the review requirements corresponding to the target contract, and obtain review opinions for the target contract; The first determining module 903 is used to determine the target clause to be revised based on the review comments, and to determine the target text block related to the target clause in the text block corresponding to the target contract; The first revision module 904 is used to revise the target text block based on the review comments to obtain the revised target text block; The first replacement module 905 is used to replace the target text block in the target contract based on the marked target text block to obtain a target contract containing the revision mark.

[0126] In this embodiment of the specification, the first revision module 904 is used for: The characters and format of the target text block are copied. Based on the revision operation type in the review comments, the copied target text block is marked with a revision mark to obtain the marked target text block. The revision operation type includes one or more of the following: character deletion type, character insertion type, clause deletion type, clause insertion type, and annotation insertion type.

[0127] In the embodiments of this specification, the first determining module 903 is used for: If, based on the audit comments, the revision operation type corresponding to the target clause is determined to be the clause insertion type, the clause to be inserted corresponding to the audit comments is determined as the target clause, and based on the audit comments, the first insertion position corresponding to the target clause in the target contract is determined; Based on the first insertion position, determine the target text block related to the target clause in the text block corresponding to the target contract; The first revision module 904 is used for: A first text block corresponding to the clause to be inserted is generated, and based on the first insertion position, an insertion revision mark is applied to the first text block and the copied target text block to obtain the marked target text block.

[0128] In the embodiments of this specification, the first determining module 903 is used for: If, based on the audit comments, it is determined that the revision operation type corresponding to the target clause is the annotation insertion type, then the clause corresponding to the annotation information in the audit comments is determined as the target clause. The first revision module 904 is used for: A second text block corresponding to the annotation information is generated, and the second text block and the target text block are associated with a revision mark to obtain the marked target text block.

[0129] In this embodiment of the specification, the first revision module 904 is used for: If, based on the audit comments, it is determined that the revision operation type corresponding to the target clause is a character insertion type, then, based on the audit comments, the character to be inserted and the second insertion position of the character to be inserted in the target clause are determined. A third text block corresponding to the character to be inserted is generated, and based on the second insertion position, an insertion revision mark is applied to the third text block and the copied target text block to obtain the marked target text block.

[0130] In this embodiment of the specification, the first revision module 904 is used for: If, based on the audit comments, it is determined that the revision operation type corresponding to the target clause is a character deletion type, then, based on the audit comments, the character to be deleted and the position information of the character to be deleted in the target clause are determined; Based on the location information, the copied target text block is split to obtain a first text block and a second text block corresponding to the character to be deleted; The second character block is marked with a deletion revision mark, and the marked target character block is obtained based on the first character block and the marked second character block.

[0131] In this embodiment of the specification, the annotation information includes content risk information obtained by performing risk detection on the target contract based on the review requirements of the target contract using a preset large language model.

[0132] This specification provides a data processing device that receives a review request for a target contract, responds to the review request, reviews the target contract based on the review requirements corresponding to the target contract, obtains review opinions on the target contract, determines the target clauses to be revised based on the review opinions, identifies the target text blocks related to the target clauses within the corresponding text blocks of the target contract, marks the target text blocks for revision based on the review opinions, obtains the marked target text blocks, and replaces the target text blocks in the target contract based on the marked target text blocks, resulting in a target contract containing revision marks. In this way, on the one hand, since the output is a target contract containing revision marks, users can complete the review with one click in their familiar Word operating environment, achieving a seamless closed loop from review to revision and solving the information silo problem of report-based solutions. On the other hand, it can quickly and accurately locate the target text blocks related to the target clauses based on the review opinions, and achieve precise modification through the revision marks and replacement processing of the target text blocks, ensuring the accuracy of contract revision and avoiding the low revision efficiency problem of manual revision. In other words, it can improve revision efficiency while ensuring revision accuracy.

[0133] The above describes the data processing method provided in the embodiments of this specification. Based on the same idea, the embodiments of this specification also provide a data processing device, such as... Figure 10 As shown.

[0134] The data processing device includes: a second receiving module 1001, an information acquisition module 1002, a second determining module 1003, a second revision module 1004, and a second replacement module 1005, wherein: The second receiving module 1001 is used to receive a revision request for the target data; Information acquisition module 1002 is used to acquire revision information corresponding to the target data in response to the revision request; The second determining module 1003 is used to determine the target text block in the target data that corresponds to the revision information; The second revision module 1004 is used to copy the characters and format of the target text block, and mark the copied target text block according to the revision information to obtain the marked target text block. The second replacement module 1005 is used to replace the target text block in the target data based on the marked target text block to obtain target data containing the revision mark.

[0135] This specification provides a data processing apparatus that acquires first image sample data and corresponding first descriptive text data for training a multimodal large language model. Multiple characters in the first descriptive text data are masked to obtain masked first descriptive text data. The first image sample data and the masked first descriptive text data are input into the multimodal large language model. Character prediction processing is performed on each masked character in parallel to obtain second descriptive text data. Based on the first and second descriptive text data, it is determined whether the multimodal large language model has converged. If the multimodal large language model has not converged, training continues until it converges, resulting in a trained multimodal large language model. This trained multimodal large language model can be used to generate descriptive text data corresponding to the image data, thereby processing target business through the generated descriptive text data. Since the multimodal large language model is trained using a large-scale data autoregressive training method, it possesses good contextual understanding capabilities. Therefore, parallel inference can be used to improve the processing efficiency of the multimodal large language model in information extraction while maintaining its processing accuracy. Specifically, parallel processing can be used to simultaneously perform character prediction processing on each masked character, thereby improving the training efficiency of the multimodal large language model. This allows the trained multimodal large language model to quickly and accurately generate descriptive text data for image data, thereby improving the processing efficiency and accuracy of subsequent target business processes.

[0136] The above are the data processing apparatuses provided in the embodiments of this specification. Based on the same idea, the embodiments of this specification also provide a data processing device, such as... Figure 11 As shown.

[0137] The data processing device can provide terminal equipment or servers, etc., for the above embodiments.

[0138] like Figure 11 As shown, device 1100 mainly consists of a communication interface 1102, a user interface 1104, a processor 1106, and a data storage 1108. These components are interconnected and communicate with each other via a system bus, network, or other connection mechanism 1110. The communication interface 1102 enables device 1100 to communicate with other devices, access networks, and transmission networks via analog or digital modulation. For example, the communication interface 1102 may include a chipset and antenna for wireless communication with a radio access network or access point. Furthermore, the communication interface 1102 can be a wired interface such as Ethernet, Token Ring, or a USB port, or a wireless interface such as Wi-Fi, Bluetooth, Global Positioning System (GPS), or a wide-area wireless interface (e.g., WiMAX or LTE). Of course, the communication interface 1102 can also support other forms of physical layer interfaces and standard or proprietary communication protocols. The communication interface 1102 may also include multiple physical communication interfaces, such as Wi-Fi, Bluetooth, and wide-area wireless interfaces.

[0139] User interface 1104 includes receiving user input and providing output to the user. Therefore, user interface 1104 may include input components such as a keypad, keyboard, touch-sensitive or presence-sensitive panel, computer mouse, trackball, joystick, microphone, still camera, and video camera, and output components such as a display screen (which may be combined with a touch-sensitive panel), CRT, LCD, LED, display using DLP technology, printer, and other similar devices known or developed in the future. User interface 1104 may also generate auditory output via speakers, speaker jacks, audio output ports, audio output devices, headphones, and other similar devices known or developed in the future. In some embodiments, user interface 1104 may include software, circuitry, or other forms of logic capable of transmitting and receiving data from external user input / output devices. Additionally or alternatively, device 1100 may support remote access from other devices via communication interface 1102 or another physical interface (not shown). User interface 1104 may be configured to receive user input, the position and movement of which may be indicated by indicators or cursors described herein. User interface 1104 can also be configured as a display device for rendering or displaying text fragments.

[0140] Processor 1106 may include one or more general-purpose processors and / or special-purpose processors.

[0141] Data storage 1108 may include one or more volatile storage components and may be integrated wholly or partially with processor 1106. Data storage 1108 may include removable and non-removable components.

[0142] Processor 1106 is capable of executing program instructions 1118 (e.g., compiled or uncompiled program logic and / or machine code) stored in data storage 1108 to perform the various functions described herein. Data storage 1108 may contain a non-transitory computer-readable medium on which program instructions are stored, which, when executed by device 1100, enable device 1100 to perform any methods, processes, or functions disclosed in this specification and / or the accompanying drawings. Execution of program instructions 1118 by processor 1106 may result in processor 1106 using data 1112.

[0143] For example, program instructions 1118 may include an operating system 1122 (e.g., an operating system kernel, device drivers, and / or other modules) installed on device 1100 and one or more applications 1120 (e.g., a browser, social application, or game application). Similarly, data 1112 may include operating system data 1116 and application data 1114. Operating system data 1116 is primarily accessible to the operating system 1122, while application data 1114 is primarily accessible to one or more applications 1120. Application data 1114 may reside in a file system visible or hidden from the user of device 1100.

[0144] Application 1120 can communicate with operating system 1112 through one or more application programming interfaces (APIs). These APIs help application 1120 read and / or write application data 1114, transmit or receive information via communication interface 1102, receive or display information on user interface 1104, etc.

[0145] In some terminology, application 1120 may be simply referred to as "app". Furthermore, application 1120 can be downloaded to device 1100 through one or more online app stores or app markets. However, applications can also be installed on device 1100 in other ways, such as through a web browser or a physical interface on device 1100 (e.g., a USB port).

[0146] Specifically, in this embodiment, the data processing device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the data processing device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: Receive review requests for the target contract; In response to the audit request, the target contract is audited based on the audit requirements corresponding to the target contract, and audit opinions are obtained for the target contract; Based on the audit comments, the target clauses to be revised are determined, and the target text blocks related to the target clauses in the text blocks corresponding to the target contract are identified. Based on the review comments, the target text block is revised and marked to obtain the marked target text block; Based on the marked target text block, the target text block in the target contract is replaced to obtain a target contract containing the revision mark.

[0147] Specifically, in this embodiment, the data processing device includes a memory and one or more programs, wherein one or more programs are stored in the memory, and one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the data processing device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: Receive revision requests for target data; In response to the revision request, obtain the revision information corresponding to the target data; Identify the target text block in the target data that corresponds to the revision information; The characters and format of the target text block are copied, and the copied target text block is marked according to the revision information to obtain the marked target text block; Based on the marked target text blocks, the target text blocks in the target data are replaced to obtain target data containing revision marks.

[0148] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the data processing device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0149] This specification provides a data processing device that receives a review request for a target contract, responds to the review request, reviews the target contract based on the review requirements corresponding to the target contract, obtains review opinions on the target contract, determines the target clauses to be revised based on the review opinions, identifies the target text blocks related to the target clauses within the corresponding text blocks of the target contract, marks the target text blocks for revision based on the review opinions, obtains the marked target text blocks, and replaces the target text blocks in the target contract based on the marked target text blocks, resulting in a target contract containing revision marks. In this way, on the one hand, since the output is a target contract containing revision marks, users can complete the review with one click in their familiar Word operating environment, achieving a seamless closed loop from review to revision and solving the information silo problem of report-based solutions. On the other hand, it can quickly and accurately locate the target text blocks related to the target clauses based on the review opinions, and achieve precise modification through the revision marks and replacement processing of the target text blocks, ensuring the accuracy of contract revision and avoiding the low revision efficiency problem of manual revision. In other words, it can improve revision efficiency while ensuring revision accuracy.

[0150] Furthermore, based on the above Figures 1 to 8 This specification also provides a storage medium for storing computer-executable instruction information in one or more embodiments. In one specific embodiment, the storage medium may be a USB flash drive, optical disc, hard disk, etc. When the computer-executable instruction information stored in the storage medium is executed by a processor, it can realize the following process: Receive review requests for the target contract; In response to the audit request, the target contract is audited based on the audit requirements corresponding to the target contract, and audit opinions are obtained for the target contract; Based on the audit comments, the target clauses to be revised are determined, and the target text blocks related to the target clauses in the text blocks corresponding to the target contract are identified. Based on the review comments, the target text block is revised and marked to obtain the marked target text block; Based on the marked target text block, the target text block in the target contract is replaced to obtain a target contract containing the revision mark.

[0151] Furthermore, based on the above Figures 1 to 7 This specification also provides a storage medium for storing computer-executable instruction information in one or more embodiments. In one specific embodiment, the storage medium may be a USB flash drive, optical disc, hard disk, etc. When the computer-executable instruction information stored in the storage medium is executed by a processor, it can realize the following process: Receive revision requests for target data; In response to the revision request, obtain the revision information corresponding to the target data; Identify the target text block in the target data that corresponds to the revision information; The characters and format of the target text block are copied, and the copied target text block is marked according to the revision information to obtain the marked target text block; Based on the marked target text blocks, the target text blocks in the target data are replaced to obtain target data containing revision marks.

[0152] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the above-described storage medium embodiment is basically similar to the method embodiment, so the description is relatively simple; relevant parts can be referred to the description of the method embodiment.

[0153] This specification provides a storage medium that receives a review request for a target contract, responds to the review request, reviews the target contract based on the review requirements corresponding to the target contract, obtains review comments on the target contract, determines the target clauses to be revised based on the review comments, identifies the target text blocks related to the target clauses within the corresponding text blocks of the target contract, marks the target text blocks for revision based on the review comments, obtains the marked target text blocks, and replaces the target text blocks in the target contract based on the marked target text blocks, resulting in a target contract containing revision marks. In this way, on the one hand, since the output is a target contract containing revision marks, users can complete the review with one click in their familiar Word operating environment, achieving a seamless closed loop from review to revision and solving the information silo problem of report-based solutions. On the other hand, it can quickly and accurately locate the target text blocks related to the target clauses based on the review comments, and achieve precise modification through the revision marks and replacement processing of the target text blocks, ensuring the accuracy of contract revision and avoiding the low revision efficiency problem of manual revision. In other words, it can improve revision efficiency while ensuring revision accuracy.

[0154] Furthermore, based on the above Figures 1 to 8 This specification also provides one or more embodiments of a computer program product, including a computer program, which, when executed by a processor, can perform the following processes: Receive review requests for the target contract; In response to the audit request, the target contract is audited based on the audit requirements corresponding to the target contract, and audit opinions are obtained for the target contract; Based on the audit comments, the target clauses to be revised are determined, and the target text blocks related to the target clauses in the text blocks corresponding to the target contract are identified. Based on the review comments, the target text block is revised and marked to obtain the marked target text block; Based on the marked target text block, the target text block in the target contract is replaced to obtain a target contract containing the revision mark.

[0155] Furthermore, based on the above Figures 1 to 8 This specification also provides one or more embodiments of a computer program product, including a computer program, which, when executed by a processor, can perform the following processes: Receive revision requests for target data; In response to the revision request, obtain the revision information corresponding to the target data; Identify the target text block in the target data that corresponds to the revision information; The characters and format of the target text block are copied, and the copied target text block is marked according to the revision information to obtain the marked target text block; Based on the marked target text blocks, the target text blocks in the target data are replaced to obtain target data containing revision marks.

[0156] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the above-described embodiment of a computer program product is relatively simple in description because it is fundamentally similar to the method embodiment; relevant parts can be referred to the description of the method embodiment.

[0157] This specification provides a computer program product that receives a review request for a target contract, responds to the review request, reviews the target contract based on the review requirements corresponding to the target contract, obtains review comments on the target contract, determines the target clauses to be revised based on the review comments, identifies the target text blocks related to the target clauses within the corresponding text blocks of the target contract, marks the target text blocks for revision based on the review comments, obtains the marked target text blocks, and replaces the target text blocks in the target contract based on the marked target text blocks, resulting in a target contract containing revision marks. In this way, on the one hand, because the output is a target contract containing revision marks, users can complete the review with one click in their familiar Word operating environment, achieving a seamless closed loop from review to revision and solving the information silo problem of report-based solutions. On the other hand, it can quickly and accurately locate the target text blocks related to the target clauses based on the review comments, and achieve precise modification through the revision marks and replacement processing of the target text blocks, ensuring the accuracy of contract revision and avoiding the low revision efficiency problem of manual revision. In other words, it can improve revision efficiency while ensuring revision accuracy.

[0158] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0159] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many improvements to the methodology today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that an improvement to the methodology cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages ​​and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

[0160] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0161] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0162] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in one or more software and / or hardware.

[0163] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0164] Embodiments in this specification are described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable parallel device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable parallel device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0165] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable fraud device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0166] These computer program instructions can also be loaded onto a computer or other programmable device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0167] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0168] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0169] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0170] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Without further limitations, the presence of additional identical elements in the process, method, article, or apparatus that includes said elements is not excluded.

[0171] It should also be noted that the terms "one," "an," and "the" do not specifically refer to the singular; they can also include the plural. Ordinal numbers such as "first," "second," etc., do not necessarily indicate order; often they are used to distinguish between objects. For example, "first server" and "second server" usually refer to two servers. To differentiate between these two servers, they are described as "first server" and "second server." Of course, sometimes these two servers may be the same server.

[0172] In this specification, unless explicitly stated otherwise, "receiving and sending data" does not necessarily mean direct receiving and sending; it can also mean indirect receiving and sending. For example, A receiving data sent by B can be understood as A directly receiving data sent by B, or it can be understood as A indirectly receiving data sent by B through other entities such as C. Similarly, B sending data to A can be understood as B sending data directly to A, or it can be understood as B indirectly sending data to A through other entities such as C. Here, C can be a single subject, or two or more subjects.

[0173] This specification uses specific terms to describe embodiments thereof. Terms such as "an embodiment," "one embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic associated with at least one embodiment of this specification. Therefore, it should be emphasized and noted that references to "an embodiment," "one embodiment," or "an alternative embodiment" in different locations within this specification do not necessarily refer to the same embodiment. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described herein, as well as the features of those different embodiments or examples.

[0174] Although one or more embodiments of this specification provide method steps as described in the embodiments or flowcharts, it is understood that the order of steps listed in the embodiments or flowcharts is only one of many possible execution orders and does not represent the only execution order. Therefore, when the claims involve method steps, any changes or adjustments to the order of such steps, or the parallelism between steps, are also within the scope of protection of the claims.

[0175] It should be noted that the user data obtained in this manual is authorized by the user and does not involve user privacy.

[0176] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0177] One or more embodiments of this specification can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. One or more embodiments of this specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0178] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0179] The above description is merely an embodiment of this specification and is not intended to limit this document. Various modifications and variations can be made to this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of the claims of this specification.< / w:ins> < / w:ins> < / w:del> < / w:del> < / w:commentrangestart> < / w:ins> < / w:del> < / w:commentrangeend> < / w:commentrangestart> < / w:deltext> < / w:p> < / w:r>

Claims

1. A data processing method, comprising: Receive review requests for the target contract; In response to the audit request, the target contract is audited based on the audit requirements corresponding to the target contract, and audit opinions are obtained for the target contract; Based on the audit comments, the target clauses to be revised are determined, and the target text blocks related to the target clauses in the text blocks corresponding to the target contract are identified. Based on the review comments, the target text block is revised and marked to obtain the marked target text block; Based on the marked target text block, the target text block in the target contract is replaced to obtain a target contract containing the revision mark.

2. The method according to claim 1, wherein the step of revising the target text block based on the review comments to obtain the tagged target text block includes: The characters and format of the target text block are copied. Based on the revision operation type in the review comments, the copied target text block is marked with a revision mark to obtain the marked target text block. The revision operation type includes one or more of the following: character deletion type, character insertion type, clause deletion type, clause insertion type, and annotation insertion type.

3. The method according to claim 2, wherein determining the target clause to be revised based on the review comments, and determining the target text block related to the target clause in the text block corresponding to the target contract, includes: If, based on the audit comments, the revision operation type corresponding to the target clause is determined to be the clause insertion type, the clause to be inserted corresponding to the audit comments is determined as the target clause, and based on the audit comments, the first insertion position corresponding to the target clause in the target contract is determined; Based on the first insertion position, determine the target text block related to the target clause in the text block corresponding to the target contract; The step of revising the copied target text block according to the review comments to obtain the tagged target text block includes: A first text block corresponding to the clause to be inserted is generated, and based on the first insertion position, an insertion revision mark is applied to the first text block and the copied target text block to obtain the marked target text block.

4. The method according to claim 2, wherein determining the target clause to be revised based on the audit comments includes: If, based on the audit comments, it is determined that the revision operation type corresponding to the target clause is the annotation insertion type, then the clause corresponding to the annotation information in the audit comments is determined as the target clause. The step of revising the copied target text block according to the review comments to obtain the tagged target text block includes: A second text block corresponding to the annotation information is generated, and the second text block and the target text block are associated with a revision mark to obtain the marked target text block.

5. The method according to claim 2, wherein the step of revising the copied target text block according to the review comments to obtain the tagged target text block includes: If, based on the audit comments, it is determined that the revision operation type corresponding to the target clause is a character insertion type, then, based on the audit comments, the character to be inserted and the second insertion position of the character to be inserted in the target clause are determined. A third text block corresponding to the character to be inserted is generated, and based on the second insertion position, an insertion revision mark is applied to the third text block and the copied target text block to obtain the marked target text block.

6. The method according to claim 2, wherein the step of revising the copied target text block according to the review comments to obtain the tagged target text block includes: If, based on the audit comments, it is determined that the revision operation type corresponding to the target clause is a character deletion type, then, based on the audit comments, the character to be deleted and the position information of the character to be deleted in the target clause are determined; Based on the location information, the copied target text block is split to obtain a first text block and a second text block corresponding to the character to be deleted; The second character block is marked with a deletion revision mark, and the marked target character block is obtained based on the first character block and the marked second character block.

7. The method according to claim 4, wherein the annotation information includes content risk information obtained by performing risk detection on the target contract based on the review requirements of the target contract using a preset large language model.

8. A data processing method, comprising: Receive revision requests for target data; In response to the revision request, obtain the revision information corresponding to the target data; Identify the target text block in the target data that corresponds to the revision information; The characters and format of the target text block are copied, and the copied target text block is marked according to the revision information to obtain the marked target text block; Based on the marked target text blocks, the target text blocks in the target data are replaced to obtain target data containing revision marks.

9. A data processing apparatus, comprising: The first receiving module is used to receive review requests for the target contract; The contract review module is used to respond to the review request, review the target contract based on the review requirements corresponding to the target contract, and obtain review opinions on the target contract. The first determining module is used to determine the target clause to be revised based on the review comments, and to determine the target text block related to the target clause in the text block corresponding to the target contract; The first revision module is used to mark the target text block with revisions based on the review comments, so as to obtain the marked target text block; The first replacement module is used to replace the target text block in the target contract based on the marked target text block, so as to obtain a target contract containing the revision mark.

10. A data processing apparatus, comprising: The second receiving module is used to receive revision requests for the target data; The information acquisition module is used to acquire revision information corresponding to the target data in response to the revision request; The second determining module is used to determine the target text block in the target data that corresponds to the revision information; The second revision module is used to copy the characters and format of the target text block, and mark the copied target text block according to the revision information to obtain the marked target text block. The second replacement module is used to replace the target text block in the target data based on the marked target text block, so as to obtain target data containing the revision mark.

11. A data processing apparatus, the data processing apparatus comprising: processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to: Receive review requests for the target contract; In response to the audit request, the target contract is audited based on the audit requirements corresponding to the target contract, and audit opinions are obtained for the target contract; Based on the audit comments, the target clauses to be revised are determined, and the target text blocks related to the target clauses in the text blocks corresponding to the target contract are identified. Based on the review comments, the target text block is revised and marked to obtain the marked target text block; Based on the marked target text block, the target text block in the target contract is replaced to obtain a target contract containing the revision mark.

12. A data processing apparatus, the data processing apparatus comprising: processor; as well as A memory configured to store computer-executable instructions, which, when executed, cause the processor to: Receive revision requests for target data; In response to the revision request, obtain the revision information corresponding to the target data; Identify the target text block in the target data that corresponds to the revision information; The characters and format of the target text block are copied, and the copied target text block is marked according to the revision information to obtain the marked target text block; Based on the marked target text blocks, the target text blocks in the target data are replaced to obtain target data containing revision marks.