A contract data management method and system based on AI model
Through the contract data management method based on the AI model, the AI model is used to identify and correct the contract data, and the historical data and synchronization rules are combined for synchronization, which solves the problem of unintelligent contract data management in the existing technology, improves data accuracy and Synchronization accuracy reduces errors.
Patent Information
- Application Number
- CN202410514562.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-04-26
AI Technical Summary
The existing technology lacks methods for using AI models to improve data accuracy and processing efficiency in contract data management, resulting in contract data correction and synchronization that is not smart enough and prone to errors.
Adopting a contract data management method based on AI models, the contract data is identified and corrected through the trained AI model, and historical contract data and collaborative synchronization rules are combined for synchronization to ensure data accuracy and server synchronization accuracy. Specific steps include obtaining the data to be processed, inputting the data into the AI model to obtain parameters and error prompts, making corrections, and synchronizing to the cloud server based on the weight screening algorithm.
It improves the accuracy of contract data and server synchronization accuracy, reduces contract errors, and enables more intelligent contract data processing.
Smart Images

Figure CN118410792B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a contract data management method and system based on an AI model. Background Art
[0002] With the advancement of information technology policies and the promotion of paperless office data in enterprises, a large amount of electronic contract data or contract scanned electronic data needs to be proofread and archived in a timely manner. Therefore, correct error correction and identification synchronization of contract data have become important technical issues. However, in the existing technology, when managing contract data, it often only relies on simple data identification to classify or store contract data, without considering combining AI models and data correction algorithms to improve the accuracy and processing efficiency of contract data. It can be seen that the existing technology has defects that need to be solved urgently. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a contract data management method and system based on an AI model, which can improve the data accuracy of contract data and the server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors.
[0004] In order to solve the above technical problems, the first aspect of the present invention discloses a contract data management method based on an AI model, the method comprising:
[0005] Responding to the contract completion instruction, obtaining the contract data to be processed;
[0006] Input the contract data into the trained AI model to obtain the contract parameters and error prompts corresponding to the contract data;
[0007] Correcting the contract data according to the contract parameters and the error prompt to obtain corrected contract data;
[0008] Based on the historical contract data and collaborative synchronization rules, the corrected contract data is synchronized to the cloud server.
[0009] As an optional embodiment, in the first aspect of the present invention, the AI model includes a contract node recognition model and a BERT model; the contract node recognition model is used to identify and output multiple contract nodes and corresponding node partial data in the contract data based on keyword rules and text segmentation algorithms; the BERT model is used to identify and output contract errors and node contract parameters corresponding to each input contract node and corresponding node partial data; the BERT model is trained by a training data set including multiple training contract data and corresponding node error annotations and node contract parameter annotations.
[0010] As an optional implementation, in the first aspect of the present invention, the step of inputting the contract data into a trained AI model to obtain contract parameters and error prompts corresponding to the contract data includes:
[0011] Input the contract data into the trained AI model to obtain contract errors and node contract parameters corresponding to multiple contract nodes in the contract data; the node contract parameters include the type of contract subject matter, the type of contract legal relationship, the type of contract parties, and the contract confidentiality level;
[0012] For each of the node contract parameters, calculate the weight parameter corresponding to the node contract parameter;
[0013] Sorting all the node contract parameters according to the weight parameter to obtain a parameter sequence;
[0014] Determine all the node contract parameters that belong to the first first number in the parameter sequence and whose weight parameter is greater than a first threshold as the contract parameters corresponding to the contract data;
[0015] All the contract errors and corresponding contract nodes are determined as error prompts corresponding to the contract data.
[0016] As an optional implementation, in the first aspect of the present invention, the calculating the weight parameter corresponding to the node contract parameter includes:
[0017] Calculate the number of occurrences of the node contract parameter in the node contract parameters corresponding to all the contract nodes;
[0018] Calculating a second number of conflicting parameters of the node contract parameter among the node contract parameters corresponding to all the contract nodes; the conflicting parameters are node contract parameters that cannot coexist with the node contract parameter in a preset contract parameter corresponding rule;
[0019] Calculating the text distance between the contract node where the contract parameter of the node is located and the key contract node corresponding to the contract data;
[0020] The weighted product of the number of occurrences corresponding to the contract parameter of the node, the second number and the text distance is calculated to obtain a weight parameter corresponding to the contract parameter.
[0021] As an optional implementation manner, in the first aspect of the present invention, the correcting the contract data according to the contract parameters and the error prompt to obtain corrected contract data includes:
[0022] Input the contract parameters and the error prompts into a trained LLM algorithm model to obtain output modification suggestions; the LLM algorithm model is trained by a training data set including a plurality of training contract data and corresponding parameter annotations, error prompt annotations, and modification suggestion annotations;
[0023] Identify multiple approval end devices;
[0024] Sending the contract data, the error prompt and the modification suggestion to each of the approval end devices, and receiving the device contract correction operation sent by each of the approval end devices;
[0025] Calculating the intersection of all the equipment correction contract operations to obtain the contract correction operation;
[0026] The contract data is corrected according to the contract correction operation to obtain corrected contract data.
[0027] As an optional implementation, in the first aspect of the present invention, the determining of multiple approval end devices includes:
[0028] Determine multiple candidate approval terminal devices corresponding to the contract parameters according to the contract subject type and the contract legal relationship type in the contract parameters, and the preset correspondence between the contract type and the contract approval terminal;
[0029] According to the contract party type in the contract parameter, candidate approval terminal devices whose corresponding job levels are lower than the job requirement level corresponding to the contract party type are eliminated from the multiple candidate approval terminal devices to obtain multiple preferred approval terminal devices;
[0030] According to the contract confidentiality level in the contract parameters, the preferred approval end devices whose corresponding confidentiality levels are lower than the contract confidentiality level are eliminated from the multiple preferred approval end devices to obtain multiple matching approval end devices;
[0031] For each of the matching approval end devices, determining a parameter set of the contract parameters of all contracts approved by the matching approval end device in a historical time period;
[0032] Calculating the similarity between the parameter set and the contract parameters;
[0033] Sorting all the matching approval end devices from large to small according to the similarity to obtain a device sequence;
[0034] All matching approval-end devices that belong to the first third number in the device sequence and whose similarity is greater than a second threshold are screened out to obtain a plurality of approval-end devices.
[0035] As an optional implementation, in the first aspect of the present invention, synchronizing the corrected contract data to the cloud server based on the historical contract data and the collaborative synchronization rule includes:
[0036] Sending a synchronization request including the contract parameters to a target synchronization server node;
[0037] The target synchronization server node confirms with a plurality of other synchronization server nodes with authorization whether there is a conflicting contract version generated in the historical synchronization process corresponding to the corrected contract data according to the synchronization request;
[0038] When confirming that the conflicting contract version exists, receiving the conflicting version contract data sent by each of the other synchronization server nodes;
[0039] Determine the optimal and latest contract data corresponding to all the conflicting versions of the contract data and the corrected contract data based on a weighted screening algorithm;
[0040] The optimal and latest contract data is synchronized to the target synchronization server node.
[0041] As an optional implementation, in the first aspect of the present invention, the determining the optimal latest contract data corresponding to all the conflicting versions of the contract data and the corrected contract data based on a weighted screening algorithm includes:
[0042] For any data among all the conflicting version contract data and the corrected contract data, the data is input into a trained contract timeliness prediction neural network to obtain a contract timeliness parameter corresponding to the data; the contract timeliness prediction neural network is trained by a training data set including a plurality of training contract data and corresponding time difference annotations with the current time;
[0043] Calculate the average of the parameter differences between the contract timeliness parameter of the data and the contract timeliness parameters corresponding to all other contract data to obtain the timeliness difference parameter corresponding to the data;
[0044] Calculate the average value of the similarity between the data and all other contract data to obtain the similarity parameter corresponding to the data;
[0045] Calculate the product of the time difference parameter and the similarity parameter of the data to obtain a priority parameter corresponding to the data;
[0046] The contract data with the highest priority parameter among all the conflicting version contract data and the corrected contract data is determined as the optimal and latest contract data.
[0047] A second aspect of an embodiment of the present invention discloses a contract data management system based on an AI model, the system comprising:
[0048] An acquisition module, used for acquiring the contract data to be processed in response to the contract completion instruction;
[0049] A prediction module, used to input the contract data into a trained AI model to obtain contract parameters and error prompts corresponding to the contract data;
[0050] A correction module, used for correcting the contract data according to the contract parameters and the error prompt to obtain corrected contract data;
[0051] A synchronization module is used to synchronize the corrected contract data to a cloud server based on historical contract data and collaborative synchronization rules.
[0052] As an optional embodiment, in the second aspect of the present invention, the AI model includes a contract node recognition model and a BERT model; the contract node recognition model is used to identify and output multiple contract nodes and corresponding node partial data in the contract data based on keyword rules and text segmentation algorithms; the BERT model is used to identify and output contract errors and node contract parameters corresponding to each input contract node and corresponding node partial data; the BERT model is trained by a training data set including multiple training contract data and corresponding node error annotations and node contract parameter annotations.
[0053] As an optional implementation, in the second aspect of the present invention, the prediction module inputs the contract data into the trained AI model to obtain the contract parameters and error prompts corresponding to the contract data, including:
[0054] Input the contract data into the trained AI model to obtain contract errors and node contract parameters corresponding to multiple contract nodes in the contract data; the node contract parameters include the type of contract subject matter, the type of contract legal relationship, the type of contract parties, and the contract confidentiality level;
[0055] For each of the node contract parameters, calculate the weight parameter corresponding to the node contract parameter;
[0056] Sorting all the node contract parameters according to the weight parameter to obtain a parameter sequence;
[0057] Determine all the node contract parameters that belong to the first first number in the parameter sequence and whose weight parameter is greater than a first threshold as the contract parameters corresponding to the contract data;
[0058] All the contract errors and corresponding contract nodes are determined as error prompts corresponding to the contract data.
[0059] As an optional implementation, in the second aspect of the present invention, the specific manner in which the prediction module calculates the weight parameter corresponding to the node contract parameter includes:
[0060] Calculate the number of occurrences of the node contract parameter in the node contract parameters corresponding to all the contract nodes;
[0061] Calculating a second number of conflicting parameters of the node contract parameter among the node contract parameters corresponding to all the contract nodes; the conflicting parameters are node contract parameters that cannot coexist with the node contract parameter in a preset contract parameter corresponding rule;
[0062] Calculating the text distance between the contract node where the contract parameter of the node is located and the key contract node corresponding to the contract data;
[0063] The weighted product of the number of occurrences corresponding to the contract parameter of the node, the second number and the text distance is calculated to obtain a weight parameter corresponding to the contract parameter.
[0064] As an optional implementation, in the second aspect of the present invention, the correction module corrects the contract data according to the contract parameters and the error prompt to obtain the corrected contract data in a specific manner, including:
[0065] Input the contract parameters and the error prompts into a trained LLM algorithm model to obtain output modification suggestions; the LLM algorithm model is trained by a training data set including a plurality of training contract data and corresponding parameter annotations, error prompt annotations, and modification suggestion annotations;
[0066] Identify multiple approval end devices;
[0067] Sending the contract data, the error prompt and the modification suggestion to each of the approval end devices, and receiving the device contract correction operation sent by each of the approval end devices;
[0068] Calculating the intersection of all the equipment correction contract operations to obtain the contract correction operation;
[0069] The contract data is corrected according to the contract correction operation to obtain corrected contract data.
[0070] As an optional implementation, in the second aspect of the present invention, the correction module determines the specific manner of the plurality of approval end devices, including:
[0071] Determine multiple candidate approval terminal devices corresponding to the contract parameters according to the contract subject type and the contract legal relationship type in the contract parameters, and the preset correspondence between the contract type and the contract approval terminal;
[0072] According to the contract party type in the contract parameter, candidate approval terminal devices whose corresponding job levels are lower than the job requirement level corresponding to the contract party type are eliminated from the multiple candidate approval terminal devices to obtain multiple preferred approval terminal devices;
[0073] According to the contract confidentiality level in the contract parameters, the preferred approval end devices whose corresponding confidentiality levels are lower than the contract confidentiality level are eliminated from the multiple preferred approval end devices to obtain multiple matching approval end devices;
[0074] For each of the matching approval end devices, determining a parameter set of the contract parameters of all contracts approved by the matching approval end device in a historical time period;
[0075] Calculating the similarity between the parameter set and the contract parameters;
[0076] Sorting all the matching approval end devices from large to small according to the similarity to obtain a device sequence;
[0077] All matching approval-end devices that belong to the first third number in the device sequence and whose similarity is greater than a second threshold are screened out to obtain a plurality of approval-end devices.
[0078] As an optional implementation, in the second aspect of the present invention, the synchronization module synchronizes the corrected contract data to the cloud server based on the historical contract data and the collaborative synchronization rule, including:
[0079] Sending a synchronization request including the contract parameters to a target synchronization server node;
[0080] The target synchronization server node confirms with a plurality of other synchronization server nodes with authorization whether there is a conflicting contract version generated in the historical synchronization process corresponding to the corrected contract data according to the synchronization request;
[0081] When confirming that the conflicting contract version exists, receiving the conflicting version contract data sent by each of the other synchronization server nodes;
[0082] Determine the optimal and latest contract data corresponding to all the conflicting versions of the contract data and the corrected contract data based on a weighted screening algorithm;
[0083] The optimal and latest contract data is synchronized to the target synchronization server node.
[0084] As an optional implementation, in the second aspect of the present invention, the synchronization module determines the specific manner of the optimal latest contract data corresponding to all the conflicting versions of the contract data and the corrected contract data based on a weight screening algorithm, including:
[0085] For any data among all the conflicting version contract data and the corrected contract data, the data is input into a trained contract timeliness prediction neural network to obtain a contract timeliness parameter corresponding to the data; the contract timeliness prediction neural network is trained by a training data set including a plurality of training contract data and corresponding time difference annotations with the current time;
[0086] Calculate the average of the parameter differences between the contract timeliness parameter of the data and the contract timeliness parameters corresponding to all other contract data to obtain the timeliness difference parameter corresponding to the data;
[0087] Calculate the average value of the similarity between the data and all other contract data to obtain the similarity parameter corresponding to the data;
[0088] Calculate the product of the time difference parameter and the similarity parameter of the data to obtain a priority parameter corresponding to the data;
[0089] The contract data with the highest priority parameter among all the conflicting version contract data and the corrected contract data is determined as the optimal and latest contract data.
[0090] The third aspect of the present invention discloses another contract data management system based on an AI model, the system comprising:
[0091] A memory storing executable program code;
[0092] a processor coupled to the memory;
[0093] The processor calls the executable program code stored in the memory to execute part or all of the steps in the AI model-based contract data management method disclosed in the first aspect of the present invention.
[0094] The fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute part or all of the steps in the AI model-based contract data management method disclosed in the first aspect of the present invention.
[0095] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0096] The present invention can identify and correct contracts based on a trained AI model to achieve contract correction, and then synchronize the contracts based on historical contract data and collaborative synchronization rules, thereby improving the data accuracy of the contract data and the server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0098] Figure 1 It is a flow chart of a contract data management method based on an AI model disclosed in an embodiment of the present invention.
[0099] Figure 2 It is a structural diagram of a contract data management system based on an AI model disclosed in an embodiment of the present invention.
[0100] Figure 3 It is a structural diagram of another contract data management system based on an AI model disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0101] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0102] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.
[0103] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0104] The present invention discloses a contract data management method and system based on an AI model, which can identify and correct contracts based on a trained AI model to achieve contract correction, and then synchronize contracts based on historical contract data and collaborative synchronization rules, thereby improving the data accuracy of contract data and server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors. The following are detailed descriptions.
[0105] Embodiment 1
[0106] See also Figure 1 , Figure 1 It is a flowchart of a contract data management method based on an AI model disclosed in an embodiment of the present invention. Figure 1 The described AI model-based contract data management method can be applied to a data processing system / data processing device / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 1 As shown, the contract data management method based on the AI model may include the following operations:
[0107] 101. In response to a contract completion instruction, obtain contract data to be processed.
[0108] 102. Input the contract data into the trained AI model to obtain the contract parameters and error prompts corresponding to the contract data.
[0109] 103. Correct the contract data according to the contract parameters and error prompts to obtain corrected contract data.
[0110] 104. Based on the historical contract data and collaborative synchronization rules, the corrected contract data is synchronized to the cloud server.
[0111] It can be seen that the above-mentioned embodiments of the invention can identify and correct contracts based on the trained AI model to achieve contract correction, and then synchronize the contract based on historical contract data and collaborative synchronization rules, thereby improving the data accuracy of the contract data and the server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors.
[0112] As an optional embodiment, in the above steps, the AI model includes a contract node recognition model and a BERT model; the contract node recognition model is used to identify and output multiple contract nodes and corresponding node partial data in the contract data based on keyword rules and text segmentation algorithms; the BERT model is used to identify and output contract errors and node contract parameters corresponding to each input contract node and corresponding node partial data; the BERT model is trained by a training data set including multiple training contract data and corresponding node error annotations and node contract parameter annotations.
[0113] It can be seen that through the above optional embodiments, the details of the AI model are clarified, so that the AI model can identify and output the contract parameters and errors of the contract nodes, assist in improving the data accuracy of the contract data, so as to achieve more intelligent contract data processing and reduce contract errors.
[0114] As an optional embodiment, in the above steps, the contract data is input into the trained AI model to obtain the contract parameters and error prompts corresponding to the contract data, including:
[0115] Input the contract data into the trained AI model to obtain contract errors and node contract parameters corresponding to multiple contract nodes in the contract data; optionally, the node contract parameters include the type of contract subject matter, the type of contract legal relationship, the type of contract parties, and the contract confidentiality level;
[0116] For each node contract parameter, calculate the weight parameter corresponding to the node contract parameter;
[0117] Sort all node contract parameters according to the weight parameter to obtain a parameter sequence;
[0118] Determine all the node contract parameters that belong to the first first number in the parameter sequence and whose weight parameter is greater than the first threshold as the contract parameters corresponding to the contract data;
[0119] All contract errors and corresponding contract nodes are identified as error prompts corresponding to the contract data.
[0120] It can be seen that through the above optional embodiments, it is possible to first predict the errors and parameters corresponding to multiple nodes of the contract data based on the AI model, and then screen and count the contract parameters and error prompts corresponding to the contract data based on the preset weight parameter calculation and sorting algorithm, so that the AI model can identify and output the parameters and errors of the contract data, and assist in improving the data accuracy of the contract data, so as to achieve more intelligent contract data processing and reduce contract errors.
[0121] As an optional embodiment, in the above step, calculating the weight parameter corresponding to the node contract parameter includes:
[0122] Calculate the number of occurrences of the node contract parameter in the node contract parameters corresponding to all contract nodes;
[0123] Calculate a second number of conflicting parameters of the node contract parameter in the node contract parameters corresponding to all contract nodes; optionally, the conflicting parameters are node contract parameters that cannot coexist with the node contract parameter in a preset contract parameter corresponding rule;
[0124] Calculate the text distance between the contract node where the contract parameter of the node is located and the key contract node corresponding to the contract data;
[0125] The weighted product of the number of occurrences corresponding to the contract parameter of the node, the second quantity and the text distance is calculated to obtain a weight parameter corresponding to the contract parameter.
[0126] It can be seen that through the above optional embodiments, the criticality of node contract parameters can be accurately measured based on the calculation of the number of occurrences, conflict parameter proficiency and key node text distance, so as to subsequently screen and count the accurate contract parameters corresponding to the contract data, thereby enabling the AI model to identify and output the parameters of the contract data, and assist in improving the data accuracy of the contract data, so as to achieve more intelligent contract data processing and reduce contract errors.
[0127] As an optional embodiment, in the above steps, correcting the contract data according to the contract parameters and the error prompt to obtain corrected contract data includes:
[0128] Input the contract parameters and error prompts into the trained LLM algorithm model to obtain output modification suggestions; optionally, the LLM algorithm model is trained by a training data set including a plurality of training contract data and corresponding parameter annotations, error prompt annotations, and modification suggestion annotations;
[0129] Identify multiple approval end devices;
[0130] Send contract data, error prompts and modification suggestions to each approval end device, and receive device correction contract operations sent by each approval end device;
[0131] Calculate the intersection of all equipment correction contract operations to obtain the contract correction operation;
[0132] The contract data is corrected according to the contract correction operation to obtain the corrected contract data.
[0133] It can be seen that through the above-mentioned optional embodiments, it is possible to first predict correction suggestions based on the contract parameters and error prompts based on the LLM algorithm model, and then send them to multiple approval-end devices to obtain correction operations. On the one hand, the correction efficiency of the approval end is improved by combining the correction suggestions of the LLM algorithm model. On the other hand, the accurate correction of the contract is achieved by combining the operations of multiple approval ends, thereby improving the data accuracy of the contract data, realizing more intelligent contract data processing, and reducing contract errors.
[0134] As an optional embodiment, in the above step, determining multiple approval end devices includes:
[0135] According to the contract subject type and the contract legal relationship type in the contract parameters, and the correspondence between the preset contract type and the contract approval end, multiple candidate approval end devices corresponding to the contract parameters are determined;
[0136] According to the contract party type in the contract parameters, candidate approval terminal devices whose corresponding job levels are lower than the job requirement level corresponding to the contract party type are eliminated from multiple candidate approval terminal devices to obtain multiple preferred approval terminal devices;
[0137] According to the contract confidentiality level in the contract parameters, the preferred approval end devices whose corresponding confidentiality level is lower than the contract confidentiality level are eliminated from the multiple preferred approval end devices to obtain multiple matching approval end devices;
[0138] For each matching approval end device, determine a parameter set of contract parameters of all contracts approved by the matching approval end device in a historical time period;
[0139] Calculate the similarity between the parameter set and the contract parameters;
[0140] Sort all matching approval-end devices according to similarity from large to small to obtain a device sequence;
[0141] All matching approval-end devices that belong to the first third number in the device sequence and whose similarity is greater than a second threshold are screened out to obtain multiple approval-end devices.
[0142] It can be seen that through the above-mentioned optional embodiments, multiple screening rules corresponding to the type parameters in the contract parameters and the party type and confidentiality level, as well as the similarity calculation of the contract parameters in the historical approval records, can be used to screen out multiple reasonable and adaptive approval terminals, so as to subsequently realize accurate correction of the contract by combining the operations of multiple approval terminals, thereby improving the data accuracy of the contract data, realizing more intelligent contract data processing, and reducing contract errors.
[0143] As an optional embodiment, in the above steps, synchronizing the corrected contract data to the cloud server based on the historical contract data and the collaborative synchronization rule includes:
[0144] Sending a synchronization request including contract parameters to a target synchronization server node;
[0145] The target synchronization server node confirms with multiple other synchronization server nodes with authorization whether there is a conflicting contract version generated during the historical synchronization process corresponding to the corrected contract data according to the synchronization request;
[0146] When it is confirmed that there is a conflicting contract version, receiving the conflicting version contract data sent by each other synchronization server node;
[0147] Based on the weight screening algorithm, determine the optimal and latest contract data corresponding to all conflicting versions of contract data and corrected contract data;
[0148] Synchronize the best and latest contract data to the target synchronization server node.
[0149] It can be seen that through the above optional embodiments, the timeliness and correctness of the contract data can be screened based on the conflicting versions of contract data in multiple other authorized synchronization server nodes and the voting algorithm to ensure that the optimal and latest contract data is synchronized to the server, thereby improving the data accuracy of the contract data and the server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors.
[0150] As an optional embodiment, in the above steps, determining the optimal latest contract data corresponding to all conflicting versions of contract data and corrected contract data based on a weight screening algorithm includes:
[0151] For any data among all conflicting versions of contract data and corrected contract data, the data is input into a trained contract timeliness prediction neural network to obtain contract timeliness parameters corresponding to the data; optionally, the contract timeliness prediction neural network is trained by a training data set including a plurality of training contract data and corresponding time difference annotations with the current time;
[0152] Calculate the average of the parameter differences between the contract timeliness parameter of the data and the contract timeliness parameters corresponding to all other contract data to obtain the timeliness difference parameter corresponding to the data;
[0153] Calculate the average value of the similarity between the data and all other contract data to obtain the similarity parameter corresponding to the data;
[0154] Calculate the product of the time difference parameter and the similarity parameter of the data to obtain the priority parameter corresponding to the data;
[0155] The contract data with the highest priority parameter among all conflicting versions of contract data and corrected contract data is determined as the optimal and latest contract data.
[0156] It can be seen that through the above-mentioned optional embodiments, the timeliness parameters and similarity of the contract data can be calculated based on the neural network, so as to determine the data with the highest priority parameters as the optimal and latest data, thereby ensuring that the optimal and latest contract data is synchronized to the server in the future, improving the data accuracy of the contract data and the server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors.
[0157] Embodiment 2
[0158] See also Figure 2 , Figure 2 : is a schematic diagram of a contract data management system based on an AI model disclosed in an embodiment of the present invention. Figure 2 The described AI model-based contract data management system can be applied to a data processing system / data processing device / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 2 As shown, the AI model-based contract data management system may include:
[0159] The acquisition module 201 is used to acquire the contract data to be processed in response to the contract completion instruction.
[0160] The prediction module 202 is used to input the contract data into the trained AI model to obtain the contract parameters and error prompts corresponding to the contract data.
[0161] The correction module 203 is used to correct the contract data according to the contract parameters and error prompts to obtain corrected contract data.
[0162] The synchronization module 204 is used to synchronize the corrected contract data to the cloud server based on the historical contract data and the collaborative synchronization rules.
[0163] It can be seen that the above-mentioned embodiments of the invention can identify and correct contracts based on the trained AI model to achieve contract correction, and then synchronize the contract based on historical contract data and collaborative synchronization rules, thereby improving the data accuracy of the contract data and the server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors.
[0164] As an optional embodiment, the AI model includes a contract node recognition model and a BERT model; the contract node recognition model is used to identify and output multiple contract nodes and corresponding node partial data in the contract data based on keyword rules and text segmentation algorithms; the BERT model is used to identify and output contract errors and node contract parameters corresponding to each input contract node and corresponding node partial data; the BERT model is trained using a training data set including multiple training contract data and corresponding node error annotations and node contract parameter annotations.
[0165] It can be seen that through the above optional embodiments, the details of the AI model are clarified, so that the AI model can identify and output the contract parameters and errors of the contract nodes, assist in improving the data accuracy of the contract data, so as to achieve more intelligent contract data processing and reduce contract errors.
[0166] As an optional embodiment, the prediction module inputs the contract data into the trained AI model to obtain the contract parameters and error prompts corresponding to the contract data, including:
[0167] Input the contract data into the trained AI model to obtain contract errors and node contract parameters corresponding to multiple contract nodes in the contract data; optionally, the node contract parameters include the type of contract subject matter, the type of contract legal relationship, the type of contract parties, and the contract confidentiality level;
[0168] For each node contract parameter, calculate the weight parameter corresponding to the node contract parameter;
[0169] Sort all node contract parameters according to the weight parameter to obtain a parameter sequence;
[0170] Determine all the node contract parameters that belong to the first first number in the parameter sequence and whose weight parameter is greater than the first threshold as the contract parameters corresponding to the contract data;
[0171] All contract errors and corresponding contract nodes are identified as error prompts corresponding to the contract data.
[0172] It can be seen that through the above optional embodiments, it is possible to first predict the errors and parameters corresponding to multiple nodes of the contract data based on the AI model, and then screen and count the contract parameters and error prompts corresponding to the contract data based on the preset weight parameter calculation and sorting algorithm, so that the AI model can identify and output the parameters and errors of the contract data, and assist in improving the data accuracy of the contract data, so as to achieve more intelligent contract data processing and reduce contract errors.
[0173] As an optional embodiment, the specific manner in which the prediction module calculates the weight parameter corresponding to the node contract parameter includes:
[0174] Calculate the number of occurrences of the node contract parameter in the node contract parameters corresponding to all contract nodes;
[0175] Calculate a second number of conflicting parameters of the node contract parameter in the node contract parameters corresponding to all contract nodes; optionally, the conflicting parameters are node contract parameters that cannot coexist with the node contract parameter in a preset contract parameter corresponding rule;
[0176] Calculate the text distance between the contract node where the contract parameter of the node is located and the key contract node corresponding to the contract data;
[0177] The weighted product of the number of occurrences corresponding to the contract parameter of the node, the second quantity and the text distance is calculated to obtain a weight parameter corresponding to the contract parameter.
[0178] It can be seen that through the above optional embodiments, the criticality of node contract parameters can be accurately measured based on the calculation of the number of occurrences, conflict parameter proficiency and key node text distance, so as to subsequently screen and count the accurate contract parameters corresponding to the contract data, thereby enabling the AI model to identify and output the parameters of the contract data, and assist in improving the data accuracy of the contract data, so as to achieve more intelligent contract data processing and reduce contract errors.
[0179] As an optional embodiment, the correction module corrects the contract data according to the contract parameters and the error prompt to obtain the corrected contract data in a specific manner, including:
[0180] Input the contract parameters and error prompts into the trained LLM algorithm model to obtain output modification suggestions; optionally, the LLM algorithm model is trained by a training data set including a plurality of training contract data and corresponding parameter annotations, error prompt annotations, and modification suggestion annotations;
[0181] Identify multiple approval end devices;
[0182] Send contract data, error prompts and modification suggestions to each approval end device, and receive device correction contract operations sent by each approval end device;
[0183] Calculate the intersection of all equipment correction contract operations to obtain the contract correction operation;
[0184] The contract data is corrected according to the contract correction operation to obtain the corrected contract data.
[0185] It can be seen that through the above-mentioned optional embodiments, it is possible to first predict correction suggestions based on the contract parameters and error prompts based on the LLM algorithm model, and then send them to multiple approval-end devices to obtain correction operations. On the one hand, the correction efficiency of the approval end is improved by combining the correction suggestions of the LLM algorithm model. On the other hand, the accurate correction of the contract is achieved by combining the operations of multiple approval ends, thereby improving the data accuracy of the contract data, realizing more intelligent contract data processing, and reducing contract errors.
[0186] As an optional embodiment, the correction module determines the specific manner of the multiple approval end devices, including:
[0187] According to the contract subject type and the contract legal relationship type in the contract parameters, and the correspondence between the preset contract type and the contract approval end, multiple candidate approval end devices corresponding to the contract parameters are determined;
[0188] According to the contract party type in the contract parameters, candidate approval terminal devices whose corresponding job levels are lower than the job requirement level corresponding to the contract party type are eliminated from multiple candidate approval terminal devices to obtain multiple preferred approval terminal devices;
[0189] According to the contract confidentiality level in the contract parameters, the preferred approval end devices whose corresponding confidentiality level is lower than the contract confidentiality level are eliminated from the multiple preferred approval end devices to obtain multiple matching approval end devices;
[0190] For each matching approval end device, determine a parameter set of contract parameters of all contracts approved by the matching approval end device in a historical time period;
[0191] Calculate the similarity between the parameter set and the contract parameters;
[0192] Sort all matching approval-end devices according to similarity from large to small to obtain a device sequence;
[0193] All matching approval-end devices that belong to the first third number in the device sequence and whose similarity is greater than a second threshold are screened out to obtain multiple approval-end devices.
[0194] It can be seen that through the above-mentioned optional embodiments, multiple screening rules corresponding to the type parameters in the contract parameters and the party type and confidentiality level, as well as the similarity calculation of the contract parameters in the historical approval records, can be used to screen out multiple reasonable and adaptive approval terminals, so as to subsequently realize accurate correction of the contract by combining the operations of multiple approval terminals, thereby improving the data accuracy of the contract data, realizing more intelligent contract data processing, and reducing contract errors.
[0195] As an optional embodiment, the specific manner in which the synchronization module synchronizes the corrected contract data to the cloud server based on the historical contract data and the collaborative synchronization rule includes:
[0196] Sending a synchronization request including contract parameters to a target synchronization server node;
[0197] The target synchronization server node confirms with multiple other synchronization server nodes with authorization whether there is a conflicting contract version generated during the historical synchronization process corresponding to the corrected contract data according to the synchronization request;
[0198] When it is confirmed that there is a conflicting contract version, receiving the conflicting version contract data sent by each other synchronization server node;
[0199] Based on the weight screening algorithm, determine the optimal and latest contract data corresponding to all conflicting versions of contract data and corrected contract data;
[0200] Synchronize the best and latest contract data to the target synchronization server node.
[0201] It can be seen that through the above optional embodiments, the timeliness and correctness of the contract data can be screened based on the conflicting versions of contract data in multiple other authorized synchronization server nodes and the voting algorithm to ensure that the optimal and latest contract data is synchronized to the server, thereby improving the data accuracy of the contract data and the server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors.
[0202] As an optional embodiment, the synchronization module determines the specific method of determining the optimal latest contract data corresponding to all conflicting versions of contract data and corrected contract data based on a weight screening algorithm, including:
[0203] For any data among all conflicting versions of contract data and corrected contract data, the data is input into a trained contract timeliness prediction neural network to obtain contract timeliness parameters corresponding to the data; optionally, the contract timeliness prediction neural network is trained by a training data set including a plurality of training contract data and corresponding time difference annotations with the current time;
[0204] Calculate the average of the parameter differences between the contract timeliness parameter of the data and the contract timeliness parameters corresponding to all other contract data to obtain the timeliness difference parameter corresponding to the data;
[0205] Calculate the average value of the similarity between the data and all other contract data to obtain the similarity parameter corresponding to the data;
[0206] Calculate the product of the time difference parameter and the similarity parameter of the data to obtain the priority parameter corresponding to the data;
[0207] The contract data with the highest priority parameter among all conflicting versions of contract data and corrected contract data is determined as the optimal and latest contract data.
[0208] It can be seen that through the above-mentioned optional embodiments, the timeliness parameters and similarity of the contract data can be calculated based on the neural network, so as to determine the data with the highest priority parameters as the optimal and latest data, thereby ensuring that the optimal and latest contract data is synchronized to the server in the future, improving the data accuracy of the contract data and the server synchronization accuracy, so as to achieve more intelligent contract data processing and reduce contract errors.
[0209] Embodiment 3
[0210] See also Figure 3 , Figure 3 It is another contract data management system based on AI model disclosed in an embodiment of the present invention. Figure 3 The described AI model-based contract data management system is applied to a data processing system / data processing device / data processing server (wherein the server includes a local processing server or a cloud processing server). Figure 3 As shown, the AI model-based contract data management system may include:
[0211] A memory 301 storing executable program codes;
[0212] a processor 302 coupled to the memory 301;
[0213] Among them, the processor 302 calls the executable program code stored in the memory 301 to execute the steps of the contract data management method based on the AI model described in Example 1.
[0214] Embodiment 4
[0215] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the contract data management method based on an AI model described in Embodiment 1.
[0216] Embodiment 5
[0217] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the AI model-based contract data management method described in Example 1.
[0218] The above describes specific embodiments of the present specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily have to be performed in the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0219] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0220] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0221] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0222] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0223] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0224] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0225] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0226] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0227] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0228] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0229] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0230] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0231] Finally, it should be noted that the AI model-based contract data management method and system disclosed in the embodiments of the present invention only disclose the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A contract data management method based on AI model, It is characterized in that The method comprises: Responding to the contract completion instruction, obtaining the contract data to be processed; The contract data is input into the trained AI model to obtain the contract parameters and error prompts corresponding to the contract data; the AI model includes a contract node recognition model and a BERT model; the contract node recognition model is used to identify and output multiple contract nodes and corresponding node partial data in the contract data based on keyword rules and text segmentation algorithms; the BERT model is used to identify and output contract errors and node contract parameters corresponding to each of the input contract nodes and corresponding node partial data; the BERT model is trained by a training data set including multiple training contract data and corresponding node error annotations and node contract parameter annotations; the contract data is input into the trained AI model to obtain the contract parameters and error prompts corresponding to the contract data, including: Input the contract data into the trained AI model to obtain contract errors and node contract parameters corresponding to multiple contract nodes in the contract data; the node contract parameters include the type of contract subject matter, the type of contract legal relationship, the type of contract parties, and the contract confidentiality level; For each of the node contract parameters, calculate the number of occurrences of the node contract parameter in the node contract parameters corresponding to all the contract nodes; Calculating a second number of conflicting parameters of the node contract parameter among the node contract parameters corresponding to all the contract nodes; the conflicting parameters are node contract parameters that cannot coexist with the node contract parameter in a preset contract parameter corresponding rule; Calculating the text distance between the contract node where the contract parameter of the node is located and the key contract node corresponding to the contract data; Calculate the weighted product of the number of occurrences corresponding to the node contract parameter, the second number, and the text distance to obtain a weight parameter corresponding to the node contract parameter; Sorting all the node contract parameters according to the weight parameter to obtain a parameter sequence; Determine all the node contract parameters that belong to the first first number in the parameter sequence and whose weight parameter is greater than a first threshold as the contract parameters corresponding to the contract data; Determine all the contract errors and corresponding contract nodes as error prompts corresponding to the contract data; Correcting the contract data according to the contract parameters and the error prompt to obtain corrected contract data; Based on the historical contract data and collaborative synchronization rules, the corrected contract data is synchronized to the cloud server.
2. According to the AI model-based contract data management method of claim 1, It is characterized in that The step of correcting the contract data according to the contract parameters and the error prompt to obtain corrected contract data includes: Input the contract parameters and the error prompts into a trained LLM algorithm model to obtain output modification suggestions; the LLM algorithm model is trained by a training data set including a plurality of training contract data and corresponding parameter annotations, error prompt annotations, and modification suggestion annotations; Identify multiple approval end devices; Sending the contract data, the error prompt and the modification suggestion to each of the approval end devices, and receiving the device contract correction operation sent by each of the approval end devices; Calculating the intersection of all the equipment correction contract operations to obtain the contract correction operation; The contract data is corrected according to the contract correction operation to obtain corrected contract data.
3. According to the AI model-based contract data management method of claim 2, It is characterized in that The determining of multiple approval end devices includes: Determine multiple candidate approval terminal devices corresponding to the contract parameters according to the contract subject type and the contract legal relationship type in the contract parameters, and the preset correspondence between the contract type and the contract approval terminal; According to the contract party type in the contract parameters, candidate approval terminal devices whose corresponding job levels are lower than the job requirement level corresponding to the contract party type are eliminated from the multiple candidate approval terminal devices to obtain multiple preferred approval terminal devices; According to the contract confidentiality level in the contract parameters, the preferred approval end devices whose corresponding confidentiality levels are lower than the contract confidentiality level are eliminated from the multiple preferred approval end devices to obtain multiple matching approval end devices; For each of the matching approval end devices, determining a parameter set of the contract parameters of all contracts approved by the matching approval end device in a historical time period; Calculating the similarity between the parameter set and the contract parameters; Sorting all the matching approval end devices from large to small according to the similarity to obtain a device sequence; All matching approval-end devices that belong to the first third number in the device sequence and whose similarity is greater than a second threshold are screened out to obtain a plurality of approval-end devices.
4. The contract data management method based on the AI model according to claim 2, It is characterized in that The step of synchronizing the corrected contract data to the cloud server based on the historical contract data and the collaborative synchronization rule includes: Sending a synchronization request including the contract parameters to a target synchronization server node; The target synchronization server node confirms with a plurality of other synchronization server nodes with authorization whether there is a conflicting contract version generated in the historical synchronization process corresponding to the corrected contract data according to the synchronization request; When confirming that the conflicting contract version exists, receiving the conflicting version contract data sent by each of the other synchronization server nodes; Determine the optimal and latest contract data corresponding to all the conflicting versions of the contract data and the corrected contract data based on a weighted screening algorithm; The optimal and latest contract data is synchronized to the target synchronization server node.
5. According to the AI model-based contract data management method of claim 4, It is characterized in that The weight-based screening algorithm is used to determine the optimal and latest contract data corresponding to all the conflicting versions of the contract data and the corrected contract data, including: For any data among all the conflicting version contract data and the corrected contract data, the data is input into a trained contract timeliness prediction neural network to obtain a contract timeliness parameter corresponding to the data; the contract timeliness prediction neural network is trained by a training data set including a plurality of training contract data and corresponding time difference annotations with the current time; Calculate the average of the parameter differences between the contract timeliness parameter of the data and the contract timeliness parameters corresponding to all other contract data to obtain the timeliness difference parameter corresponding to the data; Calculate the average value of the similarity between the data and all other contract data to obtain the similarity parameter corresponding to the data; Calculate the product of the time difference parameter and the similarity parameter of the data to obtain a priority parameter corresponding to the data; The contract data with the highest priority parameter among all the conflicting version contract data and the corrected contract data is determined as the optimal and latest contract data.
6. A contract data management system based on AI model, It is characterized in that The system comprises: An acquisition module, used for acquiring the contract data to be processed in response to the contract completion instruction; A prediction module, for inputting the contract data into a trained AI model to obtain contract parameters and error prompts corresponding to the contract data; the AI model includes a contract node recognition model and a BERT model; the contract node recognition model is used to identify and output multiple contract nodes and corresponding node partial data in the contract data based on keyword rules and text segmentation algorithms; the BERT model is used to identify and output contract errors and node contract parameters corresponding to each of the input contract nodes and corresponding node partial data; the BERT model is trained by a training data set including multiple training contract data and corresponding node error annotations and node contract parameter annotations; the contract data is input into the trained AI model to obtain contract parameters and error prompts corresponding to the contract data, including: Input the contract data into the trained AI model to obtain contract errors and node contract parameters corresponding to multiple contract nodes in the contract data; the node contract parameters include the type of contract subject matter, the type of contract legal relationship, the type of contract parties, and the contract confidentiality level; For each of the node contract parameters, calculate the number of occurrences of the node contract parameter in the node contract parameters corresponding to all the contract nodes; Calculating a second number of conflicting parameters of the node contract parameter among the node contract parameters corresponding to all the contract nodes; the conflicting parameters are node contract parameters that cannot coexist with the node contract parameter in a preset contract parameter corresponding rule; Calculating the text distance between the contract node where the contract parameter of the node is located and the key contract node corresponding to the contract data; Calculate the weighted product of the number of occurrences corresponding to the node contract parameter, the second number, and the text distance to obtain a weight parameter corresponding to the node contract parameter; Sorting all the node contract parameters according to the weight parameter to obtain a parameter sequence; Determine all the node contract parameters that belong to the first first number in the parameter sequence and whose weight parameter is greater than a first threshold as the contract parameters corresponding to the contract data; Determine all the contract errors and corresponding contract nodes as error prompts corresponding to the contract data; A correction module, used for correcting the contract data according to the contract parameters and the error prompt to obtain corrected contract data; A synchronization module is used to synchronize the corrected contract data to a cloud server based on historical contract data and collaborative synchronization rules.
7. A contract data management system based on AI model, It is characterized in that The system comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the contract data management method based on the AI model as described in any one of claims 1-5.
