CN112860744A - Business process processing method and device - Google Patents

Business process processing method and device Download PDF

Info

Publication number
CN112860744A
CN112860744A CN202110128974.8A CN202110128974A CN112860744A CN 112860744 A CN112860744 A CN 112860744A CN 202110128974 A CN202110128974 A CN 202110128974A CN 112860744 A CN112860744 A CN 112860744A
Authority
CN
China
Prior art keywords
rule
engine
node
rule engine
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110128974.8A
Other languages
Chinese (zh)
Inventor
赵勇萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dianzhi Technology Co ltd
Original Assignee
Beijing Dianzhi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dianzhi Technology Co ltd filed Critical Beijing Dianzhi Technology Co ltd
Priority to CN202110128974.8A priority Critical patent/CN112860744A/en
Publication of CN112860744A publication Critical patent/CN112860744A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Computational Linguistics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a business process processing method and a business process processing device, and relates to the technical field of computers. A specific implementation mode of the method comprises the steps of receiving a flow instance execution request, calling a workflow engine, and acquiring a corresponding rule engine configuration item in a database according to a preset flow chart; and calling the rule engine, determining the corresponding auditing node identifier in the rule engine based on the task node identifier in the flow chart, so as to set the configuration item in the corresponding auditing node, and further executing the flow example. Therefore, the method and the device can solve the problems of low processing efficiency and poor flexibility of the conventional business process.

Description

