An online contract signing management method and system based on a smart contract

By generating smart contract code through collaborative parsing of document elements and semantic deconstruction analysis, and combining multi-dimensional behavioral analysis and performance influence diffusion algorithms, the problem of low efficiency in dynamic contract management and change processing in online contract signing management systems is solved, and adaptive adjustment of contract execution strategies and secure electronic signatures are realized.

CN120952706BActive Publication Date: 2026-02-10BEIJING ZHONGNUO LIANJIE DIGITAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511121265.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-12
Publication Date
2026-02-10
Estimated Expiration
2045-08-12

AI Technical Summary

Technical Problem

Existing online contract signing and management systems struggle to adjust contract execution strategies in real time, resulting in low efficiency in handling contract changes, especially during periods of frequent contract revisions.

Method used

The system employs a collaborative parsing method for document elements to identify chapter structures, generates smart contract code through semantic deconstruction analysis, dynamically adjusts weights using multi-dimensional behavioral analysis, analyzes the impact on performance in real time, and generates smart contract patches to achieve adaptive adjustment of contract terms and secure electronic signatures.

Benefits of technology

It enables adaptive adjustment of contract execution strategies, improves the continuous optimization capability of contract management, and ensures the security and reliability of identity authentication during the contract change process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120952706B_ABST
    Figure CN120952706B_ABST
Patent Text Reader

Abstract

The application discloses an online contract signing management method and system based on a smart contract, relates to the technical field of contract management, and comprises the following steps: according to the weight of a smart contract code and a contracting element, establishing an inalterable contract instance and signing, storing the signed data on a chain for evidence, and performing state conversion on the contract instance to generate an effective contract instance and a signing record set; based on the effective contract instance and the signing record set, triggering contract clause instructions and performing through conditional judgment logic to generate an execution log, dynamically adjusting the weight of the contracting element through a performance influence diffusion algorithm to generate a weight parameter table; based on the execution log and the weight parameter table, recompiling contract clauses, analyzing the degree of change influence and generating a smart contract patch, re-performing electronic signature according to a behavior characteristic chain authentication method, and generating a changed contract based on the smart contract patch and the electronic signature; and the application enables continuous optimization of contract management through the performance influence diffusion algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of online contract management technology, and in particular to an online contract signing and management method and system based on smart contracts. Background Technology

[0002] Against the backdrop of the rapid development of blockchain technology and smart contracts, a relatively mature technological system has been formed in the field of online contract signing and management. Current mainstream methods primarily employ natural language processing (NLP) technology to perform structured parsing of contract text, converting contract terms into executable smart contract code through predefined rule templates. Typical system architectures usually include standardized modules such as text preprocessing, clause classification, contract generation, and on-chain notarization, with smart contract execution often based on preset conditional judgment mechanisms. These technological solutions have achieved significant results in improving contract management efficiency and ensuring the immutability of execution, providing reliable technical support for digital contract formation. Some advanced systems have adopted weight allocation mechanisms to optimize execution priority by assessing the importance of clauses.

[0003] In existing technologies, most systems for dynamic contract management employ static weight allocation mechanisms, making it difficult to adjust clause execution strategies in real time based on actual performance. Contract change processing typically requires manual intervention to recompile contract code, lacking the ability to automatically generate patches based on historical behavior data. Especially when dealing with frequent contract revisions, existing methods perform poorly in terms of change impact assessment and signature verification efficiency. These limitations are particularly pronounced in long-term or complex contracts. Summary of the Invention

[0004] In view of the aforementioned existing problems, the present invention is proposed.

[0005] Therefore, this invention provides an online contract signing and management method based on smart contracts, which solves the problems of insufficient dynamic contract management capabilities and low efficiency in change processing.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0007] In a first aspect, the present invention provides an online contract signing and management method based on smart contracts, which includes receiving contract text and performing format standardization processing, using a document element collaborative parsing method to identify chapter structure, and dividing and classifying contract clauses into logical units based on contract clause classification standards.

[0008] The semantic deconstruction analysis method is used to perform semantic parsing on the classification tags, identify the content of contract terms and generate intermediate representations, generate smart contract code through template matching and logical transformation, and simultaneously implement multi-dimensional behavioral analysis to assign weights to the contracting elements.

[0009] Based on the weights of the smart contract code and contractual elements, an immutable contract instance is created and signed. The signed data is stored on the blockchain for evidence, the contract instance is state-transformed, and an effective contract instance and a set of signing records are generated.

[0010] Based on effective contract instances and signing record sets, contract clause instructions are triggered and executed through conditional judgment logic, generating execution logs. The weights of contracting elements are dynamically adjusted through the performance influence diffusion algorithm, generating a weight parameter table.

[0011] The contract terms are recompiled based on the execution log and weight parameter table, the impact of the changes is analyzed and a smart contract patch is generated, the electronic signature is re-signed according to the behavioral feature chain authentication method, and a modified contract is generated based on the smart contract patch and the electronic signature.

