CN112732370B - Business process adjustment method and device - Google Patents

Business process adjustment method and device Download PDF

Info

Publication number
CN112732370B
CN112732370B CN202011641262.8A CN202011641262A CN112732370B CN 112732370 B CN112732370 B CN 112732370B CN 202011641262 A CN202011641262 A CN 202011641262A CN 112732370 B CN112732370 B CN 112732370B
Authority
CN
China
Prior art keywords
flow
information
operation node
node
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011641262.8A
Other languages
Chinese (zh)
Other versions
CN112732370A (en
Inventor
吴成龙
徐克宝
隋臣
施生燊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202011641262.8A priority Critical patent/CN112732370B/en
Publication of CN112732370A publication Critical patent/CN112732370A/en
Application granted granted Critical
Publication of CN112732370B publication Critical patent/CN112732370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

The invention provides a business process adjustment method and device, and belongs to the technical field of cloud computing. The business process adjustment method comprises the following steps: acquiring business process variation information; determining target flow information and a current operation node according to the flow change information; and determining a target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information. The invention can dynamically and automatically adjust the business process without sense when integrating the workflow in the business system, thereby reducing the resource loss.

Description

Business process adjustment method and device
Technical Field
The invention relates to the technical field of cloud computing, in particular to a business process adjustment method and device.
Background
The current workflow system is an independent system and comprises a complete user authority system and a database system, wherein the complete user authority system and the database system comprise workflow engines such as activiti, osworkflow, apache ODE and the like. The current general methods for dynamically adjusting the business process in the industry include: 1. the designer logs in the workflow engine and compiles the flow file in advance, loads the workflow file under the appointed catalogue of the business system in a script mode, and then displays the flow information of the workflow on the business system page; 2. embedding the workflow into the business system by modifying the workflow source code; 3. and carrying out data synchronization by synchronizing the workflow table and the service table. The general method in the industry has insufficient support degree in the dynamic adjustment of the business flow, has unsatisfactory effect, still needs to manually adjust the flow in the system and restart the new flow, is quite difficult in a large number of scenes needing dynamic adjustment of the flow, and wastes a large amount of resources.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a business process adjustment method and a business process adjustment device, so that the business process is dynamically and automatically adjusted without sense when a workflow is integrated in a business system, and the resource loss is reduced.
In order to achieve the above object, an embodiment of the present invention provides a method for adjusting a business process, including:
acquiring business process variation information;
determining target flow information and a current operation node according to the flow change information;
and determining a target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information.
The embodiment of the invention also provides a business process adjusting device, which comprises:
the change information acquisition module is used for acquiring business process change information;
the information node determining module is used for determining target flow information and a current operation node according to the flow change information;
and the target operation node module is used for determining the target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information.
The embodiment of the invention also provides a computer device which comprises a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor realizes the steps of the business flow adjustment method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the steps of the business process adjustment method.
According to the business process adjustment method and device, the target process information and the current operation node are determined according to the process change information, then the target operation node is determined according to the change node corresponding to the process change information and the current operation node so as to execute business from the target operation node according to the target process information, the business process can be automatically adjusted without sense when the workflow is integrated in the business system, and the resource consumption is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a business process adjustment method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of determining target flow information according to an embodiment of the invention;
FIG. 3 is a block diagram illustrating a business process adjusting apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a business process adjusting device according to another embodiment of the present invention;
FIG. 5 is an internal block diagram of a middleware device in another embodiment of the invention;
FIG. 6 is a flow diagram of the business process adjustment device of FIG. 4;
fig. 7 is a block diagram of a computer device in an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Those skilled in the art will appreciate that embodiments of the invention may be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: complete hardware, complete software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In view of the fact that the support degree of the prior art in the dynamic adjustment of the business process is insufficient, a large amount of resources are wasted, the business process adjustment method provided by the embodiment of the invention can automatically adjust the business process without sense when the workflow is integrated in the business system, and the resource loss is reduced. The present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a flow chart of a business process adjustment method according to an embodiment of the invention. As shown in fig. 1, the business process adjustment method includes:
s101: and acquiring business process variation information.
In the implementation, the middleware device monitors the change of the business process content in real time, and if the business system is detected to have the operation, such as the change of the business process of modification, submission and the like, the business process change information is collected.
S102: and determining target flow information and the current operation node according to the flow change information.
Fig. 2 is a schematic diagram of determining target flow information according to an embodiment of the invention. As shown in fig. 2, determining the target flow information includes:
s201: and acquiring original flow information corresponding to the flow change information.
In one embodiment, S201 includes:
and determining a flow instance ID according to the flow change information, and acquiring original flow information according to the flow instance ID.
In the implementation, before executing S201, the workflow engine stores the flow instance ID and the corresponding original flow information in the database, and then the middleware device queries the database according to the flow instance ID, and if the flow instance ID exists in the database, obtains the corresponding original flow information according to the flow instance ID.
S202: the original flow information is updated according to the flow change information to determine the target flow information.
In the specific implementation, the json data string content of the flow change information and the original flow information is compared, if the content difference exists, the flow change is explained, at the moment, the flow change information and the original flow information are transmitted to a correction function to correct the change content, and the target flow information is obtained.
S103: and determining a target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information.
In one embodiment, S103 includes:
1. and when the change node corresponding to the flow change information is in front of the current operation node, determining a target operation node according to the change node.
In the implementation, the target operation node is the last node of the change node.
2. And when the change node is equal to the current operation node or the change node is behind the current operation node, determining a target operation node according to the current operation node.
In one embodiment, the method further comprises: judging whether a checkpoint mechanism is adopted, and restoring the current operation node to the previous node of the current operation node; when the checkpoint mechanism of the checkpoint is adopted, the target operation node is the previous node of the current operation node, otherwise, the target operation node is the initial node of the service flow, and when the service is executed, the new flow is executed from the beginning.
In specific implementation, restoring the current running node to the target running node by using a checkpoint mechanism includes:
the checkpoint implementation mechanism of the open source state machine phxPaxos would create the start of two threads: the cleaner is responsible for cleaning up outdated logs periodically and the replayer is responsible for catching up recorded flow state data and creating event streams. The event stream contains a plurality of events, namely task node snapshots in the process, each snapshot point contains association information between itself and nodes, and finally data record is completed and stored in a checkpoint file, and the process state data can be read and re-executed only when a recovery operation is set according to the previous application due to a lazy loading mode.
In one embodiment, before executing the service, the method further comprises:
a time range for executing the service is determined. And when the current time reaches the time for executing the service, executing the service from the target operation node according to the target flow information.
In the implementation, the middleware device restores the current operation node to the target operation node, and updates the target operation node and the target flow information to the database. After the user modifies the business process content, the page is refreshed, at the moment, the API function module of the middleware device is called again to acquire the target operation node and the target process information from the updated database, the middleware device sends the target operation node and the target process information to the business system, and the business system executes the business from the target operation node according to the target process information.
The execution subject of the business process adjustment method shown in fig. 1 may be a computer. As can be seen from the flow shown in fig. 1, the business flow adjustment method according to the embodiment of the present invention determines the target flow information and the current operation node according to the flow change information, and then determines the target operation node according to the change node and the current operation node corresponding to the flow change information, so as to execute the business from the target operation node according to the target flow information, and can automatically adjust the business flow without sense when integrating the workflow in the business system, thereby reducing the resource consumption.
The specific flow of the embodiment of the invention is as follows:
1. and acquiring business process variation information.
2. And determining a flow instance ID according to the flow change information, and acquiring original flow information according to the flow instance ID.
3. The original flow information is updated according to the flow change information to determine the target flow information.
4. And determining a target operation node according to the change node corresponding to the flow change information and the current operation node.
5. And determining the current operation node according to the flow change information.
6. When the change node corresponding to the flow change information is in front of the current operation node, determining a target operation node according to the change node; and when the change node is equal to the current operation node or the change node is behind the current operation node, determining a target operation node according to the current operation node.
7. A time range for executing the service is determined. And when the current time reaches the time for executing the service, executing the service from the target operation node according to the target flow information.
In summary, to solve the problem that it is difficult to implement a non-inductive dynamic automatic adjustment process when a business system integrates a workflow, the present invention provides a business process adjustment method to provide a capability of non-inductive automatic adjustment process. The advantages are as follows:
1. and the independent middleware device reduces the coupling of external systems such as a business system and a workflow engine, and is convenient for subsequent upgrading and transverse expansion.
2. And dynamically monitoring the service flow in real time, analyzing the data in real time and automatically executing reasonable operation.
3. And providing rich functional interfaces (APIs), and acquiring and displaying the related information of the business process by a business system only by remote call.
4. And supporting a checkpoint mode to recover the business flow and configuring.
Fig. 3 is a block diagram of a business process adjusting device according to an embodiment of the present invention. Fig. 4 is a schematic diagram of a business process adjusting device according to another embodiment of the invention. Fig. 5 is an internal structural view of a middleware apparatus in another embodiment of the present invention. Fig. 6 is a flow diagram of the business flow adjusting device in fig. 4. As shown in fig. 3 to 6, the business process adjusting device includes:
the change information acquisition module is used for acquiring business process change information;
the information node determining module is used for determining target flow information and a current operation node according to the flow change information;
the target operation node module is used for determining a target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information;
in one embodiment, the information node determining module includes:
the original flow information acquisition unit is used for acquiring original flow information corresponding to the flow change information;
and the flow change information updating unit is used for updating the original flow information according to the flow change information to determine the target flow information.
In one embodiment, the original flow information acquisition unit includes:
a flow instance ID subunit, configured to determine a flow instance ID according to the flow change information;
and the original flow information acquisition subunit is used for acquiring the original flow information according to the flow instance ID.
In one embodiment, the target operational node module comprises:
the first target operation node determining unit is used for determining the target operation node according to the change node when the change node corresponding to the flow change information is before the current operation node.
In one embodiment, the target operational node module further comprises:
and the second target operation node determining unit is used for determining the target operation node according to the current operation node when the change node is equal to the current operation node or the change node is behind the current operation node.
In one embodiment, when a checkpoint mechanism is employed, the target operational node is the previous node to the current operational node.
In one embodiment, the target operational node is the initial node of the business process when the checkpointing mechanism is not employed.
As shown in fig. 4 to 6, in practical application, the business process adjusting device includes: a business system 1, middleware devices 2, databases and a workflow engine 3. The business system is connected with the middleware device, the middleware device is connected with the database, and the database is connected with the workflow engine.
As shown in fig. 4, the workflow engine designs a flowchart and saves the flowchart to a database; the database stores, reads and displays the flow chart; the middleware device monitors the database, reads, modifies and stores data, provides a function API at the same time, and the monitoring service system modifies the service flow and automatically restarts the flow, which is the core for realizing the noninductive automatic dynamic adjustment of the service flow; the service system calls the API of the middleware device to realize the workflow functions of display, modification, starting and the like.
The business system is a place where the user realizes the related business process functions of the workflow, and comprises a target operation node module, wherein the related business process functions are realized mainly by remotely calling an API (application program interface) provided by the middleware device, and comprise business execution, business flow diagram display, operation flow and the like.
The middleware device is responsible for cleaning the business process data, updating and reading database data, providing a business process function API for a business system, monitoring the change of the business system, automatically making corresponding actions on the change content, such as modifying the process data and automatically restarting the process, thereby realizing transparent and non-inductive automatic dynamic adjustment of the business process for users.
Database: the method mainly provides the addition, deletion and verification of business process data, and when a process designer designs a process, the process designer can store the process into a database, and the middleware device operates the process and performs corresponding operation on the data of the database.
The workflow engine mainly provides page design tools for business process design personnel to design business processes and provides the function of saving the business processes to a database.
As shown in fig. 5, the middleware device includes: the system comprises a monitoring module, a data processing module and an API function module.
The monitoring module comprises a change information acquisition module, is mainly used for monitoring the flow change condition of the service system and carries out corresponding processing; the data module comprises an information node determining module and a target operation node module, is triggered after the monitoring module, and aims to find corresponding business flow data, modify and clean the data, and reversely update the data to the database. The API function module mainly encapsulates common functions such as start-stop flow, history acquisition flow, flow chart and the like, and is exposed to service system call.
As shown in fig. 6, the flow of the business flow adjusting device is as follows:
1. the middleware device starts to start, and the monitoring module is started.
2. The monitoring module contacts (attach) the business system to monitor the change of the business process content in real time. If the business system is detected to have operation, such as modification, submission and other business process condition change, the business process change information is collected.
3. The monitoring module notifies the activation data processing module.
4. The data processing module firstly extracts the flow instance ID of the flow change information according to the flow change information, queries the database according to the flow instance ID, and acquires corresponding original flow information according to the flow instance ID if the flow instance ID exists in the database. Comparing the json data string content of the flow change information with the json data string content of the original flow information, if the content difference exists, indicating that the flow is changed, transmitting the flow change information and the original flow information into a correction function at the moment, and correcting the change content to obtain the target flow information.
5. The data processing module identifies the target flow information, finds the current operation flow node, finds and compares the current operation flow node with the json data string of the target flow information, and confirms that the modified content is used for supporting recording of the executed track of the flow in a checkpoint mode before or after the operation of the service node.
6. The data processing module informs the updated flow (target flow information) to be restarted, and confirms two contents when the business flow is modified, wherein one is the time range of the target flow information to be started to be used, the target flow information takes effect immediately, and the selection of a specific time point in the future is realized; the other is whether to revert to the task point in the last executed flow through the checkpoint mechanism. The processing module determines whether to restore to the most recently executed flow node through the checkpoint through the above two points. If the state is restored without passing through the checkpoint mechanism, the new flow is re-executed from the beginning, otherwise, the state is restored to the latest flow execution state through the checkpoint mechanism. The recovery premise of the Checkpoint is that the modified flow event is that the current flow has not been executed to the flow event, otherwise, the Checkpoint recovery is not required to be set. If the flow event with application modification is that the current flow has not been executed until the flow event is configured with a checkpoint recovery, the processing module processes the flow event in a modification function.
7. The data module informs the database of updating data, and after the user modifies the business process content, the user can cause the page to be refreshed again, and at the moment, the API function module of the middleware device can be called again to acquire the target operation node and the target process information from the updated database.
8. And the API function module is activated again, the updated database is queried again, and the data is acquired.
9. And the service system calls an API function module to display the flow content, and executes the service from the target operation node according to the target flow information.
In summary, the business process adjusting device of the embodiment of the invention determines the target process information and the current operation node according to the process variation information, and then determines the target operation node according to the variation node corresponding to the process variation information and the current operation node so as to execute the business from the target operation node according to the target process information, thereby automatically adjusting the business process without sense when integrating the workflow in the business system and reducing the resource consumption.
The embodiment of the invention also provides a concrete implementation mode of the computer equipment capable of realizing all the steps in the business flow adjusting method in the embodiment. Fig. 7 is a block diagram of a computer device according to an embodiment of the present invention, and referring to fig. 7, the computer device specifically includes:
a processor (processor) 701 and a memory (memory) 702.
The processor 701 is configured to invoke a computer program in the memory 702, where the processor executes the computer program to implement all the steps in the business process adjustment method in the above embodiment, for example, the processor executes the computer program to implement the following steps:
acquiring business process variation information;
determining target flow information and a current operation node according to the flow change information;
and determining a target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information.
In summary, the computer device in the embodiment of the invention determines the target flow information and the current operation node according to the flow change information, and then determines the target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information, so that the service flow can be automatically adjusted without sense when integrating the workflow in the service system, and the resource consumption is reduced.
The embodiment of the present invention also provides a computer readable storage medium capable of implementing all the steps of the business process adjustment method in the above embodiment, where the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps of the business process adjustment method in the above embodiment, for example, the processor implements the following steps when executing the computer program:
acquiring business process variation information;
determining target flow information and a current operation node according to the flow change information;
determining a target operation node according to a change node and a current operation node corresponding to the flow change information;
and determining a target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information.
In summary, the computer readable storage medium of the embodiment of the present invention determines the target flow information and the current operation node according to the flow change information, and then determines the target operation node according to the change node and the current operation node corresponding to the flow change information, so as to execute the service from the target operation node according to the target flow information, and can automatically adjust the service flow without inductance when integrating the workflow in the service system, thereby reducing the resource consumption.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.
Those of skill in the art will further appreciate that the various illustrative logical blocks (illustrative logical block), units, and steps described in connection with the embodiments of the invention may be implemented by electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components (illustrative components), elements, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Those skilled in the art may implement the described functionality in varying ways for each particular application, but such implementation is not to be understood as beyond the scope of the embodiments of the present invention.
The various illustrative logical blocks, or units, or devices described in the embodiments of the invention may be implemented or performed with a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described. A general purpose processor may be a microprocessor, but in the alternative, the general purpose processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. In an example, a storage medium may be coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may reside in a user terminal. In the alternative, the processor and the storage medium may reside as distinct components in a user terminal.
In one or more exemplary designs, the above-described functions of embodiments of the present invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on a computer-readable medium or transmitted as one or more instructions or code on the computer-readable medium. Computer readable media includes both computer storage media and communication media that facilitate transfer of computer programs from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, such computer-readable media may include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to carry or store program code in the form of instructions or data structures and other data structures that may be read by a general or special purpose computer, or a general or special purpose processor. Further, any connection is properly termed a computer-readable medium, e.g., if the software is transmitted from a website, server, or other remote source via a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless such as infrared, radio, and microwave, and is also included in the definition of computer-readable medium. The disks (disks) and disks (disks) include compact disks, laser disks, optical disks, DVDs, floppy disks, and blu-ray discs where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included within the computer-readable media.

Claims (5)

1. A business process adjustment method, comprising:
acquiring business process variation information;
determining target flow information and a current operation node according to the flow change information;
determining a target operation node according to a change node and a current operation node corresponding to flow change information, so as to execute a service from the target operation node according to the target flow information;
determining target flow information according to the flow variation information includes:
acquiring original flow information corresponding to the flow change information;
comparing the contents of the flow change information and the original flow information, if the content difference exists, transmitting the flow change information and the original flow information into a correction function to execute correction of the change content, and obtaining the target flow information;
when the change node corresponding to the flow change information is in front of the current operation node, determining a target operation node according to the change node;
when the change node is equal to the current operation node or the change node is behind the current operation node, determining a target operation node according to the current operation node;
determining a target operation node according to the current operation node comprises:
when a check point mechanism is adopted, the target operation node is the previous node of the current operation node, and the latest flow execution state is restored;
when the check point mechanism is not adopted, the target operation node is an initial node of the business process, and the new process is executed again from the beginning.
2. The business process adjustment method according to claim 1, wherein obtaining the original process information corresponding to the process variation information includes:
determining a process instance ID according to the process variation information;
and acquiring original flow information according to the flow instance ID.
3. A business process adjustment device, comprising:
the change information acquisition module is used for acquiring business process change information;
the information node determining module is used for determining target flow information and a current operation node according to the flow change information;
the target operation node module is used for determining a target operation node according to the change node corresponding to the flow change information and the current operation node so as to execute the service from the target operation node according to the target flow information;
the information node determining module is specifically configured to:
acquiring original flow information corresponding to the flow change information;
comparing the contents of the flow change information and the original flow information, if the content difference exists, transmitting the flow change information and the original flow information into a correction function to execute correction of the change content, and obtaining the target flow information;
the target operation node module is specifically configured to: when the change node corresponding to the flow change information is in front of the current operation node, determining a target operation node according to the change node;
when the change node is equal to the current operation node or the change node is behind the current operation node, determining a target operation node according to the current operation node;
determining a target operation node according to the current operation node comprises:
when a check point mechanism is adopted, the target operation node is the previous node of the current operation node, and the latest flow execution state is restored;
when the check point mechanism is not adopted, the target operation node is an initial node of the business process, and the new process is executed again from the beginning.
4. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that the processor implements the steps of the business process adjustment method of any of claims 1 to 2 when the computer program is executed by the processor.
5. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the business process adjustment method of any of claims 1 to 2.
CN202011641262.8A 2020-12-31 2020-12-31 Business process adjustment method and device Active CN112732370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011641262.8A CN112732370B (en) 2020-12-31 2020-12-31 Business process adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011641262.8A CN112732370B (en) 2020-12-31 2020-12-31 Business process adjustment method and device

Publications (2)

Publication Number Publication Date
CN112732370A CN112732370A (en) 2021-04-30
CN112732370B true CN112732370B (en) 2024-02-02

Family

ID=75609087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011641262.8A Active CN112732370B (en) 2020-12-31 2020-12-31 Business process adjustment method and device

Country Status (1)

Country Link
CN (1) CN112732370B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714414A (en) * 2013-11-30 2014-04-09 北京科东电力控制系统有限责任公司 Process node returning method used for intelligent power grid dispatching
CN111782371A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Stream type computing method and device based on DAG interaction
CN112101803A (en) * 2020-09-21 2020-12-18 腾讯科技(深圳)有限公司 Business process monitoring method, device, system, equipment and medium
CN112114894A (en) * 2020-08-14 2020-12-22 咪咕文化科技有限公司 Process processing method and device based on Activiti process engine and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714414A (en) * 2013-11-30 2014-04-09 北京科东电力控制系统有限责任公司 Process node returning method used for intelligent power grid dispatching
CN111782371A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Stream type computing method and device based on DAG interaction
CN112114894A (en) * 2020-08-14 2020-12-22 咪咕文化科技有限公司 Process processing method and device based on Activiti process engine and electronic equipment
CN112101803A (en) * 2020-09-21 2020-12-18 腾讯科技(深圳)有限公司 Business process monitoring method, device, system, equipment and medium

Also Published As

Publication number Publication date
CN112732370A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US11914486B2 (en) Cloning and recovery of data volumes
CN109101627B (en) Heterogeneous database synchronization method and device
US9639429B2 (en) Creating validated database snapshots for provisioning virtual databases
US8825601B2 (en) Logical data backup and rollback using incremental capture in a distributed database
US20150213100A1 (en) Data synchronization method and system
CN112286905A (en) Data migration method and device, storage medium and electronic equipment
US20170255528A1 (en) Smart data replication recoverer
CN106095621B (en) The restoration methods and system that Launcher is operating abnormally in a kind of Android system
JPH11134117A (en) Computer system
US9037905B2 (en) Data processing failure recovery method, system and program
WO2022036901A1 (en) Implementation method and apparatus for redis replica set
CN105320718B (en) Transaction completion in a synchronous replication environment
CN103533431A (en) Method and system for realizing system upgrade based on intelligent television, and intelligent television
CN111078667A (en) Data migration method and related device
CN104216802B (en) Memory database recovery method and device
CN104954482A (en) Configuration management system and method
CN114490677A (en) Data synchronization in a data analysis system
CN113438275B (en) Data migration method and device, storage medium and data migration equipment
CN112732370B (en) Business process adjustment method and device
CN111078418B (en) Operation synchronization method, device, electronic equipment and computer readable storage medium
CN109634778B (en) Method and device for restoring factory settings and electronic equipment
CN115640280A (en) Data migration method and device
CN109634930B (en) Method and device for cleaning logs, storage medium and electronic device
CN114490570A (en) Production data synchronization method and device, data synchronization system and server
CN114579534A (en) Data migration method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant