Process processing method and device, equipment and storage medium
By simplifying flowcharts into multiple components and table management, the problem of complex process management in information systems is solved, enabling flexible modification and efficient management of processes, and reducing maintenance costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2023-01-10
- Publication Date
- 2026-06-05
AI Technical Summary
Existing information systems suffer from complex process management, making it difficult to flexibly respond to iterative changes in business processes, resulting in high system management costs and logical confusion.
The flowchart is simplified into multiple components, generating a process routing table, a process role table, and a personnel role table. The process is managed through tables, supporting flexible modification and management. The process adaptability is enhanced by using a process pre-action table and a process post-action table.
It achieves flexibility and simplicity in process management, reduces the impact of process modifications on the overall logic, lowers maintenance costs, and improves the expressiveness and adaptability of flowcharts.
Smart Images

Figure CN116070891B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the fields of information technology and fintech, and more particularly to a process method, apparatus, device and storage medium. Background Technology
[0002] With the development of the times, the concept of "letting data do the legwork so that the public doesn't have to" has taken root in people's hearts. The obvious change brought about by this is that various business processing matters are becoming increasingly clear, and workflows are being used more and more frequently in information systems. Because workflows in information systems are strongly correlated with business processing procedures, but in reality, business processing procedures often iterate and change continuously with actual management requirements, leading to constant modifications to the processes in the information system, increasing the complexity and cost of system management.
[0003] Currently, automated management system processes mainly employ three approaches: First, the state machine method. This method uses several fields to record the current state value. Each time the process changes, the state value is updated to record the process state. The state machine method is suitable for simple processes; for multiple processes, a separate table is used to record the process state. Second, the general process design method. This method uses a workflow engine to solve process problems. It uniformly organizes and analyzes all known processes, drawing a flowchart that includes all process scenarios. Each change in the process is calculated by the workflow engine and then adjusted according to the flowchart. Third, the specialized process design method. This method uses a workflow engine to solve process problems, drawing a separate flowchart for each business process, designing and handling each process individually.
[0004] State machines are only suitable for simple processes. For complex processes, using state machines requires the business logic layer to consider not only changes in business logic but also changes in process states, often leading to high code complexity and logical confusion. General process design, by introducing a workflow engine, eliminates the need for the business logic layer to consider process state changes, allowing it to focus on business logic. This method is easy to implement, but when any process is modified, the impact is global due to the general design, potentially affecting other processes. Furthermore, when a new process emerges, it may not integrate with existing processes, requiring a redesign of new process branches, further complicating the flowchart. Specialized process design, because it designs and develops specifically for each process, means that modifications to one process often do not affect others. New processes are also developed separately, resulting in good isolation between processes; a modification to one process will not affect others. However, this method involves more code and has higher maintenance costs. Summary of the Invention
[0005] In view of the above problems, this disclosure provides process processing methods, apparatus, equipment and storage media.
[0006] According to a first aspect of this disclosure, a process processing method is provided, comprising: extracting the constituent elements of a flowchart, the constituent elements including process steps, execution roles, and personnel; generating a step routing table, a step role table, and a personnel role table based on the process logic of the flowchart, the step routing table recording the matching relationship between each process step and the next process step, the step role table recording the execution roles of each process step, and the personnel role table recording the personnel who perform the execution roles; responding to a process action request, matching the personnel corresponding to the execution role of the current process step based on the step role table and the personnel role table, and executing the current process step; matching the next process step of the current process step based on the step routing table, and repeating the previous step until the flowchart is completed.
[0007] According to embodiments of this disclosure, the elements of the process routing table include a current process stage number, a next process stage number, a first matching value, and a routing value. The first matching value represents the result of matching the current process stage and the next process stage based on a first preset condition, and the routing value represents the path from the current process stage to the next process stage. Matching the next process stage based on the process routing table includes: obtaining the first matching value based on the first preset condition; and obtaining the routing value corresponding to the first matching value from the process routing table to obtain the next process stage matching the current process stage.
[0008] According to an embodiment of this disclosure, the method further includes: generating a pre-process action table based on the process logic of the flowchart; wherein the pre-process action table records the current process step, the second matching value and the pre-process action corresponding to the second matching value, and the second matching value represents the result of condition matching based on the second preset condition before executing the current process step, used to determine whether the first preset condition needs to be modified based on the pre-process action.
[0009] According to an embodiment of this disclosure, before executing the current process step, the method further includes: obtaining the second matching value based on the second preset condition; when the second matching value satisfies the preceding condition, executing the preceding action, the preceding action being used to change the first preset condition, so that the next process step is changed according to the first preset condition; when the second matching value does not satisfy the preceding condition, executing the current process step.
[0010] According to an embodiment of this disclosure, the method further includes: generating a step-by-step action table based on the process logic of the flowchart; wherein the step-by-step action table records the current process step, the next process step, a third matching value, and the step-by-step action corresponding to the third matching value, wherein the third matching value represents the result of condition matching based on a third preset condition before entering the next process step after the current process step ends, and is used to determine whether the next process step needs to be changed based on the step-by-step action.
[0011] According to an embodiment of this disclosure, after the current process step is completed, the method further includes: obtaining the third matching value based on the third preset condition; when the third matching value meets the subsequent condition, performing a subsequent action, the subsequent action being used to modify the routing value and change the next process step; when the third matching value does not meet the subsequent condition, entering the next process step that was originally successfully matched.
[0012] According to an embodiment of this disclosure, the method further includes: when the flowchart changes, modifying the process routing table, the process role table, and the personnel role table based on the change logic.
[0013] Another aspect of this disclosure provides a process processing apparatus, comprising: a process element extraction module for extracting constituent elements of a flowchart, the constituent elements including process steps, execution roles, and personnel; a relationship table generation module for generating a step routing table, a step role table, and a personnel role table based on the process logic of the flowchart, the step routing table recording the matching relationship between each process step and the next process step, the step role table recording the execution roles of each process step, and the personnel role table recording the personnel who perform the execution roles; an action request execution module for responding to a process action request, matching the personnel corresponding to the execution role of the current process step based on the step role table and the personnel role table, and executing the current process step; and a process progress advancement module for matching the next process step of the current process step based on the step routing table, repeating the previous step, until the flowchart is completed.
[0014] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the methods described above.
[0015] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the methods described above.
[0016] According to the process processing method, apparatus, equipment, and storage medium provided in this disclosure, by simplifying the process into multiple component elements, various tables reflecting the process logic are generated based on these component elements. Managing the process through these tables makes the expression of the process more flexible and facilitates its management and modification. According to this method, when the process changes, some process logic can be modified by adjusting the step routing table; the operation is simple and does not affect the overall logic. Attached Figure Description
[0017] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0018] Figure 1 This illustration schematically depicts an application scenario of a process processing method, apparatus, device, and storage medium according to embodiments of the present disclosure;
[0019] Figure 2 A flowchart illustrating a process processing method according to an embodiment of the present disclosure is shown schematically.
[0020] Figure 3A An example flowchart is illustrated schematically according to an embodiment of the present disclosure;
[0021] Figure 3B An example flowchart is illustrated schematically according to an embodiment of the present disclosure;
[0022] Figure 4 A schematic block diagram of a process processing apparatus according to embodiments of the present disclosure is shown; and
[0023] Figure 5 A block diagram schematically illustrates an electronic device suitable for implementing a process processing method according to an embodiment of the present disclosure. Detailed Implementation
[0024] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0025] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0026] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0027] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).
[0028] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, and application of data (including but not limited to user personal information) comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals.
[0029] The embodiments of this disclosure provide a process processing method that simplifies the process into multiple components, generates multiple tables reflecting the process logic based on the components, and manages the process through tables, making the expression of the process more flexible and facilitating the modification and management of the process.
[0030] Figure 1 The diagram illustrates an application scenario of the process processing method and apparatus according to embodiments of the present disclosure.
[0031] like Figure 1 As shown, application scenario 100 according to this embodiment may include process usage scenarios in the financial industry. Network 104 is used as a medium to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0032] Users can interact with server 105 via network 104 using at least one of the first terminal device 101, second terminal device 102, and third terminal device 103 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, second terminal device 102, and third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).
[0033] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.
[0034] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (this is just an example). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.
[0035] It should be noted that the process processing method provided in this embodiment can generally be executed by server 105. Correspondingly, the process processing device provided in this embodiment can generally be located in server 105. The process processing method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105. Correspondingly, the process processing device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105.
[0036] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0037] The following will be based on Figure 1 The described scene, through Figure 2 The process processing method of the disclosed embodiments will be described in detail.
[0038] Figure 2 A flowchart illustrating a process processing method according to an embodiment of the present disclosure is shown schematically.
[0039] like Figure 2 As shown, the process processing method of this embodiment includes operations S210 to S240.
[0040] In operation S210, extract the components of the flowchart, including process steps, execution roles, and personnel.
[0041] Specifically, the flowchart includes multiple process steps arranged in logical order. Once one process step is completed, it moves to the next. Each process step includes the object that processes that step and the object being processed, i.e., the role in that step. Each role maps to a real-world participant. The process steps, roles, and personnel in the flowchart can be extracted and recorded in the following tables. IDs can be used to represent these roles in the step, role, and personnel tables. Additional descriptive items can be added to the tables as needed, such as the "region" in Table 1, indicating which regions the step applies to when the process is applicable to multiple regions.
[0042] Table 1. Steps
[0043]
[0044] Table 2 Character Table
[0045]
[0046] Table 3 Personnel Table
[0047]
[0048] When operating S220, based on the process logic of the flowchart, a process routing table, a process role table, and a personnel role table are generated. The process routing table records the matching relationship between each process step and the next process step, the process role table records the execution role of each process step, and the personnel role table records the personnel who perform the execution role.
[0049] Table 4. Link Routing Table
[0050]
[0051] Table 4 schematically illustrates the process routing table. The elements of the routing table include the current process stage number, the next process stage number, the first matching value, and the routing value. The first matching value represents the result of matching the current process stage and the next process stage based on a first preset condition. The routing value represents the path from the current process stage to the next process stage. The first preset condition can be a condition in various matching methods, including but not limited to comparison expressions, regular expressions, functions, chained processing, and SQL processing. Using multiple matching methods in combination makes process stage routing selection more flexible. Table 5 provides a detailed explanation of the matching methods and matching values.
[0052] Table 5 Matching methods and matching values
[0053]
[0054] In this embodiment, according to Table 4, a first matching value can be obtained based on the first preset conditions, and the routing value corresponding to the first matching value can be obtained from the process routing table to obtain the next process step that matches the current process step.
[0055] Table 6 Roles in Each Stage
[0056]
[0057] In this embodiment, the process role table records the correspondence between processes and roles. By having the corresponding role, one can see the items in the corresponding process.
[0058] Table 7 Personnel Roles
[0059]
[0060] In this embodiment, the personnel role table records the correspondence between personnel and roles, and the correspondence between personnel and roles can be many-to-many.
[0061] In operation S230, in response to a process action request, the system matches the personnel corresponding to the execution role of the current process step based on the step role table and the personnel role table, and then executes the current process step.
[0062] In this embodiment, process action requests can be initiated by the requesting personnel of the current process stage before each process stage is executed, or they can be initiated sequentially at the initial stage of a process, with each subsequent process stage being executed in order. Within each process stage, the corresponding personnel for the corresponding role can be retrieved from the stage role table and the personnel role table based on the stage ID to execute the current process stage.
[0063] In operation S240, the next process step of the current process step is matched based on the process routing table, and the previous step is repeated until the flowchart is completed.
[0064] In this embodiment, the matching value of the current routed link is calculated according to the link routing table to obtain the next process link, and the process is advanced to the next process link. After entering the next process link, the next process link becomes the current process link, and operations S230 and S240 are repeated to continue advancing the process progress.
[0065] According to the process processing method provided in the embodiments of this disclosure, the flowchart is changed to use table records for management, which is flexible in representation and facilitates process management and modification.
[0066] Based on operations S210 to S240, the process processing method provided in this embodiment may further include operation S250.
[0067] When operating S250, a list of preceding actions for each step is generated based on the process logic of the flowchart.
[0068] Table 8 Pre-processing Actions
[0069]
[0070] As shown in Table 8, the pre-process action table records the current process stage, the second matching value, and the pre-process action corresponding to the second matching value. The second matching value represents the result of condition matching based on the second preset condition after the previous process stage matches and enters the current process stage, before executing the current process stage. It is used to determine whether the first preset condition needs to be modified based on the pre-process action. The second preset condition includes at least several matching methods such as comparison expressions, regular expressions, functions, chained processing, and SQL processing.
[0071] In this embodiment, the pre-process action table is applied before the current process step is executed, including operations S251 to S253.
[0072] In operation S251, a second matching value is obtained based on the second preset condition. Specifically, the second preset condition can limit the overall execution conditions of the process and can be used to address special needs.
[0073] In operation S252, when the second matching value meets the preceding condition, the preceding action is executed. The preceding action is used to change the first preset condition, so that the next process step is changed according to the first preset condition.
[0074] In operation S253, when the second matching value does not meet the preceding conditions, the current process step is executed, and the next process step is determined based on the original first preset conditions.
[0075] For example, a condition can be set before the current process step. For instance, if the current time is November 7th, the date of the APEC summit in Beijing, it would normally be a weekday, but due to local regulations, it's a holiday during the summit. Because a 1-comparison expression is used, the value 1 > 0 is always true, so the preceding action `BJHoliday` is executed, converting November 7th to a holiday. When processing the current process step, the processing logic can be changed to handle special dates. Setting up a preceding action table increases the flexibility and richness of the process, simplifying process management complexity compared to drawing flowcharts.
[0076] It should be noted that in operation S252, changing the first preset condition can mean changing at least one of the multiple limiting attributes included in the first preset condition. For example, suppose the original first preset condition is a regular expression:
[0077] worktime@Holiday@location@@11*|**0;
[0078] This regular expression is used to determine whether the current process step occurs during working hours, holidays, or a specified location. Based on the above three combined conditions, the matching value of the next process step is obtained. When the conditions change, at least one of the working hours, holidays, and specified locations can be changed according to the actual situation, so that the original first preset condition changes. The first matching value obtained according to the first preset condition also changes accordingly, thereby changing the next process step.
[0079] Optionally, changing the first preset condition can also mean changing the first preset condition itself. For example, when the original first preset condition is a comparison expression, in some special periods, the first preset condition can be changed to a regular expression that combines multiple conditions.
[0080] The process processing method provided in this embodiment may further include operation S260.
[0081] When operating S260, a table of subsequent actions for each step is generated based on the process logic of the flowchart.
[0082] Table 9. Post-Step Actions Table
[0083]
[0084] As shown in Table 9, the post-process action table records the current process step, the next process step, the third matching value, and the post-process action corresponding to the third matching value. The third matching value represents the result of condition matching based on the third preset condition after the current process step ends and before entering the next process step. It is used to determine whether the next process step needs to be changed based on the post-process action. The third preset condition includes at least several matching methods such as comparison expressions, regular expressions, functions, chained processing, and SQL processing.
[0085] In this embodiment, the post-process action table is applied after the current process step is executed, including operations S261 to S263.
[0086] In operation S261, a third matching value is obtained based on the third preset condition.
[0087] In operation S262, when the third matching value meets the subsequent conditions, the subsequent action is executed. The subsequent action is used to modify the routing value and change the next process step.
[0088] In operation S263, when the third matching value does not meet the subsequent conditions, the process proceeds to the next step after the original successful match.
[0089] For example, in a company's vehicle dispatch process, according to the general dispatch procedure, when a vehicle dispatch request is made within the company on a weekday, it only needs to go through the department head approval stage A before proceeding to the dispatch stage B. However, when there are temporary adjustments such as dispatching vehicles to external locations, the vehicle needs to go through the company head approval stage C before dispatching. According to the process handling method provided in this embodiment, to deal with temporary adjustments, after the original department head approval stage A has been approved by some managers, a third preset condition can be added for subsequent judgment, that is, to determine whether the current vehicle dispatch is an external dispatch. The judgment result is a third matching value, which can be represented by a numerical value, an inequality, a truth value, etc. When the current vehicle dispatch is an external dispatch, the third matching value can be represented by a numerical value of 1; when the current vehicle dispatch is an internal dispatch, the third matching value can be represented by a numerical value of 0. In this embodiment, assuming the subsequent condition is whether the third matching value is greater than 0, if the third matching value is greater than 0, meaning the dispatch is for external use, then a subsequent action needs to be added: a unit head approval step C is added between the department head approval step A and the dispatch step B. That is, the next step after the department head approval step A is changed to the unit head approval step C. If the third matching value is not greater than 0, meaning the dispatch is for internal use, then no subsequent action is needed to adjust the process; the original process can be followed sequentially, executing the department head approval step A and the dispatch step B. Furthermore, during certain periods of strict control, the dispatch process is more stringent, requiring the execution of a subsequent condition. This subsequent condition could be, for example, a condition like 1>0 that is always true, strictly limiting the dispatch process during these periods to department head approval step A → unit head approval step C → dispatch step B.
[0090] The process processing method provided in this embodiment uses a combination of a pre-process action table and a post-process action table to make the process expression richer, more flexible, and more adaptable.
[0091] In this embodiment, when the flowchart changes, the step routing table, step role table, and personnel role table are modified based on the change logic. When a step pre-order table and a step post-order table exist, these tables can also be modified according to actual needs. The method provided in this disclosure organizes the components and logical relationships in the flowchart into a table management system, simplifying the representation of the flowchart, allowing for more flexible combinations of components, enhancing expressiveness, improving adaptability, and making management and modification simpler compared to flowcharts.
[0092] Figure 3A and Figure 3B Each of the following flowchart examples is illustrated schematically according to an embodiment of the present disclosure.
[0093] like Figure 3A and 3BThis document illustrates the vehicle dispatch processes for a company's branches in Yunnan and Beijing. The Yunnan dispatch process includes steps YN001, YN002, YN003, YN004, YN005, and YN006, while the Beijing dispatch process includes steps BJ001, BJ002, BJ003, BJ004, and BJ005. Both processes can be managed using the same step routing table.
[0094] Table 10
[0095]
[0096] In the table, Yunnan is abbreviated as YN and Beijing as BJ. The matching method is shown in Table 5, where the matching value is the specific matching condition. As shown in Table 10, in the Yunnan vehicle dispatch process, the next steps after step YN002 include YN003, YN004, and YN006, all of which use regular expressions for matching. Specifically, when YN002 successfully matches YN003 using a regular expression, the corresponding route value is 1, and the process continues along the path indicated by this route value to the process branch containing YN003. When YN002 successfully matches YN004 using a regular expression, the corresponding route value is 2, and the process continues along the path indicated by this route value to the process branch containing YN004. When YN002 successfully matches YN006 using a regular expression, the corresponding route value is 3, and the process continues along the path indicated by this route value to the process branch containing YN006.
[0097] Table 11 shows the preliminary steps in one of the vehicle dispatching processes in Beijing.
[0098] Table 11
[0099]
[0100] For example, if the current time is November 7th, the date of the APEC summit in Beijing, it would normally be a weekday. However, due to local regulations designating the summit period as a public holiday, it is considered a weekday. Because a 1-comparison expression is used, where 1 > 0 is always true, the BJHoliday method is executed to convert November 7th into a public holiday.
[0101] Table 12 shows two subsequent actions in the Yunnan vehicle dispatch process.
[0102] Table 12
[0103]
[0104] As shown in Table 12, if, after matching, the next step after the current step YN002 is YN006 or YN004, then subsequent actions can be matched using SQL statements. For example, if certain branches implement strict controls for a period of time, requiring all bus applications to be approved by branch management (YN005) before use, meaning YN002 can only proceed to node YN003 before reaching node YN005, SQL matching can be used. If the original next step after YN002 was YN006, after SQL execution, the strict control condition is matched, and the `modiRoute` method is executed, changing the next process step to YN003. Then, after passing through YN005, YN006 is executed. The `modiRoute` method essentially modifies the routing value for matching the next node from the current node.
[0105] The process processing method provided in this disclosure simplifies the process into multiple components and generates various tables reflecting the process logic based on these components. Managing the process through these tables facilitates modification; if the process changes, the routing table can be adjusted directly. This method, in conjunction with pre-process and post-process action tables, makes the process expression richer, more flexible, and more adaptable, allowing for configuration and setting of different actions based on various conditions. Furthermore, this method employs multiple matching methods, making routing selection more flexible.
[0106] Based on the above-described process processing method, this disclosure also provides a process processing apparatus. The following will be combined with... Figure 4 The device is described in detail.
[0107] Figure 4 A schematic block diagram of a process processing apparatus according to an embodiment of the present disclosure is shown.
[0108] like Figure 4 As shown, the process processing device 400 in this embodiment includes a process element extraction module 410, a relationship table generation module 420, an action request execution module 430, and a process progress advancement module 440.
[0109] The process element extraction module 410 is used to extract the constituent elements of the flowchart, including process steps, execution roles, and personnel. In one embodiment, the process element extraction module 410 can be used to perform the operation S210 described above, which will not be repeated here.
[0110] The relationship table generation module 420 is used to generate a process routing table, a process role table, and a personnel role table based on the flowchart's process logic. The process routing table records the matching relationship between each process step and the next process step, the process role table records the execution role of each process step, and the personnel role table records the personnel who perform the execution role. In one embodiment, the relationship table generation module 420 can be used to perform the operation S220 described above, which will not be repeated here.
[0111] The action request execution module 430 is used to respond to a process action request, match the personnel corresponding to the execution role of the current process step based on the step role table and the personnel role table, and execute the current process step. In one embodiment, the action request execution module 430 can be used to execute the operation S230 described above, which will not be repeated here.
[0112] The process progress advancement module 440 is used to match the next process step of the current process step based on the step routing table, repeating the previous step until the flowchart is completed. In one embodiment, the process progress advancement module 440 can be used to execute the operation S240 described above, which will not be repeated here.
[0113] According to embodiments of this disclosure, the elements of the process routing table include the current process stage number, the next process stage number, a first matching value, and a routing value, wherein the first matching value represents the result of matching the current process stage and the next process stage based on a first preset condition, and the routing value represents the path from the current process stage to the next process stage.
[0114] The process progress advancement module 440 is specifically used to obtain the first matching value based on the first preset conditions; obtain the routing value corresponding to the first matching value from the process routing table, and obtain the next process step that matches the current process step.
[0115] According to an embodiment of this disclosure, the process processing device 400 further includes a pre-process module for generating a pre-process action table based on the process logic of the flowchart; wherein, the pre-process action table records the current process stage, the second matching value, and the pre-process action corresponding to the second matching value, and the second matching value represents the result of condition matching based on the second preset condition before executing the current process stage after the previous process stage matches and enters the current process stage, and is used to determine whether the first preset condition needs to be modified based on the pre-process action.
[0116] The pre-process module includes a pre-process condition judgment unit and a pre-process condition execution unit. The pre-process condition judgment unit is used to obtain the second matching value based on a second preset condition. The pre-process condition execution unit is used to execute a pre-process action when the second matching value satisfies the pre-process condition. The pre-process action is used to change the first preset condition, so that the next process step is changed according to the first preset condition.
[0117] According to an embodiment of this disclosure, the process processing device 400 further includes a step-following module. The step-following module is used to generate a step-following action table based on the process logic of the flowchart; wherein the step-following action table records the current process step, the next process step, a third matching value, and the corresponding follow-up action. The third matching value represents the result of condition matching based on a third preset condition before entering the next process step after the current process step ends, and is used to determine whether the next process step needs to be changed based on the follow-up action.
[0118] The subsequent module includes a subsequent condition judgment unit and a subsequent condition execution unit. The subsequent condition judgment unit is used to obtain the third matching value based on a third preset condition. The subsequent condition execution unit is used to execute a subsequent action when the third matching value meets the subsequent condition. The subsequent action is used to modify the routing value and change the next process step; when the third matching value does not meet the subsequent condition, it enters the next process step where the original matching was successful.
[0119] According to an embodiment of this disclosure, the process processing device 400 further includes a change processing module, which is used to modify the process routing table, the process role table, and the personnel role table based on change logic when the flowchart is changed.
[0120] According to embodiments of this disclosure, any multiple modules among the process element extraction module 410, relation table generation module 420, action request execution module 430, and process progress advancement module 440 can be merged into one module, or any one of these modules can be split into multiple modules. Alternatively, at least some of the functions of one or more of these modules can be combined with at least some of the functions of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the process element extraction module 410, relation table generation module 420, action request execution module 430, and process progress advancement module 440 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the process element extraction module 410, relationship table generation module 420, action request execution module 430, and process progress advancement module 440 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.
[0121] Figure 5A block diagram schematically illustrates an electronic device suitable for implementing a process processing method according to an embodiment of the present disclosure.
[0122] like Figure 5 As shown, an electronic device 500 according to an embodiment of the present disclosure includes a processor 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage portion 508 into a random access memory (RAM) 503. The processor 501 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 501 may also include onboard memory for caching purposes. The processor 501 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0123] RAM 503 stores various programs and data required for the operation of electronic device 500. Processor 501, ROM 502, and RAM 503 are interconnected via bus 504. Processor 501 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 502 and / or RAM 503. It should be noted that the programs may also be stored in one or more memories other than ROM 502 and RAM 503. Processor 501 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0124] According to embodiments of this disclosure, the electronic device 500 may further include an input / output (I / O) interface 505, which is also connected to a bus 504. The electronic device 500 may also include one or more of the following components connected to the I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 510 as needed so that computer programs read from it can be installed into the storage section 508 as needed.
[0125] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0126] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 502 and / or RAM 503 and / or one or more memories other than ROM 502 and RAM 503 described above.
[0127] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the item recommendation method provided in the embodiments of this disclosure.
[0128] When the computer program is executed by the processor 501, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0129] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 509, and / or installed from a removable medium 511. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0130] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by processor 501, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0131] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user's computing device, partially on a user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0132] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0133] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0134] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. A process processing method, characterized in that, include: Extract the components of the flowchart, including process steps, execution roles, and personnel; Based on the process logic of the flowchart, a process routing table, a process role table, and a personnel role table are generated. The process routing table records the matching relationship between each process step and the next process step. The process role table records the execution role of each process step. The personnel role table records the personnel who perform the execution role. In response to a process action request, the personnel corresponding to the execution role of the current process step are matched based on the step role table and the personnel role table, and the current process step is executed. Based on the routing table, match the next process step of the current process step, repeat the previous step, until the flowchart is completed. The elements of the process routing table include the current process stage number, the next process stage number, a first matching value, and a routing value. The first matching value represents the result of matching the current process stage and the next process stage based on a first preset condition, and the routing value represents the path from the current process stage to the next process stage. The step of matching the next process step based on the process routing table includes: The first matching value is obtained based on the first preset condition; Obtain the routing value corresponding to the first matching value from the routing table of the process steps, and obtain the next process step that matches the current process step; The method further includes: before and / or after executing the current process step, executing the corresponding preceding action or following action according to a predefined preceding action table or following action table, so as to dynamically adjust the first matching value or change the determined next process step during process operation.
2. The method according to claim 1, characterized in that, The method further includes: Based on the process logic of the flowchart, a table of preceding actions for each step is generated. The preceding action table records the current process step, the second matching value, and the preceding action corresponding to the second matching value. The second matching value represents the result of condition matching based on the second preset condition before executing the current process step, and is used to determine whether the first preset condition needs to be modified based on the preceding action.
3. The method according to claim 2, characterized in that, Before executing the current process step, the method further includes: The second matching value is obtained based on the second preset condition; When the second matching value does not meet the preceding conditions, the current process step is executed, and the next process step is determined based on the original first preset conditions; When the second matching value satisfies the preceding condition, the preceding action is executed. The preceding action is used to change the first preset condition, so that the next process step is changed according to the first preset condition.
4. The method according to claim 1, characterized in that, The method further includes: Based on the process logic of the flowchart, a table of subsequent actions for each step is generated. The subsequent action table records the current process stage, the next process stage, the third matching value, and the subsequent action corresponding to the third matching value. The third matching value represents the result of condition matching based on a third preset condition before entering the next process stage after the current process stage ends, and is used to determine whether the next process stage needs to be changed based on the subsequent action.
5. The method according to claim 4, characterized in that, After the current process step is completed, the method further includes: The third matching value is obtained based on the third preset condition; When the third matching value meets the subsequent condition, the subsequent action is executed. The subsequent action is used to modify the routing value and change the next process step. When the third matching value does not meet the subsequent conditions, the process proceeds to the next step after the original successful matching.
6. The method according to claim 1, characterized in that, The method further includes: When the flowchart changes, the process routing table, process role table, and personnel role table are modified based on the change logic.
7. A process processing apparatus, characterized in that, include: The process element extraction module is used to extract the constituent elements of the flowchart, including process steps, execution roles, and personnel. The relationship table generation module is used to generate a step routing table, a step role table, and a personnel role table based on the process logic of the flowchart. The step routing table records the matching relationship between each process step and the next process step. The step role table records the execution role of each process step. The personnel role table records the personnel who perform the execution role. The action request execution module is used to respond to a process action request, match the personnel corresponding to the execution role of the current process step based on the step role table and the personnel role table, and execute the current process step. The process progress advancement module is used to match the next process step of the current process step based on the process routing table, repeat the previous step, and continue until the process diagram is completed. The elements of the process routing table include the current process stage number, the next process stage number, a first matching value, and a routing value. The first matching value represents the result of matching the current process stage and the next process stage based on a first preset condition, and the routing value represents the path from the current process stage to the next process stage. The step of matching the next process step based on the process routing table includes: The first matching value is obtained based on the first preset condition; Obtain the routing value corresponding to the first matching value from the routing table of the process steps, and obtain the next process step that matches the current process step; Before and / or after the current process step, according to a predefined pre-step action table or post-step action table, the corresponding pre-step action or post-step action is executed to dynamically adjust the first matching value or change the determined next process step during process execution.
8. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, It stores executable instructions that, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 6.