[0012] The contract changes are combined with termination conditions and liquidation rules to generate complete contract data, which is then encrypted and uploaded.

[0013] As a preferred embodiment of the online contract signing and management method based on smart contracts described in this invention, the steps are as follows: receiving contract text and performing format standardization processing; identifying chapter structure using a document element collaborative parsing method; and logically dividing and classifying contract clauses based on contract clause classification standards.

[0014] Identify and remove non-contractual clauses from the contract text, standardize the format of the contract clauses, and generate standardized documents.

[0015] By using a collaborative analysis method of document elements, the title style, numbering system and indentation format of standardized documents are identified, a multi-level contract chapter tree structure is constructed, and contract clauses are logically divided and categorized.

[0016] As a preferred embodiment of the online contract signing and management method based on smart contracts described in this invention, the following steps are taken: semantic deconstruction analysis is used to semantically parse the classification tags, identify the contract terms and generate intermediate representations, smart contract code is generated through template matching and logical transformation, and multi-dimensional behavioral analysis is simultaneously implemented to assign weights to the contracting elements.

[0017] Using semantic deconstruction analysis, the categorized contract terms are broken down into semantic elements of subject, behavior, and condition, and an intermediate representation of logical relationships is generated. This is then automatically matched with a pre-set smart contract template to convert the contract elements into executable logical rules and generate smart contract code.

[0018] Weights are assigned to contracting elements using a multi-dimensional behavioral analysis method.

[0019] As a preferred embodiment of the online contract signing and management method based on smart contracts described in this invention, the steps are as follows: establishing an immutable contract instance and signing it, storing the signing data on the blockchain, performing state transitions on the contract instance, and generating an effective contract instance and a set of signing records.

[0020] Based on the weight of smart contract code and contractual elements, an immutable contract instance is generated and then stored on the chain after being digitally signed by multiple parties.

[0021] Perform state transitions on the contract instance to generate an effective contract instance and a set of signing records.

[0022] As a preferred embodiment of the online contract signing and management method based on smart contracts described in this invention, the following steps are taken: Contract clause instructions are triggered and executed through conditional judgment logic, an execution log is generated, and the weights of contracting elements are dynamically adjusted through a performance influence diffusion algorithm to generate a weight parameter table.

[0023] Identify the triggering conditions in the effective contract instance and establish a mapping relationship between the triggering conditions and the execution operations;

[0024] By directly associating each triggering condition with each execution operation, contract terms instructions are generated.

[0025] The system uses conditional judgment logic to identify the difference between the current time and the time node of the clause, the submission status of the contracting party's performance certificate, and the execution progress of related clauses, while triggering contract clause instructions and generating an execution log.

[0026] By analyzing the historical performance data of each contracting party in real time using the performance impact diffusion algorithm, the actual impact of the implementation of contract terms is calculated, and a weight parameter table is generated.

[0027] As a preferred embodiment of the online contract signing and management method based on smart contracts described in this invention, the steps are as follows: recompiling contract terms based on execution logs and weight parameter tables, analyzing the impact of changes and generating smart contract patches, re-signing electronically according to the behavioral feature chain authentication method, and generating modified contracts based on smart contract patches and electronic signatures.

[0028] Identify and verify the actual impact of the changed contract terms, recompile the contract terms, calculate the performance rate before and after the weight adjustment of the contract terms, and generate smart contract patches.

[0029] The signing characteristics of contracting parties are obtained in real time based on the behavioral feature chain authentication method, and compared with historical signing characteristics to generate electronic signatures with timestamps.

[0030] Bind smart contract patches to digital signatures to generate modified contracts.

[0031] As a preferred embodiment of the online contract signing and management method based on smart contracts described in this invention, the steps are as follows: A modified contract is generated based on a smart contract patch, and complete contract data is generated and encrypted before uploading, incorporating termination conditions and liquidation rules.

[0032] The termination conditions and liquidation rules in the original contract were identified and extracted through classification tags;

[0033] Adjust the termination conditions and liquidation rules according to the changes in the amended contract, and generate the termination details and liquidation details;

[0034] The contract changes, termination details, and liquidation details are integrated into a structured data package to generate complete contract data, which is then encrypted and uploaded using the contracting party's public key.

[0035] Secondly, the present invention provides an online contract signing management system based on smart contracts, including a contract standardization module for receiving contract text and performing format standardization processing, identifying chapter structure using a document element collaborative parsing method, and dividing and classifying contract clauses into logical units based on contract clause classification standards.

[0036] The semantic encoding module is used to perform semantic parsing of classification tags through semantic deconstruction analysis, identify the content of contract terms and generate intermediate representations, generate smart contract code through template matching and logical transformation, and simultaneously implement multi-dimensional behavioral analysis to assign weights to contracting elements.

[0037] The contract instantiation module is used to create an immutable contract instance and sign it based on the smart contract code and the weight of the contracting elements, store the signed data on the blockchain, perform state transitions on the contract instance, and generate an effective contract instance and a set of signing records.

[0038] The terms execution module is used to trigger and execute contract terms instructions based on effective contract instances and signing record sets through conditional judgment logic, generate execution logs, and dynamically adjust the weights of contracting elements through the performance influence diffusion algorithm to generate a weight parameter table.

[0039] The smart patch generation module is used to recompile contract terms based on execution logs and weight parameter tables, analyze the impact of changes and generate smart contract patches, re-sign electronic signatures based on behavioral feature chain authentication, and generate modified contracts based on smart contract patches and electronic signatures.

[0040] The contract integration and upload module is used to combine contract changes with termination conditions and liquidation rules to generate complete contract data and upload it in an encrypted manner.

[0041] Thirdly, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, it implements any step of the online contract signing and management method based on smart contracts as described in the first aspect of the present invention.

[0042] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, it implements any step of the online contract signing and management method based on smart contracts as described in the first aspect of the present invention.

[0043] The beneficial effects of this invention are as follows: By analyzing the historical performance behavior data of each contracting party in real time through the performance influence diffusion algorithm, and combining it with the actual performance situation in the execution log, the weight parameters of the contract terms are dynamically optimized, realizing the adaptive adjustment of the contract execution strategy and enabling contract management to have the ability to continuously optimize; Based on the behavioral feature chain authentication method, the signature speed and handwriting pressure of the contracting parties are collected as biometric features, and the electronic signature is dynamically verified by comparing it with historical signature features, ensuring the security and reliability of identity authentication during the contract modification process. Attached Figure Description

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

[0045] Figure 1 This is a flowchart of an online contract signing and management method based on smart contracts.

[0046] Figure 2 This is a schematic diagram of an online contract signing and management system based on smart contracts.

[0047] Figure 3 A flowchart for contract processing.

[0048] Figure 4 This is a flowchart for contract modification. Detailed Implementation

[0049] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0050] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0051] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.

[0052] Reference Figures 1-4 As one embodiment of the present invention, this embodiment provides an online contract signing and management method based on smart contracts, including the following steps:

[0053] S1. Receive the contract text and perform format standardization processing. Use the document element collaborative parsing method to identify the chapter structure. Divide the contract clauses into logical units and classify them based on the contract clause classification standard.

[0054] By using intelligent text filtering, non-contractual clause content in the contract text is identified and removed. Then, the format of the contract clauses is standardized using a format reshaping method to generate a standardized document.

[0055] Furthermore, based on intelligent text filtering, by analyzing semantic features, detecting layout features, and verifying contextual logic, non-contractual clause content in the contract text is identified and removed. The format is then reshaped to standardize the text format, assign numbers, and standardize the format of the contract clauses to generate standardized documents.

[0056] It should be noted that the analysis of semantic features involves collecting normative expressions from laws, regulations, and industry standard contracts to establish a legal terminology feature database. By comparing the content of standardized documents with the legal terminology feature database, paragraphs containing non-standard legal expressions are identified and removed.

[0057] Detect layout features, set standard contract layout according to contract format, analyze document layout structure, and identify and remove non-standard layouts;

[0058] Verify the contextual logic, check the contextual coherence of the text, identify and remove discontinuous text, verify the continuity and logic of clause numbers, and identify and remove isolated paragraphs.

[0059] The method of format reshaping is used to standardize the text format, while intelligent numbering is performed to automatically detect and correct contract clause numbering errors, ensuring the continuity and consistency of contract clause numbering. The format of contract clauses is standardized to generate standardized documents.

[0060] By using a collaborative analysis method of document elements, the title style, numbering system and indentation format of standardized documents are comprehensively identified, and the subordinate and parallel relationships between contract clauses are determined by combining preset semantic tags and logical keywords.

[0061] Furthermore, by using a collaborative analysis method of document elements, combined with standard contract format specifications, the title style, numbering system and indentation format of standardized documents are comprehensively identified. Based on the semantic tags and logical keywords preset by industry practices, combined with the context and position of the clauses, the subordinate and parallel relationships between contract clauses are determined.

[0062] It should be noted that semantic markup is set based on standard contract grammar rules, general contract templates, and historical databases by analyzing the sentence structure, logical connectors, and frequency of legal terms used in contract clauses.

[0063] Logical keywords are defined by extracting conditional trigger words, obligation limiting words, and right granting words from contract clauses, based on standard contract syntax rules, general contract templates, and clause relevance analysis.

[0064] Based on the subordinate and parallel relationships between contract clauses, a multi-level contract chapter tree structure including sections, chapters, subsections, clauses, clauses, and items is constructed using an intelligent nested growth algorithm;

[0065] Furthermore, based on the subordinate and parallel relationships between contract clauses, an intelligent nested growth algorithm is used to analyze the semantic depth, logical connectors, and clause numbers of contract clauses, and to expand layer by layer to generate a multi-level contract chapter tree structure including sections, chapters, paragraphs, clauses, clauses, and items.

[0066] It should be noted that the intelligent nested growth algorithm analyzes the semantic depth of contract terms, determines the hierarchical relationship of contract terms based on logical connectors, and constructs the semantic structure of contract terms layer by layer from top to bottom in combination with the term number. In the process of analyzing the semantic depth of contract terms, it dynamically judges the correlation between contract terms.

[0067] Based on the contract clause classification criteria, contract clauses are logically divided into units and categorized.

[0068] Furthermore, based on the contract clause classification standard, the sentence structure and rights and obligations expression of the contract clauses are analyzed through functional feature analysis. The contract clauses are logically divided into units by analyzing the sentence structure and rights and obligations keywords of standardized documents. The contract clauses are classified and labeled according to their functional characteristics and legal effect.

[0069] It should be noted that legal effect refers to the degree of binding force and enforceability of contractual terms on the contracting parties within the legal framework.

[0070] S2. Semantic analysis is used to analyze the classification tags to identify the content of the terms and generate intermediate representations. Smart contract code is generated through template matching and logical transformation. Simultaneously, multi-dimensional behavioral analysis is implemented to assign weights to the contracting elements.

[0071] Using semantic deconstruction analysis, the contract terms marked with classification are decomposed into semantic elements of subject-behavior-condition, and an intermediate representation of logical relationships is generated.

[0072] Furthermore, through semantic deconstruction analysis, the legal subjects, legal acts, and constraints in the contract terms are analyzed. The classified contract terms are decomposed into semantic elements of subject-act-condition. Based on the subordinate and parallel relationships of the contract terms, as well as the expression of rights and obligations, the semantic elements are transformed into standardized logical expressions by establishing a mapping relationship between semantic elements and the expression of rights and obligations, generating an intermediate representation containing logical relationships of causality, temporality, and condition dependence.

[0073] It should be noted that constraints refer to specific requirements in contract clauses that restrict or regulate legal subjects and legal acts, and are set through semantic analysis of the restrictive elements in the contract clauses;

[0074] The structured logic, rights and obligations, and triggering conditions of industry standard contracts are pre-set as smart contract templates; based on the intermediate representation of the logical relationship, the pre-set smart contract templates are automatically matched, and the contract elements are converted into executable logical rules through logical transformation to generate smart contract code;

[0075] Furthermore, the structured logic, rights and obligations, and triggering conditions of industry standard contracts are pre-set as smart contract templates based on industry-standard contract templates;

[0076] Based on the intermediate representation of logical relationships, the semantic elements of contract terms are compared and automatically matched with the pre-set smart contract template. Through logical transformation, the contract elements are converted into executable logical rules, and smart contract code is generated based on the smart contract template and logical rules.

[0077] It should be noted that an industry standard contract refers to a model contract text formulated by an industry association or regulatory agency that contains general terms and standardized rights and obligations for a specific industry.

[0078] The contracting elements are weighted according to their legal effect, time sensitivity, and cost of breach of contract using a multi-dimensional behavioral analysis method.

[0079] Furthermore, in the weighting process, the multi-dimensional behavioral analysis method first analyzes the legal effect of contractual elements, classifying legal effect into three levels based on constraints: Level 1, corresponding to mandatory clauses (e.g., contract termination clauses), is assigned the highest legal effect weight; Level 2, corresponding to general clauses (e.g., payment deadline clauses), is assigned a medium legal effect weight; and Level 3, corresponding to authorizing clauses (e.g., contract modification notification clauses), is assigned the lowest legal effect weight. Secondly, regarding time sensitivity, it is divided into four time-limited levels based on the contract performance time: for example, urgent time limits (within 24 hours) are assigned the highest time sensitivity weight, high time limits (1-7 days) are assigned the second highest time sensitivity weight, general time limits (8-30 days) are assigned a medium time sensitivity weight, and low time limits (more than 30 days) are assigned the lowest time sensitivity weight. Subsequently, the cost of breach of contract is assessed, divided into three levels based on the consequences: for example, high costs (leading to contract termination or significant losses) are assigned the highest cost of breach of contract weight, medium costs (requiring economic compensation) are assigned a medium cost of breach of contract weight, and low costs (requiring only negotiation) are assigned the lowest cost of breach of contract weight.

[0080] According to the weighting rules, the weights of the contracting elements are allocated, and the expression is as follows:

[0081] ;

[0082] in, As the weight of the contracting factors, For the weight of legal effect, As a time-sensitivity weight, This is the weighting for the cost of default.

[0083] S3. Based on the smart contract code and the weight of the contracting elements, establish an immutable contract instance and sign it. Store the signing data on the blockchain for evidence, perform state transition on the contract instance, and generate an effective contract instance and a set of signing records.

[0084] Based on the weights of smart contract code and contractual elements, the weights of smart contract code and contractual elements are solidified through the blockchain network to generate an immutable contract instance, which is then stored on the chain after being digitally signed by multiple parties.

