Information interaction method and device, electronic equipment and readable storage medium

By obtaining the current execution information of the process instance and the predetermined process model, the relevant information of the process node to be executed is determined, which solves the problem of not being able to predict the process execution stage in the existing technology and improves the process execution efficiency.

CN120804444APending Publication Date: 2025-10-17BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410405051.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

Existing process tracking methods cannot predict the steps to be executed in the process, resulting in low process execution efficiency.

Method used

By obtaining the current execution information of the process instance and the predetermined process model, the relevant information of the process node to be executed is determined, and the query results are returned to the terminal, so that the request initiator can understand the status of the process instance to be executed.

Benefits of technology

This improves the efficiency of process execution, enabling the request initiator to understand the steps to be executed in advance, thereby optimizing process management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120804444A_ABST
    Figure CN120804444A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an information interaction method and device, electronic equipment and a readable storage medium. According to the embodiment of the invention, a terminal sends a process query request comprising an instance identifier of a process instance to a server, the server obtains execution information of the process instance according to the instance identifier in the process query request, and the execution information comprises node related information of a current execution process node in the process instance; and obtaining node related information of the to-be-executed process node in the process instance based on a predetermined process model and the node related information of the current execution process node, thereby returning a query result determined according to the node related information of the to-be-executed process node, and enabling the terminal to display the received query result. In the embodiment of the invention, the to-be-executed condition of the process instance can be obtained according to the current execution condition of the process instance and the preset process model, and the request initiator can know the to-be-executed condition of the process instance, so that the execution efficiency of the process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to an information interaction method and device, electronic equipment and readable storage medium. BACKGROUND

[0002] After the request initiator initiates a process through an electronic system, the request initiator usually needs to know the progress of the process and which links in the process still need to be executed, so as to prepare for the subsequent links in advance and ensure the smooth progress of the process. However, the existing process tracking method can only show the progress of the process to the request initiator, but cannot predict the links to be executed, thus negatively affecting the execution efficiency of the process. SUMMARY

[0003] Therefore, the embodiments of the present application provide an information interaction method and device, electronic equipment and readable storage medium, so as to obtain the to-be-executed situation of a process instance according to the current execution situation of the process instance and a predetermined process model, and make the request initiator know the to-be-executed situation of the process instance, thereby improving the execution efficiency of the process.

[0004] In a first aspect, the embodiments of the present application provide an information interaction method suitable for a server, and the method comprises:

[0005] Obtaining a process query request, wherein the process query request comprises an instance identifier of a target process instance;

[0006] Obtaining execution information of the target process instance according to the instance identifier, wherein the execution information comprises second node related information, and the second node related information represents node related information of a currently executed process node in the target process instance;

[0007] Obtaining third node related information according to the second node related information based on a predetermined process model, wherein the third node related information represents node related information of a to-be-executed process node in the target process instance;

[0008] Returning a query result, wherein the query result is determined according to the third node related information.

[0009] In a second aspect, the embodiments of the present application provide an information interaction method suitable for a terminal, and the method comprises:

[0010] Sending a process query request, wherein the process query request comprises an instance identifier of a target process instance;

[0011] Receiving a query result, wherein the query result is determined according to third node related information, and the third node related information represents node related information of a to-be-executed process node in the target process instance;

[0012] displaying the query result.

[0013] In a third aspect, an embodiment of the present application provides an information interaction method, and the method comprises the following steps:

[0014] sending a process query request, wherein the process query request comprises an instance identifier of a target process instance;

[0015] obtaining the process query request;

[0016] obtaining execution information of the target process instance according to the instance identifier, wherein the execution information comprises second node related information, and the second node related information represents node related information of a currently executed process node in the target process instance;

[0017] obtaining third node related information according to the second node related information based on a predetermined process model, wherein the third node related information represents node related information of a process node to be executed in the target process instance;

[0018] returning a query result, wherein the query result is determined according to the third node related information;

[0019] receiving the query result;

[0020] displaying the query result.

[0021] In a fourth aspect, an embodiment of the present application provides an information interaction device, and the device is suitable for a server, and the device comprises the following units:

[0022] a request obtaining unit, configured to obtain a process query request, wherein the process query request comprises an instance identifier of a target process instance;

[0023] a first information obtaining unit, configured to obtain execution information of the target process instance according to the instance identifier, wherein the execution information comprises second node related information, and the second node related information represents node related information of a currently executed process node in the target process instance;

[0024] a second information obtaining unit, configured to obtain third node related information according to the second node related information based on a predetermined process model, wherein the third node related information represents node related information of a process node to be executed in the target process instance;

[0025] a result returning unit, configured to return a query result, wherein the query result is determined according to the third node related information.

[0026] In a fifth aspect, an embodiment of the present application provides an information interaction device, and the device is suitable for a terminal, and the device comprises the following units:

[0027] A request sending unit is configured to send a process query request, wherein the process query request comprises an instance identifier of a target process instance;

[0028] A result receiving unit is configured to receive a query result, wherein the query result is determined according to third node related information, and the third node related information represents node related information of a process node to be executed in the target process instance.

[0029] A result display unit is configured to display the query result.

[0030] In a sixth aspect, an embodiment of the present application provides an information interaction system, comprising:

[0031] A server is configured to acquire a process query request, wherein the process query request comprises an instance identifier of a target process instance, acquire execution information of the target process instance according to the instance identifier, the execution information comprises second node related information, the second node related information represents node related information of a currently executed process node in the target process instance, acquire third node related information according to the second node related information based on a predetermined process model, the third node related information represents node related information of a process node to be executed in the target process instance, and return a query result, wherein the query result is determined according to the third node related information; and

[0032] A terminal is configured to send a process query request, receive a query result, and display the query result.

[0033] In a seventh aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, and the one or more computer program instructions are executed by the processor to implement the method in the first aspect or the second aspect.

[0034] In an eighth aspect, an embodiment of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method in any one of the first aspect or the second aspect.

[0035] In a ninth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product comprises computer programs / instructions, and the computer programs / instructions are executed by a processor to implement the method in any one of the first aspect or the second aspect.

[0036] The terminal of the embodiment of the present application sends a process query request including instance identification of a process instance to a server, the server acquires execution information of the process instance according to the instance identification in the process query request, wherein the execution information includes node related information of a currently executed process node in the process instance, and acquires node related information of a to-be-executed process node in the process instance based on a predetermined process model and the node related information of the currently executed process node, so as to return a query result determined according to the node related information of the to-be-executed process node to the terminal, so that the terminal displays the received query result. In the embodiment of the present application, the to-be-executed condition of the process instance can be acquired according to the current execution condition of the process instance and the predetermined process model, and the to-be-executed condition of the process instance can be known by a request initiator, so as to improve the execution efficiency of the process. BRIEF DESCRIPTION OF DRAWINGS

[0037] The above and other objects, features and advantages of the present application will become more apparent from the following description when taken in conjunction with the accompanying drawings, in which:

[0038] Figure 1 is a schematic diagram of a hardware system architecture of the embodiment of the present application;

[0039] Figure 2 is a flowchart of an information interaction method of the embodiment of the present application;

[0040] Figure 3 is a partial schematic diagram of a process model of the embodiment of the present application;

[0041] Figures 4-9 is an interface schematic diagram of the embodiment of the present application;

[0042] Figure 10 is a flowchart of the information interaction method of the embodiment of the present application on the server side;

[0043] Figure 11 is a flowchart of the information interaction method of the embodiment of the present application on the terminal side;

[0044] Figure 12 is a schematic diagram of an information interaction device of the embodiment of the present application;

[0045] Figure 13 is a schematic diagram of an information interaction device of the embodiment of the present application;

[0046] Figure 14 is a schematic diagram of an electronic device of the embodiment of the present application. DETAILED DESCRIPTION

[0047] The present application is described in the following embodiments, but the present application is not limited to these embodiments. In the following detailed description of the present application, some specific details are described in detail. The present application can also be fully understood without the description of these details. In order to avoid confusion of the essence of the present application, the well-known methods, processes, flows, elements and circuits are not described in detail.

[0048] In addition, those skilled in the art should understand that the drawings provided herein are for illustrative purposes only, and the drawings are not necessarily drawn to scale.

[0049] Unless the context clearly requires otherwise, throughout the description, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in the sense of "including, but not limited to".

[0050] In the description of the present application, it should be understood that the terms "first", "second" and the like are only for the purpose of description and cannot be understood as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise stated, the meaning of "multiple" is two or more.

[0051] The solutions described in the specification and examples, if related to personal information processing, will be processed on the premise of legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and only within the prescribed or agreed range. Users refuse to process personal information other than the necessary information required for basic functions, which will not affect the user's use of basic functions.

[0052] In the embodiments of the present application, the process initiator and the request initiator are taken as the same user for example, but those skilled in the art can easily understand that when the process initiator and the request initiator are different users, the method of the embodiments of the present application is also applicable.

[0053] The process can abstractly describe the development of things to each stage, so it can be widely used in daily work, project management, production and other fields. For example, the leave process initiated by an employee can include process initiation, employee information checking, department leader approval, personnel department reporting and other process nodes. For another example, the examination registration process initiated by an examinee can include examination qualification application, examinee information checking, payment of registration fee, selection of examination site and other process nodes. Some process nodes not only need the participation of the process handler, but also may need the participation of the process initiator, so the cooperation degree of the process initiator and the process handler will greatly affect the execution efficiency of the process.

[0054] In the prior art, after a process initiator (i.e., a user) initiates a process in an electronic system, a server tracks the progress of a process instance and feeds back the progress of the process instance to the user when the user makes a process query. However, the existing process tracking method can only show the progress of the process to the request initiator, that is, the path and process node that have been executed in the process instance, and the path and process node that are currently executed, but cannot predict which links need to be executed, that is, the path and process node to be executed, thus negatively affecting the execution efficiency of the process.

[0055] Figure 1 is a schematic diagram of a hardware system architecture of an embodiment of the present application. As shown in Figure 1 the hardware system architecture of the embodiment of the present application includes at least one terminal and at least one server, Figure 1 one terminal 11 and one server 12 are taken as examples for illustration.

[0056] The terminal 11 of the embodiment of the present application can be specifically a smart terminal, such as a notebook computer, a tablet computer, a smart wearable device (including a smart watch, a smart helmet, etc.), a smart phone, a desktop computer, etc.

[0057] The server 12 of the embodiment of the present application can be a single server or a server group. The server group can be centralized or distributed. In some embodiments, the server 12 can access information and / or data stored in the terminal 11, a database or any combination thereof via a network; in other embodiments, the server 12 can be implemented on a cloud platform, such as a private cloud, a public cloud, a hybrid cloud, a community cloud, an inter-cloud, a multi-cloud, etc., or any combination thereof.

[0058] In the embodiment of the present application, the request initiator can send a process query request carrying an instance identifier of a process instance (i.e., a target process instance) to the server 12 through the terminal 11 after creating the process instance. The server 12 can obtain execution information including node related information (i.e., second node related information) of a currently executed process node in the target process instance according to the instance identifier of the target process instance after receiving the process query request, and obtain node related information (i.e., third node related information) of a to-be-executed process node in the target process according to the node related information of the currently executed process node based on a predetermined process model, and then determine a query result according to the node related information of the to-be-executed process node, so as to return the query result to the terminal 11. The terminal 11 displays the query result after receiving the query result returned by the server 12, so that the request initiator can learn the node related information of the to-be-executed process node.

[0059] In an optional implementation of the embodiment of the present application, the flow query request further comprises an identity of the request initiator. The server 12 can perform verification according to at least one of the identity of the request initiator and the instance identifier of the target flow instance, and obtain the execution information of the target flow instance according to the instance identifier of the target flow instance when the verification is passed.

[0060] In an optional implementation of the embodiment of the present application, the server 12 can perform identity verification on the request initiator according to the identity of the request initiator, and perform authenticity verification on the target flow instance according to the instance identifier of the target flow instance when the identity verification is passed, and further verify the access right of the request initiator according to the identity of the request initiator when the authenticity verification is passed.

[0061] In an optional implementation of the embodiment of the present application, the server 12 can determine the current execution flow node as a to-be-executed flow node, and determine a to-be-executed path matching the to-be-executed flow node in the flow model in an iterative manner, and update the flow node pointed by the to-be-executed path as the to-be-executed flow node until there is no matching to-be-executed path, and further assign a flow processing party to at least one of the to-be-executed flow nodes, so as to determine third node related information according to the third node information of the to-be-executed flow node, the third path information of the to-be-executed path and the third processing party information of the flow processing party.

[0062] In an optional implementation of the embodiment of the present application, the execution information of the target flow instance further comprises first node related information, wherein the first node related information represents node related information of an executed flow node in the target flow instance, and the query result is further determined according to the first node related information and the second node related information, wherein the first node related information comprises first node information of the executed flow node, first path information of an executed path and first processing party information of at least one flow processing party of the executed flow node, and the second node related information comprises second node information of the current execution flow node, second path information of a current execution path and second processing party information of at least one flow processing party of the current execution flow node.

[0063] In an optional implementation of the embodiment of the present application, the terminal 11 can parse the third node related information, obtain the third node information of the to-be-executed flow node, the third path information of the to-be-executed path and the third processing party information of at least one flow processing party of the to-be-executed flow node, and display the third node information, the third path information and the third processing party information according to a predetermined information display rule.

