Rule engine-based contract classification method, equipment and medium

Through the contract classification method based on the rules engine, the existing technology is difficult to cope with the complexity and diversity of contract texts, and efficient and accurate contract classification and evaluation are achieved, which enhances the competitiveness of enterprises in a fast business environment.

CN119088970APending Publication Date: 2024-12-06INSPUR GENERSOFT CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411229277.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Existing contract processing systems based on fixed rules or traditional machine learning are difficult to fully cope with the complexity and diversity of contract texts, resulting in low accuracy of contract classification and evaluation and limited processing speed improvement, affecting the competition of enterprises in a fast business environment. force.

Method used

Using the contract classification method based on the rule engine, by determining the general basic information of the target contract, providing users with the rule editing area to receive contract classification rule instructions, generate rule codes, and classifying the target contract through the rule engine loading rule files, supporting rules priority Level settings and version control to reduce redundant calculations and logical complexity.

Benefits of technology

Improve the efficiency and accuracy of contract classification, support rule priority settings and version control, reduce redundant calculations and logical complexity, optimize the order of rule execution, improve hit rate and execution efficiency, and provide a performance monitoring mechanism to Discover and resolve inefficient rules enforcement problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088970A_ABST
    Figure CN119088970A_ABST
Patent Text Reader

Abstract

The invention discloses a contract classification method and device based on a rule engine and a medium, and the method comprises the steps: determining the general contract basic information of a target contract, and taking the general contract basic information as the contract object attribute of the target contract; providing a rule editing area for the user to receive a contract classification rule instruction from the user, and generating a rule code corresponding to the target classification rule based on the contract classification rule instruction; inputting the rule code into a preset rule analyzer to convert the rule code into a rule file; and loading the rule file through the rule engine, and classifying the target contract to obtain classification information of the target contract. The rule engine can reduce redundant calculation and check during rule execution by merging, splitting or reorganizing the rule set, and the execution efficiency is improved. Redundant condition judgment or repeated calculation is eliminated, and logic complexity during rule execution is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rule engines, and specifically to a contract classification method, device and medium based on rule engines. Background Art

[0002] In today's increasingly globalized business environment, cooperation between enterprises is becoming more frequent, which directly leads to a sharp increase in the challenges of contract management and processing. The number of contracts has increased sharply, and the content has become more complex and changeable. The traditional manual review and processing methods are facing unprecedented efficiency bottlenecks and accuracy tests. Faced with this situation, the industry urgently needs more efficient and intelligent solutions to cope with the huge demand for contract management.

[0003] However, the currently widely used contract processing systems based on fixed rules or traditional machine learning technologies, although they have improved the level of automation to a certain extent, are still unable to fully cope with the complexity and diversity of contract texts. These systems are generally limited by the rigidity of rule-making and the high cost of maintenance, as well as the lack of generalization ability of the models when faced with new types of contract texts. This not only affects the accuracy of contract classification and evaluation, but also restricts the improvement of processing speed, causing enterprises to miss opportunities in the fast-paced business competition. Summary of the invention

[0004] In order to solve the above problems, the present application proposes a contract classification method, device and medium based on a rule engine, wherein the method includes:

[0005] Determine the general contract basic information of the target contract, and use the general contract basic information as the contract object attribute of the target contract; provide a rule editing area for the user to receive the contract classification rule instruction from the user, and generate a rule code corresponding to the target classification rule based on the contract classification rule instruction; input the rule code into a preset rule parser to convert the rule code into a rule file; load the rule file through a rule engine, classify the target contract, and obtain the classification information of the target contract.

[0006] In one example, providing a rule editing area to the user to receive contract classification rule instructions from the user specifically includes: providing a rule condition editing area to the user to receive the contract classification rule conditions input by the user, the contract classification rule conditions are a combination of contract attributes, clauses and logical relationships, and are used to define the matching conditions of the rules; providing a rule action editing area to the user to receive the contract classification rule actions input by the user, the contract classification rule actions include at least one of contract classification and contract evaluation.

[0007] In one example, before receiving the contract classification rule conditions input by the user, the method also includes displaying the stored contract rule templates to the user and receiving a contract rule template selection request from the user; based on the contract rule template selection request, presenting the corresponding contract rule template to the condition editing area so that the user can modify it based on the contract rule template; after receiving the contract classification rule conditions input by the user, the method also includes: saving the contract classification rule conditions as a contract rule template.

[0008] In one example, after the action of receiving the contract classification rule input by the user, the method further includes: receiving a rule priority setting instruction from the user, and setting the priority of the contract classification rule based on the rule priority setting instruction; when multiple rules are matched at the same time, determining the execution order of the multiple rules according to the priority of the contract classification rule.

[0009] In one example, before receiving a contract classification rule instruction from a user, the method further includes: providing a rule grammar prompt so that the user can write rules according to the rule grammar prompt to avoid grammatical errors; before generating a rule code corresponding to a target classification rule based on the contract classification rule instruction, the method further includes: checking the contract classification rule instruction provided by the user to determine whether the contract classification rule instruction is grammatically correct; after generating a rule code corresponding to the target classification rule based on the contract classification rule instruction, the method further includes: receiving test data from the user, and generating a test result corresponding to the test data based on the test data and the rule code; and sending the test result to the user so that the user can modify the contract classification rule instruction according to the test result.

[0010] In one example, the rule file is loaded through a rule engine to classify the target contract, specifically including: inputting the contract object attributes of the target contract into the rule engine; traversing the contract object attributes to determine the rule code that matches the contract object attributes; determining the contract classification corresponding to the rule code that matches the contract object attributes; using the contract classification as the classification result of the target contract, and based on the classification result, storing the contract category information into the category field of the target contract.

[0011] In one example, after obtaining the classification information of the target contract, the method further includes: obtaining contract classification execution information within a preset time period, the contract classification execution information including successfully classified contract information and failed classification contract information; the successfully classified contract information and failed classification contract information include at least one of a contract number, contract content, and an execution result; before loading the rule file through a rule engine and classifying the target contract, the method further includes: determining the classification execution time of the target contract based on the rule file; and classifying the target contract based on the classification execution time.

[0012] In an example, the contract object attributes include: contract number, contract serial number, contract business number, contract name, general contract type, contract type, default subject type, payment direction, control method, fixed unit price, signing date, contract signing unit number, signatory number, counterparty unit number, counterparty contact, contract management unit, contract management department, contract administrator, contract handling organization, contract handler, project name, amount in original currency excluding tax, amount in original currency, tolerance amount, currency, exchange rate, amount in local currency excluding tax, amount in local currency, settlement amount, settlement mark, payment amount, payment mark, signing location, start date, end date, approval status, approval process, contract status, system status number, remarks, contract template, seal name, number of attachments, payment terms, person who prepared the document, time of preparation, person who modified the document, time of modification, change type, change number, change date, person who changed the document, original contract number, whether it is an official version, version number, change status, change description, contract text, confidentiality level, confidentiality level.

[0013] The present application also provides a contract classification device based on a rule engine, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a method as described in any one of the above examples.

[0014] The present application also provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute a method as described in any one of the above examples.

[0015] The method proposed in this application can bring the following beneficial effects: by merging, splitting or reorganizing the rule set, redundant calculations and checks during rule execution can be reduced, thereby improving execution efficiency. At the same time, redundant conditional judgments or repeated calculations can be eliminated to reduce the logical complexity during rule execution. It supports manual setting of rule priorities, optimizes the execution order of rules, and places the most commonly used or highest priority rules in front of the execution path to improve the hit rate and execution efficiency. The rules support version control and tracking mechanisms, which can conveniently view and effectively manage rules to ensure that rule modifications and updates can be effectively tracked. In the process of using the rule engine to classify or evaluate contracts, it supports monitoring performance indicators, such as the execution time of the rule set, CPU and memory usage, etc., to facilitate timely discovery and resolution of problems with low rule execution efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 A flowchart of a contract classification method based on a rule engine in an embodiment of the present application;

[0018] Figure 2 This is a schematic diagram of a conditional editing area in an embodiment of the present application;

[0019] Figure 3 This is a structural diagram of a contract classification device based on a rule engine in an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0021] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0022] Figure 1A schematic diagram of a process flow of contract classification based on a rule engine is provided for one or more embodiments of this specification. The method can be applied to different business fields, such as the Internet financial business field, the e-commerce business field, the instant messaging business field, the game business field, the official business field, etc. The process can be executed by a computing device in the corresponding field (such as a risk control server or a smart mobile terminal corresponding to the payment business, etc.), and some input parameters or intermediate results in the process allow manual intervention and adjustment to help improve accuracy.

