Examination and approval method and system based on rule implementation

Through rules-based approval methods and systems, automated calculations are used to use workflow engines and rules engines to solve the complex problems of government approval processes and improve approval efficiency and user experience.

CN119205037AInactive Publication Date: 2024-12-27CAPINFO CO LTD

Patent Information

Application Number
CN202411698138.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2024-12-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing government approval process is complex, and centralized approval and comprehensive business approval cannot be achieved, user experience is poor, approval efficiency is low, and efficient coordination cannot be achieved.

Method used

Rules-based approval methods and systems are adopted to obtain government approval matters, determine whether to use the workflow engine or an automated approval process, and call the rule engine for automated calculations to realize intelligent management and automatic execution of the approval process.

Benefits of technology

It improves the approval efficiency and user experience, realizes intelligent management and automatic execution of the approval process, and solves the problems of low approval efficiency and poor user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119205037A_ABST
    Figure CN119205037A_ABST
Patent Text Reader

Abstract

The invention provides a rule-based approval method and system, which is applied to a server, and comprises the following steps: obtaining a government affair approval item, the government affair approval item comprising business basic data and business characteristic data; reading service approval parameters according to government affair approval items; judging whether a workflow engine is adopted or not according to the service approval parameters; if yes, calling a workflow engine, creating an approval process, starting the approval process, and generating a to-do task list according to the process permission; if not, calling an automatic examination and approval process, and executing the automatic examination and approval process; after the workflow engine or the automatic approval process is finished, an approval completion result is stored in a historical approval result database; intelligent management and automatic execution of the approval process are realized, and the approval efficiency and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a rule-based approval method and system. Background Art

[0002] With the expansion of e-government business and the increasing complexity of business processes, the approval process has become an indispensable part of government operations. When government agencies such as finance, housing provident funds, and social security formulate approval rules for approval scenarios, they will implement different approval flows based on the classification of business or the actual conditions of some specific scenarios.

[0003] The business approval process is as follows: Government services are classified by business, and different business subsystems are built, such as: collection, withdrawal and loan, etc.; in the business approval process, different businesses are applied for from different channels and application information is saved; counter business is generally approved on-site, first manually verify the documents, the system associates collaborative data, calculates acceptance qualifications and application amounts, and finally returns the acceptance results and prints acceptance documents; other channels are generally filled in by applicants and submitted. For simple business systems, the system associates collaborative data, calculates acceptance qualifications, and feedbacks acceptance results; for complex businesses, only the application is saved, and the applicant is reminded to wait for the specified time, and then each business approver inquires about the pending approval information from time to time, conducts manual background approval, and feedbacks the applicant's results through information channels after approval.

[0004] However, as the size of the organization expands, the approval process becomes increasingly complex. The above approval process has the following problems: it cannot centrally approve and cannot achieve comprehensive business approval; it has poor integration with workflow approval and poor user experience; the approval efficiency is low and efficient collaboration cannot be implemented. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide an approval method and system based on rule implementation, so as to realize intelligent management and automatic execution of the approval process and improve approval efficiency and user experience.

[0006] In a first aspect, an embodiment of the present invention provides a rule-based approval method, which is applied to a server, and the method includes: Obtaining government approval items, including business basic data and business feature data; Read the business approval parameters according to the government approval items; Determine whether to use a workflow engine according to the business approval parameters; If yes, then calling the workflow engine, creating an approval process, starting the approval process, and generating a to-do task list according to the process authority; If not, calling the automated approval process, and calling the rule engine according to the automated approval process to convert the business feature data into a Java object; transmitting the Java object and the business basic data to the rule engine for automated approval calculation; When the workflow engine or the automated approval process is completed, the approval completion result is saved in a historical approval result database.

[0007] Further, executing the automated approval process includes: If the current approval stage is manual approval, the business form and business attachment list will be displayed; If the business feature data is approved, a collaborative query real-time task for the business feature data is created; When the collaborative query real-time task is completed, the collaborative query result of the business feature data is saved in the government approval matter, and the relationship between the collaborative query result of the business feature data, the query time, the effective period and the approval task is recorded; When the collaborative query real-time task has not been effectively completed, a feature data collaborative query reservation task is generated; When the system time reaches the appointment time, the appointment task is collaboratively queried again through the characteristic data collaborative query, and the unfinished automatic approval task is continued; When the collaboration fails to complete the query effectively for multiple times, the maximum number of collaborative queries is configured according to the business approval parameters; When the maximum number of collaborative inquiries is exceeded, the inquiry will be automatically transferred to manual special approval.

[0008] Further, the Java object and the basic business data are transmitted to the rule engine for automated approval calculation, including: The Java object and the basic business data are transmitted to the rule engine, and the rule engine performs automatic field verification through a basic rule set; When the verification is passed, a specific business rule set is dynamically loaded according to the application type of the Java object and the business basic data to perform business logic processing; When the processing is completed, a risk assessment rule set is used to perform risk assessment on the Java object and the business basic data to obtain an assessment result.

[0009] Furthermore, the method further comprises: Supplement the government affairs approval items and obtain the supplemented government affairs approval items; Determine whether the business feature data in the supplemented government affairs approval items are complete; If yes, it is stored in the pending approval tasks list.

[0010] Furthermore, before determining whether to use the workflow engine according to the business approval parameters, the method further includes: Performing external collaborative verification on the business basic data according to the business approval parameters, and creating a collaborative query task for the business basic data for collaborative query; When the collaborative query is completed, the collaborative query result is saved, and the association between the collaborative query result, query time, effective period and approval task is recorded.

[0011] Furthermore, the method further comprises: When an exception occurs in automatic approval or the rule engine feedback is abnormal, the system will transfer the approval exception link to the manual processing function and save it to the task awaiting manual approval.

[0012] Furthermore, the method further comprises: When the workflow engine or the automated approval process is completed, an electronic receipt template is called to generate a corresponding receipt according to the business basic data, the business feature data and the approval completion result.

[0013] Furthermore, the method further comprises: When the workflow engine or the automated approval process is finished, the business basic data and the approval completion result are sent to the client through the customer information of the business basic data and the message reminder function is called.

[0014] In a second aspect, an embodiment of the present invention provides a rule-based approval system, which is applied to a server, and the system includes: An acquisition module is used to acquire government approval items, wherein the government approval items include business basic data and business feature data; A reading module, used to read business approval parameters according to the government approval items; A judgment module, used to judge whether to use a workflow engine according to the business approval parameters; A calling module, used to call the workflow engine, create an approval process, start the approval process, and generate a to-do task list according to the process authority when the workflow engine is adopted; An execution module is used to call the automated approval process without using the workflow engine, and call the rule engine according to the automated approval process to convert the business feature data into a Java object; and transmit the Java object and the business basic data to the rule engine for automated approval calculation; The saving module is used to save the approval completion result into the historical approval result database after the workflow engine or the automated approval process is completed.

[0015] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method described above when executing the computer program.

[0016] The embodiment of the present invention provides a rule-based approval method and system, which is applied to a server, including: obtaining government approval matters, which include business basic data and business feature data; reading business approval parameters according to the government approval matters; judging whether to adopt a workflow engine according to the business approval parameters; if yes, calling the workflow engine, creating an approval process, starting the approval process, and generating a to-do task list according to the process authority; if not, calling the automated approval process and executing the automated approval process; when the workflow engine or the automated approval process ends, saving the approval completion result in a historical approval result database; realizing intelligent management and automatic execution of the approval process, and improving approval efficiency and user experience.

[0017] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0018] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A flowchart of a rule-based approval method provided in Example 1 of the present invention; Figure 2 A schematic diagram of the approval process based on rules provided in the first embodiment of the present invention; Figure 3 A flowchart of another rule-based approval method provided in Embodiment 2 of the present invention; Figure 4 This is a schematic diagram of a rule-based approval system provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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.

[0022] To facilitate understanding of this embodiment, the embodiment of the present invention is described in detail below.

[0023] Embodiment 1: Figure 1 This is a flow chart of the rule-based approval method provided in Example 1 of the present invention.

[0024] Reference Figure 1 , applied to a server, the method comprises the following steps: Step S101, obtaining government approval items, which include business basic data and business feature data; Specifically, the basic business data includes but is not limited to: business type, business acceptance time, business acceptance channel, service items, service commitment completion time, customer service type and customer information.

[0025] Business feature data includes but is not limited to: business quantity, business amount, business description, service scope, business form template, business package object and business attachment list, where the business package object is in the lightweight data exchange format JSON, markup extensible language XML or serialized Java object string format, and the business attachment list is an unstructured file list or file system number list stored in an array form.