[0064] In an optional implementation of the embodiment of the present invention, the terminal 11 may generate a flowchart of the target process instance according to the third node information and the third path information, and display the flowchart on the process query page.

[0065] In an optional implementation of an embodiment of the present invention, the terminal 11 can determine the to-be-executed process node pointed to by the trigger operation when detecting a trigger operation, and display an information display floating layer in the process query page, wherein the information display floating layer includes the third-party processing party information corresponding to the pointed to process node to be executed.

[0066] In an optional implementation method of an embodiment of the present invention, the terminal 11 can parse the first node related information, obtain the first node information of the executed process node, the first path information of the executed path, and the first processor information of the process processor of at least one executed process node, and parse the second node related information, obtain the second node information of the currently executed process node, the second path information of the currently executed path, and the second processor information of at least one process processor of the currently executed process node, thereby displaying at least one item of the first node information, the first path information, the first processor information, the second node information, the second path information, and the second processor information according to a predetermined information display rule.

[0067] In an embodiment of the present invention, a terminal sends a process query request including an instance identifier of a process instance to a server. The server obtains execution information of the process instance based on the instance identifier in the process query request, wherein the execution information includes node-related information of the currently executing process node in the process instance, and obtains node-related information of the to-be-executed process node in the process instance based on a predetermined process model and the node-related information of the currently executing process node, thereby returning a query result determined based on the node-related information of the to-be-executed process node to the terminal, so that the terminal displays the received query result. In an embodiment of the present invention, the to-be-executed status of the process instance can be obtained based on the current execution status of the process instance and the predetermined process model, and the request initiator can understand the to-be-executed status of the process instance, thereby improving the execution efficiency of the process.

[0068] The following is an explanation of the method by way of an embodiment. Figure 2 This is a flow chart of the information interaction method according to an embodiment of the present invention. Figure 2 As shown, the method of this embodiment may include the following steps:

[0069] Step S100: Send a process query request.

[0070] When a user initiates a process in an electronic system, such as a leave process system, the terminal initiates a process instance creation request to the server according to the operation of the user, so that the server creates a process instance according to the process instance creation request, allocates an instance identifier for the new process instance, and then returns to the terminal. Any process initiated by any user about any transaction is a process instance, for example, the leave process initiated by employee S1 for 1 day and the leave process initiated by employee S2 for 1 day are two different process instances, and the rest time process initiated by employee S1 for 1 day and the rest time process initiated by employee S1 for 2 days are also two different process instances.

[0071] Therefore, when a user queries a target process instance in an electronic system, the terminal determines the process instance selected by the user as the target process instance, and sends a process query request carrying the instance identifier of the target process instance to the server.

[0072] Optionally, when the terminal displays the process detail page corresponding to the target process instance under control, the instance identifier of the target process instance can be obtained, and a process query request carrying the process instance can be sent to the server. For example, when the user clicks on the hypertext of the target process instance in the electronic system, the terminal can obtain the website link of the process detail page associated with the triggered hypertext, and jump to the process detail page of the target process instance corresponding to the website link, and in the loading process of the process detail page, a process query request is sent to the server.

[0073] Optionally, the process query request can also carry other information, such as the identity of the user, the terminal identifier of the terminal, etc., which is not limited in this embodiment.

[0074] Step S200: Obtain the execution information of the target process instance according to the instance identifier.

[0075] After receiving the process query request sent by the terminal, the instance identifier of the target process instance in the process query request can be extracted, and the execution information of the target process instance can be found from the local storage (such as memory) or remote storage (such as database) according to the instance identifier.

[0076] The execution information of the target process instance is used to reflect the execution of at least one link in the target process instance, and can be used to reflect the execution of the link being executed at the current time, i.e. the time when the server receives the process query request.

[0077] In the embodiment, the execution information of the target process instance can include node-related information of a currently-executed process node in the target process instance, and the node-related information of the currently-executed process node at least includes node information (i.e., second node information) of the currently-executed process node, and can further include path information (i.e., second path information) of a currently-executed path and handler information (i.e., second handler information) of a process handler of the currently-executed process node. The second node information can include node identification of the currently-executed process node, information of a processing object or event corresponding to the currently-executed process node, and the like. The currently-executed path is a path between an executed process node adjacent to the currently-executed process node and the currently-executed process node, and the second path information can include path identification of the currently-executed path, execution condition of the currently-executed path (i.e., the currently-executed path is executed when the execution condition is met, and the currently-executed path is not executed when the execution condition is not met), and the like. The second handler information can include identity identification, identity category, organization identification, and the like of the process handler processing the currently-executed process node.

[0078] According to actual needs, the node-related information of the currently-executed process node can further include other information, for example, time when the target process instance executes to the currently-executed process node, and the like, which is not limited in the embodiment.

[0079] For example, the target process instance is a leave process initiated by an employee S1 for 1 day, and the currently-executed process node is a "department leader approval" node, and an executed process node adjacent to the process node is an "employee information check" node. The node-related information of the "department leader approval" node can include node identification of the "department leader approval" node, leave event of the employee S1, time when the target process instance executes to the "department leader approval" node is 10:31, path identification of a path from the "employee information check" node to the "department leader approval" node, execution condition is that the employee information check is passed, identity identification of the process handler processing the "department leader approval" node is identity identification of a department leader, identity category of the process handler (e.g., department deputy manager, department director, and the like), and department identification (i.e., organization identification) of the process handler, and the like.

[0080] Optionally, the execution information of the target process instance can further include node-related information of executed process nodes in the target process instance, the node-related information of the executed process nodes can include node information (i.e., first node information) of the executed process nodes, path information (i.e., first path information) of an executed path, and handler information (i.e., first handler information) of a process handler of the executed process nodes. The first node information can include a node identifier of the executed process nodes, a processing object or event corresponding to the executed process nodes, and the like. The executed path is a path between the executed process nodes, and the first path information can include a path identifier of the executed path, an execution condition of the executed path, and the like. The first handler information can include an identity identifier, an identity category, an organization identifier, and the like of the process handler processing the executed process nodes. According to actual requirements, the node-related information of the executed process nodes can further include other information, such as a time when the target process instance executes to the executed process nodes, an execution duration of each executed process node (i.e., a duration from execution of any executed process node to a next executed process node adjacent to the executed process node), and the like, which are not limited in the embodiment.

[0081] In an optional implementation of the embodiment, the server can perform verification according to at least one of the instance identifier of the target process instance and the identity identifier of the user in the process query request, and when the verification is passed, acquire the execution information of the target process instance according to the instance identifier of the target process instance, so as to reduce the possibility that the instance identifier of the target process instance does not exist, which wastes the running resources of the server and / or the identity of the user is not in compliance, resulting in that the execution information of the target process instance is leaked.