Business process processing method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a business process.
Background
With the development of the internet and the popularization of the OA (also called office automation) of the enterprise, the workflow system plays an increasingly important role in the business processing and the cooperative work of the daily work of the enterprise. As the enterprise scale is larger and larger, departments cooperate with each other more and more, and the responsibility division is finer and finer, the workflow system has more and more complex auditing process during the process flow, and the burden of the workflow engine is shared by the intervention of the rule engine.
In the process of implementing the invention, the following problems are found in the prior art at least:
the existing rule engine generally adopts a general rule engine framework (such as drools), has high learning cost and complex configuration, and can not solve the requirement of an approval process business scene optimally. Meanwhile, due to the rapid development of enterprises, the organization and architecture of the enterprises change frequently, so that the business approval process changes frequently, which brings great operation and maintenance workload, and the existing general rule engine on the market cannot support.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for processing a service flow, which can solve the problems of low processing efficiency and poor flexibility of the existing service flow.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, a method for processing a business process is provided, including receiving a process instance execution request, invoking a workflow engine, and obtaining a corresponding rule engine configuration item in a database according to a preset flow chart; calling a rule engine, determining corresponding auditing node identification in the rule engine based on task node identification in the flow chart, so as to set the configuration item in the corresponding auditing node, and further executing the flow example
Optionally, before receiving the process instance execution request, the method includes:
setting an execution rule of a rule engine audit node to add a plurality of rule items under the audit node; wherein the rule items include a rollback rule and a modification rule.
Optionally, setting a return rule of the rule engine auditing node includes:
cutting off the flow downstream of the task node of the return operation, and storing all task nodes of the flow downstream into a memory;
directing the flow to the task node to be returned, further redirecting the flow, and executing commit operation;
and acquiring all task nodes at the downstream of the process in the memory, and re-associating the task nodes with the task nodes.
Optionally, setting a modification rule of the rule engine audit node includes:
injecting a modified attribute identifier into a task node in a workflow engine;
and determining that the task node in the current workflow engine comprises the modified attribute identifier through the rule engine, and further driving the workflow engine to execute commit operation, and simultaneously annotating the tag as the modified operation.
Optionally, after adding a plurality of rule items under the audit node, the method includes:
and calling a preset rule grammar model, and compiling the execution assertion of the rule item so as to store the compiled rule engine based on a preset structure model.
Optionally, storing the written rule engine based on a preset structural model, including:
exporting the rule engine processed based on the preset structure model, and locally storing the rule engine; or
And storing the rule engine processed based on the preset structure model into a database.
Optionally, after adding a plurality of rule items under the audit node, the method includes:
defining an execution type and an execution mode under the execution rule; the execution type is an object type of the execution rule, and the execution mode is a mode of acquiring the object of the execution rule.
In addition, the invention also provides a business process processing device, which comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for receiving the process instance execution request, calling the workflow engine and acquiring the corresponding rule engine configuration item in the database according to the preset flow chart; and the processing module is used for calling the rule engine, determining the corresponding auditing node identifier in the rule engine based on the task node identifier in the flow chart, and setting the configuration item in the corresponding auditing node so as to execute the flow example.
One embodiment of the above invention has the following advantages or benefits: the method comprises the steps of calling a workflow engine, and acquiring a corresponding rule engine configuration item in a database according to a preset flow chart; calling a rule engine, determining a corresponding audit node identifier in the rule engine based on the task node identifier in the flow chart, so as to set the configuration item in the corresponding audit node, and further executing the flow example; therefore, adaptive rule engine configuration is established aiming at the service processing scene of the workflow system, and meanwhile, the function expansibility is strong and the transportability is strong. In addition, the invention introduces the rule engine into the return rule and the modification rule innovatively, thereby simplifying the drawing of the flow chart and efficiently solving the problem of complex business flow. In addition, the rule engine is dynamically injected into the workflow engine, so that hot deployment and quick updating are realized, which cannot be realized by the traditional workflow system. In addition, the assertion judgment of the invention adopts a self-defined set of grammar rules, which is simple, rapid, easy to operate and high in combination degree with the rule engine.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a main flow of a business flow processing method according to one embodiment of the invention;
FIGS. 2-4 are schematic diagrams of the main flow of a rollback rule according to an embodiment of the invention;
FIG. 5 is a schematic diagram of the main flow of modifying rules according to an embodiment of the invention;
6-8 are schematic diagrams of a rules engine configuration page according to an embodiment of the invention;
FIG. 9 is a schematic diagram of the main blocks of a business process processing apparatus according to another embodiment of the present invention;
FIG. 10 is a schematic diagram of the main blocks of a business process processing apparatus according to an embodiment of the present invention;
FIG. 11 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 12 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a business flow processing method according to an embodiment of the present invention, and as shown in fig. 1, the business flow processing method includes:
step S101, receiving a process instance execution request, calling a workflow engine, and acquiring a corresponding rule engine configuration item in a database according to a preset flow chart.
The workflow engine is a part of application systems, and provides core solutions for determining information transfer routes, content levels and the like according to roles, division of labor and conditions, wherein the core solutions have a determining function on each application system. The workflow engine includes important functions of node management, flow direction management, process sample management and the like of the process. The rule engine separates business decisions from application code and writes the business decisions using predefined semantic modules. And receiving data input, interpreting business rules, and making business decisions according to the business rules.
As some embodiments, the task node identification is determined by defining a flow diagram in the workflow engine; determining an identifier of an audit node through a defined rule engine; and the task node identification in the workflow engine is associated with the auditing node identification in the rule engine. Further, the process chart drawing can be completed in the management page, the task node definition in the process is included, and the defined task node is stored in the server. In addition, an audit node identifier key may be defined when a rule engine is defined, in order to implement the docking of the workflow engine and the rule engine, the audit node identifier key is used as a unique identifier for connecting two engines in series, it is required to ensure that a task node id defined in the workflow engine is consistent with the audit node identifier key in the rule engine, and the uniqueness of the audit node identifier key is to be ensured. It can be seen that the task nodes in the workflow engine are associated with the auditing nodes in the rule engine, so that the task nodes in the workflow engine are configured by the rule engine.
And step S102, calling a rule engine, determining a corresponding audit node identifier in the rule engine based on the task node identifier in the flow chart, so as to set the configuration item in the corresponding audit node, and further executing the flow example.
In the embodiment, the configuration of the rule engine and the workflow engine is completed, in the process of executing a process instance, the workflow engine can dynamically acquire the configuration items of the rule engine from the database, so that the dynamic configuration effect of the rule engine is realized, when a business scene is changed, the workflow engine is changed without restarting and redeploying, the changed rule engine can be immediately effective after being stored in the database, and the dynamic and quick change is realized.
In some embodiments, before receiving the process instance execution request, the rule engine may be configured to audit the execution rules of the node to add a plurality of rule items under the audit node. Preferably, the rule items may include a rollback rule and a modification rule. Because the approval process often meets a return rule, but the workflow engine does not have so-called return logic, if the return logic is drawn in the workflow engine flowchart, the workflow engine drawing becomes extremely complex, so that the invention realizes dynamically modifying the process flow circulation line at the bottom layer of the workflow engine through the configuration of the rule engine, and realizes the approval process return service scene. The specific return rules comprise returning the submitter, returning the appointed task node and forbidding the task node to return. In addition, the modification rule of the rule engine node attribute, such as the Skip rule, is set, namely the operation of skipping the task node under the condition of meeting the condition.
Further, a rule engine is configured to audit the return rule of the node, and as shown in fig. 2 to 4, the main flow of the return rule according to the embodiment of the present invention is schematically illustrated: the process downstream of the task node that cuts the return operation stores all task nodes downstream of the process into the memory (as shown in fig. 2). And dynamically pointing the flow to the task node to be returned through code manipulation, draining the flow again, and executing a commit operation, namely the workflow flows to the returned task node (as shown in FIG. 3). Finally, all task nodes downstream of the flow in the memory are acquired and re-associated with the task nodes, that is, the flow line is recovered (as shown in fig. 4). The return rule of the attribute of the audit node configured by the invention ensures that the workflow engine only needs to dynamically read the configuration of the rule engine, and dynamically modifies the flow through codes in the execution process. Therefore, the return rule for auditing the node attributes is more beneficial to maintenance, does not need to be redeployed and online, has low operation and maintenance cost and can be deployed hot.
In addition, the setting of the modification rule of the rule engine audit node, as shown in fig. 5, specifically includes: injecting a modified attribute identifier (e.g., a Skip attribute identifier) to a task node in the workflow engine; determining that the task node in the current workflow engine comprises the modified attribute identification through the rule engine, and then driving the workflow engine to automatically execute a commit operation by the underlying code, wherein a comment tag (comment tag) is a modified operation (such as a Skip operation). The configuration rule engine checks the modification rule of the node attribute, so that the configuration rule engine is more beneficial to maintenance, does not need to be redeployed and online, and has low operation and maintenance cost. Wherein the commit command is used to save the modifications made by the transaction to the database.
As another embodiment, after a plurality of rule items under the audit node are added, a preset rule syntax model may be called, and an execution assertion of the rule item may be written, so that the written rule engine is stored based on a preset structural model.
It should be noted that the interpretation type grammar, i.e. the rule grammar model, judged by the custom assertion of the present invention is simple, fast, easy to use, and has high degree of combination with the rule engine, and the specific grammar rules are, for example:
1. AND the supported operators are AND, OR, ≦ AND ≧ IN, >, IN, NO, IN.
2. Operators are case sensitive.
3. False and True, the Boolean initials, such as: IsChecked ═ False.
Date type, individual markers, such as: startDate ═ DATE (2018-01-02).
5. All fields and data are not "" or "".
IN and NOIN operate as UserName IN (Zhang three, Liqu) with small brackets IN English half-angle.
7. Operators AND variables have no space requirement before, but IN, AND, OR require spaces.
8. The method supports the introduction of results generated by previous rules, wherein a previous node Key is in parentheses, such as: [ stepkey ] ═ 5235
According to the above grammar rules, a simple example is as follows:
"employee with employee ID 5230, or employee with primary department ID equal to 124,598":
UserID=5230OR LevOneDeptName IN(124,598)
it should be further noted that when rule items under the audit node are added, one audit node has multiple rule items, and each rule item has an assertion determination. If the assertion is met, the configuration under the rule item is executed, and a plurality of rule items have sequential attributes, the current rule assertion is triggered, and the subsequent rule items can not be traversed.
Further, storing the written rule engine based on a preset structure model, including: exporting the rule engine processed based on the preset structure model, and locally storing the rule engine; or storing the rule engine processed based on the preset structure model into a database. That is, the written rules engine is stored in a custom standard structure, allowing the model to be exported and stored locally, or directly in the database. Therefore, the multiplexing and the storage of the rule engine can be dynamically and conveniently realized.
It should be noted that, after adding the plurality of rule items under the audit node, the following steps are included: and defining the execution type and the execution mode under the execution rule. The execution type is an object type of the execution rule, and the execution mode is a mode of acquiring the object of the execution rule. For example: defining the execution type under the rule as an auditor obtaining type, wherein the execution mode is an auditor obtaining mode: appointing people, searching through an organization architecture, dynamically assigning business scenes, assigning according to a personnel group, and searching through the organization architecture of the people dynamically assigned according to the business scenes.
As an embodiment, fig. 6 to 8 are schematic diagrams of a rule engine configuration page according to an embodiment of the present invention, and an audit node tree is on the left side of the page, where a node may be added, and a rule may also be added below the node. For example: and adding an audit node, clicking the audit node, adding the name of the audit node and the key of the audit node, and then selecting a return rule and a Skip rule through a drop-down box. And when the return rule selects the return designated node, filling in a returned auditing node key, wherein the auditing node key corresponds to the task node. For example: and adding a rule, selecting a certain audit node, adding an audit rule, and configuring the attribute under the rule by selecting a certain rule. For example: and configuring rule grammar assertion, wherein a rule grammar model is the premise of triggering the rule, and after the rule assertion is hit, corresponding auditors can be found through the rule types set below, so that a designated person is supported, and four types including dynamic search through an organization structure, search through a personnel group and service assignment can also be supported. In addition, the current rule engine can be exported to be stored locally in a json format by clicking the export model, or can be directly clicked and stored, and then the rule engine is stored in the server.
Fig. 9 is a schematic diagram of a main flow of a business flow processing method according to another embodiment of the present invention, where an activti open source workflow engine is used as a basis, Mysql is used as data storage, and a set of customized rule engine framework is used to implement functions of fast building and dynamically modifying a flow rule, where the business flow processing method may include:
determining task node identification by defining a flow chart in an acitiviti workflow engine; and determining the identifier of the auditing node through a defined rule engine. And the task node identification in the workflow engine is associated with the auditing node identification in the rule engine.
Setting a return rule of the node attribute audited by a rule engine, specifically cutting off the flow downstream of a task node of return operation, and storing all task nodes of the flow downstream to a memory; directing the flow to the task node to be returned, redirecting the flow, and executing commit operation; and acquiring all task nodes at the downstream of the process in the memory, and re-associating the task nodes with the task nodes.
Setting a modification rule of a rule engine auditing node attribute, specifically comprising injecting a modification attribute identifier into a task node in a workflow engine; and determining that the task node in the current workflow engine comprises the modified attribute identifier through the rule engine, and further driving the workflow engine to execute commit operation, and simultaneously annotating the tag as the modified operation.
And adding a plurality of rule items under the audit node. And then calling a preset rule grammar model, and writing an execution assertion of the rule item. And defining the execution type and the execution mode under the execution rule. The execution type is an object type of the execution rule, and the execution mode is a mode of acquiring the object of the execution rule. Finally, processing and exporting the compiled rule engine based on a preset structure model, and locally storing the rule engine; or processing the written rule engine based on a preset structure model and directly storing the processed rule engine in a database.
It can be seen that the configuration of the acitiviti workflow engine and the rule engine can be realized through the above process, and then if an execution request of the process instance is received, the acitiviti workflow engine can be called, the corresponding rule engine configuration item in the database is obtained according to the request, and the rule engine is called to perform the configuration so as to execute the process instance.
Fig. 10 is a schematic diagram of main blocks of a business process processing apparatus according to an embodiment of the present invention, and as shown in fig. 10, the business process processing apparatus 1000 includes an obtaining module 1001 and a processing module 1002. The obtaining module 1001 receives a flow instance execution request, invokes a workflow engine, and obtains a corresponding rule engine configuration item in a database according to a preset flow chart; the processing module 1002 invokes the rule engine, and determines the corresponding identifier of the auditing node in the rule engine based on the identifier of the task node in the flowchart, so as to set the configuration item in the corresponding auditing node, and further execute the process instance.
In some embodiments, before the obtaining module 1001 receives the process instance execution request, the method includes: setting an execution rule of a rule engine audit node to add a plurality of rule items under the audit node; wherein the rule items include a rollback rule and a modification rule.
In some embodiments, the obtaining module 1001 sets a rollback rule for the rules engine to audit nodes, including: cutting off the flow downstream of the task node of the return operation, and storing all task nodes of the flow downstream into a memory; directing the flow to the task node to be returned, further redirecting the flow, and executing commit operation; and acquiring all task nodes at the downstream of the process in the memory, and re-associating the task nodes with the task nodes.
In some embodiments, the obtaining module 1001 sets modification rules of the rule engine audit node, including: injecting a modified attribute identifier into a task node in a workflow engine; and determining that the task node in the current workflow engine comprises the modified attribute identifier through the rule engine, and further driving the workflow engine to execute commit operation, and simultaneously annotating the tag as the modified operation.
In some embodiments, after the obtaining module 1001 adds a plurality of rule items under the audit node, the method includes: and calling a preset rule grammar model, and compiling the execution assertion of the rule item so as to store the compiled rule engine based on a preset structure model.
In some embodiments, the obtaining module 1001 stores the written rule engine based on a preset structure model, including: exporting the rule engine processed based on the preset structure model, and locally storing the rule engine; or storing the rule engine processed based on the preset structure model into a database.
In some embodiments, after the obtaining module 1001 adds a plurality of rule items under the audit node, the method includes: defining an execution type and an execution mode under the execution rule; the execution type is an object type of the execution rule, and the execution mode is a mode of acquiring the object of the execution rule.
It should be noted that, the business process processing method and the business process processing apparatus of the present invention have corresponding relationship in the specific implementation content, so the repeated content is not described again.
FIG. 11 illustrates an exemplary system architecture 1100 in which a business process method or business process apparatus of an embodiment of the invention may be applied.
As shown in fig. 11, the system architecture 1100 may include terminal devices 1101, 1102, 1103, a network 1104, and a server 1105. The network 1104 is a medium to provide communication links between the terminal devices 1101, 1102, 1103 and the server 1105. Network 1104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 1101, 1102, 1103 to interact with a server 1105 over a network 1104 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 1101, 1102, 1103.
The terminal devices 1101, 1102, 1103 may be various electronic devices having a business process screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 1105 may be a server providing various services, such as a backend management server (for example only) providing support for users utilizing the terminal devices 1101, 1102, 1103. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the business process processing method provided by the embodiment of the present invention is generally executed by the server 1105, and accordingly, the computing device is generally disposed in the server 1105.
It should be understood that the number of terminal devices, networks, and servers in fig. 11 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 12, shown is a block diagram of a computer system 1200 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 12, the computer system 1200 includes a Central Processing Unit (CPU)1201, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)1202 or a program loaded from a storage section 1208 into a Random Access Memory (RAM) 1203. In the RAM1203, various programs and data necessary for the operation of the computer system 1200 are also stored. The CPU1201, the ROM1202, and the RAM123 are connected to each other by a bus 1204. An input/output (I/O) interface 1205 is also connected to bus 1204.
The following components are connected to the I/O interface 1205: an input section 1206 including a keyboard, a mouse, and the like; an output section 1207 including a signal processing section such as a Cathode Ray Tube (CRT), a liquid crystal service flow processor (LCD), and the like, and a speaker and the like; a storage section 1208 including a hard disk and the like; and a communication section 1209 including a network interface card such as a LAN card, a modem, or the like. The communication section 1209 performs communication processing via a network such as the internet. A driver 1206 is also connected to the I/O interface 1205 as needed. A removable medium 1207 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1206 as necessary, so that a computer program read out therefrom is mounted into the storage section 1208 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 1209, and/or installed from the removable medium 1207. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 1201.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an acquisition module and a processing module. Wherein the names of the modules do not in some cases constitute a limitation of the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs, and when the one or more programs are executed by the device, the device receives a flow instance execution request, calls a workflow engine, and acquires a corresponding rule engine configuration item in a database according to a preset flow chart; and calling the rule engine, determining the corresponding auditing node identifier in the rule engine based on the task node identifier in the flow chart, so as to set the configuration item in the corresponding auditing node, and further executing the flow example.
According to the technical scheme of the embodiment of the invention, the problems of low processing efficiency and poor flexibility of the traditional business process can be solved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A business process processing method is characterized by comprising the following steps:
receiving a flow instance execution request, calling a workflow engine, and acquiring a corresponding rule engine configuration item in a database according to a preset flow chart;
and calling the rule engine, determining the corresponding auditing node identifier in the rule engine based on the task node identifier in the flow chart, so as to set the configuration item in the corresponding auditing node, and further executing the flow example.
2. The method of claim 1, wherein prior to receiving the process instance execution request, comprising:
setting an execution rule of a rule engine audit node to add a plurality of rule items under the audit node; wherein the rule items include a rollback rule and a modification rule.
3. The method of claim 2, wherein setting a rule engine audit node return rule comprises:
cutting off the flow downstream of the task node of the return operation, and storing all task nodes of the flow downstream into a memory;
directing the flow to the task node to be returned, further redirecting the flow, and executing commit operation;
and acquiring all task nodes at the downstream of the process in the memory, and re-associating the task nodes with the task nodes.
4. The method of claim 2, wherein setting modification rules of the rule engine audit node comprises:
injecting a modified attribute identifier into a task node in a workflow engine;
and determining that the task node in the current workflow engine comprises the modified attribute identifier through the rule engine, and further driving the workflow engine to execute commit operation, and simultaneously annotating the tag as the modified operation.
5. The method of claim 2, wherein after adding the plurality of rule items under the audit node, comprising:
and calling a preset rule grammar model, and compiling the execution assertion of the rule item so as to store the compiled rule engine based on a preset structure model.
6. The method of claim 5, wherein storing the compiled rule engine based on a preset structural model comprises:
exporting the rule engine processed based on the preset structure model, and locally storing the rule engine; or
And storing the rule engine processed based on the preset structure model into a database.
7. The method according to any one of claims 2-6, wherein after adding the plurality of rule items under the audit node, comprising:
defining an execution type and an execution mode under the execution rule;
the execution type is an object type of the execution rule, and the execution mode is a mode of acquiring the object of the execution rule.
8. A business process processing apparatus, comprising:
the acquisition module is used for receiving the execution request of the process instance, calling the workflow engine and acquiring the corresponding rule engine configuration item in the database according to a preset flow chart;
and the processing module is used for calling the rule engine, determining the corresponding auditing node identifier in the rule engine based on the task node identifier in the flow chart, and setting the configuration item in the corresponding auditing node so as to execute the flow example.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-8.
CN202110128974.8A 2021-01-29 2021-01-29 Business process processing method and device Pending CN112860744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110128974.8A CN112860744A (en) 2021-01-29 2021-01-29 Business process processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110128974.8A CN112860744A (en) 2021-01-29 2021-01-29 Business process processing method and device