[0026] Step S102, reading business approval parameters according to government approval items; Here, the business approval parameters are read according to the government approval items to determine whether the government approval items are executed through the workflow engine or according to the fixed automatic approval process.

[0027] Step S103, judging whether to use a workflow engine according to business approval parameters; Step S104, if yes, then call the workflow engine, create an approval process, start the approval process, and generate a to-do task list according to the process authority; Specifically, when executing the approval process through the workflow engine, the workflow engine template corresponding to the business matter is called, the approval process is created, and the approval process is started. After the workflow is started, the system generates a list of pending tasks based on the process authority and notifies the approval personnel of the relevant departments.

[0028] For each process node of the workflow, if it is an automatic logical node, the automatic approval function can be called.

[0029] If the approval is not performed through the workflow engine, the system reads the automatic approval steps in the business approval parameters and calls the automatic approval function according to the steps. User login, role assignment and permission management functions are integrated into the automatic approval process, and the workflow engine also integrates role authorization and user authorization.

[0030] Step S105, if not, call the automated approval process, and call the rule engine according to the automated approval process to convert the business feature data into a Java object; transmit the Java object and the business basic data to the rule engine for automated approval calculation; Step S106: When the workflow engine or automated approval process is completed, the approval completion result is saved in the historical approval result database.

[0031] Further, step S105 includes the following steps: Step S201, if the current approval stage is manual approval, then the business form and the business attachment list are displayed; wherein the content of the business form is converted and displayed from the business approval feature data.

[0032] Step S202, if the business feature data is approved, a collaborative query real-time task for the business feature data is created; Step S203, when the collaborative query real-time task is completed, the collaborative query result of the business feature data is saved in the government approval items, and the relationship between the collaborative query result of the business feature data, the query time, the effective period and the approval task is recorded; Step S204, when the collaborative query real-time task has not been effectively completed, generating a feature data collaborative query appointment task; Step S205, when the system time reaches the appointment time, the appointment task is collaboratively queried again through the characteristic data collaborative query, and the unfinished automatic approval task is continued to be executed; Here, business approval personnel can also manually click on the collaborative query function to query in real time.

[0033] Step S206, when the collaborative query fails to complete effectively for multiple times, the maximum number of collaborative queries is configured according to the business approval parameters; Step S207: When the maximum number of collaborative inquiries is exceeded, the inquiry will be automatically transferred to manual special approval.

[0034] Further, the Java object and business basic data are transmitted to the rule engine for automated approval calculation, including the following steps: Step S301, transferring the Java object and business basic data to the rule engine, and the rule engine performs automatic field verification through the basic rule set; Step S302, when the verification is passed, dynamically load a specific business rule set according to the application type of the Java object and the business basic data to perform business logic processing; Step S303, after the processing is completed, a risk assessment rule set is used to perform risk assessment on the Java object and the business basic data to obtain an assessment result.

[0035] Specifically, when executing the automatic approval function, in addition to external collaborative verification, the rule engine can also be called to calculate the approval results. The rule engine implements process-based rule calculation through graphical drag and drop and parameter configuration.

[0036] When the rule engine is called, the system will convert the approval business feature data into a Java object, and then transmit it to the rule engine together with the basic data for automated approval. When the rule engine performs approval calculations, in addition to reading the approval basic data and business feature data, it also includes the stored collaborative query database containing approval objects. The specific implementation process is as follows: The rule engine can use three levels of rule sets to perform automated approval calculations on Java objects and business basic data.

[0037] The basic rule set (first-level rule set) is mainly responsible for processing common rules for all business data, such as verifying the integrity of business data, basic conditions of business data, etc. The basic rule set can realize automatic field validation, including non-null check, data type check and format validation, etc.

[0038] Specific business rule sets (secondary rule sets) set specific business rules for different types. Specific business rule sets dynamically load corresponding rule sets according to application types to achieve differentiated processing of business logic.

[0039] The risk assessment rule set (level 3 rule set) conducts risk assessment on Java objects and business basic data to identify potential fraudulent behavior or high-risk business data. The risk assessment rule set can use machine learning models to analyze application behavior and identify abnormal patterns in combination with historical data.

[0040] The execution of each level of rule set depends on the result of the previous level of rule set, that is, only when the first level of rule set is verified, the execution of the second level of rule set will be triggered; when the second level of rule set is processed, the execution of the third level of rule set will be triggered.