[0082] Further, the server can perform identity verification on the user according to the identity identifier of the user, and when the identity verification is passed, perform authenticity verification on the target process instance according to the instance identifier of the target process instance, and then verify the access right of the user according to the identity identifier of the user when the authenticity verification is passed. The identity verification is to verify the legality of the identity of the user, the authenticity verification is to verify whether the target process instance exists, and the access right verification is to verify whether the user has the right to access the target process instance.

[0083] It is easy to understand that the above verification process is only illustrative, and other ways of performing the verification process can also be used in the embodiment. For example, first perform authenticity verification on the target process instance, then perform identity verification on the user, and finally verify the access right of the user; or first perform identity verification on the user, and then verify the access right of the user, which are not limited in the embodiment.

[0084] In step S300, third node-related information is acquired according to the second node-related information based on a predetermined process model.

[0085] The server can determine the to-be-executed path and the to-be-executed process node in the target process instance in an alternating manner based on the predetermined process model, and after the to-be-executed process node is determined, the process handling party executing each to-be-executed process node is determined, thereby determining the node-related information of the to-be-executed process node.

[0086] The process model is a process diagram formed by a plurality of process nodes and paths between the process nodes. The process model can also include information such as execution conditions of the paths and allocation rules of the process handling parties. According to actual needs, the predetermined process model can be a process model formed by paths between process nodes in the same transaction category (for example, a leave transaction), or a process model formed by paths between process nodes in a plurality of transaction categories. The present embodiment does not make any limitation. Therefore, in this step, the server can obtain a process model corresponding to a transaction category corresponding to the target process instance as the predetermined process model according to the transaction category corresponding to the target process instance.

[0087] In this step, the server can determine the currently executed process node as the to-be-executed process node, and determine the to-be-executed path matching the to-be-executed process node in the process model in an iterative manner, and then update the process node pointed to by the to-be-executed path as the to-be-executed process node until there is no to-be-executed path matching.

[0088] That is, the server takes the currently executed process node as the starting point, traverses each process node in the process model, determines the path matching the currently executed process node as the to-be-executed path according to the execution condition of each path taking the currently executed process node as the starting point, and determines the process node pointed to by the to-be-executed path as the to-be-executed process node, thereby determining the path matching the to-be-executed process node as the to-be-executed path according to the execution condition of each path taking the to-be-executed process node as the starting point, until the process node pointed to by the to-be-executed path is an end node, that is, there is no path taking the process node pointed to by the to-be-executed path as the starting point, or there is no path matching the process node pointed to by the to-be-executed path, that is, the execution conditions corresponding to the path pointed to by the process node pointed to by the to-be-executed path cannot be met.

[0089] Figure 3 is a partial schematic diagram of the process model of the embodiment of the present application. As shown in Figure 3As shown, node 30 is the current execution process node of the target process instance. The server can determine in the process model that the path starting from node 30 is the path corresponding to condition 3a, the path corresponding to condition 3b, the path corresponding to condition 3c and the path corresponding to condition 3d respectively, and determine whether the target process instance satisfies condition 3a, condition 3b, condition 3c and condition 3d, and then determine that the target process instance satisfies condition 3b and condition 3d. Therefore, the server can determine the path matched with node 30, i.e., the path from node 30 to node 31 and the path from node 30 to node 36 as the to-be-executed path, and determine node 31 as the to-be-executed process node, and determine node 36 as the to-be-executed process node.

[0090] Then, the server can determine in the process model that the path between node 31 and node 32 is the to-be-executed path, and determine the process node pointed by the path, i.e., node 32 as the to-be-executed process node. Similarly, the server can also determine node 33, node 34 and node 35 as the to-be-executed process node. For node 35, the server determines that there is no path starting from node 35, and therefore can determine node 35 as the end node.

[0091] The server can also determine in the process model that the path between node 36 and node 37 is the to-be-executed path, and determine the process node pointed by the path, i.e., node 37 as the to-be-executed process node. Similarly, the server can also determine node 38 as the to-be-executed process node. For node 38, the server can determine in the process model that the path starting from node 38 is the path corresponding to condition 3i and the path corresponding to condition 3j respectively, and then determine whether the target process instance satisfies condition 3i and condition 3j. After determining that neither condition 3i nor condition 3j is satisfied, the server can determine node 38 as the end node.

[0092] After traversing the process model and determining each to-be-executed process node, the server can assign at least one process handler to at least one to-be-executed process node. Optionally, for a to-be-executed process node that needs to be assigned a process handler, the server can randomly select at least one process handler from a pre-determined process handler set as the process handler corresponding to the to-be-executed process node, or can pre-set an assignment rule and assign process handlers to at least one to-be-executed process node according to the assignment rule, which is not limited in the embodiment. It is easy to understand that the process handler set corresponding to each to-be-executed process node can be the same or different.

[0093] After determining the to-be-executed paths, the to-be-executed process nodes, and the process handling parties corresponding to the at least one to-be-executed process node, the server can determine node-related information (i.e., third node-related information) of the to-be-executed process nodes according to node information (i.e., third node information) of the to-be-executed process nodes, path information (i.e., third path information) of the to-be-executed paths, and handling party information (i.e., third handling party information) of the process handling parties.

[0094] Optionally, the server can implement process tracking and process prediction based on Activiti. Activiti is an open-source workflow engine that can represent a transaction process as a process model and automatically implement a process tracking function. Activiti defines a process model through process symbols, which mainly include events, activities, and gateways. Among them, events include start events, intermediate events, and end events. Activities can be tasks (including user tasks and service tasks) or sub-processes. Gateways are used to handle decisions and mainly include exclusive gateways, parallel gateways, inclusive gateways, comprehensive gateways, and event gateways. Among them, an exclusive gateway indicates that only one path with a matching result of true (i.e., matching) will be executed, and if multiple paths have matching results of true, only the first path with a matching result of true will be executed; a parallel gateway indicates that all paths with matching results of true will be executed; an inclusive gateway indicates that either multiple paths with matching results of true can be executed or an execution condition can be set on the gateway; and an event gateway allows multiple output streams to be directed to multiple different intermediate capturing events, and when the process reaches the event gateway, the process is in a waiting state and needs to wait for an event to be thrown before it switches to an active state.

[0095] When performing process prediction, Activiti can traverse each process node in the process model based on depth-first search (DFS) and determine to-be-executed paths and to-be-executed process nodes of a target process instance, and then assign process handling parties to the at least one to-be-executed process node. After determining each to-be-executed path, the server can fill path information of the to-be-executed path into a to-be-executed path list, and simultaneously, after determining each to-be-executed process node and / or process handling party corresponding to the to-be-executed process node, the server can fill node information of the to-be-executed process node and / or handling party information of the process handling party into a to-be-executed process node list, and then encapsulate the to-be-executed path list and the to-be-executed process node list as a JSON (JavaScript Object Notation) text, so as to determine the JSON text as third node-related information.