[0023] The analysis method involved in the embodiments of the present application can be implemented by a terminal device or a server, and the present application does not impose any special restrictions on this. For the convenience of understanding and description, the following embodiments are described in detail by taking a server as an example.

[0024] It should be noted that the server can be a single device or a system composed of multiple devices, that is, a distributed server, and this application does not make any specific limitations on this.

[0025] like Figure 1 As shown, the embodiment of the present application provides a contract classification method based on a rule engine, including:

[0026] S101: Determine the general contract basic information of the target contract, and use the general contract basic information as the contract object attribute of the target contract.

[0027] First, determine the attributes of the target contract, such as contract number, contract type, signing date, effective date, expiration date, amount, etc. These attributes will be used as member variables of the contract object, and then define the methods of the contract object to operate on the contract, such as obtaining contract information, updating contract status, etc.

[0028] Specifically, the contract object attributes include contract number, contract serial number, contract business number, contract name, general contract type, contract type, default subject type, payment direction, control method, fixed unit price, signing date, contract signing unit number, signatory number, counterparty unit number, counterparty contact person, contract management unit, contract management department, contract administrator, contract handling organization, contract handler, project name, amount in original currency excluding tax, amount in original currency, tolerance amount, currency, exchange rate, amount in local currency excluding tax, amount in local currency, settlement amount, settlement mark, payment amount, payment mark, signing location, start date, end date, approval status, approval process, contract status, system status number, remarks, contract template, seal name, number of attachments, payment terms, person who prepared the document, preparation time, person who modified the document, modification time, change type, change number, change date, person who changed the document, original contract number, whether it is an official version, version number, change status, change description, contract text, confidentiality level, and confidentiality level.

[0029] S102: providing a rule editing area to the user to receive a contract classification rule instruction from the user, and generating a rule code corresponding to the target classification rule based on the contract classification rule instruction.

[0030] After determining the contract object attributes, it is necessary to define the contract classification rules. Specifically, by providing a rule editing area to the user, the user can write the contract classification rule instructions in the rule editing area. After writing, the server will convert the instruction into a rule code. Similarly, the user can also directly write the rule code.

[0031] In one embodiment, when receiving the user's contract classification rule instructions, it is necessary to provide the user with a rule condition editing area to receive the contract classification rule conditions input by the user. The contract classification rule conditions here are a combination of contract attributes, clauses, and logical relationships, which are used to define the matching conditions of the rules. Then, the user is provided with a rule action editing area to receive the contract classification rule actions input by the user. The contract classification rule actions here include at least one of contract classification and contract evaluation. That is, the user can classify the contract through the rule engine, and can also evaluate the contract through the rule engine. Among them, the rule condition editing area is as follows: Figure 2 shown.

[0032] Furthermore, in order to facilitate users in writing contract classification rules, existing contract rules can be stored as templates in a database. Before the user enters the contract classification rule conditions, the stored contract rule templates are displayed to the user, and a contract rule template selection request from the user is received. Based on the contract rule template selection request, the corresponding contract rule template is presented to the condition editing area, so that the user can make modifications based on the contract rule template. After receiving the contract classification rule conditions entered by the user, the contract classification rule conditions are saved as a contract rule template. By setting up a contract rule template, the speed at which users write contract classification rule conditions can be increased. At the same time, it can serve as a rule reference for users to a certain extent, reducing the number of spelling errors in users' rules. At the same time, the rules support version control and tracking mechanisms, which can easily view and effectively manage the rules, ensuring that the modification and update of the rules can be effectively tracked.

[0033] In one embodiment, when a user writes a contract classification rule, it is also necessary to set the priority of the contract classification rule. When a contract matches multiple rules at the same time, the execution order of the multiple rules can be determined based on the priority of the contract classification rule. At this time, it is necessary to receive a rule priority setting instruction from the user, and set the priority of the contract classification rule based on the rule priority setting instruction; when multiple rules are matched at the same time, the execution order of the multiple rules is determined according to the priority of the contract classification rule.

[0034] In one embodiment, in order to avoid grammatical errors when users write contract classification rules, the server can provide users with rule grammar prompts before users write, so that users can write rules according to the rule grammar prompts to avoid grammatical errors. At the same time, after obtaining the contract classification rules written by the user, the server can check the contract classification rule instructions provided by the user to determine whether the contract classification rule instructions are grammatically correct. At the same time, a test function for contract classification rules is also provided. After generating the rule code, test data from the user can be received, and based on the test data and the rule code, test results corresponding to the test data are generated, and the test results are sent to the user, so that the user can modify the contract classification rule instructions according to the test results.