[0041] This application uses conditional statements and event triggering mechanisms to implement the logical relationship between rule sets. In addition, for complex approval situations, other rule sets are allowed to be nested within a rule set to form a recursive structure.

[0042] When an exception occurs in automatic approval or the rule engine feedback is abnormal, the system will transfer the approval exception link to the manual processing function, and save it to the task awaiting manual approval, and remind relevant personnel to handle the approval through messages.

[0043] When the multi-level approval of non-workflow approval is completed, or the approval process of the workflow engine is completed, the system will save the approval completion results to the historical approval result database, recording the approval results and approval time, etc.

[0044] Furthermore, the method further comprises the following steps: Step S401, supplementing the government affairs approval items to obtain supplemented government affairs approval items; Step S402, determining whether the business feature data in the supplemented government affairs approval items are complete; Step S403: If yes, store it in the list of tasks to be approved.

[0045] Specifically, the server receives the government affairs approval items sent by the client, and reads the system parameters of the government affairs approval items according to the classification of the government affairs approval items. The system parameters include the item name, service commitment completion time, and business form template.

[0046] Based on the government affairs approval matters received, including business basic data and business characteristic data, other data are supplemented and improved, such as business acceptance time, business acceptance channels and other acceptance and approval characteristic data.

[0047] According to the supplemented government approval items, determine whether the business feature data is complete, based on the data format of each information item that does not meet the business form template, the necessary information items are complete, and the information items meet the requirements. Then store it in the centralized list of pending approval tasks.

[0048] Furthermore, before determining whether to use the workflow engine according to the business approval parameters, the method further includes the following steps: Step S501, external collaborative verification of business basic data is performed according to business approval parameters, and a collaborative query task of the business basic data is created for collaborative query; Step S502, when the collaborative query is completed, the collaborative query result is saved, and the association between the collaborative query result, query time, effective period and approval task is recorded.

[0049] Furthermore, the method further comprises the following steps: When an exception occurs in automatic approval or the rule engine feedback is abnormal, the system will transfer the approval exception link to the manual processing function and save it to the task awaiting manual approval.

[0050] Furthermore, the method further comprises the following steps: When the workflow engine or automated approval process is completed (where an electronic receipt is required), the electronic receipt template is called to generate the corresponding receipt based on the business basic data, business feature data, and approval completion results.

[0051] Furthermore, the method further comprises the following steps: When the workflow engine or automated approval process is completed (approval reminder is required), the business basic data and approval completion results are sent to the client by calling the message reminder function through the customer information of the business basic data.

[0052] Reference Figure 2 By integrating the rule engine, the intelligent management and automatic execution of the approval process can be achieved, which is conducive to the requirements of system security, high performance, and high availability, and is also conducive to showing complete and clear approval process data to customers.

[0053] The system is built on the Spring Cloud microservice architecture, which has multiple microservice modules. The system can provide multiple internal business services and multiple external business services, and can be connected to various government business platforms. The infrastructure part of the system provides multiple service governance and service operation and maintenance capabilities.

[0054] The system can provide an efficient, reliable and stable data source for business systems and data analysis systems. The underlying system encapsulates a series of services including data caching, data storage and data computing.

[0055] Among them, data cache includes user information, form information, approval attachment material information, and receipt information; data storage includes collaborative approval basis data, approval behavior data, business data, and approval data; data calculation includes business approval, user collaboration, and query statistics.

[0056] This application solves the problem of decentralized association of businesses awaiting approval and realizes centralized approval by centralizing the objects awaiting approval from all channels and all businesses, and then setting up the calculation process based on business authorization and automatic approval parameters.

[0057] This application standardizes the above content by summarizing the approval data into basic approval data and business feature data, and combines the approval form template and approval attachment list to solve the problem of differentiated business management approval. Through the division of approval process authority and automatic approval function, it is possible to achieve approval without multiple manual posts.

[0058] This application integrates the workflow engine to encapsulate the basic data and business feature data of the approval data with the workflow, and then encapsulates the approval content form and displays the attachment list based on the role and permission calculation process, so that the graphical approval process can be viewed, thereby improving the user experience.

[0059] This application integrates rule engine technology and automatically performs external collaborative data queries to achieve automatic approval, solve the problem of low approval efficiency, and realize efficient data collaboration.

[0060] This application stores the approval process by integrating the workflow engine, and also realizes automatic approval process management for non-workflow approval. It solves the problem of not reflecting the approval process by displaying the approval process in data and graphics. At the same time, the historical process of external collaborative query results is stored in a timely manner, solving the problem of not recording the basis for approval.