[0085] Furthermore, the weights of the smart contract code and contract elements are merged to generate a structured data packet, and a unique data identifier is assigned to the structured data packet.

[0086] The structured data packet is transmitted to the verification node of the blockchain network, and the integrity of the content is verified based on the unique data identifier, thus solidifying and generating an immutable contract instance.

[0087] Each contracting party conducts multi-party digital signatures and verifies its identity through digital certificates;

[0088] The contract instance and signature information are packaged into a data block and uploaded to the blockchain network for on-chain evidence storage.

[0089] By verifying the digital signatures of multiple parties, the state of the contract instance is transitioned, generating an effective contract instance and a set of signing records containing a complete timestamp and digital fingerprint;

[0090] Furthermore, the contract instance is converted into a signed state, the state conversion time is recorded, and digital fingerprints are applied to the complete contract terms, the digital signatures of all contracting parties, and the weights of the contracting elements, generating a set of effective contract instances and signing records containing complete timestamps and digital fingerprints.

[0091] S4. Based on the effective contract instance and the set of signing records, trigger the contract terms instruction and execute it through condition judgment logic, generate an execution log, and dynamically adjust the weight of the contracting elements through the performance influence diffusion algorithm to generate a weight parameter table.

[0092] Based on the effective contract instance and the signing record set, identify the triggering conditions in the effective contract instance and establish a mapping relationship between the triggering conditions and the execution operation;

[0093] Furthermore, based on the effective contract instance and the signing record set, all triggering conditions in the effective contract instance are identified according to the classification tags, the validity of the triggering conditions is verified according to the signing record set, a mapping rule table is constructed, and a mapping relationship between the triggering conditions and the execution operation is established;

[0094] It should be noted that constructing a mapping rule table and establishing the mapping relationship between triggering conditions and execution operations means extracting all triggering conditions by parsing the classification tags in the effective contract instance, and performing multi-party digital signature verification in combination with the signature record set to generate a structured "triggering condition-execution operation-authorization verification" triple mapping rule table, and establishing the mapping relationship between triggering conditions and execution operations.

[0095] Based on the mapping relationship between triggering conditions and execution operations, each triggering condition is directly associated with each execution operation to generate contract terms instructions;

[0096] Furthermore, based on the mapping relationship between triggering conditions and execution operations, each triggering condition is directly associated with each execution operation, and the corresponding execution operation is retrieved from the mapping rule table to generate contract terms instructions;

[0097] The system uses conditional judgment logic to identify the difference between the current time and the time node of the clause, the submission status of the contract party's performance certificate, and the execution progress of related clauses. At the same time, it triggers and executes the contract clause instructions, generating an execution log.

[0098] The execution log includes the execution time, operation content, and status changes;

[0099] Furthermore, the system compares the time of generating the contract terms instruction with the performance time node set in the contract terms, the submission status of the contracting party's performance certificate, and the execution progress of related terms. Based on the judgment results, it automatically matches the corresponding contract terms execution procedure, verifies the execution authority, generates a queue of instructions to be executed, triggers execution according to the generation order of the instruction queue, and generates an execution log.

[0100] It should be noted that the steps for determining the comparison between the current time and the time points in the contract, the submission status of the contracting party's performance documents, and the execution progress of related clauses are as follows:

[0101] Read the current time, compare it with the time points stipulated in the contract terms, and determine whether the agreed time has been reached or exceeded; receive the performance certificate from the contracting party, and determine the validity of the performance certificate based on the digital signature;

[0102] Analyze the dependencies between contract terms, confirm the execution order, check the completion status of related terms, and determine whether they have been executed.

[0103] Summarize the judgment results, automatically match the corresponding contract terms execution procedures based on the judgment results, verify the execution authority, generate a queue of instructions to be executed, trigger the execution in sequence, and generate an execution log.

[0104] The algorithm for diffusion of performance impact analyzes the historical performance data of each contracting party in real time, calculates the actual impact of performance data on the execution of contract terms, and dynamically adjusts the weight parameters of the corresponding contract terms to generate a weight parameter table.

[0105] Furthermore, through the performance impact diffusion algorithm, based on the historical performance records, number of performances and number of defaults of each contracting party, as well as the actual completion time of performance, the historical performance behavior data of each contracting party is analyzed in real time, the actual impact of the performance behavior data on the execution of contract terms is calculated, the total impact of the terms is generated, and the total impact of the terms is compared with the preset dynamic adjustment threshold.

[0106] If the total impact of a contract clause is higher than the dynamic adjustment threshold, the weight of the corresponding contract clause increases; if the total impact of a single contract clause is lower than the dynamic adjustment threshold, the weight of the corresponding contract clause decreases; if the total impact of a single contract clause falls within the range of the dynamic adjustment threshold, the weight of the corresponding contract clause remains unchanged.

[0107] Generate a weight parameter table based on the weight parameters of all the revised contract terms;