[0096] The JSON text is a lightweight data exchange format, easy to machine parsing and generation, and can exchange data between multiple languages. The JSON text supports multiple types of elements, such as strings, numbers, objects, arrays, etc. can be represented by JSON, so JSON has high readability and scalability, and low coding difficulty and decoding difficulty.

[0097] Step S400, return the query result.

[0098] After determining the third node related information, the server can determine the query result according to the third node related information, and return the query result to the terminal.

[0099] Optionally, the server can also determine the query result according to the first node related information and the second node related information in the execution information and the predicted third node related information. Further, for the first node related information, the server can fill the path information of each executed path into the executed path list, and fill the process nodes and the process handling party of at least one executed process node into the executed process node list, and encapsulate the executed path list and the executed process node list into a JSON text, and then determine the JSON text as the first node related information; similarly, for the second node related information, the server can fill the path information of each current execution path into the current execution path list, and fill the process nodes and the process handling party of at least one current execution process node into the current execution node list, and encapsulate the current execution path list and the current execution node list into a JSON text, and then determine the JSON text as the second node related information.

[0100] Step S500, display the query result.

[0101] After receiving the query result, the terminal can display the query result, so that the user can understand the process node to which the target process instance will proceed.

[0102] In an optional implementation of the embodiment, the first node related information and the second node related information are not included in the query result, and the terminal can extract the third node related information in the query result, and parse the third node related information to obtain the node information of the to-be-executed process node, the path information of the to-be-executed path, and the handling party information of the process handling party corresponding to at least one to-be-executed process node, and then display the node information of the to-be-executed process node, the path information of the to-be-executed path, and the handling party information of the process handling party corresponding to at least one to-be-executed process node according to the predetermined display rule.

[0103] In a possible case, after the terminal parses the third node related information and obtains the to-be-executed path list and the to-be-executed flow node list, the terminal can directly display the to-be-executed path list and the to-be-executed flow node list in the interface.

[0104] Figure 4 FIG. 1 is a schematic diagram of an interface according to an embodiment of the present application. As shown in FIG. 1, the terminal can display a to-be-executed flow node list 11 and a to-be-executed path list 12 in a flow query page 10, where the to-be-executed flow node list 11 includes to-be-executed flow nodes and at least one flow processing party corresponding to each to-be-executed flow node, for example, node 1a and a user 1B corresponding to the node 1a, and the to-be-executed path list 12 includes to-be-executed paths, for example, a path 1ab representing a path from the node 1a to the node 1b. Figure 4

[0105] In another possible case, after the terminal parses the third node related information and obtains the to-be-executed path list and the to-be-executed flow node list, the terminal can generate a flowchart of the target flow instance according to the node information of the to-be-executed flow node and the path information of the to-be-executed path, and then display the generated flowchart in the flow query page.

[0106] Figure 5 FIG. 2 is another schematic diagram of an interface according to an embodiment of the present application. As shown in FIG. 2, the terminal can display a flowchart 21 in a flow query page 20, where the flowchart 21 includes to-be-executed flow nodes, that is, nodes 20-28, and to-be-executed paths, that is, a path between the node 20 (that is, a current execution flow node) and the node 21, a path between two adjacent to-be-executed flow nodes in the nodes 21-25, a path between the node 20 and the node 26, and a path between two adjacent to-be-executed flow nodes in the nodes 26-28. Figure 5

[0107] Optionally, the terminal can further detect a trigger operation, and when the trigger operation is detected, determine a to-be-executed flow node pointed by the trigger operation, and then display a floating layer for displaying processing party information of a flow processing party corresponding to the to-be-executed flow node in the flow query page. In this embodiment, the terminal receives a user input operation in different ways, and thus the trigger operation is perceived in different ways.

[0108] ​​Specifically, if the terminal receives a user input operation through an external input device (such as a mouse), the terminal can detect a trigger operation according to the position of the mouse pointer. When the mouse pointer is located in the floating trigger area of any to-be-executed process node, the terminal can detect the trigger operation. The floating trigger area includes the corresponding to-be-executed process node and is not overlapped with the floating trigger areas of other to-be-executed process nodes. For the convenience of detection, the floating trigger area can be set as a circular area, a square area, etc.

[0109] Figures 6-7 is another interface schematic diagram of an embodiment of the present application. As shown in Figure 6 , the terminal detects a trigger operation according to the position of the mouse pointer 62. When it is detected that the mouse pointer 62 moves to the vicinity of the node 33, specifically, in the floating trigger area 61 of the node 33, that is, the position of the mouse pointer 62 is located in the floating trigger area 61, the terminal displays the floating layer 71 corresponding to the node 33 in the process query page 50, and displays the process handling party of the node 33 in the floating layer 71, as shown in Figure 7

[0110] If the terminal receives a user input operation through a touch display screen, the terminal can set the icons of the to-be-executed process nodes in the process diagram as icon controls that can be triggered, and detect a trigger operation of the user on the icon control of at least one to-be-executed process node through the touch display screen. The terminal can identify any one or more trigger operations on the existing controls as the trigger operation of the user on the icon control of the to-be-executed process node, such as a single click operation of the user on the icon control of the to-be-executed process node, a long press operation of the user on the icon control of the to-be-executed process node, a drag operation of the user on the icon control of the to-be-executed process node, etc., which are not limited in the present embodiment.

[0111] Figure 8 is another interface schematic diagram of an embodiment of the present application. In combination with Figure 7 , as shown in Figure 8 , the terminal detects a trigger operation of the user on the icon control of at least one to-be-executed process node through the touch display screen. When it is detected that the user clicks the icon control 81 corresponding to the node 33, the terminal displays the floating layer 71 corresponding to the node 33 in the process query page 50, and displays the process handling party of the node 33 in the floating layer 71, as shown in Figure 7

[0112] ​​In an optional implementation of the embodiment, the first node related information and the second node related information are further included in the query result. The terminal can further extract the first node related information and the second node information from the query result, parse the first node related information to obtain the node information of the executed process node, the path information of the executed path, and the handler information of the process handler corresponding to the at least one executed process node, and parse the second node related information to obtain the node information of the current execution process node, the path information of the current execution path, and the handler information of the process handler corresponding to the at least one current execution process node, and then display at least one of the node information of the executed process node, the path information of the executed path, the handler information of the process handler corresponding to the at least one executed process node, the node information of the current execution process node, the path information of the current execution path, and the handler information of the process handler corresponding to the at least one current execution process node according to a predetermined display rule.