[0061] This application integrates the rule engine and workflow engine to achieve flexible definition of the business approval process, and controls the effective time of the version, solving the problem of needing to stop business to modify the approval rules. It improves the flexibility and integrity of business approval control and better adapts to the subsequent needs of business development.

[0062] Embodiment 2: Figure 3 A flowchart of another rule-based approval method provided in Embodiment 2 of the present invention; Reference Figure 3 , the method comprises the following steps: Step S601, obtaining government approval items; Step S602, approving business basic data / business feature data; Step S603, aggregate and centralize approval tasks; Step S604, performing an advance collaborative query based on the business basic data; Step S605, judging whether to use a workflow engine according to the business approval parameters; Step S606: If yes, call the workflow engine, create an approval process and start the process, and forward the to-do task list according to the authority; Step S607, if not, adopt an automated approval process; Step S608, manual approval based on collaborative data; Step S609, calling the rule engine for automatic approval; Step S610, performing collaborative query based on business feature data; Step S611, if the coordinated query is not timely, regular supplementary query is performed; Step S612: When the automatic approval is abnormal or the rule engine feedback is abnormal, manual intervention is required; Step S613, generating a multi-level approval result; Step S614, generating an electronic receipt and an approval result reminder.

[0063] Embodiment three: Figure 4This is a schematic diagram of a rule-based approval system provided in Embodiment 3 of the present invention.

[0064] Reference Figure 4 , applied to the server, the system includes: The acquisition module is used to obtain government approval items, which include business basic data and business feature data; The reading module is used to read the business approval parameters according to the government approval items; A judgment module is used to judge whether to use the workflow engine according to business approval parameters; A calling module is used to call the workflow engine, create an approval process, start the approval process, and generate a to-do task list according to the process authority when the workflow engine is used; The execution module is used to call the automated approval process without using a workflow engine, and call the rule engine according to the automated approval process to convert the business feature data into Java objects; transmit the Java objects and business basic data to the rule engine for automated approval calculation; The saving module is used to save the approval completion results to the historical approval result database after the workflow engine or the automated approval process is completed.

[0065] In this embodiment, the method of recording the basis for approval during the automatic approval process may adopt a method of not centrally saving the results of external collaborative queries. The approval basis may be stored together with each business, that is, each business data reserves information items for external collaborative query results, including external collaborative query time, query results, validity period and other items. After the business conducts external collaborative query and the approval is completed, the collaborative results will be called back to each business for saving, and the external collaborative status mark will be modified. This method is an alternative solution for replacing the centralized storage of the approval basis function with decentralized storage.

[0066] The system includes a centralized approval platform, a rule engine module, integrated workflow, automated approval process, exception handling and manual intervention mechanism, specifically: The system has centralized approval functions, including a unified acceptance portal regardless of business, unified management, support for multiple users, and authority allocation by role.

[0067] The system has the function of customizing approval rules. The rule engine supports defining approval rules through a graphical interface to achieve flexible configuration of the approval process.

[0068] The system has an automated approval function. By setting approval links, it automatically arranges approval nodes and supports approval rollback function.

[0069] The system supports real-time external collaborative query of approval basis, and also supports the function of automatic multiple compensation query of approval basis when the collaborative result is uncertain. By setting the number of compensation times and compensation processing time periods and intervals, the automatic machine review function is achieved, and it supports the function of retaining the approval basis history.

[0070] The system supports exception handling and manual intervention mechanisms, and can automatically trigger the manual review process function when the rule engine cannot make a decision or the automatic approval process is abnormal.

[0071] The system has the ability to quickly respond to business changes. By embedding a workflow engine and a rule engine, it can quickly respond to changes in business processes, modify business approval processes and rules, and achieve non-stop response to business changes.

[0072] An embodiment of the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the rule-based approval method provided in the above embodiment are implemented.

[0073] An embodiment of the present invention further provides a computer-readable medium having a non-volatile program code executable by a processor, wherein a computer program is stored on the computer-readable medium, and when the computer program is executed by the processor, the steps of the approval method based on rule implementation of the above embodiment are executed.

[0074] The computer program product provided in the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment and will not be repeated here.