[0108] It should be noted that the expression for calculating the actual impact of performance data on the execution of contract terms is as follows:

[0109] ;

[0110] in, To determine the actual impact of performance data on the execution of contract terms. For the contract fulfillment rate, For the number of times the contract is fulfilled, For the first The actual time of completion of this performance. For the first The agreed time for the next performance of the contract. An index variable representing the number of fulfillments;

[0111] The fulfillment rate is expressed as follows:

[0112] ;

[0113] in, For the contract fulfillment rate, For the number of times the contract is fulfilled, The number of times the contract should be fulfilled;

[0114] The process of dynamically adjusting the threshold setting should be explained, and the steps are as follows:

[0115] A dynamic adjustment threshold is set based on the historical average total impact of all clauses over the past 12 months (the value ranges from 0.3 to 0.7 times the historical average total impact of all clauses).

[0116] S5. Recompile the contract terms based on the execution log and weight parameter table, analyze the impact of the changes and generate smart contract patches, re-sign the electronic signatures according to the behavioral feature chain authentication method, and generate the modified contract based on the smart contract patches and electronic signatures.

[0117] Based on the execution log and weight parameter table, identify contract terms whose weights have changed and the content of the contract terms changes. Verify the actual impact of the changed contract terms through the execution log, and recompile the contract terms according to the smart contract template. Calculate the performance rate of the contract terms before and after the weight adjustment respectively.

[0118] Analyze the impact of changes based on changes in the performance rate, and generate smart contract patches based on the content and impact of changes to contract terms.

[0119] Furthermore, by identifying execution logs and weight parameter tables, contract clauses with changed weight values ​​are selected. Based on the contract's historical revision records, the substantive content of the contract clause changes is clarified, and the actual impact of the changed contract clauses is verified through execution logs.

[0120] Based on the smart contract template, the modified contract terms are recompiled.

[0121] The performance rate before weight adjustment of the contract terms is calculated according to the performance rate formula. Based on the historical data of the contract terms, simulated execution is performed and the performance rate after weight adjustment of the contract terms is calculated.

[0122] The impact level is determined based on the difference in the fulfillment rate. Based on the content of the change and the impact level, key changes with a higher impact level are automatically identified, and differentiated smart contract patches are generated.

[0123] The signing characteristics of contracting parties are obtained in real time based on the behavioral feature chain authentication method, and compared with historical signing characteristics to generate electronic signatures with timestamps.

[0124] Based on smart contract patches and digital signatures, the smart contract patches and digital signatures are bound together to generate a modified contract;

[0125] Signature characteristics include signing speed and handwriting pressure;

[0126] Furthermore, the signing speed of contracting parties is recorded based on the behavioral chain authentication method, and the handwriting pressure of contracting parties is measured.

[0127] The signing speed and handwriting pressure of the contracting parties are compared with the average signing speed and average handwriting pressure, respectively. If both fall within the two threshold ranges, the verification is successful.

[0128] Once verified, a digital signature with a timestamp is generated.

[0129] If the verification fails, the contract modification process will be automatically frozen and a manual review will be required.

[0130] The modified contract is automatically generated based on smart contract patches and digital signatures.

[0131] It should be noted that, based on the user's most recent X valid signatures, the average signature speed and average handwriting pressure are calculated. Biometric stability studies show that the natural fluctuation range of a natural person's signature speed and handwriting pressure is usually within ±20% of the historical average. Based on historical signature characteristics, an average signature speed threshold range (range: 0.8~1.2 times the average signature speed) and an average handwriting pressure threshold range (range: 0.8~1.2 times the average handwriting pressure) are set. If the signature speed and handwriting pressure fall within the average signature speed threshold range and the average handwriting pressure threshold range, respectively, then the signature is valid.

[0132] S6. Combine the contract changes with the termination conditions and liquidation rules to generate complete contract data and upload it in encryption.

[0133] Identify and extract termination conditions and liquidation rules from standardized documents using type tags;

[0134] Adjust the termination conditions and liquidation rules according to the changes in the amended contract, generate termination details according to the adjusted termination conditions, and generate liquidation details according to the adjusted liquidation rules.

[0135] The contract changes, termination details, and liquidation details are integrated into a structured data package to generate complete contract data, which is then encrypted and uploaded using the contracting party's public key.

[0136] Furthermore, scan the contract clauses in the standardized documents that are tagged with type, and identify and extract the termination conditions and liquidation rules according to the different type tags;

[0137] By comparing the terms of the amended contract with those of the standardized document item by item through semantic differential analysis, the substantive modifications to the amended contract are identified, key modification elements are extracted, and the triggering conditions of the termination conditions are replaced (e.g., "overdue for more than 30 days" is adjusted to "overdue for more than 15 days") and the calculation parameters of the liquidation rules are changed (e.g., the penalty rate is increased from 5% to 8%), in accordance with industry practice and the requirements of the contracting parties.