[0113] In a possible case, after parsing the first node related information to obtain the executed path list and the executed process node list, parsing the second node related information to obtain the current execution path list and the current execution node list, and parsing the third node related information to obtain the to-be-executed path list and the to-be-executed process node list, the terminal can directly display the executed path list, the executed process node list, the current execution path list, the current execution node list, the to-be-executed path list, and the to-be-executed process node list in the interface.

[0114] In another possible case, after parsing the first node related information to obtain the executed path list and the executed process node list, parsing the second node related information to obtain the current execution path list and the current execution node list, and parsing the third node related information to obtain the to-be-executed path list and the to-be-executed process node list, the terminal can generate a flowchart of the target process instance according to the node information of the executed process node, the path information of the executed path, the node information of the current execution process node, the path information of the current execution path, the node information of the to-be-executed process node, and the path information of the to-be-executed path, and then display the generated flowchart in the process query page.

[0115] To facilitate the user to distinguish the process nodes in different stages, the terminal can render the process nodes and paths in different stages in different manners. For example, the executed process nodes and the executed paths, the current execution process nodes and the current execution paths, and the to-be-executed process nodes and the to-be-executed paths can be rendered in different colors respectively, such as rendering the executed process nodes and the executed paths in green, rendering the current execution process nodes and the current execution paths in orange, and rendering the to-be-executed process nodes and the to-be-executed paths in blue.

[0116] Figure 9 is another interface diagram of an embodiment of the present application. As shown in Figure 9 , the terminal can display a flowchart 91 in a flow query page 90, the flowchart 91 including a plurality of executed flow nodes 92 and a plurality of executed paths, i.e., paths between two adjacent to-be-executed flow nodes in the plurality of executed flow nodes 92, a plurality of current-executed flow nodes 93 and a plurality of current-executed paths, i.e., paths between each current-executed flow node 93 and an adjacent executed flow node 92, a plurality of to-be-executed flow nodes 94 and a plurality of to-be-executed paths, i.e., paths between two adjacent to-be-executed flow nodes in the plurality of to-be-executed flow nodes 94 and paths between each to-be-executed flow node 94 and an adjacent current-executed flow node 93.

[0117] Optionally, the terminal can further detect a trigger operation, and when detecting the trigger operation, determine an executed flow node, a current-executed flow node or a to-be-executed flow node pointed by the trigger operation, and then display a floating layer for displaying handler information of a handler corresponding to the to-be-executed flow node, the current-executed flow node or the to-be-executed flow node in the flow query page.

[0118] In another optional implementation of the embodiment, the flowchart can further include node information of flow nodes that will not be executed in the target flow instance and path information of paths that will not be executed.

[0119] Still taking Figure 9 as an example, the flow nodes that are not marked in the flowchart 91 are flow nodes that will not be executed in the target flow instance, and the paths represented by solid arrows are paths that will not be executed in the target flow instance.

[0120] The terminal of the embodiment of the present application sends a flow query request including an instance identifier of a flow instance to a server, the server acquires execution information of the flow instance according to the instance identifier in the flow query request, wherein the execution information includes node-related information of a current-executed flow node in the flow instance, and acquires node-related information of a to-be-executed flow node in the flow instance based on a predetermined flow model and the node-related information of the current-executed flow node, so as to return a query result determined according to the node-related information of the to-be-executed flow node to the terminal, so that the terminal displays the received query result. In the embodiment of the present application, the to-be-executed situation of the flow instance can be acquired according to the current execution situation of the flow instance and the predetermined flow model, and the to-be-executed situation of the flow instance can be known by the request initiator, so as to improve the execution efficiency of the flow.

[0121] Figure 10 is a flowchart of the information interaction method of an embodiment of the present application at the server side. As shown in Figure 10 , the method of the embodiment at the server side includes the following steps:

[0122] Step S1100, receiving the flow query request.

[0123] Step S1200, obtaining the execution information of the target flow instance according to the instance identifier.

[0124] Step S1300, obtaining the third node related information according to the second node related information based on the predetermined flow model.

[0125] Step S1400, returning the query result.

[0126] In the embodiment, the implementation manners of steps S1100-S1400 are similar to those of the above embodiment, and will not be repeated here.

[0127] The server of the embodiment of the present application obtains the execution information of the flow instance according to the instance identifier in the flow query request, wherein the execution information comprises the node related information of the currently executed flow node in the flow instance, and obtains the node related information of the to-be-executed flow node in the flow instance based on the predetermined flow model and the node related information of the currently executed flow node, so as to return the query result determined according to the node related information of the to-be-executed flow node to the terminal, so that the terminal displays the received query result. In the embodiment of the present application, the to-be-executed situation of the flow instance can be obtained according to the current execution situation of the flow instance and the predetermined flow model, and the to-be-executed situation of the flow instance can be known by the request initiator, thereby improving the execution efficiency of the flow.

[0128] Figure 11 is a flowchart of the information interaction method of the embodiment of the present application on the terminal side. As shown in Figure 11 The method of the embodiment comprises the following steps on the terminal side:

[0129] Step S1500, sending the flow query request.

[0130] Step S1600, receiving the query result.

[0131] Step S1700, displaying the query result.

[0132] In the embodiment, the implementation manners of steps S1500-S1700 are similar to those of the above embodiment, and will not be repeated here.

[0133] The terminal of the embodiment of the present application sends a process query request including instance identification of a process instance to a server, receives a query result determined according to node related information of a to-be-executed process node sent by the server, and then displays the received query result. In the embodiment of the present application, the to-be-executed condition of the process instance can be obtained according to the current execution condition of the process instance and the predetermined process model, and the to-be-executed condition of the process instance can be known by the request initiator, thereby improving the execution efficiency of the process.

[0134] Figure 12 is a schematic diagram of an information interaction device of the embodiment of the present application. As shown in Figure 12 , the device of the embodiment is applicable to a server, and includes a request obtaining unit 1201, a first information obtaining unit 1202, a second information obtaining unit 1203, and a result returning unit 1204.

[0135] The request obtaining unit 1201 is configured to obtain a process query request, wherein the process query request includes instance identification of a target process instance; the first information obtaining unit 1202 is configured to obtain execution information of the target process instance according to the instance identification, wherein the execution information includes second node related information, and the second node related information represents node related information of a currently executed process node in the target process instance; the second information obtaining unit 1203 is configured to obtain third node related information according to the second node related information based on a predetermined process model, wherein the third node related information represents node related information of a to-be-executed process node in the target process instance; and the result returning unit 1204 is configured to return a query result, wherein the query result is determined according to the third node related information.

[0136] In an optional implementation, the process query request further includes an identity identification of a request initiator;

[0137] The first information obtaining unit 1202 includes a verification subunit and an information obtaining subunit.