[0075] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0076] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0077] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0078] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0079] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A rule-based approval method, characterized in that: Applied to a server, the method comprises: Obtaining government approval items, including business basic data and business feature data; Reading business approval parameters according to the government approval items; Determine whether to use a workflow engine according to the business approval parameters; If yes, then calling the workflow engine, creating an approval process, starting the approval process, and generating a to-do task list according to the process authority; If not, calling the automated approval process, and calling the rule engine according to the automated approval process to convert the business feature data into a Java object; transmitting the Java object and the business basic data to the rule engine for automated approval calculation; When the workflow engine or the automated approval process is completed, the approval completion result is saved in a historical approval result database.

2. The rule-based approval method according to claim 1, characterized in that: Execute the automated approval process, including: If the current approval stage is manual approval, the business form and business attachment list will be displayed; If the business feature data is approved, a collaborative query real-time task for the business feature data is created; When the collaborative query real-time task is completed, the collaborative query result of the business feature data is saved in the government approval matter, and the relationship between the collaborative query result of the business feature data, the query time, the effective period and the approval task is recorded; When the collaborative query real-time task has not been effectively completed, a feature data collaborative query reservation task is generated; When the system time reaches the appointment time, the appointment task is collaboratively queried again through the characteristic data collaborative query, and the unfinished automatic approval task is continued; When the collaboration fails to complete the query effectively for multiple times, the maximum number of collaborative queries is configured according to the business approval parameters; When the maximum number of collaborative inquiries is exceeded, the inquiry will be automatically transferred to manual special approval.

3. The rule-based approval method according to claim 1, characterized in that: The Java object and the basic business data are transmitted to the rule engine for automatic approval calculation, including: The Java object and the basic business data are transmitted to the rule engine, and the rule engine performs automatic field verification through a basic rule set; When the verification is passed, a specific business rule set is dynamically loaded according to the application type of the Java object and the business basic data to perform business logic processing; When the processing is completed, a risk assessment rule set is used to perform risk assessment on the Java object and the business basic data to obtain an assessment result.

4. The rule-based approval method according to claim 1, characterized in that: The method further comprises: Supplement the government affairs approval items and obtain the supplemented government affairs approval items; Determine whether the business feature data in the supplemented government affairs approval items are complete; If yes, it is stored in the pending approval tasks list.

5. The rule-based approval method according to claim 1, characterized in that: Before determining whether to use a workflow engine according to the business approval parameters, the method further includes: Performing external collaborative verification on the business basic data according to the business approval parameters, and creating a collaborative query task for the business basic data for collaborative query; When the collaborative query is completed, the collaborative query result is saved, and the association between the collaborative query result, query time, effective period and approval task is recorded.

6. The rule-based approval method according to claim 1, characterized in that: The method further comprises: When an exception occurs in automatic approval or the rule engine feedback is abnormal, the system will transfer the approval exception link to the manual processing function and save it to the task awaiting manual approval.

7. The rule-based approval method according to claim 1, characterized in that: The method further comprises: When the workflow engine or the automated approval process is completed, an electronic receipt template is called to generate a corresponding receipt according to the business basic data, the business feature data and the approval completion result.

8. The rule-based approval method according to claim 1, characterized in that: The method further comprises: When the workflow engine or the automated approval process is finished, the business basic data and the approval completion result are sent to the client through the customer information of the business basic data and the message reminder function is called.

9. A rule-based approval system, characterized in that: Applied to a server, the system comprises: An acquisition module is used to acquire government approval items, wherein the government approval items include business basic data and business feature data; A reading module, used to read business approval parameters according to the government approval items; A judgment module, used to judge whether to use a workflow engine according to the business approval parameters; A calling module, used to call the workflow engine, create an approval process, start the approval process, and generate a to-do task list according to the process authority when the workflow engine is adopted; An execution module is used to call the automated approval process without using the workflow engine, and call the rule engine according to the automated approval process to convert the business feature data into a Java object; and transmit the Java object and the business basic data to the rule engine for automated approval calculation; The saving module is used to save the approval completion result into the historical approval result database after the workflow engine or the automated approval process is completed.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Administrative information mobile approval management system

    CN102521693A

  • Business approval processing method, device and system

    CN108346028A

  • Government affair approval method, government affair approval system and electronic equipment

    CN111275393A

  • Jbpm-based workflow improvement method and device for examination and approval

    CN112508535A

  • Intelligent office system

    CN115063096A

Cited By

  • Data processing method for decision engine

    CN120088053A

  • Enterprise business system change application approval method, apparatus and device, and storage medium

    CN121010337A