Publications (1)

Publication Number Publication Date
CN112860744A true CN112860744A (en) 2021-05-28

Family

ID=75986940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110128974.8A Pending CN112860744A (en) 2021-01-29 2021-01-29 Business process processing method and device

Country Status (1)

Country Link
CN (1) CN112860744A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114219453A (en) * 2021-12-24 2022-03-22 北京百度网讯科技有限公司 Task processing method and device, electronic equipment and storage medium
CN114565285A (en) * 2022-03-01 2022-05-31 城云科技(中国)有限公司 Flow control method and system
CN115454449A (en) * 2022-09-09 2022-12-09 北京融和友信科技股份有限公司 Method for integrating rule engine by adopting process engine with page configuration
CN115914405A (en) * 2022-11-30 2023-04-04 支付宝(杭州)信息技术有限公司 Service processing method and device
CN116192594A (en) * 2023-04-21 2023-05-30 北京炎黄新星网络科技有限公司 Management method and system of business process arrangement component
CN117372177A (en) * 2023-10-13 2024-01-09 国任财产保险股份有限公司 Novel non-vehicle underwriting core system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090183185A1 (en) * 2008-01-16 2009-07-16 Microsoft Corporation Declarative and Extensible Process Definition
CN102194151A (en) * 2010-03-12 2011-09-21 新奥特(北京)视频技术有限公司 Flow engine system for auditing service flows
CN102542414A (en) * 2011-12-28 2012-07-04 焦点科技股份有限公司 Business process and loose coupling method and system of business data processing based on rule engine
CN108647883A (en) * 2018-05-10 2018-10-12 山东中创软件工程股份有限公司 A kind of business approval method, apparatus, equipment and medium
CN109741030A (en) * 2018-12-28 2019-05-10 杭州当虹科技股份有限公司 A kind of simple workflow engine and workflow executing method can customize configuration
CN110389748A (en) * 2019-06-17 2019-10-29 平安银行股份有限公司 Business data processing method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090183185A1 (en) * 2008-01-16 2009-07-16 Microsoft Corporation Declarative and Extensible Process Definition
CN102194151A (en) * 2010-03-12 2011-09-21 新奥特(北京)视频技术有限公司 Flow engine system for auditing service flows
CN102542414A (en) * 2011-12-28 2012-07-04 焦点科技股份有限公司 Business process and loose coupling method and system of business data processing based on rule engine
CN108647883A (en) * 2018-05-10 2018-10-12 山东中创软件工程股份有限公司 A kind of business approval method, apparatus, equipment and medium
CN109741030A (en) * 2018-12-28 2019-05-10 杭州当虹科技股份有限公司 A kind of simple workflow engine and workflow executing method can customize configuration
CN110389748A (en) * 2019-06-17 2019-10-29 平安银行股份有限公司 Business data processing method and terminal device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114219453A (en) * 2021-12-24 2022-03-22 北京百度网讯科技有限公司 Task processing method and device, electronic equipment and storage medium
CN114565285A (en) * 2022-03-01 2022-05-31 城云科技(中国)有限公司 Flow control method and system
CN115454449A (en) * 2022-09-09 2022-12-09 北京融和友信科技股份有限公司 Method for integrating rule engine by adopting process engine with page configuration
CN115454449B (en) * 2022-09-09 2023-09-05 北京融和友信科技股份有限公司 Method for integrating rule engine by adopting page configuration flow engine
CN115914405A (en) * 2022-11-30 2023-04-04 支付宝(杭州)信息技术有限公司 Service processing method and device
CN116192594A (en) * 2023-04-21 2023-05-30 北京炎黄新星网络科技有限公司 Management method and system of business process arrangement component
CN117372177A (en) * 2023-10-13 2024-01-09 国任财产保险股份有限公司 Novel non-vehicle underwriting core system