[0138] The verification subunit is configured to perform verification according to at least one of the identity identification and the instance identification; and the information obtaining subunit is configured to obtain the execution information according to the instance identification in response to the verification passing.

[0139] In an optional implementation, the verification subunit includes a first verification module, a second verification module, and a third verification module.

[0140] The first verification module is configured to verify the identity of the request initiator according to the identity identifier; the second verification module is configured to, in response to the identity verification being passed, verify the authenticity of the target process instance according to the instance identifier; and the third verification module is configured to, in response to the authenticity verification being passed, verify the access right of the request initiator according to the identity identifier.

[0141] In an optional implementation, the second information obtaining unit 1203 comprises a node determining module, an iteration module, a handler assigning module and an information determining module.

[0142] The node determining module is configured to determine the current execution process node as a to-be-executed process node; the iteration module is configured to determine, in an iterative manner, a to-be-executed path matching the to-be-executed process node in the process model, and update a process node pointed to by the to-be-executed path as the to-be-executed process node until there is no matching to-be-executed path; the handler assigning module is configured to assign a process handler to at least one to-be-executed process node; and the information determining module is configured to determine the third node-related information according to third node information of the to-be-executed process node, third path information of the to-be-executed path and third handler information of the process handler.

[0143] In an optional implementation, the execution information further comprises first node-related information, the first node-related information representing node-related information of an executed process node in the target process instance; the query result is further determined according to the first node-related information and the second node-related information, the first node-related information comprising first node information of an executed process node, first path information of an executed path and first handler information of a process handler of at least one executed process node, and the second node-related information comprising second node information of a current execution process node, second path information of a current execution path and second handler information of a process handler of at least one current execution process node.

[0144] The server according to the embodiment of the application obtains execution information of a process instance according to an instance identifier in a process query request, wherein the execution information comprises node-related information of a current execution process node in the process instance, and obtains node-related information of a to-be-executed process node in the process instance based on a predetermined process model and the node-related information of the current execution process node, so as to return a query result determined according to the node-related information of the to-be-executed process node to a terminal, so that the terminal displays the received query result. In the embodiment of the application, the to-be-executed situation of a process instance can be obtained according to the current execution situation of the process instance and a predetermined process model, and the to-be-executed situation of the process instance can be known by a request initiator, so as to improve the execution efficiency of the process.

[0145] Figure 13 is a schematic view of an information interaction device according to an embodiment of the present application. As shown in the figure, the device according to the embodiment is applicable to a terminal, and includes a request sending unit 1301, a result receiving unit 1302, and a result display unit 1303. Figure 13

[0146] The request sending unit 1301 is configured to send a process query request, wherein the process query request includes an instance identifier of a target process instance. The result receiving unit 1302 is configured to receive a query result, wherein the query result is determined according to third node related information, and the third node related information represents node related information of a to-be-executed process node in the target process instance. The result display unit 1303 is configured to display the query result.

[0147] In an optional implementation, the result display unit 1303 includes a first information obtaining subunit and a first display subunit.

[0148] The first information obtaining subunit is configured to parse the third node related information, and obtain third node information of the to-be-executed process node, third path information of a to-be-executed path, and third handler information of a process handler of at least one to-be-executed process node. The first display subunit is configured to display the third node information, the third path information, and the third handler information according to a predetermined information display rule.

[0149] In an optional implementation, the first display subunit includes a generation module and a display module.

[0150] The generation module is configured to generate a flowchart of the target process instance according to the third node information and the third path information. The display module is configured to display the flowchart in a process query page.

[0151] In an optional implementation, the first display subunit includes a node determination module and a display module.

[0152] The node determination module is configured to determine the to-be-executed process node pointed by a trigger operation in response to detecting the trigger operation. The display module is configured to display an information display floating layer in the process query page, wherein the information display floating layer includes the third handler information corresponding to the to-be-executed process node pointed by the trigger operation.

[0153] In an optional implementation, the query result is further determined according to first node related information and second node related information, wherein the first node related information represents node related information of an executed process node in the target process instance, and the second node related information represents node related information of a currently-executed process node in the target process instance. ​

[0154] In an alternative implementation, the result presentation unit 1303 comprises a second information obtaining subunit, a third information obtaining subunit and a second display subunit.

[0155] The second information obtaining subunit is configured to parse the first node related information and obtain first node information of an executed process node, first path information of an executed path and first handler information of a process handler of at least one of the executed process nodes; the third information obtaining subunit is configured to parse the second node related information and obtain second node information of a current process node, second path information of a current path and second handler information of a process handler of at least one of the current process nodes; and the second display subunit is configured to display at least one of the first node information, the first path information, the first handler information, the second node information, the second path information and the second handler information according to a predetermined information display rule.

[0156] In the embodiment of the present application, the terminal sends a process query request comprising an instance identification of a process instance to a server, receives a query result determined according to node related information of a process node to be executed and sent by the server, and displays the received query result. In the embodiment of the present application, the to-be-executed situation of a process instance can be obtained according to the current execution situation of the process instance and a predetermined process model, and the to-be-executed situation of the process instance can be known by a request initiator, thereby improving the execution efficiency of the process.

[0157] Figure 14 is a schematic diagram of an electronic device according to an embodiment of the present application. As shown in Figure 14 The electronic device 14 is a general-purpose data processing apparatus, which comprises a general-purpose computer hardware structure, and at least comprises a processor 1401 and a memory 1402. The processor 1401 and the memory 1402 are connected through a bus 1403. The memory 1402 is adapted to store instructions or programs executable by the processor 1401. The processor 1401 can be a single microprocessor or a set of one or more microprocessors. Thus, the processor 1401 performs the processing of data and the control of other apparatuses by executing the instructions stored in the memory 1402, thereby implementing the method flow of the embodiment of the present application as described above. The bus 1403 connects the above-mentioned components together, and connects the above-mentioned components to a display controller 1404 and a display device, and an input / output (I / O) device 1405. The input / output (I / O) device 1405 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a body sense input device, a printer and other apparatuses known in the art. Typically, the input / output device 1405 is connected to the system through an input / output (I / O) controller 1406.

[0158] Those skilled in the art understand that embodiments of the present application can be provided as a method, device (apparatus) or computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including, but not limited to, disk memory, CD-ROM, optical memory, etc.) containing computer usable program code.

[0159] The present application is described with reference to flowcharts according to the method, device (apparatus) and computer program product of the embodiments of the present application. It should be understood that each flow in the flowchart can be implemented by computer program instructions.

[0160] These computer program instructions can be stored in a computer readable memory capable of directing a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer readable memory produce a product including instruction devices, which implement the flow Figure 1 The function specified in one flow or multiple flows.