[0138] Add a clause to the contract to adapt the termination conditions, and generate the termination content based on the adjusted termination conditions and clause.

[0139] The revised contract includes explanatory clauses to adapt the liquidation rules, and the liquidation details are generated based on the revised liquidation rules and explanatory clauses.

[0140] The contract changes, termination details, and liquidation details are integrated into a structured data package to generate complete contract data;

[0141] Verify the validity of the digital certificate containing the public key provided by the contracting party, and use the public key to encrypt the upload;

[0142] It should be noted that the termination condition is a clause in the contract that explicitly stipulates that the contracting parties have the right to unilaterally or through negotiation terminate the contractual rights and obligations.

[0143] Liquidation rules are the specific operational standards for settling the rights and obligations of both parties, disposing of assets, and settling debts, as clearly stipulated in the contract terms.

[0144] This embodiment also provides an online contract signing management system based on smart contracts, including: a contract standardization module, used to receive contract text and perform format standardization processing, identify chapter structure using a document element collaborative parsing method, and divide and classify contract clauses into logical units based on contract clause classification standards;

[0145] The semantic encoding module is used to perform semantic parsing of classification tags through semantic deconstruction analysis, identify the content of contract terms and generate intermediate representations, generate smart contract code through template matching and logical transformation, and simultaneously implement multi-dimensional behavioral analysis to assign weights to contracting elements.

[0146] The contract instantiation module is used to create an immutable contract instance and sign it based on the smart contract code and the weight of the contracting elements, store the signed data on the blockchain, perform state transitions on the contract instance, and generate an effective contract instance and a set of signing records.

[0147] The terms execution module is used to trigger and execute contract terms instructions based on effective contract instances and signing record sets through conditional judgment logic, generate execution logs, and dynamically adjust the weights of contracting elements through the performance influence diffusion algorithm to generate a weight parameter table.

[0148] The smart patch generation module is used to recompile contract terms based on execution logs and weight parameter tables, analyze the impact of changes and generate smart contract patches, re-sign electronic signatures based on behavioral feature chain authentication, and generate modified contracts based on smart contract patches and electronic signatures.

[0149] The contract integration and upload module is used to combine contract changes with termination conditions and liquidation rules to generate complete contract data and upload it in an encrypted manner.

[0150] This embodiment also provides a computer device applicable to the online contract signing and management method based on smart contracts, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the online contract signing and management method based on smart contracts as proposed in the above embodiment.

[0151] The computer device can be a terminal, comprising a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0152] This embodiment also provides a storage medium storing a computer program. When executed by a processor, the program implements the online contract signing and management method based on smart contracts as proposed in the above embodiments. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0153] In summary, this invention achieves adaptive adjustment of contract execution strategies and enables continuous optimization of contract management by: using a performance influence diffusion algorithm to analyze the historical performance data of each contracting party in real time, and combining this with the actual performance in the execution log to dynamically optimize the weight parameters of contract terms; and collecting biometric features such as signing speed and handwriting pressure of contracting parties based on a behavioral feature chain authentication method, and comparing them with historical signing features to achieve dynamic verification of electronic signatures, thus ensuring the security and reliability of identity authentication during contract modification.

[0154] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A method for online contract signing and management based on smart contracts, characterized in that: include, The system receives contract texts and performs format standardization processing. It uses a collaborative parsing method for document elements to identify chapter structures and divides and classifies contract clauses into logical units based on contract clause classification standards. The semantic deconstruction analysis method is used to perform semantic parsing on the classification tags, identify the content of contract terms and generate intermediate representations, generate smart contract code through template matching and logical transformation, and simultaneously implement multi-dimensional behavioral analysis to assign weights to the contracting elements. Based on the weights of the smart contract code and contractual elements, an immutable contract instance is created and signed. The signed data is stored on the blockchain for evidence, the contract instance is state-transformed, and an effective contract instance and a set of signing records are generated. Based on effective contract instances and signing record sets, contract clause instructions are triggered and executed through conditional judgment logic, generating execution logs. The weights of contracting elements are dynamically adjusted through the performance influence diffusion algorithm, generating a weight parameter table. The contract terms are recompiled based on the execution log and weight parameter table, the impact of the changes is analyzed and a smart contract patch is generated, the electronic signature is re-signed according to the behavioral feature chain authentication method, and a modified contract is generated based on the smart contract patch and the electronic signature. The contract changes are combined with termination conditions and liquidation rules to generate complete contract data and then uploaded in encryption. The steps are as follows: triggering and executing contractual clause instructions through conditional judgment logic, generating an execution log, and dynamically adjusting the weights of contractual elements using a performance influence diffusion algorithm to generate a weight parameter table. Identify the triggering conditions in the effective contract instance and establish a mapping relationship between the triggering conditions and the execution operations; By directly associating each triggering condition with each execution operation, contract terms instructions are generated. The system uses conditional judgment logic to identify the difference between the current time and the time node of the clause, the submission status of the contracting party's performance certificate, and the execution progress of related clauses, while triggering contract clause instructions and generating an execution log. The algorithm for diffusion of performance impact analyzes the historical performance data of each contracting party in real time, calculates the actual impact of the execution of contract terms, and generates a weight parameter table. The steps are as follows: recompiling the contract terms based on execution logs and weight parameter tables, analyzing the impact of changes and generating smart contract patches, re-signing the electronic signatures using behavioral feature chain authentication, and generating a modified contract based on the smart contract patches and electronic signatures. Identify and verify the actual impact of the changed contract terms, recompile the contract terms, calculate the performance rate before and after the weight adjustment of the contract terms, and generate smart contract patches. The signing characteristics of contracting parties are obtained in real time based on the behavioral feature chain authentication method, and compared with historical signing characteristics to generate electronic signatures with timestamps. Bind smart contract patches to digital signatures to generate modified contracts.

