Contract processing method and device, storage medium and electronic device
Through the combination of natural language processing models and preset rules, contract information is automatically analyzed and filtered, which solves the problem of low accuracy and efficiency of manual audits in corporate audits and improves audit accuracy and efficiency.
Patent Information
- Application Number
- CN201910944569.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-09-30
AI Technical Summary
In corporate audits, the accuracy and efficiency of manually checking contracts is low, and it is impossible to effectively avoid the risk of project avoidance bidding.
Use natural language processing models to analyze contract information, process and filter based on preset processing rules, automatically form audit results, and improve audit accuracy and efficiency.
Through big data analysis and natural language analysis, intelligent analysis of contract information is realized, audit results are automatically formed, audit accuracy and efficiency are improved, and the problems of low accuracy and efficiency of manual audit are solved.
Smart Images

Figure CN112581071B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of enterprise auditing, and in particular to a contract processing method and device, a storage medium and an electronic device. Background Art
[0002] For internal audits of enterprises, it is necessary to identify behaviors such as circumventing bidding by splitting projects that have reached the bidding limit, using internal suppliers, and obtaining personal benefits, so as to avoid the risk of the enterprise being audited.
[0003] The traditional method for enterprises to circumvent bidding audits for projects is mainly through manual verification, and the audited contracts cannot cover all of them, and the scope and energy of the audit materials are limited.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a contract processing method and device, a storage medium and an electronic device to at least solve the technical problem in the related art that contracts are audited manually with low accuracy and efficiency.
[0006] According to one aspect of an embodiment of the present invention, a contract processing method is provided, comprising: obtaining contract information of multiple contracts, wherein the contract information includes at least: the subject matter of the contract, the counterparty of the contract, the approval personnel, the contract name, the contract date, the purchase contract payment information, and the sales contract collection information; using a natural language processing model to analyze the subject matter of the multiple contracts to determine the subject types of the multiple contracts; processing the contract information and subject types of the multiple contracts according to preset processing rules to obtain processing results.
[0007] Furthermore, the contract information and subject types of multiple contracts are processed according to preset processing rules, and the processing results include: merging the multiple contracts based on the contract information and subject types of the multiple contracts; and screening the merged contracts to obtain processing results.
[0008] Furthermore, the preset processing rules include at least: the contract counterparty is the same, the subject matter type is the same, the amount is less than the bidding limit, and the time difference between the contract dates is less than a preset value.
[0009] Furthermore, the merged contracts are screened to obtain processing results including: based on the contract date of the merged contracts, a contract set within the traceability period is screened out; the number of contracts included in the contract set is obtained; based on the amount of each contract in the contract set, the total amount of the contract set is obtained; and a contract set whose quantity is greater than a preset quantity and whose total amount is greater than the bidding limit is screened out to obtain processing results.
[0010] Furthermore, before using the natural language processing model to analyze the subject matter of multiple contracts and determine the subject types of the multiple contracts, the above method also includes: obtaining historical data, wherein the historical data includes: multiple contract subjects and the subject type corresponding to each contract subject; using the historical data to train the initial model to obtain a natural language processing model.
[0011] Furthermore, the historical data includes: training data and verification data, wherein using the historical data to train the initial model to obtain the natural language processing model includes: training the initial model using the training data to obtain the trained model; verifying the trained model using the verification data to obtain the accuracy of the trained model; judging whether the accuracy meets the preset accuracy; and determining that the trained model is a natural language processing model when the accuracy meets the preset accuracy.
[0012] Furthermore, when the accuracy does not meet the preset accuracy, the trained model is continuously trained using the training data until the accuracy meets the preset accuracy.
[0013] According to another aspect of an embodiment of the present invention, a contract processing device is also provided, including: an acquisition module, used to acquire contract information of multiple contracts, wherein the contract information at least includes: contract subject matter, contract counterparty, approval personnel, contract name, contract date, purchase contract payment information, and sales contract collection information; an analysis module, used to analyze the contract subject matter of multiple contracts using a natural language processing model to determine the subject types of multiple contracts; and a processing module, used to process the contract information and subject types of multiple contracts according to preset processing rules to obtain processing results.
[0014] According to another aspect of an embodiment of the present invention, a storage medium is also provided, the storage medium includes a stored program, wherein the program executes the above-mentioned contract processing method.
[0015] According to another aspect of an embodiment of the present invention, an electronic device is also provided, which includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; and the processor is used to call program instructions in the memory to execute the above-mentioned contract processing method.
[0016] In the embodiment of the present invention, after obtaining the contract information, the natural language processing model can be used to analyze the contract subject, determine the subject type, and further combine the preset processing rules to obtain the final processing result. Compared with the prior art, the contract information can be intelligently analyzed through big data analysis and natural language analysis, combined with audit rules, and the audit results can be automatically formed, thereby improving the audit accuracy and audit efficiency, and thus solving the technical problem of low accuracy and efficiency in the related art of manual auditing of contracts. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0018] Figure 1 is a flow chart of a contract processing method according to an embodiment of the present invention;
[0019] Figure 2 is a schematic diagram of a contract processing device according to an embodiment of the present invention; and
[0020] Figure 3 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] 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 should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] First, the technical names and technical terms appearing in the embodiments of the present invention are explained as follows:
[0024] Subject matter of contract: It is the object of the contractual legal relationship and the object to which the rights and obligations of the parties to the contract are directed, including objects, behaviors and intellectual achievements. In a sales contract, the subject matter of the contract is the same as the subject matter, both of which are objects or commodities.
[0025] Counterparty to a contract: refers to the corresponding persons of the two parties who enter into a contractual relationship, or the opposing parties with mutual interests.
[0026] Tendering: refers to the act of the tenderer (buyer) issuing a tender notice or tender form in advance, stating the variety, quantity and related transaction conditions, the name and pieces of the goods to be purchased at the specified time and place, and inviting bidders (sellers) to participate in the bidding.
[0027] According to an embodiment of the present invention, a contract processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0028] Figure 1 is a flow chart of a contract processing method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0029] Step S102, obtaining contract information of multiple contracts, wherein the contract information at least includes: contract subject, contract counterparty, approval personnel, contract name, contract date, purchase contract payment information, and sales contract receipt information;
[0030] Step S104, analyzing the subject matter of the multiple contracts using a natural language processing model to determine the subject matter types of the multiple contracts;
[0031] Step S106, processing the contract information and subject types of multiple contracts according to preset processing rules to obtain processing results.
[0032] The embodiment of this application is mainly aimed at avoiding bidding audits for projects. The specific scenario is as follows: Unit A and Unit B sign multiple contracts of the same type and similar subject matter in the same period. The amount of a single contract is less than the bidding limit, and the cumulative amount of multiple contracts reaches the bidding limit, and no bidding is conducted for the selection of contract vendors. In this scenario, the contracts that need to be audited have the following characteristics: the same contract is intentionally split into multiple contracts, and the selection of vendors after the split contracts is not conducted through bidding; the amount of a single contract is less than the bidding limit, and the cumulative amount of multiple contracts reaches the bidding limit; the signing dates of multiple contracts are the same or close; multiple contracts are of the same type and have similar subject matters.
[0033] In the above application scenario, the above multiple contracts may be sales contracts, the subject matter of the contract may refer to the subject matter such as objects or commodities in the sales contract, and the contract information may be the information of the buyer and seller, the signing date information, the amount information, the subject matter information, etc. The subject matter type may be the specific content of the subject matter of the contract. For example, if Party A purchases office computers from Party B, then natural language processing can identify that the subject matter type is office computers.
[0034] In an optional solution, in order to be able to identify the specific type of the subject matter of the contract, a large number of subject matters of the contract can be obtained in advance, and the corresponding purpose types can be manually labeled to obtain training samples, and the training samples can be used to train a natural language processing model.
[0035] Optionally, the preset processing rules include at least: the contract counterparty is the same, the subject type is the same, the amount is less than the bidding limit, and the time difference between the contract dates is less than a preset value.
[0036] Specifically, according to the specific management regulations of different enterprises, the above amount can be the contract amount or the settlement amount. The bidding limit varies with the business type. For example, the limit for engineering construction is 2 million, the limit for supervision, survey, and design is 500,000, the limit for engineering technology is 2 million; the limit for scientific research services is 1 million; the limit for material procurement is 1 million. The above preset values can be set as needed. If the time difference between the contract dates is less than the preset value, it means that the contract signing dates are the same or similar.
[0037] The above preset processing rules can be fixed audit rules, so as to find project subcontracting problems more accurately. The logic of the preset processing rules is as follows: the unit code is the same and the capital flow is opposite; capital flow: expenditure; business selection method: unilateral negotiation, competitive negotiation; contract amount: single contract amount <2 million or single settlement amount <2 million; contract subject similarity judgment; contract signing date is the same or similar; bidding limit varies with business type.
[0038] In the above application scenarios, relevant data of the contract system can be extracted, including: contract subject, contract counterparty, approval personnel, contract name, contract date, purchase contract payment information, and sales contract collection information. Through business expert analysis, we design tokenization, sentence segmentation, partial part-of-speech tagging, name extraction, chunking, parsing, etc. to identify the content of the contract subject. Finally, we screen the contracts according to the above characteristics to obtain the processing results. After determining the violations, we can associate the information to find the business and economic problems, and find direct evidence for auditors to optimize and promote corporate audit work.
[0039] Through the above-mentioned embodiments of the present invention, after obtaining the contract information, the natural language processing model can be used to analyze the contract subject, determine the subject type, and further combine the preset processing rules to obtain the final processing result. Compared with the prior art, the contract information can be intelligently analyzed through big data analysis and natural language analysis, and the audit results can be automatically formed in combination with the audit rules, thereby improving the audit accuracy and audit efficiency, thereby solving the technical problem of low accuracy and efficiency in the manual audit of contracts in the related art.
[0040] Optionally, in the above embodiment of the present invention, the contract information and subject types of multiple contracts are processed to obtain processing results including: merging the multiple contracts based on the contract information and subject types of the multiple contracts; and screening the merged contracts to obtain processing results.
[0041] In an optional solution, contracts that meet the audit rules can be merged according to the audit rules. For example, contracts that meet the same unit code, amount less than the bidding limit, same or similar contract subject matter, and same or similar contract signing date can be merged, and further screened from the merged contracts to obtain the final processing result.
[0042] Optionally, in the above embodiment of the present invention, the merged contracts are screened according to preset screening rules, and the processing results include: based on the contract date of the merged contract, filtering out a contract set within the retrospective time; obtaining the number of contracts included in the contract set; based on the amount of each contract in the contract set, obtaining the total amount of the contract set; filtering out a contract set whose quantity is greater than the preset quantity and whose total amount is greater than the bidding limit, and obtaining the processing results.
[0043] Specifically, the above preset number may be 2.
[0044] In an optional solution, you can filter out records by enterprise, department, contract counterparty, tracing period, number of contracts, and total contract amount within the tracing period, with the number of contracts ≥ 2 and (total contract amount ≥ 2 million or total settlement amount > 2 million) to obtain the processing results.
[0045] Optionally, in the above embodiment of the present invention, before using a natural language processing model to analyze the subject matter of multiple contracts and determine the subject types of the multiple contracts, the method also includes: obtaining historical data, wherein the historical data includes: multiple contract subjects and the subject type corresponding to each contract subject; using the historical data to train the initial model to obtain a natural language processing model.
[0046] In order to accurately determine the type of the contract subject, a large amount of historical data is obtained by using big data technology, and the type of each contract subject is manually labeled, and the labeled data is used for model training. Specifically, the above initial model can be an N-Gram model, a Markov model, a maximum entropy model, a support vector machine model, etc., and the present invention does not specifically limit this.
[0047] Optionally, in the above embodiment of the present invention, the historical data includes: training data and verification data, wherein using the historical data to train the initial model to obtain the natural language processing model includes: training the initial model using the training data to obtain the trained model; verifying the trained model using the verification data to obtain the accuracy of the trained model; judging whether the accuracy meets the preset accuracy; and determining that the trained model is a natural language processing model when the accuracy meets the preset accuracy.
[0048] Specifically, the above-mentioned preset accuracy can be a model recognition accuracy determined according to recognition needs, and whether the model training is completed can be determined by the recognition accuracy.
[0049] Optionally, when the accuracy does not meet the preset accuracy, continue to train the trained model using the training data until the accuracy meets the preset accuracy.
[0050] In an optional solution, historical data obtained using big data technology can be used for model training and verification. Therefore, the historical data can be divided into a training set and a verification set. The training set is used to train the model, and the verification set is used to verify the model. Each training can be verified once until the final model reaches the required accuracy.
[0051] According to an embodiment of the present invention, a contract processing device is provided.
[0052] Figure 2 is a schematic diagram of a contract processing device according to an embodiment of the present invention. Figure 2 As shown, the device includes: an acquisition module 22 , an analysis module 24 and a processing module 26 .
[0053] Among them, the acquisition module 22 is used to obtain the contract information of multiple contracts, wherein the contract information at least includes: the subject matter of the contract, the counterparty of the contract, the approval personnel, the contract name, the contract date, the purchase contract payment information, and the sales contract collection information; the analysis module 24 is used to use the natural language processing model to analyze the subject matter of multiple contracts and determine the subject types of multiple contracts; the processing module 26 is used to process the contract information and subject types of multiple contracts according to preset processing rules to obtain processing results.
[0054] Through the above-mentioned embodiments of the present invention, after obtaining the contract information, the natural language processing model can be used to analyze the contract subject, determine the subject type, and further combine the preset processing rules to obtain the final processing result. Compared with the prior art, the contract information can be intelligently analyzed through big data analysis and natural language analysis, and the audit results can be automatically formed in combination with the audit rules, thereby improving the audit accuracy and audit efficiency, thereby solving the technical problem of low accuracy and efficiency in the manual audit of contracts in the related art.
[0055] Optionally, in the above embodiment of the present invention, the processing module includes: a merging submodule and a screening submodule.
[0056] Among them, the merging submodule is used to merge multiple contracts based on their contract information and subject types; the screening submodule is used to screen the merged contracts to obtain processing results.
[0057] Optionally, in the above embodiment of the present invention, the screening submodule includes: a first screening unit, an acquisition unit, a processing unit and a second screening unit.
[0058] Among them, the first screening unit is used to screen out a contract set within the traceability period based on the contract date of the merged contract; the acquisition unit is used to obtain the number of contracts included in the contract set; the processing unit is used to obtain the total amount of the contract set based on the amount of each contract in the contract set; the second screening unit is used to screen out a contract set whose quantity is greater than a preset quantity and whose total amount is greater than the bidding limit, and obtain the processing result.
[0059] Optionally, in the above embodiment of the present invention, the device further includes: a training module.
[0060] Among them, the acquisition module is also used to obtain historical data, wherein the historical data includes: multiple contract subjects, and the subject type corresponding to each contract subject; the training module is used to use the historical data to train the initial model to obtain a natural language processing model.
[0061] Optionally, in the above embodiment of the present invention, the historical data includes: training data and verification data, wherein the training module includes: a training unit, a verification unit, a judgment unit and a determination unit.
[0062] Among them, the training unit is used to train the initial model using the training data to obtain the trained model; the verification unit is used to verify the trained model using the verification data to obtain the accuracy of the trained model; the judgment unit is used to judge whether the accuracy meets the preset accuracy; the determination unit is used to determine that the trained model is a natural language processing model when the accuracy meets the preset accuracy.
[0063] Optionally, the training unit is further configured to, when the accuracy does not meet the preset accuracy, continue to train the trained model using the training data until the accuracy meets the preset accuracy.
[0064] The contract processing device includes a processor and a memory. The above-mentioned acquisition module, analysis module, processing module and training module are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0065] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the processing results are obtained by adjusting the kernel parameters.
[0066] An embodiment of the present invention provides a storage medium on which a program is stored, and when the program is executed by a processor, the contract processing method is implemented.
[0067] An embodiment of the present invention provides a processor, which is used to run a program, wherein the contract processing method is executed when the program is running.
[0068] An embodiment of the present invention provides an electronic device, such as Figure 3 As shown, the device 10 includes at least one processor 101, at least one memory 102 connected to the processor 101, and a bus 103; wherein the processor 101 and the memory 102 communicate with each other through the bus 103; the processor 101 is used to call the program instructions in the memory 102 to execute the above-mentioned contract processing method. The device in this article can be a server, PC, PAD, mobile phone, etc.
[0069] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing the following method steps:
[0070] Obtain contract information of multiple contracts, wherein the contract information at least includes: contract subject, contract counterparty, approval personnel, contract name, contract date, purchase contract payment information, and sales contract collection information; use a natural language processing model to analyze the contract subject of multiple contracts to determine the subject types of multiple contracts; process the contract information and subject types of multiple contracts according to preset processing rules to obtain processing results.
[0071] Based on the contract information and subject types of multiple contracts, multiple contracts are merged; the merged contracts are screened to obtain processing results.
[0072] Based on the contract date of the merged contract, filter out the contract set within the traceability period; obtain the number of contracts included in the contract set; based on the amount of each contract in the contract set, obtain the total amount of the contract set; filter out the contract set whose quantity is greater than the preset quantity and whose total amount is greater than the bidding limit, and obtain the processing result.
[0073] Obtain historical data, wherein the historical data includes: multiple contract subjects and the subject type corresponding to each contract subject; use the historical data to train the initial model to obtain a natural language processing model.
[0074] The initial model is trained using the training data to obtain a trained model; the trained model is verified using the verification data to obtain the accuracy of the trained model; it is determined whether the accuracy meets the preset accuracy; if the accuracy meets the preset accuracy, the trained model is determined to be a natural language processing model.
[0075] When the accuracy does not meet the preset accuracy, continue to train the trained model using the training data until the accuracy meets the preset accuracy.
[0076] The present application 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 the present application. 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 generate 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.
[0077] In a typical configuration, the device includes one or more processors (CPU), memory and bus. The device may also include input / output interface, network interface and the like.
[0078] The memory may include non-permanent memory 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, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
[0079] 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 tape 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.
[0080] 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.
[0081] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0082] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A contract processing method, characterized in that: include: Acquire contract information of multiple contracts, wherein the contract information at least includes: contract subject, contract counterparty, approval personnel, contract name, contract date, purchase contract payment information and sales contract receipt information; Analyzing the subject matter of the multiple contracts using a natural language processing model to determine the types of the subject matter of the multiple contracts; Processing the contract information and subject types of the multiple contracts according to preset processing rules to obtain processing results; The step of processing the contract information and the subject types of the multiple contracts according to the preset processing rules to obtain the processing result includes: merging the multiple contracts based on the contract information and the subject types of the multiple contracts; and screening the merged contracts to obtain the processing result; The preset processing rules include at least: the counterparties of the contracts are the same, the subject matter is the same, the amount is less than the bidding limit, and the time difference between the contract dates is less than the preset value; The merged contracts are screened to obtain the processing results, including: based on the contract dates of the merged contracts, a contract set within the traceability period is screened out; the number of contracts included in the contract set is obtained; based on the amount of each contract in the contract set, the total amount of the contract set is obtained; and a contract set whose quantity is greater than a preset quantity and whose total amount is greater than a bidding limit is screened out to obtain the processing results.
2. The method according to claim 1, characterized in that Before analyzing the subject matters of the multiple contracts by using a natural language processing model to determine the subject matter types of the multiple contracts, the method further includes: Acquiring historical data, wherein the historical data includes: a plurality of contract subjects, and a subject type corresponding to each contract subject; The historical data is used to train the initial model to obtain the natural language processing model.
3. The method according to claim 2, characterized in that The historical data includes: training data and verification data, wherein the initial model is trained using the historical data to obtain the natural language processing model including: Using the training data to train the initial model to obtain a trained model; Using the verification data to verify the trained model, and obtain the accuracy of the trained model; Determining whether the accuracy meets the preset accuracy; When the accuracy meets the preset accuracy, the trained model is determined to be the natural language processing model.
4. The method according to claim 3, characterized in that When the accuracy does not meet the preset accuracy, continue to train the trained model using the training data until the accuracy meets the preset accuracy.
5. A contract processing device, characterized in that: include: An acquisition module, used to acquire contract information of multiple contracts, wherein the contract information at least includes: contract subject, contract counterparty, approval personnel, contract name, contract date, purchase contract payment information and sales contract receipt information; An analysis module, configured to analyze the subject matter of the multiple contracts using a natural language processing model to determine the subject matter types of the multiple contracts; A processing module, used to process the contract information and subject types of the multiple contracts according to a preset processing rule to obtain a processing result; The processing module includes: a merging submodule, which is used to merge the multiple contracts based on the contract information and subject types of the multiple contracts; a screening submodule, which is used to screen the merged contracts to obtain the processing result; The preset processing rules include at least: the counterparties of the contracts are the same, the subject matter is the same, the amount is less than the bidding limit, and the time difference between the contract dates is less than the preset value; The screening submodule includes: a first screening unit, used to screen out a contract set within the traceability period based on the contract date of the merged contract; an acquisition unit, used to obtain the number of contracts included in the contract set; a processing unit, used to obtain the total amount of the contract set based on the amount of each contract in the contract set; a second screening unit, used to screen out a contract set whose quantity is greater than a preset quantity and whose total amount is greater than the bidding limit, and obtain the processing result.
6. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the contract processing method described in any one of claims 1 to 4.
7. An electronic device, characterized in that: The electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; the processor is used to call program instructions in the memory to execute the contract processing method described in any one of claims 1 to 4.