Similar Documents

Publication Publication Date Title
CN112860744A (en) Business process processing method and device
CN107832045B (en) Method and apparatus for cross programming language interface conversion
CN111177231A (en) Report generation method and report generation device
CN113626223A (en) Interface calling method and device
CN112817562A (en) Service processing method and device
CN114064925A (en) Knowledge graph construction method, data query method, device, equipment and medium
CN111159207B (en) Information processing method and device
CN108959294A (en) A kind of method and apparatus accessing search engine
CN111382953A (en) Dynamic process generation method and device
CN114610719B (en) Cross-cluster data processing method and device, electronic equipment and storage medium
CN116450723A (en) Data extraction method, device, computer equipment and storage medium
CN109376220A (en) Method and apparatus for obtaining information
CN115543428A (en) Simulated data generation method and device based on strategy template
CN110209695A (en) Method and apparatus towards multilingual data buffer storage
CN114399259A (en) Employee data processing method and device
CN110109947A (en) The method and apparatus for extracting data
CN114896244A (en) Method, device and equipment for configuring database table and computer readable medium
CN114003717A (en) Data processing method and device, electronic equipment and storage medium
CN103092942A (en) Client-side, method and system for inquiring, obtaining and showing information
CN109299223B (en) Method and device for inquiring instruction
CN113779945A (en) Method and device for generating file
CN113515285A (en) Method and device for generating real-time calculation logic data
CN112988778A (en) Method and device for processing database query script
CN111127077A (en) Recommendation method and device based on stream computing
CN112131287A (en) Method and device for reading data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210528