2. The online contract signing and management method based on smart contracts as described in claim 1, characterized in that: The process of receiving the contract text and standardizing its format, using a collaborative parsing method for document elements to identify the chapter structure, and logically dividing and classifying the contract clauses based on contract clause classification standards, is as follows: Identify and remove non-contractual clauses from the contract text, standardize the format of the contract clauses, and generate standardized documents. By using a collaborative analysis method of document elements, the title style, numbering system and indentation format of standardized documents are identified, a multi-level contract chapter tree structure is constructed, and contract clauses are logically divided and categorized.

3. The online contract signing and management method based on smart contracts as described in claim 2, characterized in that: The process involves semantic parsing of classification tags using semantic deconstruction analysis to identify contract terms and generate intermediate representations. Smart contract code is then generated through template matching and logical transformation. Simultaneously, multi-dimensional behavioral analysis is implemented to assign weights to contractual elements. The steps are as follows: Using semantic deconstruction analysis, the categorized contract terms are broken down into semantic elements of subject, behavior, and condition, and an intermediate representation of logical relationships is generated. This is then automatically matched with a pre-set smart contract template to convert the contract elements into executable logical rules and generate smart contract code. Weights are assigned to contracting elements using a multi-dimensional behavioral analysis method.

4. The online contract signing and management method based on smart contracts as described in claim 3, characterized in that: The steps for establishing an immutable contract instance, signing it, storing the signed data on the blockchain, performing state transitions on the contract instance, and generating an effective contract instance and a set of signing records are as follows. Based on the weight of smart contract code and contractual elements, an immutable contract instance is generated and then stored on the chain after being digitally signed by multiple parties. Perform state transitions on the contract instance to generate an effective contract instance and a set of signing records.

5. The online contract signing and management method based on smart contracts as described in claim 4, characterized in that: The steps for combining contract changes with termination conditions and liquidation rules to generate complete contract data and then encrypting and uploading it are as follows. The termination conditions and liquidation rules in the original contract were identified and extracted through classification tags; Adjust the termination conditions and liquidation rules according to the changes in the amended contract, and generate the termination details and liquidation details; The contract changes, termination details, and liquidation details are integrated into a structured data package to generate complete contract data, which is then encrypted and uploaded using the contracting party's public key.

6. An online contract signing and management system based on smart contracts, based on the online contract signing and management method based on smart contracts as described in any one of claims 1 to 5, characterized in that: include, The contract standardization module is used to receive contract texts and perform format standardization processing. It uses a collaborative parsing method of document elements to identify the chapter structure and divides and classifies contract clauses into logical units based on the contract clause classification standard. The semantic encoding module is used to perform semantic parsing of classification tags through semantic deconstruction analysis, identify the content of contract terms and generate intermediate representations, generate smart contract code through template matching and logical transformation, and simultaneously implement multi-dimensional behavioral analysis to assign weights to contracting elements. The contract instantiation module is used to create an immutable contract instance and sign it based on the smart contract code and the weight of the contracting elements, store the signed data on the blockchain, perform state transitions on the contract instance, and generate an effective contract instance and a set of signing records. The terms execution module is used to trigger and execute contract terms instructions based on effective contract instances and signing record sets through conditional judgment logic, generate execution logs, and dynamically adjust the weights of contracting elements through the performance influence diffusion algorithm to generate a weight parameter table. The smart patch generation module is used to recompile contract terms based on execution logs and weight parameter tables, analyze the impact of changes and generate smart contract patches, re-sign electronic signatures based on behavioral feature chain authentication, and generate modified contracts based on smart contract patches and electronic signatures. The contract integration and upload module is used to combine contract changes with termination conditions and liquidation rules to generate complete contract data and upload it in an encrypted manner.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, it implements the steps of the online contract signing and management method based on smart contracts as described in any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the steps of the online contract signing and management method based on smart contracts as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Self-supervised learning contract template generation method based on trade system platform

    CN119250050A

  • Method and System for Executable Smart Legal Contract Construction and Execution over Legal Contracts

    US20210357195A1