Information processing method and device, equipment, medium and program product
By acquiring target business attribute information and utilizing visualization components and multi-dimensional parameterized configuration, flowcharts can be dynamically generated and managed, solving the problem of difficult process adjustment in existing technologies and achieving flexible process definition and efficient process management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2025-12-29
- Publication Date
- 2026-04-21
AI Technical Summary
Existing technologies are insufficient for the rapid adjustment and unified management of enterprise business processes, resulting in high maintenance costs, slow response times, and difficulty in adapting to changes in different business scenarios.
By acquiring the attribute information of the target business, using visualization components and multi-dimensional parameterized configuration, the initial flowchart is dynamically configured, the target flowchart is generated, and the process engine instantiates and runs process instances, supporting dynamic intervention and rapid changes to deployed processes.
It enables flexible process definition, reduces technical barriers and maintenance costs, improves process reusability and operational efficiency, and supports rapid response to business changes.
Smart Images

Figure CN121900747A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of big data, and more specifically to an information processing method, apparatus, device, medium, and program product. Background Technology
[0002] With the deepening of enterprise digital transformation, business process management systems have become the core information infrastructure for modern enterprise operation, management and risk control, and are widely used in finance, manufacturing, government affairs, supply chain and other fields.
[0003] Currently, the typical implementation model for process automation involves developers or implementation consultants creating static flowcharts for specific business scenarios and deploying them to a process engine. However, this model has revealed significant shortcomings in practice: First, enterprises aim to establish a unified process platform to reduce maintenance costs, but approval rules, participating roles, and risk control points vary across different departments, business lines, and even the same business under different conditions, making it difficult to create a universal process template. Second, business processes need to be quickly adjusted to changes in the market and organizational structure; however, modifying a deployed static flowchart typically involves development, testing, and redeployment, resulting in long cycles, slow responses, low efficiency, and difficulty in quickly adapting to different business scenarios. Summary of the Invention
[0004] In view of the above problems, this disclosure provides information processing methods, apparatus, equipment, media and program products.
[0005] According to a first aspect of this disclosure, an information processing method is provided, comprising: acquiring attribute information of a target business; forming business input parameters and an initial flowchart by operating pre-encapsulated form components and process components based on the attribute information, wherein the initial flowchart includes multiple business processes involved in the target business and multiple initial process nodes involved in each business process; configuring the initial process nodes in the initial flowchart based on the business input parameters; converting the initial flowchart into a target flowchart based on the configured initial process nodes; matching multiple target process nodes in the target flowchart with the business input parameters to obtain the availability status of each target process node in the target flowchart; determining the execution path of each target process node based on the availability status; instantiating the target flowchart through a preset process engine to generate a process instance; determining the running path of the process instance based on the availability status and execution path of each target process node, and running the process instance according to the running path.
[0006] According to embodiments of this disclosure, initial process nodes in an initial flowchart are configured based on business input parameters, including at least one of the following configurations: configuring parameters for at least one initial process node in the initial flowchart; and configuring a combination of any two business processes in the initial flowchart.
[0007] According to embodiments of this disclosure, configuring parameters for at least one initial process node in a target flowchart includes: matching business input parameters with multiple initial process nodes in the initial flowchart to determine at least one initial process node that matches the business input parameters; and configuring the business input parameters to at least one initial process node.
[0008] According to embodiments of this disclosure, multiple business processes in an initial flowchart are combined and configured, including: calculating the similarity between any two business processes among the multiple business processes; and merging any two business processes if the similarity is determined to be greater than or equal to a preset threshold.
[0009] According to embodiments of this disclosure, determining the running path of a process instance based on the availability status and execution path of each target process node includes: parsing the availability status and execution path of each target process node to obtain the execution logic of the execution entity executing each target process node, wherein the execution logic represents the rules for executing the target process node according to business input parameters; determining the organizational structure of the target business based on attribute information; determining the identity of each execution entity based on the organizational structure and execution logic; and determining the running path of the process instance based on the availability status, execution path, and identity of the execution entity of each target process node.
[0010] According to embodiments of this disclosure, the method further includes: during the process of running a process instance according to a running path, in response to receiving an intervention instruction, determining the intervention direction of the intervention instruction, the intervention direction including pointing to a target flowchart or pointing to a running process instance; when the intervention direction is pointing to a target flowchart, intervening in at least one target process node in the target flowchart, and updating the target flowchart based on the intervened target process node; when the intervention direction is pointing to a running process instance, intervening in at least one running path in the running process instance, and updating the running process instance based on the intervened running path.
[0011] According to embodiments of this disclosure, the method further includes, during the process of running a process instance according to a running path: predefining a callback function, the callback function representing a preset business operation to be performed; when the process instance triggers the callback function during its operation, controlling the process instance to pause and perform the preset business operation; and controlling the process instance to continue running after the preset business operation is completed.
[0012] A second aspect of this disclosure provides an information processing apparatus, comprising: an information acquisition module for acquiring attribute information of a target business; a process definition module for forming business input parameters and an initial flowchart based on the attribute information by operating pre-encapsulated form components and process components, wherein the initial flowchart includes multiple business processes involved in the target business and multiple process nodes involved in each business process; a node configuration module for configuring the initial process nodes in the initial flowchart based on the business input parameters; a process orchestration module for converting the initial flowchart into a target flowchart based on the configured initial process nodes; matching multiple target process nodes in the target flowchart with the business input parameters to obtain the available state of each target process node in the target flowchart; determining the execution path of each target process node based on the available state; and an instance execution module for instantiating the target flowchart through a preset process engine to generate a process instance; determining the execution path of the process instance based on the available state and execution path of each target process node, and running the process instance according to the execution path.
[0013] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method described above.
[0014] A fourth aspect of this disclosure also provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implement the steps of the above-described method.
[0015] The fifth aspect of this disclosure also provides a computer program product, including a computer program or instructions that, when executed by a processor, implement the steps of the above-described method.
[0016] The information processing methods, apparatus, devices, media, and program products in the embodiments of this disclosure, by employing visual components and multi-dimensional parameterized configuration in process definition and orchestration, enable business personnel to flexibly define processes according to actual business needs, efficiently generate corresponding processes, reduce technical barriers and maintenance costs, improve process reuse rate and operational efficiency, and support dynamic intervention in deployed and running processes to meet rapid change requirements. 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 1The illustrations depict application scenarios of information processing methods, apparatuses, devices, media, and program products according to embodiments of the present disclosure.
[0019] Figure 2 A flowchart illustrating an information processing method according to an embodiment of the present disclosure is shown schematically.
[0020] Figure 3 A schematic block diagram of an information processing apparatus according to an embodiment of the present disclosure is shown; and
[0021] Figure 4 A block diagram schematically illustrates an electronic device suitable for implementing an information processing method according to an embodiment of the present disclosure. Detailed Implementation
[0022] 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.
[0023] 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.
[0024] 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.
[0025] 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.).
[0026] In the technical solution disclosed herein, the user information (including but not limited to user personal information, user image information, user device information, such as location information) and data (including but not limited to data used for analysis, stored data, and displayed data) involved are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with relevant laws, regulations, and standards, and necessary measures have been taken to ensure that they do not violate public order and good morals. Corresponding operation entry points are provided for users to choose to authorize or refuse.
[0027] In scenarios involving automated decision-making using personal information, the methods, devices, and systems provided in this disclosure all offer users corresponding entry points for choosing to agree to or reject the automated decision-making results. If the user chooses to reject, the process proceeds to the expert decision-making stage. Here, "automated decision-making" refers to the activity of automatically analyzing and evaluating an individual's behavioral habits, interests, or economic, health, and credit status through computer programs, and then making a decision. Here, "expert decision-making" refers to the activity of making decisions by personnel who specialize in a particular field, possess specialized experience, knowledge, and skills, and have reached a certain level of professional expertise.
[0028] It should be noted that in the embodiments disclosed herein, certain software, components, models, and other existing solutions in the industry may be mentioned. These should be considered as exemplary and are intended only to illustrate the feasibility of implementing the technical solutions disclosed herein. However, they do not mean that the applicant has used or necessarily used such solutions.
[0029] The embodiments of this disclosure provide an information processing method that, by employing visual components and multi-dimensional parameterized configuration in process definition and orchestration, enables business personnel to flexibly define processes according to actual business needs, reduces technical barriers and maintenance costs, improves process reusability and operational efficiency, and supports dynamic intervention in deployed and running processes to meet rapid change requirements.
[0030] Figure 1 Schematic illustration Figure 1 The illustrations depict application scenarios of information processing methods, apparatuses, devices, media, and program products according to embodiments of the present disclosure.
[0031] like Figure 1As shown, application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 serves as a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0032] Users can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the 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 information processing method provided in this embodiment can generally be executed by server 105. Correspondingly, the information processing device provided in this embodiment can generally be located in server 105. The information 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 information 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 information processing method of the disclosed embodiments will be described in detail.
[0038] Figure 2 A flowchart illustrating an information processing method according to an embodiment of the present disclosure is shown schematically.
[0039] like Figure 2 As shown, the information processing method of this embodiment includes operations S210 to S280.
[0040] In operation S210, obtain the attribute information of the target business.
[0041] A target business refers to a specific, independent instance of a business application or a unit of work. For example, target businesses may include leave requests, expense reports, purchase orders, contract approval forms, and applications for official seals.
[0042] Attribute information is a set of metadata used to identify, classify, and describe the inherent characteristics and processing requirements of a target business. For example, if the target business is for employees to initiate leave applications, the attribute information could include business type (such as employee attendance), sub-type of matter (such as leave application), and initiating department.
[0043] In operation S220, based on the attribute information, business input parameters and an initial flowchart are formed by operating pre-encapsulated form components and process components. The initial flowchart includes multiple business processes involved in the target business and multiple initial process nodes involved in each business process.
[0044] For example, form components include a form control library and form parameters. The form control library includes titles, input boxes, radio buttons, checkboxes, dates, descriptions, attachments, images, links, videos, audio, maps, people selection components, organization components, and region components. Form parameters include names, templates, visibility ranges, switches, and associated processes.
[0045] Process components refer to the component elements that generate flowcharts. In addition to the gateway, task, and event elements provided by the process engine that make up the BPMN (Business Process Model and Notation), they also include process modules encapsulated according to common business needs, which can be used to quickly define flowcharts.
[0046] For example, the components of a flowchart include start events, end events, user tasks, script tasks, sub-processes, and gateways.
[0047] For example, the process module includes organizational review, personnel review, dynamic parallel countersigning, dynamic serial countersigning, and task assignment.
[0048] Business input parameters refer to a set of dynamic data values provided by the business applicant or relevant system for the target business matter during the instantiation of the target business process. These values are directly derived from the field filling of form components or data input from external systems.
[0049] An initial flowchart refers to a static, idealized, and complete business process model created by operating standardized process components for a target business. It defines all the steps and standard paths that may be involved in a certain type of business (such as "all purchase requests"). At the time of creation, its business processes and process nodes are fixed and not specific to any particular business instance.
[0050] In operation S230, the initial process nodes in the initial flowchart are configured based on the business input parameters.
[0051] Configuring initial process nodes refers to the process designer's (administrator's) addition of dynamic logic and control rules to each initial process node within a defined, static initial flowchart. By adding configuration rules to each key initial process node, the same flowchart can automatically generate different execution paths and task forms based on the input parameters of each target business, thereby achieving high reusability and flexible adaptation of the process.
[0052] For example, if the target business is "expense reimbursement", the initial process node is "approval by direct supervisor", and the business input parameters are "reimbursement amount" and "reimbursement type", then after configuring the initial process node, when the "reimbursement amount" is less than or equal to 200 yuan, the "approval by direct supervisor" node is skipped and the process proceeds directly to the next node (such as "whether it exceeds the department budget").
[0053] In operation 240, based on the configured initial process nodes, the initial flowchart is converted into the target flowchart.
[0054] The configured initial process node refers to the initial process node in the initial process diagram, which is bound to the business input parameters to be executed or skipped through rule configuration.
[0055] A target flowchart is a streamlined process execution diagram customized for a target business, which includes the actual steps that the target business needs to go through.
[0056] For example, the initial flowchart is a "railway map containing all stations and lines", the configured initial process node is "activation conditions for each station", the business input parameter is "a passenger's specific travel needs", and the conversion process is "based on the passenger's travel time, according to the activation conditions of each station, dynamically calculate and draw a dedicated travel route map from station A to station B that only includes stops", where the "dedicated travel route map" is the "target flowchart".
[0057] In operation 250, multiple target process nodes in the target flowchart are matched with business input parameters to obtain the available status of each target process node in the target flowchart.
[0058] The target process node is each specific step contained in the target process diagram, such as the department approval node.
[0059] The available status includes activation flags, such as whether the current target process node is active or skipped; and if the current target process node is active, the available status also includes all the information required for the target process node to execute, such as the executor and processing time limit.
[0060] In operation 260, the execution path for each target process node is determined based on its availability.
[0061] In some embodiments, the above operation refers to planning a task execution queue (execution path) that includes parallel and serial relationships for the entire process instance based on the available status of all target process nodes before the process engine instantiates and runs the process instance.
[0062] For example, the execution path includes the task order, dependencies, and routing rules.
[0063] Among them, the task order refers to the sequence in which the target process nodes are processed (such as serial, parallel, and branch); the dependency relationship refers to the fact that the current target process node can only start after another target process node has been completed; and the routing rule is to specify the branch to be selected in the business process based on the determined business input parameters.
[0064] In operation 270, the target flowchart is instantiated using a preset process engine to generate a process instance.
[0065] In some embodiments, the above operation refers to the process of using a process engine to load and transform a target flowchart into a running specific business process object.
[0066] The pre-defined process engine provides core operational capabilities such as process state machine management, task scheduling, event-driven processes, and transaction control.
[0067] Instantiation refers to the process engine parsing the definition of the target flowchart and creating a set of corresponding, traceable, and operable stateful objects in memory and database based on that definition.
[0068] A process instance is a business process entity that exists in a state, possessing a current state (such as in progress) and associated business data.
[0069] In operation 280, based on the available status and execution path of each target process node, the execution path of the process instance is determined, and the process instance is executed according to the execution path.
[0070] The availability status provides decisive information on whether and how each target process node can be executed.
[0071] The execution path is the logical relationship topology between the target process nodes (such as parallelism, selection, and loop).
[0072] The execution path of a process instance includes the target process nodes that need to be traversed, the activation order and dependencies of the target process nodes, and the start and end conditions of the process.
[0073] The information processing method based on the embodiments of this disclosure, by employing visual components and parameterized configuration in process definition and orchestration, enables business personnel to flexibly define processes according to actual business needs, efficiently generate corresponding processes, reduce technical barriers and maintenance costs, and improve process reusability and operational efficiency.
[0074] In embodiments of this disclosure, the initial process nodes in the initial flowchart are configured based on business input parameters, including at least one of the following configurations:
[0075] Configure parameters for at least one initial process node in the initial flowchart; configure the combination of any two business processes in the initial flowchart.
[0076] Configuring initial process nodes in the initial flowchart based on business input parameters refers to the process designer using future business data as a basis for judgment to pre-set dynamic behavior rules for static initial process nodes in the initial flowchart.
[0077] The parameter configuration focuses on specific initial process nodes in the initial flowchart, binding detailed business rules so that the same flowchart can automatically generate different execution paths based on different business input parameters.
[0078] The combined configuration operation targets multiple business processes in the initial flowchart. It aims to merge and connect multiple business processes, and is suitable for business processes with a large number of similar and repetitive processes. It enables unified management and simplified maintenance, and executes them on demand through routing logic.
[0079] Based on the information processing method of this disclosure, parameter configuration enables the same business process to dynamically obtain different execution paths according to different business parameters, adapting to different business needs and significantly improving the adaptability and reusability of the same process. Process combination supports the integration of multiple similar business processes and achieves on-demand execution through routing rules, fundamentally reducing the number of process templates, improving the utilization rate of business processes, and reducing maintenance complexity and cost.
[0080] According to embodiments of this disclosure, configuring parameters for at least one initial process node in a target flowchart includes: matching business input parameters with multiple initial process nodes in the initial flowchart to determine at least one initial process node that matches the business input parameters; and configuring the business input parameters to at least one initial process node.
[0081] In some embodiments, during the process design phase, the administrator can explicitly establish the control relationship between the business input parameters in one or more business forms and a static initial process node in the initial flowchart through the system interface.
[0082] Business input parameters refer to fields on a business form that users can fill in or select, such as "amount," "type," and "date." In configuration, this refers to the definitions of these fields themselves, not their specific values.
[0083] An initial process node refers to an activity to be executed in the initial process diagram, such as "Manager Approval" or "Financial Review".
[0084] For example, the initial flowchart may involve four review tasks in sequence: Review Task A, Review Task B, Review Task C, and Review Task D. Business input parameters determine whether a particular review task node is required, and the specific department, organization, or person responsible for that review task. For instance, business input parameters can be derived from form components or be freely entered parameters.
[0085] Taking a common corporate leave application process as an example, as shown in Table 1, the relationship between the corresponding business input parameters and the initial process node tasks is as follows:
[0086] Table 1
[0087] Business input parameters Audit Task A Audit Task B Audit Task C Review Task D Please take leave from your workplace. No review required No review required Review is required; reviewers C and C' are required. Review required, reviewer d Whether to go abroad Review required, reviewer A Review required, reviewer b Review required, reviewer c' Review required, reviewer d' Leave of more than 3 days Review required, reviewer a' No review required No review required No review required
[0088] The information processing method based on the embodiments of this disclosure injects dynamic decision-making capabilities into the static initial flowchart by logically binding specific business data fields with process nodes, greatly improving the flexibility and adaptability of the process. This allows the same process template to obtain the most suitable execution path based on different business input parameters, avoiding the tedious work of creating and maintaining a large number of similar flowcharts for minor differences. Secondly, this configuration method significantly reduces the technical threshold and maintenance cost of process optimization. Changes to business rules (such as approval thresholds and conditional branches) do not require developers to modify code or redeploy the process. Administrators can quickly complete the changes in the configuration interface, enabling the system to respond agilely to business changes.
[0089] According to embodiments of this disclosure, multiple business processes in an initial flowchart are combined and configured, including: calculating the similarity between any two business processes among the multiple business processes; and merging any two business processes if the similarity is determined to be greater than or equal to a preset threshold.
[0090] The essence of calculating the similarity between any two business processes is quantitative comparison. The initial flowchart is regarded as a combination of nodes and relationships. The process identifies which business processes are essentially similar, and the processes with high similarity are the priority candidates for merging.
[0091] Given a similarity score greater than or equal to a preset threshold, any two business processes are merged. Within each business process, the longest and most complex process node link, covering the most critical steps, is identified. This longest process node link represents the largest possible set of steps required to handle this type of business. Merging the longest process node links in each business process yields a "complete process" that encompasses all possible steps across all processes.
[0092] After the combination configuration is completed, a routing table is created according to the preset combination rules, and the routing rules are calculated based on the business input parameters.
[0093] The routing table is a structured, configurable base of decision rules that clearly defines the mapping relationship between different business scenarios and the activation status of various process nodes in the process.
[0094] The routing mechanism refers to the execution logic by which the process engine dynamically queries the routing table and performs calculations based on the current business input parameters during the execution of a process instance, thereby determining the next flow direction of the process.
[0095] For example, the target business is a "leave application form," which includes three business processes: "business trip," "training," and "vacation." The approval process includes, in sequence:
[0096] (1) "Business trip" is reviewed by A → C;
[0097] (2) "Training" was reviewed by A → B;
[0098] (3) "Leave" is reviewed by C → D.
[0099] Therefore, the combined configuration process is: A review → B review → C review → D review.
[0100] As shown in Table 2, the routing table for the process review stage after the combined configuration is as follows:
[0101] Table 2
[0102] Stage A Stage B Link C Stage D On business trip 1 0 1 0 Training 1 1 0 0 take a vacation 0 0 1 1
[0103] In Table 2 above, 0 indicates skipping the current review stage, and 1 indicates that the current review stage is required.
[0104] The information processing method based on this disclosure combines the longest process node links in multiple business processes to obtain a "complete process" covering all possible stages of all processes. By calculating the corresponding process nodes using a routing table, it can also satisfy the requirement that an applicant submits a combined process form for multiple items in the same application, requiring only the merging of the routing tables. This dynamic process combination function can fully realize the definition and combination of different processes, quickly implement the merging of multiple items into a single process, avoid repeatedly configuring multiple processes, reduce maintenance, development, and management costs, and fully realize the efficient use of processes.
[0105] According to embodiments of this disclosure, determining the running path of a process instance based on the availability status and execution path of each target process node includes: parsing the availability status and execution path of each target process node to obtain the execution logic of the execution entity executing each target process node, wherein the execution logic represents the rules for executing the target process node according to business input parameters; determining the organizational structure of the target business based on attribute information; determining the identity of each execution entity based on the organizational structure and execution logic; and determining the running path of the process instance based on the availability status, execution path, and identity of the execution entity of each target process node.
[0106] Determining the execution path of a process instance based on the availability status and execution path of each target process node means that the system extracts the execution logic of the person assigning the task by parsing the activation status, time limit, and other statuses of each target process node and its positional relationship in the business process.
[0107] For example, organizational structure includes a digital model of employees, departments, positions, and reporting relationships within an organization.
[0108] Determining the identity identifier involves applying the execution logic to the organizational structure within the current business process to calculate the specific user identity identifier.
[0109] The execution path of a process instance includes the order and dependencies of node activation (from the execution path), what each node needs to do (from the availability status), who handles each task (from the identity identifier), and the processing requirements of each task (from the availability status).
[0110] The information processing method based on the embodiments of this disclosure achieves automation, precision and compliance in task assignment by dynamically parsing the execution logic of process nodes and accurately calculating the specific executor based on the real-time organizational structure, thereby generating a deterministic running path that includes complete responsible persons and time sequence.
[0111] According to embodiments of this disclosure, the information processing method further includes, during the process of running a process instance according to the running path: predefining a callback function, the callback function representing a preset business operation to be performed; when the process instance triggers the callback function during its operation, controlling the process instance to pause and perform the preset business operation; and controlling the process instance to continue running after the preset business operation is completed.
[0112] For example, the interface and triggering timing of the callback function are pre-designed by the process engine or the upper-level platform. You only need to call the callback function to implement the business operation. The triggering is automatically completed by the process engine during the internal state machine transition, without the need for explicit external calls.
[0113] For example, the general process operation API (Application Programming Interface) provided in the process engine is used by the process instance at runtime, including task approval, task rejection, step-by-step return, step-by-step revocation, task transfer, task assignment, task signature addition or subtraction, etc.
[0114] Callback functions include process start callbacks, approval task pre-callbacks, approval task post-callbacks, process completion callbacks, process task listeners, etc., to ensure the smooth operation of process instances and extendable business operations such as sending approval pending notifications, etc.
[0115] Other business operations refer to additional functions that are automatically triggered outside the core process instance flow, used to implement specific business needs or interact with the external environment. For example, when the process engine triggers a "task creation event", the listener will capture the event and execute the business operation of "sending a pending notification".
[0116] For example, enabling callbacks for a process: the triggering time is when the process engine successfully creates a new process instance, just before the first task is about to be executed; its core function is the initialization of the process instance.
[0117] For example, for pre-approval task callbacks: the triggering time is before the process engine creates a specific approval task (i.e., generates a to-do item); the core function is to perform verification and data preparation before task execution.
[0118] The information processing method based on this disclosure provides callback functions during the execution of process instances, enabling flexible expansion of business logic and the core of the process engine. This ensures stable and efficient process flow while also allowing the system to integrate various business operations. By using a mature and stable process engine as the underlying execution kernel, it leverages the high reliability, high performance, and standardized BPMN support of open-source solutions. Furthermore, through predefined form and process components, parameter configuration, and callback mechanisms, it enhances the intelligent decision-making capability of the information processing method in this disclosure for handling complex and dynamic business scenarios.
[0119] According to embodiments of this disclosure, the information processing method further includes: during the process of running a process instance according to a running path, in response to receiving an intervention instruction, determining the intervention direction of the intervention instruction, the intervention direction including pointing to a target flowchart or pointing to a running process instance; when the intervention direction is pointing to a target flowchart, intervening in at least one target process node in the target flowchart, and updating the target flowchart based on the intervention-processed target process node; when the intervention direction is pointing to a running process instance, intervening in at least one running path in the running process instance, and updating the running process instance based on the intervention-processed running path.
[0120] Intervention commands are operation commands initiated by administrators through the management interface, intended to change the established state or structure of a process. They include the operation type (e.g., adding a node), the operation object (e.g., which process instance), and operation parameters (e.g., the approver of the new node).
[0121] Intervene in the target process nodes in the target process diagram, including modifying the target process nodes, such as adding / deleting approval nodes in the target process diagram.
[0122] Intervene in the execution path of a running process instance, such as allowing administrators to approve on behalf of others, completing approval tasks with one click, or invalidating the running process.
[0123] The information processing method based on the embodiments of this disclosure uses an intervention mechanism to dynamically intervene in the target flowchart and the running process instance, which can achieve rapid modification and management intervention of the process with minimal overhead and meet the needs of rapid change.
[0124] Based on the above information processing method, this disclosure also provides an information processing apparatus. The following will be combined with... Figure 3 The device is described in detail.
[0125] Figure 3 A schematic block diagram of an information processing apparatus according to an embodiment of the present disclosure is shown.
[0126] like Figure 3 As shown, the information processing device 300 in this embodiment includes an information acquisition module 310, a process definition module 320, a node configuration module 330, a process arrangement module 340, and an instance execution module 350.
[0127] The information acquisition module 310 is used to acquire attribute information of the target service. In one embodiment, the information acquisition module 310 can be used to perform the operation S210 described above, which will not be repeated here.
[0128] The process definition module 320 is used to form business input parameters and an initial flowchart by operating pre-encapsulated form components and process components based on the attribute information. The initial flowchart includes multiple business processes involved in the target business and multiple process nodes involved in each business process. In one embodiment, the process definition module 320 can be used to execute the operation S220 described above, which will not be repeated here.
[0129] The node configuration module 330 is used to configure the initial process nodes in the initial flowchart based on the business input parameters. In one embodiment, the node configuration module 330 can be used to perform the operation S230 described above, which will not be repeated here.
[0130] The process orchestration module 340 is used to convert the initial process diagram into a target process diagram based on the configured initial process nodes; match multiple target process nodes in the target process diagram with the business input parameters to obtain the availability status of each target process node in the target process diagram; and determine the execution path of each target process node according to the availability status. In one embodiment, the process orchestration module 340 can be used to execute the operations S240~S260 described above, which will not be repeated here.
[0131] The instance execution module 350 is used to instantiate the target flowchart using a preset process engine to generate a process instance; based on the availability status and execution path of each target process node, it determines the execution path of the process instance and runs the process instance according to the execution path. In one embodiment, the instance execution module 350 can be used to execute the operations S270~S280 described above, which will not be repeated here.
[0132] According to embodiments of this disclosure, any multiple modules among the information acquisition module 310, process definition module 320, node configuration module 330, process orchestration module 340, and instance execution module 350 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 information acquisition module 310, process definition module 320, node configuration module 330, process orchestration module 340, and instance execution module 350 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 information acquisition module 310, process definition module 320, node configuration module 330, process orchestration module 340, and instance execution module 350 may be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.
[0133] Figure 4 A block diagram schematically illustrates an electronic device suitable for implementing an information processing method according to an embodiment of the present disclosure.
[0134] like Figure 4 As shown, an electronic device 400 according to an embodiment of the present disclosure includes a processor 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage portion 408 into a random access memory (RAM) 403. The processor 401 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 401 may also include onboard memory for caching purposes. The processor 401 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.
[0135] RAM 403 stores various programs and data required for the operation of electronic device 400. Processor 401, ROM 402, and RAM 403 are interconnected via bus 404. Processor 401 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 402 and / or RAM 403. It should be noted that the programs may also be stored in one or more memories other than ROM 402 and RAM 403. Processor 401 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.
[0136] According to embodiments of this disclosure, the electronic device 400 may further include an input / output (I / O) interface 405, which is also connected to a bus 404. The electronic device 400 may also include one or more of the following components connected to the I / O interface 405: an input section 406 including a keyboard, mouse, etc.; an output section 407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 410 as needed so that computer programs read from it can be installed into the storage section 408 as needed.
[0137] 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.
[0138] 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 402 and / or RAM 403 and / or one or more memories other than ROM 402 and RAM 403 described above.
[0139] 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 enable the computer system to implement the information processing methods provided in the embodiments of this disclosure.
[0140] When the computer program is executed by the processor 401, 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.
[0141] 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 downloaded and installed via communication section 409, and / or installed from removable medium 411. 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.
[0142] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by processor 401, 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.
[0143] 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).
[0144] 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.
[0145] Those skilled in the art will understand that the features described in the various embodiments 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 of this disclosure can be combined and / 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.
[0146] 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. 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. An information processing method, characterized in that, include: Obtain the attribute information of the target business; Based on the attribute information, business input parameters and an initial flowchart are formed by operating pre-encapsulated form components and process components. The initial flowchart includes multiple business processes involved in the target business and multiple initial process nodes involved in each business process. Configure the initial process nodes in the initial flowchart based on the business input parameters; Based on the configured initial process nodes, the initial flowchart is converted into the target flowchart; Match multiple target process nodes in the target process diagram with the business input parameters to obtain the availability status of each target process node in the target process diagram; Based on the available status, determine the execution path for each target process node; The target flowchart is instantiated using a preset process engine to generate a process instance; Based on the availability status and execution path of each target process node, the running path of the process instance is determined, and the process instance is run according to the running path.
2. The method according to claim 1, characterized in that, The configuration of the initial process nodes in the initial flowchart based on the business input parameters includes at least one of the following configurations: Configure parameters for at least one initial process node in the initial flowchart; Combine and configure any two business processes in the initial flowchart.
3. The method according to claim 2, characterized in that: The parameter configuration of at least one initial process node in the target flowchart includes: The business input parameters are matched with multiple initial process nodes in the initial flowchart to determine at least one initial process node that matches the business input parameters. Configure the business input parameters to the at least one initial process node.
4. The method according to claim 2, characterized in that, The configuration of combining multiple business processes in the initial flowchart includes: Calculate the similarity between any two business processes among the plurality of business processes; If the similarity is greater than or equal to a preset threshold, the two business processes are merged.
5. The method according to claim 1, characterized in that, Determining the execution path of the process instance based on the availability status and execution path of each target process node includes: The available status and execution path of each target process node are parsed to obtain the execution logic of the execution subject that executes each target process node. The execution logic represents the rules for executing the target process node according to the business input parameters. The organizational structure of the target business is determined based on the attribute information, and the identity identifier of each execution entity is determined based on the organizational structure and the execution logic. The execution path of the process instance is determined based on the availability status of each target process node, the execution path, and the identity of the execution entity.
6. The method according to claim 1, characterized in that, The method further includes: During the execution of the process instance according to the said running path, in response to receiving an intervention instruction, the intervention direction of the intervention instruction is determined, the intervention direction including pointing to the target flowchart or pointing to the running process instance; When the intervention direction is directed towards the target flowchart, at least one target flowchart node in the target flowchart is intervened, and the target flowchart is updated based on the intervened target flowchart node. When the intervention direction is directed towards the running process instance, intervention processing is performed on at least one running path of the running process instance, and the running process instance is updated according to the running path after intervention processing.
7. The method according to claim 1, characterized in that, The method also includes the process of running a process instance according to the execution path: A predefined callback function, wherein the callback function represents a preset business operation to be executed; When the callback function is triggered during the execution of the process instance, the process instance is paused and the preset business operation is executed; After the preset business operation is completed, the process instance is controlled to continue running.
8. An information processing device, characterized in that, include: The information acquisition module is used to acquire attribute information of the target business. The process definition module is used to form business input parameters and an initial flowchart by operating pre-encapsulated form components and process components based on the attribute information. The initial flowchart includes multiple business processes involved in the target business and multiple process nodes involved in each business process. The node configuration module is used to configure the initial process nodes in the initial flowchart based on the business input parameters. The process orchestration module is used to convert the initial process diagram into a target process diagram based on the configured initial process nodes; match multiple target process nodes in the target process diagram with the business input parameters to obtain the availability status of each target process node in the target process diagram; and determine the execution path of each target process node according to the availability status. The instance execution module is used to instantiate the target flowchart using a preset process engine to generate a process instance; determine the execution path of the process instance based on the availability status and execution path of each target process node, and run the process instance according to the execution path.
9. An electronic device, comprising: One or more processors; Memory, used to store one or more computer programs. The characteristic feature is that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 7.