[0035] S103: Input the rule code into a preset rule parser to convert the rule code into a rule file.

[0036] After the rule code is written, it needs to be parsed into a computer-understandable format, namely a rule file. At this time, the rule code is input into a preset rule parser to convert the rule code into a rule file. This process requires processing the logic of the user input and performing syntax checking.

[0037] S104: Load the rule file through a rule engine and classify the target contract to obtain classification information of the target contract.

[0038] After the rule file is generated, when classifying the target contract, the rule file needs to be input into the rule engine for loading, so as to classify the target contract according to the contract object attributes of the target contract and obtain the classification information of the target contract.

[0039] In one embodiment, when classifying the target contract, the contract object attributes of the target contract need to be input into the rule engine, and the rule code matching the contract object attributes is determined by traversing the contract object attributes; and the contract classification corresponding to the rule code matching the contract object attributes is determined. The contract classification is then used as the classification result of the target contract, and according to the classification result, the contract category information is stored in the category field of the target contract.

[0040] In one embodiment, after the contract classification is completed, the server also provides a classification result report query. Specifically, after the classification is completed, the classification information is stored in the category field of the contract model, supporting group display in the contract management function and recording the classification process information.

[0041] The report query function includes the following: Contract classification rule execution statistics: summarize the execution of contracts during this period, including the number of contracts that were successfully executed and the number of contracts that failed to execute. Successful execution contract list: lists the contracts that were successfully executed during this period, including contract number, content, execution results and other information. Failed execution contract list: lists the contracts that failed to execute during this period, also including contract number, content, execution results and other information. Successful execution rate: calculates the ratio of the number of successfully executed contracts to the total number of contracts, reflecting the overall success of contract execution. Failure reason analysis: if there are contracts that failed to execute, analyze the reasons for the failure, which may include rule engine execution failure, illegal contract content, etc. Trend analysis: analyze the trend of contract execution during this period, such as changes in execution success rate, distribution of failure reasons, etc., so as to find potential problems and make timely adjustments. Other supplementary information: according to business needs, it may also include the time distribution of contract execution, detailed description of execution results, regional distribution of contract execution and other information. These contents can help managers understand the execution of contract classification rules, find problems in time and make adjustments. The above execution process refers to the contract classification process.

[0042] In one embodiment, the server also supports exception handling and monitoring. Specifically, during the rule execution process, in order to ensure the stability and reliability of the system, the server provides exception handling and monitoring mechanisms. Among them, exception handling includes rule engine exceptions and contract content exceptions. Rule engine exceptions refer to handling abnormal situations during the execution of the rule engine, such as rule engine unavailability, execution timeout, etc. Retry strategies, downgrade processing, or recording error logs can be adopted. Contract content exceptions refer to situations where the contract content is illegal or cannot be parsed, and appropriate exception handling is required, such as ignoring the contract, recording error information, and notifying relevant personnel.

[0043] Monitoring mechanism: including exception logging, performance monitoring, and alarm monitoring. Exception logging refers to recording abnormal situations during the execution of the rule engine, including error information, occurrence time, etc., for subsequent analysis and troubleshooting. Performance monitoring refers to monitoring the performance indicators of the rule engine, such as execution time, resource consumption, etc., to promptly discover performance problems and optimize them. The alarm mechanism refers to setting alarm rules. When the rule engine executes abnormally or performance degrades, relevant personnel or system administrators are notified in a timely manner so that the problem can be handled in a timely manner.

[0044] like Figure 3As shown, an embodiment of the present application also provides a contract classification device based on a rule engine, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any one of the above embodiments.

[0045] An embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute the method described in any one of the above embodiments.

[0046] Each embodiment in this application 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 device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0047] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0048] 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 adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt 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 include computer-usable program code.

[0049] 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.

[0050] 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.

[0051] 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.

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

[0053] 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.

[0054] 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 transitory media such as modulated data signals and carrier waves.

[0055] 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.

[0056] The above is only an embodiment of the present application and is 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 in the scope of the claims of the present application.

Claims