[0161] These computer program instructions can also be provided to a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a means for implementing the function specified in the flow Figure 1 One flow or multiple flows.

[0162] Another embodiment of the present application relates to a non-volatile storage medium for storing a computer readable program for a computer to execute the above-mentioned partial or all method embodiments.

[0163] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by a program stored in a storage medium, including a number of instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the method described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0164] The above merely illustrates the preferred embodiments of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims

1. An information interaction method, applicable to a server, characterized in that: The method comprises: Obtaining a process query request, wherein the process query request includes an instance identifier of a target process instance; Acquire execution information of the target process instance according to the instance identifier, the execution information including second node related information, where the second node related information represents node related information of a currently executing process node in the target process instance; Based on a predetermined process model, obtaining third node related information according to the second node related information, wherein the third node related information represents node related information of a process node to be executed in the target process instance; Return a query result, where the query result is determined based on the relevant information of the third node.

2. The method according to claim 1, characterized in that The process query request also includes the identity of the request initiator; The acquiring the execution information of the target process instance according to the instance identifier includes: Perform verification based on at least one of the identity identifier and the instance identifier; In response to the verification being passed, the execution information is acquired according to the instance identifier.

3. The method according to claim 2, characterized in that The verifying according to at least one of the identity identifier and the instance identifier includes: Performing identity verification on the request initiator according to the identity identifier; In response to the identity verification being passed, performing authenticity verification on the target process instance according to the instance identifier; In response to the authenticity check being passed, the access rights of the request initiator are verified according to the identity identifier.

4. The method according to claim 1, wherein The acquiring the third node related information according to the second node related information based on the predetermined process model includes: Determine the currently executed process node as the process node to be executed; Iteratively determining a to-be-executed path that matches the to-be-executed process node in the process model, and updating the process node pointed to by the to-be-executed path to the to-be-executed process node until no matching to-be-executed path exists; Allocating a process processor to at least one of the to-be-executed process nodes; The third node related information is determined according to the third node information of the to-be-executed process node, the third path information of the to-be-executed path, and the third processor information of the process processor.

5. The method according to claim 1, wherein The execution information also includes first node related information, where the first node related information represents node related information of an executed process node in the target process instance; The query result is also determined based on the first node related information and the second node related information. The first node related information includes the first node information of the executed process node, the first path information of the executed path, and the first processor information of the process processor of at least one of the executed process nodes. The second node related information includes the second node information of the currently executed process node, the second path information of the currently executed path, and the second processor information of at least one of the process processors of the currently executed process node.

6. An information interaction method, applicable to a terminal, characterized in that: The method comprises: Sending a process query request, wherein the process query request includes an instance identifier of a target process instance; receiving a query result, where the query result is determined based on third node related information, where the third node related information represents node related information of a process node to be executed in the target process instance; The query results are displayed.

7. The method according to claim 6, characterized in that The displaying of the query result includes: Parsing the third node related information to obtain third node information of the process node to be executed, third path information of the path to be executed, and third processor information of at least one process processor of the process node to be executed; The third node information, the third path information, and the third processor information are displayed according to a predetermined information display rule.

8. The method according to claim 7, characterized in that The displaying of the third node information, the third path information, and the third processor information according to a predetermined information display rule includes: Generate a flowchart of the target process instance according to the third node information and the third path information; The flowchart is displayed on the process query page.

9. The method according to claim 7, characterized in that The displaying of the third node information, the third path information, and the third processor information according to a predetermined information display rule includes: In response to detecting a trigger operation, determining the to-be-executed process node pointed to by the trigger operation; An information display floating layer is displayed on the process query page, where the information display floating layer includes the third processing party information corresponding to the process node to be executed.

10. The method according to claim 6, characterized in that The query result is also determined based on first node related information and second node related information, wherein the first node related information represents node related information of an executed process node in the target process instance, and the second node related information represents node related information of a currently executing process node in the target process instance.

11. The method according to claim 10, characterized in that The displaying of the query result includes: Parsing the first node related information to obtain first node information of an executed process node, first path information of an executed path, and first processor information of a process processor of at least one of the executed process nodes; Parsing the second node related information to obtain second node information of the currently executing process node, second path information of the currently executing path, and second processor information of at least one process processor of the currently executing process node; At least one of the first node information, the first path information, the first processor information, the second node information, the second path information, and the second processor information is displayed according to a predetermined information display rule.

12. An information interaction method, characterized in that: The method comprises: Sending a process query request, wherein the process query request includes an instance identifier of a target process instance; Get process query request; Acquire execution information of the target process instance according to the instance identifier, the execution information including second node related information, where the second node related information represents node related information of a currently executing process node in the target process instance; Based on a predetermined process model, obtaining third node related information according to the second node related information, wherein the third node related information represents node related information of a process node to be executed in the target process instance; Returning a query result, wherein the query result is determined based on the relevant information of the third node; Receive query results; The query results are displayed.

13. An information interaction device, characterized in that: Applicable to a server, the device comprises: A request acquisition unit, configured to acquire a process query request, wherein the process query request includes an instance identifier of a target process instance; a first information acquisition unit, configured to acquire execution information of the target process instance according to the instance identifier, the execution information including second node related information, where the second node related information represents node related information of a currently executing process node in the target process instance; A second information acquisition unit is configured to acquire third node related information based on the second node related information based on a predetermined process model, wherein the third node related information represents node related information of a process node to be executed in the target process instance; A result returning unit is configured to return a query result, where the query result is determined based on the third node related information.

14. An information interaction device, characterized in that: Applicable to a terminal, the device includes: A request sending unit, configured to send a process query request, wherein the process query request includes an instance identifier of a target process instance; A result receiving unit, configured to receive a query result, wherein the query result is determined based on third node related information, wherein the third node related information represents node related information of a process node to be executed in the target process instance; The result display unit is used to display the query result.

15. An information interaction system, characterized in that: include: The server is configured to obtain a process query request, the process query request including an instance identifier of a target process instance, obtain execution information of the target process instance based on the instance identifier, the execution information including second node-related information, the second node-related information representing node-related information of a currently executing process node in the target process instance, obtain third node-related information based on the second node-related information based on a predetermined process model, the third node-related information representing node-related information of a process node to be executed in the target process instance, and return a query result, the query result being determined based on the third node-related information; as well as The terminal is configured to send a process query request, receive a query result, and display the query result.

16. An electronic device comprising a memory and a processor, characterized in that: The memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1 to 12.

17. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.

18. A computer program product, characterized in that The computer program product comprises a computer program / instructions, which implement the method according to any one of claims 1 to 12 when executed by a processor.

Citation Information

Patent Citations

  • Dynamic process execution prediction method

    CN104966136A

  • Workflow process tracking method

    CN111459771A

  • Method for simulating actual flow of process

    CN113239507A