1. A contract classification method based on rule engine, characterized in that: include: Determine the general contract basic information of the target contract, and use the general contract basic information as the contract object attribute of the target contract; Providing a rule editing area to the user to receive a contract classification rule instruction from the user, and generating a rule code corresponding to the target classification rule based on the contract classification rule instruction; Inputting the rule code into a preset rule parser to convert the rule code into a rule file; The rule file is loaded through a rule engine to classify the target contract to obtain classification information of the target contract.

2. The method according to claim 1, characterized in that The providing of a rule editing area to the user to receive a contract classification rule instruction from the user specifically includes: Providing the user with a rule condition editing area to receive the contract classification rule condition input by the user, wherein the contract classification rule condition is a combination of contract attributes, clauses and logical relationships, and is used to define a matching condition of the rule; A rule action editing area is provided to the user to receive a contract classification rule action input by the user, wherein the contract classification rule action includes at least one of contract classification and contract evaluation.

3. The method according to claim 2, characterized in that Before receiving the contract classification rule condition input by the user, the method further includes: Displaying the stored contract rule templates to the user, and receiving a contract rule template selection request from the user; Based on the contract rule template selection request, presenting the corresponding contract rule template to the condition editing area, so that the user can modify it based on the contract rule template; After receiving the contract classification rule condition input by the user, the method further includes: The contract classification rule conditions are saved as a contract rule template.

4. The method according to claim 2, characterized in that: After receiving the contract classification rule action input by the user, the method further includes: receiving a rule priority setting instruction from a user, and setting the priority of the contract classification rule based on the rule priority setting instruction; When multiple rules are matched at the same time, the execution order of the multiple rules is determined according to the priority of the contract classification rules.

5. The method according to claim 1, characterized in that Before receiving the contract classification rule instruction from the user, the method further includes: Providing rule grammar prompts so that users can write rules according to the rule grammar prompts to avoid grammatical errors; Before generating a rule code corresponding to a target classification rule based on the contract classification rule instruction, the method further includes: Checking the contract classification rule instruction provided by the user to determine whether the contract classification rule instruction complies with syntax; After generating a rule code corresponding to a target classification rule based on the contract classification rule instruction, the method further includes: receiving test data from the user, and generating a test result corresponding to the test data based on the test data and the rule code; The test result is sent to the user, so that the user can modify the contract classification rule instruction according to the test result.

6. The method according to claim 1, characterized in that The loading of the rule file by the rule engine to classify the target contract specifically includes: Inputting the contract object attributes of the target contract into the rule engine; Traversing the contract object attributes to determine a rule code that matches the contract object attributes; Determining a contract classification corresponding to a rule code matching the contract object attribute; The contract classification is used as the classification result of the target contract, and according to the classification result, the contract category information is stored in the category field of the target contract.

7. The method according to claim 6, characterized in that After obtaining the classification information of the target contract, the method further includes: obtaining the contract classification execution information within a preset time period, wherein the contract classification execution information includes classification success contract information and classification failure contract information; the classification success contract information and classification failure contract information include at least one of a contract number, contract content, and execution result; Before the rule engine loads the rule file and classifies the target contract, the method further includes: Determining the classification execution time of the target contract based on the rule file; The target contract is classified based on the classification execution time.

8. The method according to claim 1, characterized in that The contract object attributes include: contract number, contract serial number, contract business number, contract name, general contract type, contract type, default subject type, payment direction, control method, fixed unit price, signing date, contract signing unit number, signatory number, counterparty unit number, counterparty contact person, contract management unit, contract management department, contract administrator, contract handling organization, contract handler, project name, amount in original currency excluding tax, amount in original currency, tolerance amount, currency, exchange rate, amount in local currency excluding tax, amount in local currency, settlement amount, settlement mark, payment amount, payment mark, signing location, start date, end date, approval status, approval process, contract status, system status number, remarks, contract template, seal name, number of attachments, payment terms, person who prepared the document, preparation time, person who modified the document, modification time, change type, change number, change date, person who changed the document, original contract number, whether it is an official version, version number, change status, change description, contract text, confidentiality level, confidentiality level.

9. A contract classification device based on a rule engine, characterized in that: include: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to perform the method as claimed in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Stainless steel order grouping method and system based on rules

    CN103810304A

  • Rule engine implementation method and device

    CN110704037A

  • Job processing method and device based on rule engine and computer equipment

    CN111880921A

  • Offline contract clouding method and system thereof

    CN113660322A

  • Bill generation method and device, storage medium and computer equipment

    CN115563948A